waterledger-models
The models behind Water Ledger: the water large new users take, use up and send back, starting with data centers.
pip install waterledger-models # numpy and numba
pip install "waterledger-models[all]" # with xarray ensembles, BMI components and STAC publishing
datacenter.physics: the cooling equations and parameter ranges, vectorized (Rutberg evaporative ratio as in USGS SIR 2013-5188, DOE FEMP water balance, Stull wet bulb), for each cooling plant inside the building (PLANTS: a shared facility loop, the default; a separate warm liquid loop; conventional chilled water; design 0007).datacenter.kernel: the Monte Carlo's hourly heat balance and water compiled with Numba, one pass per hour; it agrees withphysicsto the last bit or two and is tested against it for every design and plant.datacenter.cooling: the per-run Monte Carlo over decades of hourly weather for towers, hybrid, and closed loop with or without evaporative assist, for one plant (run_location) or each (run_plants); staff water at the campus's size.grid: water at the power plants supplying any user's hourly electricity, at grid level (design 0008): a balancing authority's table by month, UTC hour and the user's temperature, average and marginal, withGridWaterBmi([bmi]).datacenter.lake: lake-source (once-through) cooling with forced lake evaporation (USGS heat-balance method).datacenter.ensemble: vectorized ensembles as xarray, dask across locations ([ensemble]).datacenter.bmi:CoolingWaterBmiandLakeCoolingBmi, CSDMS BMI 2.0 with CSDMS Standard Names ([bmi]), on the publicScalarPointBmibase for components built on them.CoolingWaterBmitakes a withdrawal limit, dry mode and intake concentrations, and reports heat not removed, the return's temperature and the dissolved mass in it (design 0006); with no limit its outputs are unchanged.datacenter.stac: ensemble results as zarr with a STAC catalog ([stac]).hydrology: screening hydrology: SCS curve-number runoff, Theis drawdown and Glover stream depletion (on arrays).runoff: runoff, sediment, nutrients, road salt and fuel from a developed site.quantile_mapping: an ERA5 cell's hourly temperature and dew point corrected toward the stations within 100 km: shore stations for cells under 90% land, land stations for the rest (design 0005; land cells from model 1.9); temperature and dew point are each mapped on their own quantiles (from model 1.10), and the dew point never passes the temperature.weather: hourly weather from the Open-Meteo archive, its best match (ERA5, ERA5-Land and, from 2017, IFS HRES); humidity conversions (Bolton 1980) and a record's design dry-bulb.
MODEL_VERSION is Water Ledger's model version (1.11), which changes when the numbers do; the package version (semver)
changes with the code. They are independent.
Metadata
Release files for waterledger-models 3.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| waterledger_models-3.15.0.tar.gz | 67.2 kB | With provenance | Details for waterledger_models-3.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| waterledger_models-3.15.0-py3-none-any.whl | Python 3 | none | any | Details for waterledger_models-3.15.0-py3-none-any.whl |
Total release size: 143.0 kB
Release files / waterledger_models-3.15.0.tar.gz
| Download URL | waterledger_models-3.15.0.tar.gz |
|---|---|
| Size | 67.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13d2d8ccb4115973069e2d9bd9cc810741079625a778c1fd36f970753f343d68
|
|
BLAKE2b-256 checksum How to use checksums |
0943c1292585ef6f77a263562acebcda56a381b7788d42f5696ee4dc27a1706b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / waterledger_models-3.15.0-py3-none-any.whl
| Download URL | waterledger_models-3.15.0-py3-none-any.whl |
|---|---|
| Size | 75.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3334dd0259dda7d08dd50a667f5427a72236f86fcdcc31f6abb03f964b0204f
|
|
BLAKE2b-256 checksum How to use checksums |
c45f186ffa429d0db8a9d6e71534d773c5596e14f9e83ab9eff68a7cf5e97071
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for waterledger-models 3.15.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for waterledger_models-3.15.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.