![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Phase A1b — the LEGACY (CSTR) engine's water-age mirror. More...
Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::transport |
Functions | |
| void | openswmm::transport::routeLegacyAge (SimulationContext &ctx, double dt) |
Phase A1b — the LEGACY (CSTR) engine's water-age mirror.
A single-scalar rerun of the CSTR quality stages for the reserved age quantity, in the same order the pollutant arrays take (water age plan §5, LEGACY row):
q · age_link to its downstream node; the loaders' per-source node_age_vol_in rates add on top. The VOLUME denominator is the same qual_vol_in the pollutant stages accumulated — this runs at the END of QualitySolver::execute, after those totals are complete.The mirror reads pollutant-side arrays (flows, volumes, qual_vol_in) and writes ONLY water_age_state — WATER_AGE ON leaves every pollutant trajectory bit-identical under LEGACY.