![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
RDII — rainfall-dependent infiltration/inflow via unit hydrograph. More...
#include <array>#include <vector>#include <string>#include <unordered_map>#include "../core/StringCase.hpp"Go to the source code of this file.
Classes | |
| struct | openswmm::rdii::UnitHydParams |
| struct | openswmm::rdii::ExpDecayParams |
| struct | openswmm::rdii::UHResponseData |
| struct | openswmm::rdii::RDIIGroupSoA |
| class | openswmm::rdii::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... | |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::rdii |
Functions | |
| double | openswmm::rdii::getRecoveryRate (const ExpDecayParams &dp, double T_celsius) |
| Compute exponential-IA additive recovery at one air temperature. | |
| 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. | |
RDII — rainfall-dependent infiltration/inflow via unit hydrograph.
Each RDII node has 3 triangular unit hydrographs (short/medium/long response). The RDII inflow at each timestep is the convolution of past rainfall with the UH ordinates.
SoA: past rainfall stored as circular buffer per UH group. Convolution is a dot-product — vectorisable.