ogstools.physics.nuclearwasteheat.nuclearwaste module#
- class ogstools.physics.nuclearwasteheat.nuclearwaste.NuclearWaste[source]#
Bases:
object
Models the heat generated by one type of nuclear fuel waste.
- name: str#
Name of this type of waste.
- nuclide_powers: PlainQuantity | ndarray#
Powers for the different leading nuclides.
- decay_consts: PlainQuantity | ndarray#
Decay constants for the different leading nuclides.
- num_bundles: int#
Number of nuclear waste bundles.
- time_interim: PlainQuantity | float#
Interim storage time before heat evaluation.
- time_deposit: PlainQuantity | float = 0.0#
Number of active bundles linearly increases until this time is reached.
- __init__(name, nuclide_powers, decay_consts, num_bundles, time_interim, time_deposit=0.0, factor=1.0)#
- factor: PlainQuantity | float = 1.0#
Scale the calculated heat by this factor.
- heat(t, baseline=False, ncl_id=None, time_unit='s', power_unit='W')[source]#
Calculate the heat of a nuclear waste proxy model.
- Parameters:
t (PlainQuantity | float | ndarray) – Timevalue(s) at which the heat is calculated.
ncl_id (int | None) – If given, only output the heat by nuclide with this id, else sum the heat over all nuclides.
baseline (bool) – If True, evaluate one bundle with no interim or deposition time delay.
- Returns:
Heat generated by the nuclear waste at time t.
- Return type:
float | ndarray
- class ogstools.physics.nuclearwasteheat.nuclearwaste.Repository[source]#
Bases:
object
Models the heat generated by total repository inventory.
- __init__(waste)#
- waste: list[NuclearWaste]#
Waste inventory of the repository.
- time_deposit(time_unit='s')[source]#
Deposition time for each nuclear waste type.
- Return type:
float | list[float]
- heat(t, baseline=False, ncl_id=None, time_unit='s', power_unit='W')[source]#
Calculate the heat produced by the repository at time t.
- Parameters:
t (PlainQuantity | float | ndarray) – Timevalue(s) at which the heat is calculated.
ncl_id (int | None) – If given, only output the heat by nuclide with this id, else sum the heat over all nuclides.
baseline (bool) – If True, evaluate one bundle for each waste with no interim or deposition time delay.
- Returns:
Heat generated by the repository at time t.
- Return type:
float | ndarray