armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct module

Tests for lumpedFissionProduce module.

armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.getDummyLFPFile()[source]
class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestFissionProductDefinitionFile(methodName='runTest')[source]

Bases: TestCase

Test of the fission product model.

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_createLFPs()[source]

Test of the fission product model creation.

test_createReferenceLFPs()[source]

Test of the reference fission product model creation.

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

Bases: TestCase

Test of the lumped fission product yields.

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_getYield()[source]

Test of the yield of a fission product.

test_gaseousYieldFraction()[source]
test_printDensities()[source]
test_isGas()[source]

Tests that a nuclide is a gas or not at STP based on its chemical phase.

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

Bases: TestCase

Test of the fission product collection.

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_getAllFissionProductNames()[source]

Test to ensure the fission product names are present.

test_getAllFissionProductNuclideBases()[source]

Test to ensure the fission product nuclide bases are present.

test_duplicate()[source]

Test to ensure that when we duplicate, we don’t adjust the original file.

test_getNumberDensities()[source]
test_getMassFrac()[source]
class armi.physics.neutronics.fissionProductModel.tests.test_lumpedFissionProduct.TestLumpedFissionProductsFromReferenceFile(methodName='runTest')[source]

Bases: TestCase

Tests loading from the referenceFissionProducts.dat file.

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_fissionProductYields()[source]

Test that the fission product yields for the lumped fission products sums to 2.0.

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

Bases: TestCase

Tests loading fission products with explicit modeling.

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_explicitFissionProducts()[source]

Tests that there are no lumped fission products added when the explicitFissionProducts model is enabled.

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

Bases: TestCase

Test of the fission product model from Mo99.

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_getAllFissionProductNames()[source]

Test to ensure that Mo99 is present, but other FP are not.