hydra-sdk
Water distribution network simulator — EPANET-compatible extended-period simulation.
hydra-sdk is the user-facing library crate for Hydra. It re-exports the complete public API of hydra-engine-wds as a single stable dependency, with all internal crate versions pre-pinned.
Install
[]
= "1"
Quick start
use ;
let bytes = read.unwrap;
let network = parse.unwrap;
let mut sim = create;
sim.load.unwrap;
sim.run.unwrap;
for t in sim.snapshot_times
What Hydra models
- Extended-period steady-state hydraulics (Global Gradient Algorithm)
- Pressure-driven and demand-driven demand models
- Conservative and reactive constituent transport (water quality, age, source tracing)
- EPANET 2.3
.inpformat input; binary.outand plain-text.rptoutput
Hydra does not model pressure transients, water-hammer, or multi-phase flow.
License
AGPL v3 — see COMMERCIAL_LICENSE.md for commercial licensing options.