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

Utah Energy Balance snow processing for subcatchments. More...

#include "UebHeld.hpp"
#include <vector>
Include dependency graph for UebSubcatchments.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::surface::ueb::NativeState
 Owned per-surface UEB predictions, accepted outputs and whole-model ledgers. Three surface columns per subcatchment; rain/snow caches are per subcatchment. Held water/energy use m and kJ/m2; global water/energy ledgers use m3 and kJ. Sample/completed clocks are elapsed seconds. last_seconds is the last call span; enabled column clocks can differ when source groups advance independently. Report arrays live in SnowSoA; one serialized owner coordinates both stores. More...
 

Namespaces

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

Functions

std::string openswmm::surface::ueb::initializeSubcatchments (SimulationContext &context, snow::SnowSoA &snow)
 Initialize privately staged UEB columns from authored native snow assignments.
 
std::string openswmm::surface::ueb::advanceSubcatchments (SimulationContext &context, snow::SnowSoA &native, double date, double elapsed, double seconds, const double *rain, const double *snow)
 Trial accepted UEB snow and plowing over one source/runoff interval.
 
double openswmm::surface::ueb::nextSnowBoundary (const SimulationContext &context, double elapsed, double proposed) noexcept
 Shorten a proposed span to the next native UEB held-forcing boundary.
 

Detailed Description

Utah Energy Balance snow processing for subcatchments.

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