armi.physics.fuelCycle.tests.test_fuelHandlers module
Tests some capabilities of the fuel handling machine.
This test is high enough level that it requires input files to be present. The ones to use are called armiRun.yaml which is located in armi.tests
- class armi.physics.fuelCycle.tests.test_fuelHandlers.FuelHandlerTestHelper(methodName='runTest')[source]
Bases:
ArmiTestHelperCreate 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.fuelCycle.tests.test_fuelHandlers.MockLatticePhysicsInterface(r, cs)[source]
Bases:
LatticePhysicsInterfaceA mock lattice physics interface that does nothing for interactBOC.
- class armi.physics.fuelCycle.tests.test_fuelHandlers.MockXSGM(r, cs)[source]
Bases:
CrossSectionGroupManagerA mock cross section group manager that does nothing for interactBOC.
- class armi.physics.fuelCycle.tests.test_fuelHandlers.TestFuelHandler(methodName='runTest')[source]
Bases:
FuelHandlerTestHelperCreate 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_repeatShuffles()[source]
Loads the ARMI test reactor with a custom shuffle logic file and shuffles assemblies twice.
Notes
The custom shuffle logic is executed by
armi.physics.fuelCycle.fuelHandlerInterface.FuelHandlerInterface.manageFuel()withinarmi.physics.fuelCycle.tests.test_fuelHandlers.TestFuelHandler.runShuffling(). There are two primary assertions: spent fuel pool assemblies are in the correct location and the assemblies were shuffled into their correct locations. This process is repeated twice to ensure repeatability.
- test_readMoves()[source]
Depends on the
shuffleLogiccreated byrepeatShuffles.See also
runShufflingcreates the shuffling file to be read in.
- test_transferDifferentNumberStationaryBlocks()[source]
Test the _transferStationaryBlocks method for the case where the input assemblies have different numbers of stationary blocks.
- test_transferUnalignedLocationStationaryBlocks()[source]
Test the _transferStationaryBlocks method for the case where the input assemblies have unaligned locations of stationary blocks.
- test_transferIncompatibleHeightStationaryBlocks()[source]
Test the _transferStationaryBlocks method for the case where the total height of the stationary blocks is unequal between input assemblies.
- class armi.physics.fuelCycle.tests.test_fuelHandlers.TestFuelPlugin(methodName='runTest')[source]
Bases:
TestCaseTests that make sure the plugin is being discovered well.
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.