Skip to content

mdpiper/bmi-example-python-parameter-study

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.

About

A parameter study of the Heat model from the Python BMI example

Topics

Resources

License

Stars

Watchers

Forks