OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::inflow Namespace Reference

Classes

struct  DwfInflowSoA
 
struct  ExtInflowSoA
 
class  InflowSolver
 
struct  TimePattern
 

Enumerations

enum class  ExtInflowKind : int {
  FLOW = 0 ,
  CONCEN = 1 ,
  MASS = 2 ,
  AGE = 3 ,
  MSX_CONCEN = 4 ,
  MSX_MASS = 5
}
 

Variables

constexpr int MONTHLY_PATTERN = 0
 
constexpr int DAILY_PATTERN = 1
 
constexpr int HOURLY_PATTERN = 2
 
constexpr int WEEKEND_PATTERN = 3
 
constexpr int DATE_DELTA
 

Enumeration Type Documentation

◆ ExtInflowKind

enum class openswmm::inflow::ExtInflowKind : int
strong

[INFLOWS] row kind. A row is either the node's direct flow hydrograph or a pollutant load riding on it — the two must not be summed together.

See also
Legacy: FLOW_INFLOW / CONCEN_INFLOW / MASS_INFLOW in enums.h
Enumerator
FLOW 

Volumetric inflow (constituent FLOW)

CONCEN 

Pollutant concentration; mass rate = value * node flow.

MASS 

Pollutant mass rate directly

AGE 

Z1 (amendment D-Y4): a row naming the reserved species __WATER_AGE__. Its value is the AGE (hours in the file, seconds after conv_factor) carried by the node's external inflow — it adds no water and no mass; the EXTERNAL_INFLOW loader books q·age with this age instead of the source table's.

MSX_CONCEN 

U2 (2026-09-07): a row naming a reactions-component species. pollut_idx holds the SPECIES index (0..n_species-1). The load goes to ReactionData::msx_ext_mass_in, never to the pollutant arrays.

MSX_MASS 

Variable Documentation

◆ DAILY_PATTERN

int openswmm::inflow::DAILY_PATTERN = 1
constexpr

◆ DATE_DELTA

int openswmm::constants::DATE_DELTA
constexpr

Delphi-style date offset used by legacy datetime encoding.

See also
Legacy: DateDelta in datetime.c Needed for day-of-week computation: (floor(date) + DATE_DELTA) % 7 gives 0=Sat with +1 → 1=Sun..7=Sat matching legacy datetime_dayOfWeek().

◆ HOURLY_PATTERN

int openswmm::inflow::HOURLY_PATTERN = 2
constexpr

◆ MONTHLY_PATTERN

int openswmm::inflow::MONTHLY_PATTERN = 0
constexpr

◆ WEEKEND_PATTERN

int openswmm::inflow::WEEKEND_PATTERN = 3
constexpr