Stripping every inherited assumption from Rainfall-Dependent Infiltration & Inflow modeling. What survives is what's real. Everything else was a choice.
What almost everyone takes for granted when working with RDII — users calibrating, developers coding, educators teaching, researchers publishing. Each of these is treated as "how it works" when it's actually "how we chose to model it."
Convention: RDII response to rainfall is modeled as a triangular unit hydrograph parameterized by R (fraction), T (time-to-peak), and K (recession ratio). Up to three triangles can be superimposed per month.
Why it's inherited: The triangular UH was chosen in the 1990s for computational simplicity and parameter identifiability. It became "the RDII method" not because sewer systems produce triangular hydrographs, but because three parameters were calibration-friendly and computationally cheap.
Convention: RDII response is linearly proportional to rainfall depth. Double the rain, double the RDII volume. Responses from different time steps superimpose additively.
Reality check: A saturated soil column, a surcharged pipe, and a flooded depression are all nonlinear, state-dependent systems. The soil doesn't care about our superposition principle.
Convention: I/I is taught and modeled as two categories — infiltration (groundwater entering through defects below the water table) and inflow (surface/roof runoff entering through direct connections). SWMM5's RTK lumps them together, but the mental model persists.
Reality check: In a real system, the boundary is blurred. A cracked joint at 4 feet depth may be "infiltration" during dry weather and "inflow" during a storm when the depression fills. The soil-pipe interface is a continuum, not a binary.
Convention: RTK parameters vary by calendar month (12 discrete states). January parameters, February parameters, etc.
Reality check: Soil moisture and groundwater response are continuous functions of antecedent precipitation, evapotranspiration, temperature, and season — not step functions that jump on the 1st of each month.
Convention: One set of RTK parameters represents an entire sewershed (or a few sub-areas). The spatial variability of soil types, pipe materials, water table depth, and connection density is averaged out.
Reality check: A sewershed with mixed clay soil, aging VCP, and shallow groundwater on one end, and sandy soil with new PVC and deep water table on the other, does not have a single RTK response.
Convention: The "wet" vs. "dry" state of the system is implicitly handled by having different monthly parameters. January is assumed wetter than August.
Reality check: A 3-week drought in March produces different conditions than a 3-day gap between storms in March. Antecedent moisture is event-specific, not month-specific.
Convention: Unit hydrograph theory assumes the system returns to baseline before the next event. The RTK method inherits this assumption implicitly.
Reality check: Groundwater mounding around pipes can persist for days or weeks. Soil storage doesn't fully drain between closely spaced storms. Baseflow-like sustained RDII between events is common.
Convention: RDII is driven solely by rainfall at the surface. Other forcings are ignored.
Reality check: Tidal fluctuations, snowmelt, irrigation return flows, rising regional groundwater, upstream reservoir releases, and even barometric pressure changes can drive water into or out of sewer pipes. Rainfall is dominant but not exclusive.
Convention: If you calibrate RTK parameters to observed flow data, you have "captured" the RDII process.
Reality check: Calibration captures the input-output behavior during the calibration period. With 3–9 free parameters per month (up to 3 triangles × 3 params), you have enormous degrees of freedom. Equifinality is rampant — many parameter sets produce similar fits. The calibrated parameters may not be physically meaningful or transferable.
Convention: RDII is modeled at the point where water enters the pipe network. Everything upstream of that entry point is a black box described by the UH.
Reality check: The actual processes — surface depression storage, soil infiltration, lateral subsurface flow, groundwater mounding, pipe-soil interface hydraulics — are physically continuous. Treating the pipe boundary as the model boundary discards all mechanistic information.
What is fundamentally, provably true about the physical system — independent of SWMM5, RTK, unit hydrographs, or any modeling framework. Only conservation laws, physics, and logic.
Every molecule of water that enters a sewer pipe came from somewhere and went through some pathway. The total mass balance is inviolable:
V_rainfall = V_surface_runoff + V_evap + V_ET + V_infiltration_to_soil + V_RDII + V_other_sinks
At the pipe boundary:
V_RDII = V_groundwater_in + V_surface_in + V_depression_overflow_in + V_other_direct_entries
This is not a modeling assumption — it's physics. Any model that violates mass balance is wrong.
Water moves from high hydraulic head to low hydraulic head. In a sewer pipe, the head inside is typically lower than the surrounding saturated soil or surface depression storage during a storm. This head difference is the fundamental driving force for RDII.
Q_RDII ∝ f(H_soil - H_pipe, soil_hydraulic_conductivity, pipe_defect_geometry)
This is Darcy's Law + orifice/weir equations at defects.
Not a triangle. Not a unit hydrograph. Physics.
The vadose zone (unsaturated soil above the water table) stores water, transmits water nonlinearly (Richards' equation), and has a capacity that changes with antecedent conditions. This is the primary "delay and attenuate" mechanism for infiltration-type RDII.
Soil state S(t) ∈ [0, S_max]
dS/dt = P(t) - ET(t) - K(S) · ∇H - Q_deep
where K(S) is highly nonlinear (exponential in many soil models)
The soil's "unit hydrograph" is not a triangle — it's the impulse
response of a nonlinear reservoir that changes shape with state.
Water enters pipes through cracks, joint gaps, deteriorated walls, and broken laterals. Each defect is a small hydraulic structure governed by orifice or weir flow equations, depending on the head differential and submergence.
For a defect at depth d below surface:
If H_soil(d) > H_pipe(d):
Q_defect = C_d · A_defect · √(2g · ΔH) [orifice flow]
If defect is partially submerged:
Q_defect = C_w · L_defect · (ΔH)^1.5 [weir flow]
Total RDII = Σ Q_defect(i) for all defects i
This is additive but NOT linear in rainfall — it depends on H_soil(t),
which is a state variable.
Groundwater elevation is a spatially and temporally continuous field. It responds to recharge (rainfall infiltration), discharge (to streams, pipes, ET), and regional flow. The water table elevation at each pipe location determines the head available to drive infiltration.
Surface depressions, direct connections (roof drains, catch basins), and surcharged conditions create direct hydraulic pathways. These are governed by surface hydraulics (Manning's, weir/orifice) and are separate from the subsurface pathway but physically connected at the surface.
The physical system evolves continuously. Soil moisture, groundwater elevation, and surface conditions are continuous functions of time. Any discretization into "monthly parameters" is a modeling convenience, not a physical truth.
Pipe age, material, soil type, depth to water table, land use, and connection density all vary spatially. The spatial distribution of RDII potential within a sewershed is a measurable (or at least estimable) physical reality.
Starting only from the truths in Section 02, here is the minimal viable model, its invariants, necessary trade-offs, and cleanest expression.
The simplest physically-grounded RDII model needs:
// STATE VARIABLES (per spatial unit)
S(t) // soil moisture [0, S_max], volume/volume
H_gw(t) // groundwater head [m above datum]
// FORCING
P(t) // rainfall intensity [m/s]
ET(t) // evapotranspiration rate [m/s]
H_pipe(t)// pipe hydraulic head [m] (from flow model)
// PHYSICS
// 1. Soil moisture balance
dS/dt = P(t) · f_inf(S) - ET(t) - K_sat · g(S) · (∂H/∂z)
where:
f_inf(S) = infiltration fraction = (1 - S/S_max)^β // Green-Ampt-like
g(S) = relative conductivity = exp(α·(S - S_0)) // exponential
// 2. Groundwater response (simplified lumped)
dH_gw/dt = (1/S_y) · [K_sat · g(S) · (∂H/∂z) - Q_drain(H_gw)]
where S_y = specific yield, Q_drain = lateral/baseflow
// 3. RDII transfer
ΔH(t) = max(0, H_gw(t) - H_pipe(t))
Q_rdii(t) = C · A_defects · √(2g · ΔH(t)) // orifice equation
// 4. Surface inflow (direct connections)
Q_direct(t) = η · [P(t) - f_inf(S)·P(t)] // η = connection fraction
// TOTAL RDII
Q_total(t) = Q_rdii(t) + Q_direct(t)
No model is the territory. Here's what we trade away honestly:
| Trade-off | What We Simplify | What We Keep |
|---|---|---|
| Lumped vs. distributed soil | Spatial variability in soil properties | State-dependent nonlinear response |
| 1D groundwater | Full 3D groundwater flow | Head-driven flow with storage |
| Effective defect area | Individual crack geometry | Aggregate orifice behavior with ΔH dependence |
| Simplified ET | Full energy balance | Seasonal drying capacity |
| No explicit surface routing | 2D surface hydraulics | Depression storage → direct connection |
| Legacy Element | Status in Rebuilt Model | Why |
|---|---|---|
| Triangular unit hydrograph | Obsolete | Replaced by physically-derived impulse response from soil + GW dynamics. Shape emerges from physics, not assumed. |
| R, T, K parameters | Obsolete | Replaced by measurable physical properties: S_max, K_sat, defect area, etc. No more curve-fitting knobs. |
| Monthly parameter tables | Obsolete | Replaced by continuous state evolution. Seasonality emerges from ET(T), not from a lookup table. |
| Up to 3 superimposed triangles | Obsolete | The "fast/slow" separation was a workaround for the triangular UH's inability to produce complex response shapes. The soil/GW model produces the correct shape directly. |
| Event separation | Obsolete | Continuous simulation eliminates inter-event assumptions entirely. |
| Calibration-dependent parameters | Replaced | Parameters have physical meaning. Calibration refines estimates but isn't the sole source of parameter values. Lab tests, soil surveys, CCTV inspection data, and literature values all constrain parameters. |
| RDII as a black-box input | Obsolete | RDII becomes a mechanistic output of coupled soil-GW-pipe physics. |
With soil surveys, pipe inspection data, and water table monitoring, you can estimate RDII for unmonitored sewersheds. RTK requires flow monitoring to calibrate — there is no "un-calibrated RTK prediction."
Questions that are currently unanswerable become straightforward:
With GIS data on soil type, pipe age/material, and water table depth, you can produce spatially explicit RDII potential maps. These inform targeted rehabilitation — spend money where A_defects is high AND H_gw is high.
The rebuilt framework naturally couples with 2D surface models (for direct inflow) and 3D groundwater models (for H_gw). This enables modeling of surcharge-induced exfiltration, flooding-induced infiltration, and other bidirectional phenomena that RTK cannot represent.
ET has a diurnal cycle. Tidal influence has sub-daily cycles. The continuous state model naturally captures these. RTK, with its event-based framework, cannot.
Pipes deteriorate. Defect areas grow. The rebuilt model can include a time-dependent A_defects(t) that increases with age, allowing you to model system degradation and predict when rehabilitation becomes cost-effective.
Once the old scaffolding is removed, the software architecture changes fundamentally.
| Aspect | Legacy | Rebuilt |
|---|---|---|
| Coupling | One-way: rain → RDII → pipes | Two-way: pipes ↔ soil ↔ atmosphere |
| State | Stateless (memoryless UH) | Stateful (S, H_gw evolve continuously) |
| Temporal | Event-based with inter-event gaps | Continuous |
| Spatial | Lumped per sewershed | Distributed (can be as fine as data supports) |
| Modularity | Monolithic RTK block | Separable modules (soil, GW, defects, surface) |
| Extensibility | Cannot add new forcings | Any forcing can be added to the state equations |
| Data integration | Needs flow monitoring for calibration | Can use soil data, CCTV, GW monitoring, flow data |
The rebuilt model can be implemented with surprisingly few components:
// Pseudocode: Minimal State-Based RDII Module
class RDIISoilGWModel {
// State
S // soil moisture ratio [0,1]
H_gw // groundwater head [m]
// Parameters (physical, bounded, estimable from data)
S_max // max soil moisture capacity [m³/m³]
K_sat // saturated hydraulic conductivity [m/s]
S_y // specific yield [-]
A_defects // effective defect area [m²]
eta // direct connection fraction [-]
C_d // discharge coefficient [-]
step(P, ET, H_pipe, dt) {
// 1. Infiltration (Green-Ampt-like)
f_inf = pow(max(0, 1 - S/S_max), 1.5)
I = P * f_inf
// 2. Soil moisture update
K_rel = exp(10 * (S - 0.7)) // relative conductivity
drain = K_sat * K_rel
dS = (I - ET - drain) * dt
S = clamp(S + dS, 0, S_max)
// 3. Groundwater update
recharge = drain
gw_drain = 0.01 * (H_gw - H_base) // simple linear drain
dH_gw = (recharge / S_y - gw_drain) * dt
H_gw += dH_gw
// 4. RDII via defects
dH = max(0, H_gw - H_pipe)
Q_rdii = C_d * A_defects * sqrt(2 * 9.81 * dH)
// 5. Direct inflow
Q_direct = eta * P * (1 - f_inf)
return Q_rdii + Q_direct
}
}
That's ~30 lines of core logic. The RTK implementation in SWMM5 is similarly compact — but the above captures physics that RTK structurally cannot represent.
See the difference. Adjust parameters and observe how the rebuilt state-based model responds to repeated rainfall events vs. the legacy RTK approach.
| Element | Status | Verdict |
|---|---|---|
| Conservation of mass | fundamental | Non-negotiable. Any model must conserve mass. |
| Head-driven flow through defects | fundamental | Physics. Darcy + orifice/weir. Cannot be simplified away without losing predictive power. |
| Soil as stateful nonlinear reservoir | fundamental | This is the mechanism that creates the "hydrograph shape." Ignoring it means assuming the shape. |
| Triangular unit hydrograph | arbitrary | A convenient approximation from 1930s hydrology. Sewer systems don't produce triangles. |
| R, T, K parameterization | arbitrary | Chosen for calibratability, not physical meaning. Swap it for physics-based parameters. |
| Monthly parameter variation | arbitrary | A discretization hack. The physical system is continuous. |
| Linear superposition | arbitrary | Violated by every nonlinear soil and surcharged pipe in existence. |
| Infiltration/inflow separation | arbitrary | A useful accounting distinction but not a physical boundary. Model the continuum. |
| Rainfall as sole forcing | arbitrary | Dominant but not exclusive. Tidal, snowmelt, and GW interactions are real. |
| SWMM5's computational architecture | arbitrary | A product of 1980s computational constraints. We can do better now. |