You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we already have something that's halfway decent. The trick is setting the block data such that you have a known input state (pin powers, max burnup pin index, etc.) such that you can compare the rotation you get vs. the rotation you expect
ARMI provides functionality for a fuel handler to do "burnup reducing" assembly rotation
armi/armi/physics/fuelCycle/assemblyRotationAlgorithms.py
Lines 38 to 40 in f1f3dbe
armi/armi/physics/fuelCycle/hexAssemblyFuelMgmtUtils.py
Lines 32 to 41 in f1f3dbe
The testing for this functionality is lacking, in my opinion; it checks that that the orientation is different, not "optimal"
armi/armi/physics/fuelCycle/tests/test_assemblyRotationAlgorithms.py
Lines 30 to 50 in f1f3dbe
So that could use some improvement.
I propose we add more testing, specifically on the internal
getOptimalAssemblyOrientation
function, to check thata is aPrev
in the function)a is not aPrev
)Addendum
This last sentence
armi/armi/physics/fuelCycle/hexAssemblyFuelMgmtUtils.py
Lines 40 to 41 in f1f3dbe
is wrong and should be removed. If we don't have any pin information, the
getOptimalAssemblyOrientation
raises an errorarmi/armi/physics/fuelCycle/hexAssemblyFuelMgmtUtils.py
Lines 119 to 122 in f1f3dbe
The text was updated successfully, but these errors were encountered: