Table of Contents
YAML configuration file
Specification
Each simulation task is defined in a single configuration file written in YAML format.
Input units are standard SI units, except time is in years.
simulation_params
Basic simulation settings
dt
Maximum simulation time step [years]
Example: dt: 5
time
Total simulation time [years]
Example: time: 2000000
max_iter
Maximum number of iterations. If this limit is reached, the simulation stops (likely due to numerical instability).
Example: max_iter: 24
include_processes
List of physical processes included in the simulation
Available options:
conversion– Radioactive decay of radionuclides.max_solubility– Maximum solubility limits of elements (otherwise unlimited).diffusion– Diffusion of radionuclides through the bentonite barrier.sorption– Sorption of radionuclides in the bentonite (linear Henry isotherm).
output
Defines the output data format
step_time
Time interval for output records [years]
Example: step_time: 500
quantities
Quantities (columns in the output CSV)
quantities:
fuel_m_kg– Total SNF (in rods, i.e., intact, undissolved) [kg]fuel_n_mol– Total SNF [mol]fuel_A_Bq– Total SNF [Bq]deg_m_kg– Degraded SNF (“sand”) [kg]deg_n_mol– Degraded SNF [mol]fuel+deg_m_kg– Total SNF (degraded + intact) [kg]cont.water_c_kg/m3– Container: concentration in water [kg/m³]cont.water_sat_%– Container: concentration as % of solubilitycont.water_c_mol/m3– Container: concentration in water [mol/m³]cont.water_A_Bq– Container: activity in water [Bq]cont.water_AV_Bq/m3– Container: activity in water [Bq/m³]bent.inner.bound.water_c_kg/m3– Inner edge of bentonite: concentration in water [kg/m³]bent.inner.bound.water_c_mol/m3– Inner edge of bentonite: concentration in water [mol/m³]bent.1/4.water_c_kg/m3– 1/4 thickness of bentonite from inner edge [kg/m³]bent.1/4.water_c_mol/m3– Same, in [mol/m³]bent.1/2.water_c_kg/m3– Half thickness from inner edge [kg/m³]bent.1/2.water_c_mol/m3– Same, in [mol/m³]bent.3/4.water_c_kg/m3– 3/4 thickness from inner edge [kg/m³]bent.3/4.water_c_mol/m3– Same, in [mol/m³]bent.outer.bound.water_c_kg/m3– Outer edge of bentonite: concentration [kg/m³]bent.outer.bound.water_c_mol/m3– Outer edge of bentonite: concentration [mol/m³]bent.layers.water_c_mol/m3– Layer-wise concentration in water [mol/m³] (default 5 cm steps)bent.layers.water_c_kg/m3– Layer-wise concentration in water [kg/m³]bent.water_m_kg– Total dissolved mass in bentonite [kg]bent.rock_m_kg– Sorbed mass in bentonite [kg]bent_m_kg– Total radionuclide mass in bentonite [kg]granit.water_m_kg– Cumulative outflow from bentonite [kg]granit.water_n_mol– Same in [mol]granit.water_m(cumsum)_kg– Cumulative outflow without radioactive decay [kg]granit.water_n(cumsum)_mol– Same in [mol]
isotopes
Isotopes (columns in the output CSV)
Example: isotopes: [all]
elements
Elements (columns in the output CSV)
Example: elements: [all]
summary_quantity
Stores sum over all isotopes/elements
Example: summary_quantity: no
degradation_rate
Stores output of fuel_degradation_function
Example: degradation_rate: yes
columns_ordering
Sets column order in the output CSV.
“Mount” means amount (mass/quantity).
Options:
quantity– Columns sorted by quantity type.quantity/name– First by quantity, then by isotope name.quantity/initial_mount– First by quantity, then by initial isotope mass.name/quantity– First by isotope name, then quantity.initial_mount/quantity– First by initial isotope mass, then quantity.
Example: columns_ordering: quantity
separators
Column separator and decimal point format
Options:
dec._col,– Decimal point:., separator:,dec._col;– Decimal point:., separator:;dec,_col;– Decimal point:,, separator:;dec._colt– Decimal point:., separator:tab
Example: separators: dec,_col;
number_format
Number format
Options:
G– general (e.g.,0.0)E– exponential (e.g.,0.0E+0)4E– same, with 4 decimals
F– fixed number of decimals4F– fixed 4 decimals
Example: number_format: G
file_name
Path to output CSV file
Example: file_name: .\edu.csv
statistics
Selection of simulation statistical outputs
Options:
cont_max_c– Max concentration of radionuclides in the containerbent_bound_max_c– Max concentration on outer edge of bentonitegranit_inflow– Cumulative outflow into surrounding rock
container
Disposal container parameters
radius
Outer radius of container (used for bentonite geometry)
Example: radius: 0.4
height
Container height (for geometry only)
Example: height: 4
free_volume
Internal free volume of the container
Example: free_volume: 0.2
T0_water_inflow_time
Time from simulation start to water inflow into container (start of wet phase) [years]
Example: T0_water_inflow_time: 2e5
fuel_degradation_function
Fuel degradation kinetics
model
Switch
Options:
user_def– Piecewise linear function (powerblock ignored)power– Power-law function (user_defblock ignored)
user_def
Piecewise linear function
times
Time since T0_water_inflow_time. Must have at least two values, starting with zero.
Example: times: [0, 1000000]
values_%
Percentage of degraded SNF
- First value must be
irf(initial fraction), - Last must be 100 (fully degraded)
Example: values_%: [irf, 100]
power
Power-law function
degradation_time_span
Time at which function reaches 100%
Example: degradation_time_span: 8e5
power_factor
Exponent
Example: power_factor: 0.3
time_step
Time discretization for generating the piecewise function
Example: time_step: 100
dissolving
Dissolution
controlled
Options:
no– Elements dissolve up to their own solubility limityes– Also limited by thecontrolling_elementratio
Example: controlled: yes
controlling_element
Element controlling dissolution of others
Example: controlling_element: U
bentonite_contact_area_function
Time-dependent contact area of container shell — piecewise linear
times
First value must be zero
Example: times: [0]
values_%
Any value; the last one persists for the rest of simulation
Example: values_%: [100]
direct_outflow_into_granite_%/year
Fraction of container water leaking directly into granite [%/year]
Example: direct_outflow_into_granite_%/year: 0
bentonite
width
Thickness of the bentonite barrier [m]
Example: width: 0.7
dr
Discretization step in thickness [m]
Example: dr: 0.05
density
Dry bulk density of bentonite [kg/m³]
Example: density: 1500
zones_outer_bound
Outer boundaries of zones (from the inner edge)
Example: zones_outer_bound: [0.7]
The following 3 items define time-dependent properties in zones (piecewise linear functions):
porosity,
De_b_modification, and
Kd_b_modification.
porosity
Porosity
times
Example: times: [0]
zone1_%
Multiple zones possible
Example: zone1_%: [30]
De_b_modification
Diffusion coefficient modifier
times
Example: times: [0]
zone1_%
Example: zone1_%: [100]
Kd_b_modification
Sorption coefficient modifier
times
Example: times: [0]
zone1_%
Example: zone1_%: [100]
bound_model
Boundary condition at the outer edge of the bentonite barrier.
Options:
granite_layer– Transfer into the surrounding rock.zero_conc– Zero concentration at the boundary (i.e. instant removal of material from bentonite edge).
Example: bound_model: zero_conc
granite_layer
Only used when: bound_model: granite_layer
width
Thickness of the rock layer
Example: width: 0.002
De_source
Where the effective diffusion coefficient is specified
Options:
De_b_%: defined on the line belowDe_g: defined in the isotopes block (further below)
Example: De_source: De_b_%
De_b_%
Effective diffusion coefficient in granite defined as a percentage of De in bentonite.
Example: De_b_%: 100
conc_by_bentonite_bound_conc_%
Boundary concentration in granite as a percentage of bentonite outer boundary concentration
Example: conc_by_bentonite_bound_conc_%: 0
isotopes
Definition of isotopes included in the simulation.
name
Name of isotope (must include element and mass number)
Example: name: C14
M_kg/mol
Molar mass of isotope [kg/mol]
Example: M_kg/mol: 0.014
T_1/2_year
Half-life of the isotope [years]
Example: T_1/2_year: 5700
conversion_to
Decay product (must be listed among isotopes)
Example: conversion_to: waste
init_m_kg
Initial isotope mass in SNF
Options:
init_a_bq– Initial activity in spent fuel [Bq], i.e., disintegrations per second.init_n_mol– Initial amount in moles [mol].
Example: init_m_kg: 0.000882
irf_%
Instantly Released Fraction (IRF) – percent of init_m_kg
Example: irf_%: 10
c_max_mol/m3
Solubility limit [mol/m³]
Example: c_max_mol/m3: inf
De_b_m2/s
Effective diffusion coefficient in bentonite [m²/s]
Example: De_b_m2/s: 1.2e-10
Kd_b_m3/kg
Sorption coefficient in bentonite [m³/kg]
Example: Kd_b_m3/kg: 0
De_g_m2/s
Effective diffusion coefficient in granite [m²/s]
Example: De_g_m2/s: 5e-15