![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
#include <Climate.hpp>
Public Attributes | |
| double | temperature = 70.0 |
| Air temperature (deg F) | |
| double | temp_range = 0.0 |
| Daily temperature range (deg F) | |
| double | evap_rate = 0.0 |
| Evaporation rate (ft/sec) | |
| double | wind_speed = 0.0 |
| Wind speed (mph) | |
| double | humidity = 50.0 |
| Relative humidity (%) | |
| double | gamma = 0.0 |
| Psychrometric constant. | |
| double | ea = 0.0 |
| Saturation vapor pressure. | |
| double | latitude = 0.0 |
| Latitude (degrees) | |
| double | elev = 0.0 |
| Site elevation above sea level (ft) | |
| double | monthly_evap [12] = {} |
| double | adjust_evap [12] = {1,1,1,1,1,1,1,1,1,1,1,1} |
| double | adjust_temp [12] = {0,0,0,0,0,0,0,0,0,0,0,0} |
| double | adjust_rain [12] = {1,1,1,1,1,1,1,1,1,1,1,1} |
| double | adjust_hydcon [12] = {1,1,1,1,1,1,1,1,1,1,1,1} |
| Infiltration conductivity multipliers. | |
| EvapMethod | evap_method = EvapMethod::CONSTANT |
| double | infil_factor = 1.0 |
| MovingAvg7 | temp_ma |
| double | recovery_factor = 1.0 |
| int | temp_ts_index = -1 |
| Temperature timeseries table index. | |
| int | evap_ts_index = -1 |
| Evaporation timeseries table index. | |
| int | recovery_pat_index = -1 |
| Recovery pattern index in ctx.patterns. | |
| double | tmin_daily = 0.0 |
| Current day's minimum temperature (deg F) | |
| double | tmax_daily = 0.0 |
| Current day's maximum temperature (deg F) | |
| double | prev_tmax = 0.0 |
| Previous day's maximum temperature (deg F) | |
| double | hrsr = 6.0 |
| Sunrise hour (time of min temp), 0-24. | |
| double | hrss = 15.0 |
| Sunset-3 hour (time of max temp), 0-24. | |
| double | hrday = 10.5 |
| Mid-hour between hrsr and hrss. | |
| double | dhrdy = -9.0 |
| hrsr - hrss (negative) | |
| double | dydif = 15.0 |
| 24 + hrsr - hrss (hours from max to next min) | |
| double | dtlong = 0.0 |
| Longitude correction (hrs); 0 = solar time. | |
| bool | has_minmax = false |
| True when tmin_daily/tmax_daily are valid. | |
| int | last_temp_doy = -1 |
| Day-of-year when hrsr/hrss were last computed. | |
| double openswmm::climate::ClimateState::adjust_evap[12] = {1,1,1,1,1,1,1,1,1,1,1,1} |
| double openswmm::climate::ClimateState::adjust_hydcon[12] = {1,1,1,1,1,1,1,1,1,1,1,1} |
Infiltration conductivity multipliers.
| double openswmm::climate::ClimateState::adjust_rain[12] = {1,1,1,1,1,1,1,1,1,1,1,1} |
| double openswmm::climate::ClimateState::adjust_temp[12] = {0,0,0,0,0,0,0,0,0,0,0,0} |
| double openswmm::climate::ClimateState::dhrdy = -9.0 |
hrsr - hrss (negative)
| double openswmm::climate::ClimateState::dtlong = 0.0 |
Longitude correction (hrs); 0 = solar time.
| double openswmm::climate::ClimateState::dydif = 15.0 |
24 + hrsr - hrss (hours from max to next min)
| double openswmm::climate::ClimateState::ea = 0.0 |
Saturation vapor pressure.
| double openswmm::climate::ClimateState::elev = 0.0 |
Site elevation above sea level (ft)
| EvapMethod openswmm::climate::ClimateState::evap_method = EvapMethod::CONSTANT |
| double openswmm::climate::ClimateState::evap_rate = 0.0 |
Evaporation rate (ft/sec)
| int openswmm::climate::ClimateState::evap_ts_index = -1 |
Evaporation timeseries table index.
| double openswmm::climate::ClimateState::gamma = 0.0 |
Psychrometric constant.
| bool openswmm::climate::ClimateState::has_minmax = false |
True when tmin_daily/tmax_daily are valid.
| double openswmm::climate::ClimateState::hrday = 10.5 |
Mid-hour between hrsr and hrss.
| double openswmm::climate::ClimateState::hrsr = 6.0 |
Sunrise hour (time of min temp), 0-24.
| double openswmm::climate::ClimateState::hrss = 15.0 |
Sunset-3 hour (time of max temp), 0-24.
| double openswmm::climate::ClimateState::humidity = 50.0 |
Relative humidity (%)
| double openswmm::climate::ClimateState::infil_factor = 1.0 |
| int openswmm::climate::ClimateState::last_temp_doy = -1 |
Day-of-year when hrsr/hrss were last computed.
| double openswmm::climate::ClimateState::latitude = 0.0 |
Latitude (degrees)
| double openswmm::climate::ClimateState::monthly_evap[12] = {} |
| double openswmm::climate::ClimateState::prev_tmax = 0.0 |
Previous day's maximum temperature (deg F)
| double openswmm::climate::ClimateState::recovery_factor = 1.0 |
| int openswmm::climate::ClimateState::recovery_pat_index = -1 |
Recovery pattern index in ctx.patterns.
| MovingAvg7 openswmm::climate::ClimateState::temp_ma |
| double openswmm::climate::ClimateState::temp_range = 0.0 |
Daily temperature range (deg F)
| int openswmm::climate::ClimateState::temp_ts_index = -1 |
Temperature timeseries table index.
| double openswmm::climate::ClimateState::temperature = 70.0 |
Air temperature (deg F)
| double openswmm::climate::ClimateState::tmax_daily = 0.0 |
Current day's maximum temperature (deg F)
| double openswmm::climate::ClimateState::tmin_daily = 0.0 |
Current day's minimum temperature (deg F)
| double openswmm::climate::ClimateState::wind_speed = 0.0 |
Wind speed (mph)