OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
openswmm::gage::GageState Struct Reference

#include <Gage.hpp>

Collaboration diagram for openswmm::gage::GageState:

Public Attributes

double rainfall = 0.0
 Current rainfall intensity (project units/sec)
 
double snowfall = 0.0
 Current snowfall intensity (project units/sec)
 
double total_precip = 0.0
 rainfall + snowfall
 
double rain_accum = 0.0
 Cumulative rain accumulator (for CUMULATIVE type)
 
double api_rainfall = -1.0
 API-overridden rainfall (-1 = no override)
 
double snow_factor = 1.0
 Snow catch factor.
 
double units_factor = 1.0
 Unit conversion factor.
 
double adjust_factor = 1.0
 Monthly/seasonal adjustment factor.
 
double rain_interval = 0.0
 Rain recording interval (seconds)
 
RainType rain_type = RainType::INTENSITY
 
double past_rain [MAXPASTRAIN] = {}
 Past hourly rainfall totals.
 
double past_rain_accum = 0.0
 Accumulator for current hour.
 
double past_rain_time = 0.0
 Time of last past-rain update.
 

Member Data Documentation

◆ adjust_factor

double openswmm::gage::GageState::adjust_factor = 1.0

Monthly/seasonal adjustment factor.

◆ api_rainfall

double openswmm::gage::GageState::api_rainfall = -1.0

API-overridden rainfall (-1 = no override)

◆ past_rain

double openswmm::gage::GageState::past_rain[MAXPASTRAIN] = {}

Past hourly rainfall totals.

◆ past_rain_accum

double openswmm::gage::GageState::past_rain_accum = 0.0

Accumulator for current hour.

◆ past_rain_time

double openswmm::gage::GageState::past_rain_time = 0.0

Time of last past-rain update.

◆ rain_accum

double openswmm::gage::GageState::rain_accum = 0.0

Cumulative rain accumulator (for CUMULATIVE type)

◆ rain_interval

double openswmm::gage::GageState::rain_interval = 0.0

Rain recording interval (seconds)

◆ rain_type

RainType openswmm::gage::GageState::rain_type = RainType::INTENSITY

◆ rainfall

double openswmm::gage::GageState::rainfall = 0.0

Current rainfall intensity (project units/sec)

◆ snow_factor

double openswmm::gage::GageState::snow_factor = 1.0

Snow catch factor.

◆ snowfall

double openswmm::gage::GageState::snowfall = 0.0

Current snowfall intensity (project units/sec)

◆ total_precip

double openswmm::gage::GageState::total_precip = 0.0

rainfall + snowfall

◆ units_factor

double openswmm::gage::GageState::units_factor = 1.0

Unit conversion factor.


The documentation for this struct was generated from the following file: