![]() |
OpenSWMM Engine
6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
|
Classes | |
| struct | ExpDecayParams |
| struct | RDIIGroupSoA |
| class | RDIISolver |
| struct | UHResponseData |
| struct | UnitHydParams |
Functions | |
| double | getRecoveryRate (const ExpDecayParams &dp, double T_celsius) |
| double | updateIA_exp (const UnitHydParams &uh, UHResponseData &rd, const ExpDecayParams &dp, int month, int response, double rainDepth, double dt_sec, const SimulationContext &ctx) |
| double openswmm::rdii::getRecoveryRate | ( | const ExpDecayParams & | dp, |
| double | T_celsius ) |
Additive recovery rate k_rec(T) = k_0 + k_T * exp(theta_rec * (T - T_ref)), suppressed (returns 0) strictly below T_freeze. T in deg Celsius. Exposed for unit testing against the reference IAModel implementation.
| double openswmm::rdii::updateIA_exp | ( | const UnitHydParams & | uh, |
| UHResponseData & | rd, | ||
| const ExpDecayParams & | dp, | ||
| int | month, | ||
| int | response, | ||
| double | rainDepth, | ||
| double | dt_sec, | ||
| const SimulationContext & | ctx ) |
One exponential-IA update step: mass-consistent depletion when rainDepth > 0, temperature-dependent recovery otherwise. Returns the excess rainfall depth (project rain-depth units). Exposed for unit testing against the reference IAModel implementation.