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:
CompositeTop 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
Reactorcontained only the core. To support better representation of ex-core structures, the oldReactorfunctionality was moved to the newer Core class, which has aReactorparent.The
Reactoris the top level of the composite structure, which can represent all components within a reactor core. The reactor contains aCore, which contains a collection ofAssemblyobjects arranged in a hexagonal or Cartesian grid. Each Assembly consists of a stack ofBlockobjects, which are each composed of one or moreComponentobjects. EachInterfaceis able to interact with the reactor and its childCompositesby retrieving data from it or writing new data to it. This is the main medium through which input information and the output of physics calculations is exchanged between interfaces and written to an ARMI database.- 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