![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Functions | |
| void | horton_init (HortonState &state, double f0, double fmin, double decay, double regen, double Fmax, const SimulationOptions &opts) |
| Initialise Horton parameters from user input. | |
| double | horton_getInfil (HortonState &state, double precip, double depth, double dt) |
| Compute Horton infiltration rate for one timestep. | |
| double | modHorton_getInfil (HortonState &state, double precip, double depth, double dt) |
| Compute Modified Horton infiltration rate for one timestep. | |
| void | grnampt_init (GreenAmptState &state, double S, double Ks, double IMD, const SimulationOptions &opts) |
| Initialise Green-Ampt parameters. | |
| double | grnampt_getInfil (GreenAmptState &state, double precip, double depth, double dt) |
| Compute Green-Ampt infiltration rate. | |
| void | curvenum_init (CurveNumState &state, double CN, double regen) |
| Initialise Curve Number parameters. | |
| double | curvenum_getInfil (CurveNumState &state, double precip, double depth, double dt) |
| Compute SCS Curve Number infiltration rate. | |
| double openswmm::infil::curvenum_getInfil | ( | CurveNumState & | state, |
| double | precip, | ||
| double | depth, | ||
| double | dt | ||
| ) |
Compute SCS Curve Number infiltration rate.
| state | [in/out] CN state. |
| precip | Rainfall rate (ft/sec). |
| depth | Ponded depth (ft). |
| dt | Timestep (seconds). |
| void openswmm::infil::curvenum_init | ( | CurveNumState & | state, |
| double | CN, | ||
| double | regen | ||
| ) |
Initialise Curve Number parameters.
| state | [out] State to initialise. |
| CN | SCS Curve Number (1-100). |
| regen | Regeneration rate. |
| double openswmm::infil::grnampt_getInfil | ( | GreenAmptState & | state, |
| double | precip, | ||
| double | depth, | ||
| double | dt | ||
| ) |
Compute Green-Ampt infiltration rate.
| state | [in/out] Green-Ampt state. |
| precip | Rainfall rate (ft/sec). |
| depth | Ponded depth (ft). |
| dt | Timestep (seconds). |
| void openswmm::infil::grnampt_init | ( | GreenAmptState & | state, |
| double | S, | ||
| double | Ks, | ||
| double | IMD, | ||
| const SimulationOptions & | opts | ||
| ) |
Initialise Green-Ampt parameters.
| state | [out] State to initialise. |
| S | Suction head (in or mm). |
| Ks | Hydraulic conductivity (in/hr or mm/hr). |
| IMD | Initial moisture deficit (0-1). |
| opts | Simulation options (for unit system). |
| double openswmm::infil::horton_getInfil | ( | HortonState & | state, |
| double | precip, | ||
| double | depth, | ||
| double | dt | ||
| ) |
Compute Horton infiltration rate for one timestep.
| state | [in/out] Horton state for this subcatchment. |
| precip | Rainfall rate (ft/sec). |
| depth | Ponded depth (ft). |
| dt | Timestep (seconds). |
| void openswmm::infil::horton_init | ( | HortonState & | state, |
| double | f0, | ||
| double | fmin, | ||
| double | decay, | ||
| double | regen, | ||
| double | Fmax, | ||
| const SimulationOptions & | opts | ||
| ) |
Initialise Horton parameters from user input.
| state | [out] State to initialise. |
| f0 | Max infiltration rate (in/hr or mm/hr — converted internally). |
| fmin | Min infiltration rate. |
| decay | Decay constant (1/hr). |
| regen | Regeneration constant (1/hr). |
| Fmax | Max cumulative infiltration (0 = unlimited). |
| opts | Simulation options (for unit system). |
| double openswmm::infil::modHorton_getInfil | ( | HortonState & | state, |
| double | precip, | ||
| double | depth, | ||
| double | dt | ||
| ) |
Compute Modified Horton infiltration rate for one timestep.
Modified Horton uses a linear decay formula: fp = f0 - kd * Fe instead of the exponential decay of standard Horton.
| state | [in/out] Horton state for this subcatchment. |
| precip | Rainfall rate (ft/sec). |
| depth | Ponded depth (ft). |
| dt | Timestep (seconds). |