Skip to content

Commit

Permalink
Dont try to check burnup on new assembly if fresh from load queue
Browse files Browse the repository at this point in the history
  • Loading branch information
drewj-tp committed Oct 31, 2024
1 parent 4a5088f commit 0e48270
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions armi/physics/fuelCycle/assemblyRotationAlgorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def buReducingAssemblyRotation(fh):
if aPrev.lastLocationLabel in Assembly.NOT_IN_CORE:
continue
aNow = fh.r.core.getAssemblyWithStringLocation(aPrev.lastLocationLabel)
# An assembly in the SFP could have burnup but if it's coming from the load
# queue it's totally fresh. Skip a check over all pins in the model
if aNow.lastLocationLabel == Assembly.LOAD_QUEUE:
continue
# no point in rotation if there's no pin detail
if assemblyHasFuelPinPowers(aPrev) and assemblyHasFuelPinBurnup(aNow):
_rotateByComparingLocations(aNow, aPrev)
Expand Down

0 comments on commit 0e48270

Please sign in to comment.