[simulation] SimulationConfig#
TOML section: [simulation]
Pydantic model: SimulationConfig defined in hydromodpy.simulation.planning.config.
Minimal orchestration block declared under [simulation].
Fields#
name
str default = “” user source
Human-readable simulation name and the run’s identity. When empty, derived from the TOML filename at load time (run_steady_nwt.toml -> steady_nwt); a programmatic run without a name gets a deterministic memorable slug.
Example: "cheze_baseline"
tags
list[str] factory user source
Free-text tags attached at registration; editable later via ‘hmp catalog tag’.
if_exists
str default = “version” user source
Behavior when registering a simulation whose
namealready exists in this project.version(default) mints the nextstem.vNand keeps every run addressable;replacetrashes the predecessor (restorable) and takes the name;failraises an error.
One of: "replace" "fail" "version"
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]] with type = "flow" – model FlowProcessConfig.
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]] with type = "transport" – model TransportProcessConfig.
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]] with type = "mesh" – model MeshProcessConfig.
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 Catalog, 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: