armi.reactor.blueprints.componentBlueprint module¶
This module defines the ARMI input for a component definition, and code for constructing an ARMI Component
.
Special logic is required for handling component links.
-
class
armi.reactor.blueprints.componentBlueprint.
ComponentDimension
(value)[source]¶ Bases:
yamlize.objects.Object
Dummy object for ensuring well-formed component links are specified within the YAML input.
This can be either a number (float or int), or a conformation string (
name.dimension
).-
classmethod
from_yaml
(loader, node, _rtd=None)[source]¶ Override the
Yamlizable.from_yaml
to inject custom interpretation of component dimension.This allows us to create a new object with either a string or numeric value.
-
classmethod
to_yaml
(dumper, self, _rtd=None)[source]¶ Override the
Yamlizable.to_yaml
to remove the object-like behavior, otherwise we’d end up with a{value: ...}
dictionary.This allows someone to programmatically edit the component dimensions without using the
ComponentDimension
class.
-
__round_trip_data
¶
-
attributes
= <yamlize.attribute_collection.AttributeCollection object>¶
-
classmethod
-
class
armi.reactor.blueprints.componentBlueprint.
ComponentBlueprint
[source]¶ Bases:
yamlize.objects.Object
This class defines the inputs necessary to build ARMI component objects. It uses
yamlize
to enable serialization to and from YAML.-
flags
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
type
¶ type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
¶ default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
-
name
Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
shape
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
material
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
Tinput
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
Thot
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
isotopics
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
latticeIDs
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
origin
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
orientation
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
mergeWith
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
area
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
_conformKwargs
(blueprint, matMods)[source]¶ This method gets the relevant kwargs to construct the component
-
__round_trip_data
¶
-
attributes
= <yamlize.attribute_collection.AttributeCollection object>¶
-
axialPitch
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
azimuthal_differential
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
base
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
height
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
heightInner
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
heightOuter
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
helixDiameter
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
holeOD
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
id
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
inner_axial
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
inner_minor_radius
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
inner_phi
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
inner_radius
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
inner_theta
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
ip
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
lengthInner
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
lengthOuter
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
major_radius
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
modArea
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
mult
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
nHoles
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
od
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
op
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
outer_minor_radius
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
outer_phi
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
outer_radius
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
outer_theta
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
radius_differential
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
reference_volume
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
volume
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
widthInner
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
widthOuter
¶ Represents an attribute of a Python class, and a key/value pair in YAML.
-
name
name of the attribute within the Python class
- Type
-
key
name of the attribute within the YAML representation
- Type
-
type
type of the attribute within the Python class. When
ANY
, the type is a pass-through and whatever YAML determines it should be will be applied.- Type
type or ANY
-
default
default value if not supplied in YAML. If
default=NODEFAULT
, then the attribute must be supplied.- Type
value or NODEFAULT
-
storage_name
'_yamlized_' + name
, stored as a separate attribute for speed.- Type
-
-
-
armi.reactor.blueprints.componentBlueprint.
expandElementals
(mat, blueprint)[source]¶ Expand elements to isotopics during material construction.
Does so as required by modeling options or user input.
See also
armi.reactor.blueprints.Blueprints._resolveNuclides()
Sets the metadata defining this behavior.
-
armi.reactor.blueprints.componentBlueprint.
_insertDepletableNuclideKeys
(c, blueprint)[source]¶ Auto update number density keys on all DEPLETABLE components.
Notes
This should be moved to a neutronics/depletion plugin hook but requires some refactoring in how active nuclides and reactors are initialized first.
See also
armi.physics.neutronics.isotopicDepletion.isotopicDepletionInterface.isDepletable()
contains design docs describing the
DEPLETABLE
flagging situation