Skip to content

run_models API Reference

geoloop.utils.RunManager.run_models

run_models(config: SingleRunConfig) -> tuple[dict, list]

Execute Monte Carlo model runs based on sampled parameters.

Parameters:

Name Type Description Default
config SingleRunConfig

Model configuration. Must include: n_samples : int Number of stochastic simulations. Must also be compatible with sample_parameter_space and SingleRun.from_config.

required

Returns:

Name Type Description
parameters dict

Sampled input parameter space with arrays sized (n_samples,).

results list

List of SingleRunResult model result objects, one per sample.