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

Lumped Utah Energy Balance snow model integration. More...

#include "UebLumped.hpp"
#include <algorithm>
#include <cmath>
Include dependency graph for UebLumped.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::surface
 
namespace  openswmm::surface::ueb
 

Functions

std::string openswmm::surface::ueb::validateDepletion (const std::array< double, 10 > &curve)
 Check a ten-point snow-cover depletion curve.
 
double openswmm::surface::ueb::depletionCover (const std::array< double, 10 > &curve, double relative_water) noexcept
 Interpolate coverage from relative basin-average snow water.
 
std::string openswmm::surface::ueb::initializeLumped (LumpedState &state, double water, double point_energy, double maximum, const std::array< double, 10 > &curve)
 Prepare a basin-average water inventory and covered-area point state.
 
std::string openswmm::surface::ueb::advanceLumped (LumpedState &state, const Parameters &parameters, const Site &site, const Forcing &forcing, const std::array< double, 10 > &curve, LumpedFluxes &output)
 Trial one UEB point interval then reconcile basin cover and represented energy.
 

Detailed Description

Lumped Utah Energy Balance snow model integration.

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