diff --git a/armi/physics/neutronics/globalFlux/globalFluxInterface.py b/armi/physics/neutronics/globalFlux/globalFluxInterface.py index d4ace8ff9..8f4a293dc 100644 --- a/armi/physics/neutronics/globalFlux/globalFluxInterface.py +++ b/armi/physics/neutronics/globalFlux/globalFluxInterface.py @@ -119,8 +119,13 @@ def interactEOC(self, cycle=None): * units.ABS_REACTIVITY_TO_PCM ) - def _checkEnergyBalance(self): - """Check that there is energy balance between the power generated and the specified power is the system.""" + def checkEnergyBalance(self): + """Check that there is energy balance between the power generated and the specified power. + + .. impl:: Validate the energy generate matches user specifications. + :id: I_ARMI_FLUX_CHECK_POWER + :implements: R_ARMI_FLUX_CHECK_POWER + """ powerGenerated = ( self.r.core.calcTotalParam( "power", calcBasedOnFullObj=False, generationNum=2 diff --git a/armi/physics/neutronics/globalFlux/tests/test_globalFluxInterface.py b/armi/physics/neutronics/globalFlux/tests/test_globalFluxInterface.py index a7726ba26..2fd627a34 100644 --- a/armi/physics/neutronics/globalFlux/tests/test_globalFluxInterface.py +++ b/armi/physics/neutronics/globalFlux/tests/test_globalFluxInterface.py @@ -180,8 +180,7 @@ def test_getHistoryParams(self): self.assertIn("detailedDpa", params) def test_checkEnergyBalance(self): - """ - Test energy balance check. + """Test energy balance check. .. test:: Block-wise power is consistent with reactor data model power. :id: T_ARMI_FLUX_CHECK_POWER @@ -190,7 +189,7 @@ def test_checkEnergyBalance(self): cs = settings.Settings() _o, r = test_reactors.loadTestReactor() gfi = MockGlobalFluxInterface(r, cs) - gfi._checkEnergyBalance() + gfi.checkEnergyBalance() class TestGlobalFluxInterfaceWithExecuters(unittest.TestCase):