OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
WaterAgeComponent.hpp File Reference

The org.hydrocouple.openswmm.waterage process component — phase A1a: parse [WATER_AGE_SOURCES] (model.age) into SimulationContext::water_age_config. More...

#include <string>
Include dependency graph for WaterAgeComponent.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

void openswmm::transport::registerWaterAgeComponent ()
 
std::string openswmm::transport::serializeWaterAgeConfig (const SimulationContext &ctx)
 

Detailed Description

The org.hydrocouple.openswmm.waterage process component — phase A1a: parse [WATER_AGE_SOURCES] (model.age) into SimulationContext::water_age_config.

The coordinator of the water age plan's packaging note: age TRANSPORT is embedded in the engines (a reserved species row on the ARD mesh in A1a); this component only carries the per-source initial-age table so every engine agrees when QUALITY_SOLVER flips. [OPTIONS] WATER_AGE ON enables tracking with all-zero source ages even without this component.

A1a scope: GLOBAL rows for all seven sources + NODE overrides for DWF/EXTERNAL_INFLOW, VALUE (hours) only. TIMESERIES ages, SUBCATCH/EDGE_BC scopes, snow/GW state toggles are later phases and refuse with precise deferral errors.

See also
plans/transport/WATER_AGE_TRACKING_PLAN.md §1–§2, §7 A1
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n Apache-2.0