![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
#include <Gage.hpp>
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. | |
| double openswmm::gage::GageState::adjust_factor = 1.0 |
Monthly/seasonal adjustment factor.
| double openswmm::gage::GageState::api_rainfall = -1.0 |
API-overridden rainfall (-1 = no override)
| double openswmm::gage::GageState::past_rain[MAXPASTRAIN] = {} |
Past hourly rainfall totals.
| double openswmm::gage::GageState::past_rain_accum = 0.0 |
Accumulator for current hour.
| double openswmm::gage::GageState::past_rain_time = 0.0 |
Time of last past-rain update.
| double openswmm::gage::GageState::rain_accum = 0.0 |
Cumulative rain accumulator (for CUMULATIVE type)
| double openswmm::gage::GageState::rain_interval = 0.0 |
Rain recording interval (seconds)
| RainType openswmm::gage::GageState::rain_type = RainType::INTENSITY |
| double openswmm::gage::GageState::rainfall = 0.0 |
Current rainfall intensity (project units/sec)
| double openswmm::gage::GageState::snow_factor = 1.0 |
Snow catch factor.
| double openswmm::gage::GageState::snowfall = 0.0 |
Current snowfall intensity (project units/sec)
| double openswmm::gage::GageState::total_precip = 0.0 |
rainfall + snowfall
| double openswmm::gage::GageState::units_factor = 1.0 |
Unit conversion factor.