Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change XSGM interface stack position to just before before MC2 #1288

Merged
merged 10 commits into from
Jun 14, 2023
2 changes: 1 addition & 1 deletion armi/physics/neutronics/crossSectionGroupManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
from armi.utils.units import TRACE_NUMBER_DENSITY
from armi.physics.neutronics import LatticePhysicsFrequency

ORDER = interfaces.STACK_ORDER.BEFORE + interfaces.STACK_ORDER.FUEL_MANAGEMENT
ORDER = interfaces.STACK_ORDER.BEFORE + interfaces.STACK_ORDER.CROSS_SECTIONS


def describeInterfaces(cs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,11 @@ def _getAllNuclidesByCategory(self, component=None):
# Homogeneous number densities and temperatures
nucTemperatureInC = self._getAvgNuclideTemperatureInC(nucName)

density = max(dens, self.minimumNuclideDensity)
# density = max(dens, self.minimumNuclideDensity)
albeanth marked this conversation as resolved.
Show resolved Hide resolved
if dens == 0:
density = self.minimumNuclideDensity
else:
density = dens
if nuc in nucDensities:
NuclideNameFoundMultipleTimes(nucName)
dens, nucTemperatureInC, nucCategory = nucDensities[nuc]
Expand Down
2 changes: 1 addition & 1 deletion armi/physics/neutronics/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def defineSettings():
),
setting.Setting(
CONF_XS_BLOCK_REPRESENTATION,
default="FluxWeightedAverage",
default="Average",
label="Cross Section Block Averaging Method",
description="The type of averaging to perform when creating cross sections for a group of blocks",
options=[
Expand Down