Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.01 KB

File metadata and controls

40 lines (30 loc) · 1.01 KB

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.