Skip to content

Commit

Permalink
Removing unused ARMI Parameters (#986)
Browse files Browse the repository at this point in the history
RI have removed defunct Parameters from:

* Economics
* Flux Reconstruction
* Thermal Hydraulics
  • Loading branch information
john-science committed Nov 19, 2022
1 parent da4a184 commit 9927cac
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 185 deletions.
77 changes: 0 additions & 77 deletions armi/physics/neutronics/parameters.py
Expand Up @@ -233,15 +233,6 @@ def mgFlux(self, value):
default=None,
)

pb.defParam(
"axialMgFluxProfileAdj",
units="",
description="",
location=ParamLocation.AVERAGE,
saveToDB=False,
default=None,
)

pb.defParam(
"axialMgFluxProfileNeutron",
units="",
Expand All @@ -251,15 +242,6 @@ def mgFlux(self, value):
default=None,
)

pb.defParam(
"axialMgFluxProfileNeutronAdj",
units="",
description="",
location=ParamLocation.AVERAGE,
saveToDB=False,
default=None,
)

pb.defParam(
"axialMgFluxProfileGamma",
units="",
Expand Down Expand Up @@ -534,10 +516,6 @@ def linPowByPinGamma(self, value):

pb.defParam("arealPd", units="MW/m^2", description="Power divided by XY area")

pb.defParam(
"arealPdGamma", units="MW/m^2", description="Areal gamma power density"
)

pb.defParam("fertileBonus", units=None, description="The fertile bonus")

pb.defParam(
Expand All @@ -550,18 +528,6 @@ def linPowByPinGamma(self, value):
"fisDensHom", units="1/cm^3/s", description="Homogenized fissile density"
)

pb.defParam(
"fluxDeltaFromRef",
units="None",
description="Relative difference between the current flux and the directly-computed perturbed flux.",
)

pb.defParam(
"fluxDirect",
units="n/cm^2/s",
description="Flux is computed with a direct method",
)

pb.defParam(
"fluxGamma",
units="g/cm^2/s",
Expand All @@ -578,22 +544,6 @@ def linPowByPinGamma(self, value):
description="Peak neutron flux calculated within the mesh",
)

pb.defParam(
"fluxPertDeltaFromDirect",
units="None",
description="Relative difference between the perturbed flux and the directly-computed perturbed flux",
)

pb.defParam(
"fluxPertDeltaFromDirectfluxRefWeighted", units="None", description=""
)

pb.defParam(
"fluxPerturbed", units="1/cm^2/s", description="Flux is computed by MEPT"
)

pb.defParam("fluxRef", units="1/cm^2/s", description="Reference flux")

pb.defParam(
"kInf",
units="None",
Expand Down Expand Up @@ -761,15 +711,6 @@ def linPowByPinGamma(self, value):
saveToDB=True,
default=None,
)
pb.defParam(
"pointsEdgeFastFluxFr",
units=None,
description="Fraction of flux above 100keV at edges of the block",
location=ParamLocation.EDGES,
categories=["detailedAxialExpansion", "depletion"],
saveToDB=True,
default=None,
)

pb.defParam(
"pointsCornerDpa",
Expand All @@ -780,15 +721,6 @@ def linPowByPinGamma(self, value):
saveToDB=True,
default=None,
)
pb.defParam(
"pointsEdgeDpa",
units="dpa",
description="displacements per atom at edges of the block",
location=ParamLocation.EDGES,
categories=["cumulative", "detailedAxialExpansion", "depletion"],
saveToDB=True,
default=None,
)

pb.defParam(
"pointsCornerDpaRate",
Expand All @@ -799,15 +731,6 @@ def linPowByPinGamma(self, value):
saveToDB=True,
default=None,
)
pb.defParam(
"pointsEdgeDpaRate",
units="dpa/s",
description="Current time derivative of the displacement per atoms at edges of the block",
categories=["detailedAxialExpansion", "depletion"],
location=ParamLocation.EDGES,
saveToDB=True,
default=None,
)

pb.defParam(
"pdensGenerated",
Expand Down
16 changes: 0 additions & 16 deletions armi/physics/thermalHydraulics/parameters.py
Expand Up @@ -43,15 +43,6 @@ def _getBlockParams():
categories=[parameters.Category.assignInBlueprints],
)

pb.defParam(
"inletLossCoeff",
units="",
description="Pressure loss coefficients from form losses to be applied at the block "
"inlet",
default=None,
categories=[parameters.Category.assignInBlueprints],
)

with pDefs.createBuilder(
default=0.0, location=ParamLocation.AVERAGE, categories=["thermal hydraulics"]
) as pb:
Expand Down Expand Up @@ -427,13 +418,6 @@ def _getBlockParams():
location=ParamLocation.TOP | ParamLocation.EDGES,
)

pb.defParam(
"THbundleAveTemp",
units=units.DEGC,
description="Bundle averaged temperature",
location=ParamLocation.TOP,
)

pb.defParam(
"THcoldChanTemp",
units=units.DEGC,
Expand Down
7 changes: 0 additions & 7 deletions armi/reactor/blockParameters.py
Expand Up @@ -1169,13 +1169,6 @@ def xsTypeNum(self, value): # pylint: disable=method-hidden
location=ParamLocation.VOLUME_INTEGRATED,
)

pb.defParam(
"powerShapePercent",
units="%",
description="Percent change in power shape when core temperature rises.",
location=ParamLocation.AVERAGE,
)

pb.defParam(
"puFrac",
units="None",
Expand Down
85 changes: 0 additions & 85 deletions armi/reactor/reactorParameters.py
Expand Up @@ -91,39 +91,12 @@ def defineReactorParameters():
description="Total feed material required in reactor economics",
)

pb.defParam(
"eFissile",
units="MT",
description="Fissile mass required in reactor economics",
)

pb.defParam(
"eFuelCycleCost",
units="$/MT",
description="Cost of fuel cycle in an equilibrium-mode in reactor economics",
)

pb.defParam(
"eFuelCycleCostRate",
units="$/year",
description="Rate of fuel cycle cost in an equilibrium mode in reactor economics",
)

pb.defParam(
"eProduct",
units="MT",
description="Total mass of manufactured fuel in reactor economics",
)

pb.defParam(
"eSWU",
units="kgSWU",
description="Separative work units in reactor economics",
)

pb.defParam(
"eTailsMT", units="MT", description="Depleted Uranium in reactor economics"
)
return pDefs


Expand Down Expand Up @@ -422,14 +395,6 @@ def detailedNucKeys(self, value):
description="Maximum memory used by an ARMI process",
)

pb.defParam(
"maxTH2SigmaCladIDT",
units=units.DEGC,
description="Max 2-sigma temperature of the inner-diameter of the cladding",
default=0.0,
categories=["block-max"],
)

pb.defParam(
"maxTranPCT",
units=units.DEGC,
Expand Down Expand Up @@ -482,42 +447,6 @@ def detailedNucKeys(self, value):
location=ParamLocation.AVERAGE, default=0.0, categories=["thermal hydraulics"]
) as pb:

pb.defParam(
"assemblyPumpHead",
units="Pa",
description="Pressure drop for the max power assembly in zone",
)

pb.defParam(
"CoreAvgTOut",
units=units.DEGC,
description="Core average outlet temperature",
)

pb.defParam(
"outletTempIdeal",
units=units.DEGC,
description="Average outlet tempeture loop through all assemblies after doing TH",
)

pb.defParam(
"SCMaxDilationPressure",
units="Pa",
description="The maximum dilation pressure in the core",
)

pb.defParam(
"SCorificeEfficiency",
units=None,
description="Ratio of total flow rate for the optimized orificing scheme to total flow rate for an ideal orificing scheme",
)

pb.defParam(
"SCovercoolingRatio",
units=None,
description="Ratio of the max flow rate to the average flow rate",
)

pb.defParam(
"THmaxDeltaPPump",
units="Pa",
Expand All @@ -534,20 +463,6 @@ def detailedNucKeys(self, value):
description="Average outlet temperature loop through all assemblies after doing TH",
)

pb.defParam("vesselTemp", units=units.DEGC, description="vessel temperature")

pb.defParam(
"LMDT",
units=units.DEGC,
description="Log mean temperature difference in heat exchanger",
)

pb.defParam(
"peakTemperature",
units=units.DEGC,
description="peak temperature anywhere in the reactor",
)

with pDefs.createBuilder(
location=ParamLocation.AVERAGE, default=0.0, categories=["neutronics"]
) as pb:
Expand Down

0 comments on commit 9927cac

Please sign in to comment.