[simulation] SimulationConfig#
TOML section: [simulation]
Pydantic model: SimulationConfig defined in hydromodpy.simulation.planning.config.
Minimal orchestration block declared under [simulation].
Fields#
run_id
str default = “” user source
Run identifier used as the output subfolder name under results_simulations/. When empty, derived from the TOML filename at load time (e.g. run_steady_nwt.toml -> steady_nwt).
Example: "steady_nwt"
on_collision
Literal[‘replace’, ‘fail’, ‘version’] default = “replace” user source
Behavior when registering a simulation whose
namealready exists in this project.replacesoft-replaces (the previous sim keeps its UUID but loses its name),failraises an error,versionauto-suffixesname.v2,name.v3…
scientific_objective
str | None default = None user source
Scientific objective used for catalog and ML stratification.
time
in TOML:
[simulation.time]
SimulationTimeConfig | None default = None user source
Optional canonical simulation window used to align solver temporal settings and validate forcing coverage. Required for launcher flow processes and for runtime features that explicitly consume simulation-window dates.
process
in TOML:
[[simulation.process]]
type = “flow” | “transport” | “mesh” factory user source
Ordered list of requested processes loaded from [[simulation.process]]. At most one process per type is supported.
Pick a tab below: setting
typeselects the matching schema.
TOML: [simulation.process.flow] – model FlowProcessConfig (set type = "flow").
id
str required user source
User-facing identifier for the process. This id is required and must be unique within the simulation.
Example: "flow_main"
solvers
list[str] required user source
Ordered list of active flow solver names. At least one solver is required for flow processes.
TOML: [simulation.process.transport] – model TransportProcessConfig (set type = "transport").
id
str required user source
User-facing identifier for the process. This id is required and must be unique within the simulation.
Example: "flow_main"
solvers
list[str] required user source
Ordered list of active transport solver names. At least one solver is required for transport processes.
TOML: [simulation.process.mesh] – model MeshProcessConfig (set type = "mesh").
id
str required user source
User-facing identifier for the process. This id is required and must be unique within the simulation.
Example: "flow_main"
backend
Literal[‘catchment’] default = “catchment” user source
Backend used by the mesh process. Currently only ‘catchment’ is supported (delegates to the [mesh_catchment] runtime).
solvers
list[str] factory user source
Reserved for future use. Mesh processes must not declare solvers; set ‘backend’ instead.
results
in TOML:
[simulation.results]
ResultsConfig factory dev source
Results storage and export configuration loaded from [simulation.results]. Controls SimulationCatalog, derived variables, and automated exports.
rng_seed
int | None default = None user source
Master RNG seed for the simulation. When set, every stochastic consumer (mesh point sampling, synthetic forcing, …) derives its own deterministic sub-seed via
hydromodpy.core.rng.RngManager. Persisted inruns_environment.rng_seedso the run can be re-executed from the catalog snapshot.
Starter TOML snippet#
Cases using this section#
Validation gallery cases that reference fields from this section: