#include <RDII.hpp>
◆ addUnitHydParams()
| int openswmm::rdii::RDIISolver::addUnitHydParams |
( |
const std::string & |
name, |
|
|
const UnitHydParams & |
params |
|
) |
| |
Register a unit hydrograph parameter set by name.
- Parameters
-
| name | Unit hydrograph name (e.g. from [HYDROGRAPHS] section). |
| params | Complete UH parameters for all 12 months x 3 responses. |
- Returns
- Index of the registered UH parameter set.
◆ computeAll()
| void openswmm::rdii::RDIISolver::computeAll |
( |
SimulationContext & |
ctx, |
|
|
double |
rainfall, |
|
|
int |
month, |
|
|
double |
dt |
|
) |
| |
Compute RDII inflows for all groups and add to node lat_flow.
Convolution: RDII = sum(pastRain[i] * r[m][k] * u(t)) The inner product is vectorisable over past periods.
◆ findUnitHyd()
| int openswmm::rdii::RDIISolver::findUnitHyd |
( |
const std::string & |
name | ) |
const |
Look up unit hydrograph index by name.
- Returns
- Index, or -1 if not found.
◆ init()
◆ uh_params
The documentation for this class was generated from the following files:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/hydrology/RDII.hpp
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/hydrology/RDII.cpp