armi.reactor.reactors module
Reactor objects represent the highest level in the hierarchy of structures that compose the system to be modeled.
- class armi.reactor.reactors.Reactor(name, blueprints)[source]
Bases:
Composite
Top level of the composite structure, potentially representing all components in a reactor.
This class contains the core and any ex-core structures that are to be represented in the ARMI model. Historically, the
Reactor
contained only the core. To support better representation of ex-core structures, the oldReactor
functionality was moved to the newer Core class, which has aReactor
parent.- pDefs = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>
- incrementAssemNum()[source]
Increase the max assembly number by one and returns the current value.
Notes
The “max assembly number” is not currently used in the Reactor. So the idea is that we return the current number, then iterate it for the next assembly.
Obviously, this method will be unused for non-assembly-based reactors.
- Returns:
The new max Assembly number.
- Return type:
- normalizeNames()[source]
Renumber and rename all the Assemblies and Blocks.
This method normalizes the names in the Core then the SFP.
- Returns:
The new max Assembly number.
- Return type:
- paramCollectionType
alias of
ReactorParameterCollection
- armi.reactor.reactors.loadFromCs(cs) Reactor [source]
Load a Reactor based on the input settings.
- Parameters:
cs (Settings) – A relevant settings object
- Returns:
Reactor loaded from settings file
- Return type:
- armi.reactor.reactors.factory(cs, bp, geom: Optional[SystemLayoutInput] = None) Reactor [source]
Build a reactor from input settings, blueprints and geometry.