stilt.transport.run_model_many#

stilt.transport.run_model_many(name, receptors, config, met, workdir=None, timeout=None)[source]#

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

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

Returns:

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

Return type:

dict[str, ModelRun | SimulationError]

Raises:

SimulationError – If the whole call fails.

Parameters: