![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Infiltration models — Horton, Green-Ampt, SCS Curve Number. More...
Go to the source code of this file.
Classes | |
| struct | openswmm::HortonState |
| struct | openswmm::GreenAmptState |
| struct | openswmm::CurveNumState |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::infil |
Enumerations | |
| enum class | openswmm::InfilModel : int { openswmm::HORTON = 0 , openswmm::MOD_HORTON = 1 , openswmm::GREEN_AMPT = 2 , openswmm::CURVE_NUM = 3 } |
Functions | |
| double | openswmm::infil::horton_getInfil (HortonState &state, double precip, double depth, double dt) |
| Compute Horton infiltration rate for one timestep. | |
| double | openswmm::infil::modHorton_getInfil (HortonState &state, double precip, double depth, double dt) |
| Compute Modified Horton infiltration rate for one timestep. | |
| double | openswmm::infil::grnampt_getInfil (GreenAmptState &state, double precip, double depth, double dt) |
| Compute Green-Ampt infiltration rate. | |
| double | openswmm::infil::curvenum_getInfil (CurveNumState &state, double precip, double depth, double dt) |
| Compute SCS Curve Number infiltration rate. | |
| 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. | |
| void | openswmm::infil::grnampt_init (GreenAmptState &state, double S, double Ks, double IMD, const SimulationOptions &opts) |
| Initialise Green-Ampt parameters. | |
| void | openswmm::infil::curvenum_init (CurveNumState &state, double CN, double regen) |
| Initialise Curve Number parameters. | |
Infiltration models — Horton, Green-Ampt, SCS Curve Number.
All three models are implemented with exact numerical parity to legacy infil.c. Each model maintains per-subcatchment state and computes infiltration rate given current precipitation, ponded depth, and timestep.