runtraj.models.run_model_many#

runtraj.models.run_model_many(name, releases, config, met, workdir=None, timeout=None)[source]#

Run a batched transport model once for many releases, and finish each one’s particles.

The model’s one table is split by its release column, and each release’s particles get the steps run_model() applies. A release whose particles are missing or fail those steps gets its error, and the others their runs.

Returns:

{release id: ModelRun}, or the SimulationError of a release that failed.

Return type:

dict[str, ModelRun | SimulationError]

Raises:

SimulationError – If the whole call fails.

Parameters: