hydra-engine-wds
Core simulation engine for Hydra — water distribution network data model, EPANET INP/OUT/RPT I/O, Global Gradient Algorithm hydraulic solver, Lagrangian water quality engine, simulation session API, and post-simulation analytics.
Most users should depend on
hydra-sdkinstead.hydra-sdkre-exports the complete public API of this crate as a single stable umbrella dependency.
Scope
This crate owns:
| Module | Responsibility |
|---|---|
model |
Network data model, state types, validation |
io |
Unit conversion; INP parser; binary .out reader/writer; .rpt writer |
hydraulics |
GGA Newton-Raphson solver |
quality |
Lagrangian transport, mixing, reactions, source tracing |
simulation |
Session API, controls, timestep orchestration, accounting |
analysis |
Post-simulation analytics |
This crate does not own interface logic (CLI, GUI) or filesystem/network I/O — callers supply bytes.
License
AGPL v3 — see COMMERCIAL_LICENSE.md for commercial licensing options.