Skip to content

Commit

Permalink
Organizing test settings files by category (#1914)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science authored Sep 30, 2024
1 parent 34619df commit 3b1a789
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 89 deletions.
11 changes: 8 additions & 3 deletions armi/tests/ThRZSettings.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
metadata:
version: uncontrolled
settings:
# global
branchVerbosity: info
burnSteps: 0
comment: "Revised benchmark "
db: false
genXS: Neutron
geomFile: ThRZGeom.xml
groupStructure: ARMI45
loadingFile: ThRZloading.yaml
numProcessors: 12
outputFileExtension: png
power: 1000000.0

# database
db: false

# neutronics
genXS: Neutron
groupStructure: ARMI45
52 changes: 31 additions & 21 deletions armi/tests/armiRun.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
settings:
# global
availabilityFactor: 1
beta: 0.003454
branchVerbosity: debug
buGroups:
- 100
burnSteps: 2
comment: Simple test input.
cycleLength: 2000.0
detailAssemLocationsBOL:
- 002-001
freshFeedType: igniter fuel
loadingFile: refSmallReactor.yaml
moduleVerbosity:
armi.reactor.reactors: info
nCycles: 6
outputFileExtension: png
power: 100000000.0
smallRun: true
startCycle: 1
startNode: 2
targetK: 1.002
verbosity: extra
versions:
armi: uncontrolled

# cross section
crossSectionControl:
DA:
geometry: 0D
Expand All @@ -31,30 +51,20 @@ settings:
- gap
numInternalRings: 1
numExternalRings: 1
cycleLength: 2000.0

# database
db: false
detailAssemLocationsBOL:
- 002-001
epsBurnTime: 0.001
epsFSAvg: 1e-06
epsFSPoint: 1e-06
freshFeedType: igniter fuel

# fuel cycle
fuelHandlerName: EquilibriumShuffler
jumpRingNum: 9
loadingFile: refSmallReactor.yaml
startCycle: 1
startNode: 2
shuffleLogic: refSmallReactorShuffleLogic.py

# neutronics
epsFSAvg: 1e-06
epsFSPoint: 1e-06
loadPadElevation: 200.0

# report
genReports: false
moduleVerbosity:
armi.reactor.reactors: info
nCycles: 6
outputFileExtension: png
power: 100000000.0
shuffleLogic: refSmallReactorShuffleLogic.py
smallRun: true
summarizeAssemDesign: false
targetK: 1.002
verbosity: extra
versions:
armi: uncontrolled
51 changes: 32 additions & 19 deletions armi/tests/detailedAxialExpansion/armiRun.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
settings:
axialExpansion: true
detailedAxialExpansion: true
# global
beta: 0.003454
branchVerbosity: debug
buGroups:
- 100
burnSteps: 2
comment: Simple test input with detailed axial expansion.
cycleLength: 2000.0
detailAssemLocationsBOL:
- 002-001
detailedAxialExpansion: true
freshFeedType: igniter fuel
loadingFile: refSmallReactor.yaml
moduleVerbosity:
armi.reactor.reactors: info
nCycles: 6
outputFileExtension: png
power: 100000000.0
startNode: 1
targetK: 1.002
verbosity: extra
versions:
armi: uncontrolled

# cross section
crossSectionControl:
DA:
geometry: 0D
Expand All @@ -19,26 +36,22 @@ settings:
XA:
xsFileLocation:
- ISOXA
cycleLength: 2000.0

# database
db: false
detailAssemLocationsBOL:
- 002-001
epsFSAvg: 1e-06
epsFSPoint: 1e-06
freshFeedType: igniter fuel

# fuel cycle
fuelHandlerName: EquilibriumShuffler
jumpRingNum: 9
loadingFile: refSmallReactor.yaml
startNode: 1

# fuel performance
axialExpansion: true

# neutronics
epsFSAvg: 1e-06
epsFSPoint: 1e-06
loadPadElevation: 162.5

# report
genReports: false
moduleVerbosity:
armi.reactor.reactors: info
nCycles: 6
outputFileExtension: png
power: 100000000.0
summarizeAssemDesign: false
targetK: 1.002
verbosity: extra
versions:
armi: uncontrolled
20 changes: 13 additions & 7 deletions armi/tests/refTestCartesian.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
settings:
# global
beta: 0.003454
buGroups:
- 100
burnSteps: 0
comment: Full-core Cartesian input file with a 10x10 cm square pitch.
cycleLength: 2000.0
epsBurnTime: 0.001
epsFSAvg: 1e-06
epsFSPoint: 1e-06
freshFeedType: igniter fuel
jumpRingNum: 9
loadingFile: refSmallCartesian.yaml
startNode: 1
loadPadElevation: 200.0
outputFileExtension: png
power: 400000000.0
summarizeAssemDesign: false
startNode: 1
targetK: 1.002
versions:
armi: uncontrolled

# fuel cycle
jumpRingNum: 9

# neutronics
epsFSAvg: 1e-06
epsFSPoint: 1e-06
loadPadElevation: 200.0

# report
summarizeAssemDesign: false
49 changes: 30 additions & 19 deletions armi/tests/smallestTestReactor/armiRunSmallest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,33 @@
# This is a single-hex-assembly reactor, with only one block.

settings:
# global
availabilityFactor: 1
beta: 0.003454
branchVerbosity: debug
buGroups:
- 100
burnSteps: 2
comment: Simple test input.
cycleLength: 2000.0
detailAssemLocationsBOL:
- 002-001
freshFeedType: igniter fuel
loadingFile: refSmallestReactor.yaml
moduleVerbosity:
armi.reactor.reactors: info
nCycles: 2
outputFileExtension: png
power: 1000000.0
smallRun: true
startCycle: 1
startNode: 2
targetK: 1.002
verbosity: extra
versions:
armi: uncontrolled

# cross section
crossSectionControl:
DA:
geometry: 0D
Expand All @@ -35,28 +55,19 @@ settings:
- gap
numInternalRings: 1
numExternalRings: 1
cycleLength: 2000.0

# database
db: false
detailAssemLocationsBOL:
- 002-001
epsFSAvg: 1e-06
epsFSPoint: 1e-06
freshFeedType: igniter fuel

# fuel cycle
fuelHandlerName: EquilibriumShuffler
jumpRingNum: 9
loadingFile: refSmallestReactor.yaml
startCycle: 1
startNode: 2

# neutronics
epsFSAvg: 1e-06
epsFSPoint: 1e-06
loadPadElevation: 200.0

# report
genReports: false
moduleVerbosity:
armi.reactor.reactors: info
nCycles: 2
outputFileExtension: png
power: 1000000.0
smallRun: true
summarizeAssemDesign: false
targetK: 1.002
verbosity: extra
versions:
armi: uncontrolled
1 change: 0 additions & 1 deletion armi/tests/test_lwrInputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def test_loadC5G7(self):
streamVal = mock.getStdout()
self.assertIn("UraniumOxide", streamVal, msg=streamVal)
self.assertIn("SaturatedWater", streamVal, msg=streamVal)
self.assertIn("invalid settings: fakeBad", streamVal, msg=streamVal)

# test that there are 100 of each high, medium, and low MOX pins
fuelPinsHigh = b.getComponent(Flags.HIGH | Flags.MOX)
Expand Down
20 changes: 12 additions & 8 deletions armi/tests/tutorials/c5g7-settings.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
settings:
# global
availabilityFactor: 0.9
fakeBad: 123456
power: 1000000000.0
cycleLength: 411.11
loadingFile: c5g7-blueprints.yaml
nCycles: 10
burnSteps: 2
buGroups:
- 100
burnSteps: 2
comment: C5G7 LWR Benchmark inputs
genXS: Neutron
cycleLength: 411.11
loadingFile: c5g7-blueprints.yaml
nCycles: 10
numProcessors: 1
genReports: false
power: 1000000000.0
versions:
armi: uncontrolled

# neutronics
genXS: Neutron

# report
genReports: false
27 changes: 16 additions & 11 deletions armi/tests/zpprTest.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
metadata:
version: uncontrolled
settings:
# global
Tin: 20.0
Tout: 20.0
buGroups:
- 100
burnSteps: 0
comment: ZPPR test case
cycleLength: 365.25
geomFile: zpprTestGeom.xml
loadingFile: 1DslabXSByCompTest.yaml
mpiTasksPerNode: 6
numProcessors: 12
outputFileExtension: pdf
power: 75000000.0
sortReactor: false # zpprs dont sor the right way. need better component sorting for slab...
verbosity: extra

# cross section
crossSectionControl:
AA:
geometry: 1D slab
Expand All @@ -27,17 +41,8 @@ settings:
numInternalRings: 1
numExternalRings: 1
meshSubdivisionsPerCm: 10
cycleLength: 365.25

# neutronics
epsEig: 1e-10
genXS: Neutron
geomFile: zpprTestGeom.xml
loadingFile: 1DslabXSByCompTest.yaml
mpiTasksPerNode: 6
numProcessors: 12
outputFileExtension: pdf
power: 75000000.0
sortReactor: false # zpprs dont sor the right way. need better component sorting for slab...
Tin: 20.0
Tout: 20.0
verbosity: extra
xsBlockRepresentation: ComponentAverage1DSlab

0 comments on commit 3b1a789

Please sign in to comment.