Skip to content

Commit

Permalink
add volume integrated tags to params that should have it, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bsculac committed Dec 3, 2024
1 parent 8777b4d commit 792a5e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion armi/bookkeeping/db/tests/test_comparedb3.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_compareDatabaseSim(self):
dbs[1]._fullPath,
timestepCompare=[(0, 0), (0, 1)],
)
self.assertEqual(len(diffs.diffs), 480)
self.assertEqual(len(diffs.diffs), 552)
# Cycle length is only diff (x3)
self.assertEqual(diffs.nDiffs(), 3)

Expand Down
5 changes: 3 additions & 2 deletions armi/reactor/blockParameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def getBlockParameterDefinitions():
pb.defParam(
"molesHmBOL",
units=f"{units.MOLES}",
description="Total number of atoms of heavy metal at BOL assuming a full assembly",
description="Total number of atoms of heavy metal at BOL.",
location=ParamLocation.VOLUME_INTEGRATED,
)

Expand All @@ -98,7 +98,7 @@ def getBlockParameterDefinitions():
pb.defParam(
"initialB10ComponentVol",
units=f"{units.CM}^3",
description="cc's of un-irradiated, cold B10 containing component (includes full volume if any B10)",
description="cc's of un-irradiated, cold B10 containing component (includes full volume of any components with B10)",
location=ParamLocation.VOLUME_INTEGRATED,
)

Expand All @@ -115,6 +115,7 @@ def getBlockParameterDefinitions():
"molesHmNow",
units=f"{units.MOLES}",
description="Total number of atoms of heavy metal",
location=ParamLocation.VOLUME_INTEGRATED,
)

pb.defParam(
Expand Down

0 comments on commit 792a5e9

Please sign in to comment.