Skip to content

mdpiper/bmi-example-python-parameter-study

Folders and files

NameName
Last commit message
Last commit date
Apr 28, 2024
May 14, 2024
Apr 28, 2024
May 2, 2024
May 2, 2024
May 2, 2024
Apr 26, 2024
Apr 29, 2024
May 14, 2024
Apr 28, 2024
May 2, 2024

Repository files navigation

bmi-example-python-parameter-study

A parameter study of the Heat model from the Python Basic Model Interface (BMI) example, run through its BMI.

Install

To install the bmiheat-parameter-study package, clone this repository, set up a virtual environment, and run pip install.

pip install -e .

Setup

Run the setup subcommand to generate a set of BmiHeat configuration files for the parameter study.

bmiheat-parameter-study setup study-config.yaml

Run

Use the run subcommand to run the BmiHeat model through each of the parameter sets defined in the configuration files.

bmiheat-parameter-study run heat-config-1.yaml
bmiheat-parameter-study run heat-config-2.yaml
bmiheat-parameter-study run heat-config-3.yaml
...

Each call to the run subcommand writes a statistic to the console. Collect these statistics to complete the parameter study.