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

Shared snow model contracts and state types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::surface::SnowInputs
 One element's interval weather, with SI point-input units. dt_s is seconds; rain_m/snow_m are interval water-equivalent depths (not rates), Ta_C is Celsius and wind_ms m/s. rh is fraction, Qsi/Qli/Qg incoming W/m2; cosine and horizontal-radiation factors are dimensionless. gamma/ea retain native degree-day F^-1/in-Hg conventions. Individual models may ignore fields. More...
 
struct  openswmm::surface::SnowOutputs
 Point snow results: interval depths metres and model-specific thermal state. melt_m can include pack drainage, mixed rainfall and instant plow liquid, not only phase change; throughfall_m is bypass rain. swe_m includes retained snow/ free water, cover_frac is dimensionless. Temperatures C, energy kJ/m2. Derived implementations specify which thermal fields are available/defaulted. More...
 
class  openswmm::surface::SnowModel
 Polymorphic point and native-batch snow boundary. One owner serializes state mutation and buffer use. Configure compatible model geometry/materials after allocation; a successful allocation alone does not establish physical snowpack parameters. Derived methods define failure and payload validation; this interface supplies no universal rollback/status. More...
 

Namespaces

namespace  openswmm
 
namespace  openswmm::surface
 

Detailed Description

Shared snow model contracts and state types.

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