![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Climate processing — numerically identical to legacy climate.c. More...
#include "Climate.hpp"#include "../core/Constants.hpp"#include "../core/UnitConversion.hpp"#include <cmath>#include <algorithm>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::climate |
Functions | |
| double | openswmm::climate::hargreaves (double latitude, int day_of_year, double t_avg, double t_range) |
| Estimate potential evapotranspiration using Hargreaves radiation/temperature. | |
| void | openswmm::climate::updateDailyClimate (ClimateState &state, int day_of_year, int month) |
| Update scalar evaporation and snow-related atmospheric coefficients. | |
| void | openswmm::climate::batchDistributeEvap (double evap_rate, const double *ponded_depth, double *evap_out, int n, double dt) |
| Bound one scalar evaporation rate by each ponded-water supply rate. | |
| void | openswmm::climate::updateTempTimes (ClimateState &state, int doy) |
| Derive daily sinusoidal temperature timing from latitude and season. | |
| double | openswmm::climate::getSubdailyTemp (const ClimateState &state, double hour) |
| Evaluate the three-segment native diurnal temperature curve. | |
Climate processing — numerically identical to legacy climate.c.