armi.physics.neutronics.fissionProductModel.tests.test_fissionProductModel module

Test the fission product module to ensure all FP are available.

class armi.physics.neutronics.fissionProductModel.tests.test_fissionProductModel.TestFissionProductModelLumpedFissionProducts(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests the fission product model interface behavior when lumped fission products are enabled.

Notes

This loads the global fission products from a file stream.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_loadGlobalLFPsFromFile()[source]

Tests that loading lumped fission products from a file.

test_getAllFissionProductNames()[source]

Tests retrieval of the fission product names within all the lumped fission products of the core.

class armi.physics.neutronics.fissionProductModel.tests.test_fissionProductModel.TestFissionProductModelIndependentLumpedFissionProducts(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests the fission product model interface behavior when lumped fission products are enabled but made independent for each block. Mainly tests the FissionProductModel._useGlobalLFPs property.

Notes

This loads the global fission products from a file stream.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

class armi.physics.neutronics.fissionProductModel.tests.test_fissionProductModel.TestFissionProductModelExplicitMC2Library(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests the fission product model interface behavior when explicit fission products are enabled.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_nuclideFlags()[source]

Test that the nuclide flags contain the set of MC2-3 modeled nuclides.

test_nuclidesInModelFuel()[source]

Test that the fuel blocks contain all the MC2-3 modeled nuclides.

test_nuclidesInModelAllDepletableBlocks()[source]

Test that the depletable blocks contain all the MC2-3 modeled nuclides.