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

Preparation of meteorological forcing for Utah Energy Balance snow models. More...

#include "Radiation.hpp"
#include "ClimateFile.hpp"
#include "surface/SolarGeometry.hpp"
#include "../core/SimulationContext.hpp"
#include "../core/DateTime.hpp"
#include "../core/UnitConversion.hpp"
#include "../core/PathResolver.hpp"
#include <algorithm>
#include <cmath>
#include <limits>
Include dependency graph for UebForcing.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::climate
 

Functions

std::string openswmm::climate::initializeRadiation (SimulationContext &ctx)
 Validate snow parameters and prepare site and weather input caches.
 
std::string openswmm::climate::resolveRadiation (SimulationContext &ctx, double date, double seconds, RadiationState &output)
 Resolve mean weather/radiation for one interval without advancing climate time.
 
std::string openswmm::climate::resolveUebForcing (SimulationContext &ctx, double date, double seconds, double slope, double aspect, surface::ueb::Forcing &forcing, double &pressure)
 Merge resolved interval weather and slope-adjusted radiation into a UEB forcing.
 

Detailed Description

Preparation of meteorological forcing for Utah Energy Balance snow models.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0