OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
Climate.cpp File Reference

Climate processing — numerically identical to legacy climate.c. More...

#include "Climate.hpp"
#include "../core/UnitConversion.hpp"
#include <cmath>
#include <algorithm>
Include dependency graph for Climate.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::climate
 

Functions

double openswmm::climate::hargreaves (double latitude, int day_of_year, double t_avg, double t_range)
 Compute Hargreaves evapotranspiration.
 
void openswmm::climate::updateDailyClimate (ClimateState &state, int day_of_year, int month)
 Update daily climate state.
 
void openswmm::climate::batchDistributeEvap (double evap_rate, const double *ponded_depth, double *evap_out, int n, double dt)
 Batch distribute evaporation to all subcatchments.
 

Detailed Description

Climate processing — numerically identical to legacy climate.c.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License