Skip to content Where Legends Are Made
Cooperative Institute for Research to Operations in Hydrology

BMI Basics for NextGen

BMI Basics for NextGen

Day 1 Session 2 (1:30 PM)

Presenters:

Keith Jennings, University of Vermont
Chad Perry, University of Alabama

The Next Generation Water Resources Modeling Framework (NextGen) uses the Basic Model Interface (BMI) to control model run time and pass data from one model to another. Although NextGen is model-agnostic, any model plugged into the framework must have a complete, functional BMI implementation. In this workshop we will overview the basics of how NextGen utilizes BMI and detail its important functions, and we will demonstrate how to take a simple Python model from its initial state of being non-BMI-compliant to its finished, NextGen-ready state with BMI. Additionally, we will demonstrate how to use your model with the NGIAB (NextGen in a Box) project, rather than building NextGen from scratch. We will discuss the importance of modularization and separation of concerns so you can apply the lessons from this workshop to your own model.

Learning Outcomes:

  • Understand the importance of BMI in NextGen
  • Learn how to implement BMI in your own model
  • Learn how to use your model with the NGIAB project

Prerequisites:

None