fuel_segment module¶
Fuel segment Author: Valmor de Almeida dealmeidav@ornl.gov; vfda Sat Jun 27 14:46:49 EDT 2015
-
class
fuel_segment.
FuelSegment
(geometry=Series([], dtype: float64), species=[])[source]¶ Bases:
object
-
__repr__
()[source]¶ Used to pront the geometry of the fuel segment and the species that it consists of.
- Returns
s
- Return type
-
__str__
()[source]¶ Used to print the geometry of the fuel segment and the species that it consists of.
- Returns
s
- Return type
-
geometry
¶ Returns the geometry of the fuel bundle (cylindrical, hexoganol, rectangular, etc).
- Returns
geometry
- Return type
-
get_attribute
(name, nuclide=None, series=None)[source]¶ Used to get stored fuel segment properties, either overall (as an average), or on a nuclide basis. “name” in this case refers to the attribute in question. At this point in time, series is not implemented and passing it to this function will result in an error. Possible attributes that may be retrieved with this function, as well as the name to pass to this function to retrieve them are: number of segments in the bundle (n-segments, always equal to 1), the id of the segment that makes up the bundle (segment-id), the volume of the fuel in the bundle (fuel-volume), the total volume of the segment (segment-volume), the diameter (fuel-diameter) and length (fuel-length) of the segment, the mass or mass density of the segment (mass or mass-cc, respectively), or the total or per-volume radioactivity, gamma radiation density or heat density of the fuel segment (radioactivity and radioactivityDens, gamma and gamma-dens, and heat and heat-dens, respectively).
Finally, density or total mass of a specific nuclide can be determined by passing a specific nuclide to the function, with a name value of mass or mass-cc.
-
get_geometry
()[source]¶ Returns the geometry of the fuel bundle (cylindrical, hexoganol, rectangular, etc).
- Returns
geometry
- Return type
-
get_specie
(name)[source]¶ Returns a specie named [name] from the list of species making up the fuel bundle. If no name is specified, this function will return None.
- Parameters
name (str) –
- Returns
specie
- Return type
obj
-
get_species
()[source]¶ Returns the species object which describes the composition of the fuel bundle. The species encapsulates all chemical species present in the fuel bundle.
- Returns
species
- Return type
-