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

Water-age tracking data (water age plan §1–§2, phase A1a). More...

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

Go to the source code of this file.

Classes

struct  openswmm::WaterAgeConfigData
 Parsed model.age state (waterage component, phase A1a). More...
 
struct  openswmm::WaterAgeState
 

Namespaces

namespace  openswmm
 

Enumerations

enum class  openswmm::WaterAgeSource : int {
  openswmm::RAINFALL = 0 ,
  openswmm::DWF = 1 ,
  openswmm::GW = 2 ,
  openswmm::RDII = 3 ,
  openswmm::EXTERNAL_INFLOW = 4 ,
  openswmm::IFACE = 5 ,
  openswmm::INITIAL_STATE = 6 ,
  openswmm::COUNT_ = 7
}
 
enum class  openswmm::SubArea : int {
  openswmm::IMPERV0 = 0 ,
  openswmm::IMPERV1 = 1 ,
  openswmm::PERV = 2 ,
  openswmm::COUNT_ = 3
}
 Runtime age state shared by the engines (phase A1a). More...
 

Detailed Description

Water-age tracking data (water age plan §1–§2, phase A1a).

Age is the reserved species __WATER_AGE__ (registry kind RESERVED_AGE): zero-order growth d(age)/dt = 1 in every water parcel, volume-weighted mixing everywhere water mixes. Internal unit is SECONDS (the config file speaks HOURS — ×3600 at parse). Per-source initial ages come from the waterage component's [WATER_AGE_SOURCES] (model.age, D-UT8): each QualitySolver loader contributes age_volume = q · age_source to its node, and the transport engine mixes it in exactly like a pollutant load.

A1a scope: the age species rides the EULERIAN_ARD mesh; the LEGACY CSTR age mirror is phase A1b (warned until then); watershed/LID/GW age states are A3/A4.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n Apache-2.0