Our models and data pipelines are open source.
A public calculator for every city, village, town, township and county in Michigan, Ohio, Virginia, Texas, Wisconsin, Indiana, Minnesota, Pennsylvania, Georgia, Illinois, New York and Arizona, with more states coming. It estimates hourly data center water and electricity use from local weather. It traces the water from the utility to the sewer plant to the receiving stream, and the electricity to the local utility and the grid's power plants.
Three packages released together. waterledger-models holds the cooling, runoff and stream depletion models, with BMI components. waterledger-data loads public U.S. water data for any state. waterledger builds places, context and estimates.
pip install waterledger
Couples a watershed model, a groundwater model and the models of large water users through BMI, and steps them together one day at a time with one Python driver: SWAT+ through swatplus-bmi, MODFLOW 6 through its own BMI, NextGen runs replayed day by day, and water users from waterledger-models. Each step, the water balance is checked across the models, and tests hold it.
It now passes SWAT+ recharge to MODFLOW 6 cell by cell and runs the stream-aquifer exchange both ways, groundwater rising into the soil, stream temperature, groundwater transport and scenario weather. It writes calibration files for PEST++.
The worked example is Plaster Creek, Michigan: how much a data center campus's own well would take from the creek's low flow.
pip install basinledger
A Basic Model Interface for SWAT+. It steps the model one day at a time so other models can read its state and set its fluxes. It can branch or save a run's state, so a warm-up is computed once. It reads the nitrate, phosphorus and salt carried with the water, and takes weather set ahead of the run. Output is identical to SWAT+ run on its own. Built for coupling through NextGen and eWaterCycle.
pip install swatplus-bmi, then swatplus-bmi build (needs gfortran)
The code is on GitHub under the northlinehydrology organization. Each repository describes how to report a problem or propose a change.