![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Classes | |
| struct | ExpDecayParams |
| struct | RDIIGroupSoA |
| class | RDIISolver |
| Mutable strict-grid UH convolution, rainfall queues and node-flow history. Configure validated UH/decay/assignment rows before init. Serialize all access; advance mutates queues, abstraction, optional SWE and context balance totals. Stored float32 grid rows grow for the whole run; no streaming eviction/rollback. Direct public uh_params/decay_params edits require compatible layout and a fresh initialization before reuse. Exceptions can leave partial changes. More... | |
| struct | UHResponseData |
| struct | UnitHydParams |
Functions | |
| double | getRecoveryRate (const ExpDecayParams &dp, double T_celsius) |
| Compute exponential-IA additive recovery at one air temperature. | |
| double | updateIA_exp (const UnitHydParams &uh, UHResponseData &rd, const ExpDecayParams &dp, int month, int response, double rainDepth, double dt_sec, const SimulationContext &ctx) |
| Update exponential abstraction and optional degree-day SWE for one rain chunk. | |
| double openswmm::rdii::getRecoveryRate | ( | const ExpDecayParams & | dp, |
| double | T_celsius ) |
Compute exponential-IA additive recovery at one air temperature.
| dp | Finite qualified 1/hour base/thermal rates, Celsius reference/freeze thresholds and inverse-Celsius sensitivity; active is not tested here. |
| T_celsius | Finite air temperature Celsius. |
| 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 ) |
Update exponential abstraction and optional degree-day SWE for one rain chunk.
| uh | Qualified monthly response parameters; iaMax is project rain-depth units. | |
| [in,out] | rd | Current used-abstraction and optional SWE in the same project units. Does not modify rainfall circular buffers/dry counters. |
| dp | Qualified exponential/snow coefficients; active is not checked here. | |
| month | Nonnegative zero-based month, reduced modulo 12. | |
| response | Nonnegative SHORT/MEDIUM/LONG index, reduced modulo three. | |
| rainDepth | Finite nonnegative precipitation depth in project rain-depth units. | |
| dt_sec | Finite positive chunk seconds. | |
| ctx | Borrowed climate state; configured temperature is Fahrenheit converted to Celsius, otherwise uses dp.T_ref without sampling any new climate time. |