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

Utah Energy Balance snow model configuration and validation. More...

#include "UebSnow.hpp"
#include "../../core/FilePathPair.hpp"
#include <array>
#include <map>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for UebConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::surface::SnowpackConfig
 
struct  openswmm::surface::RadiationSource
 
struct  openswmm::surface::ClimateSite
 
struct  openswmm::surface::SnowConfig
 

Namespaces

namespace  openswmm
 
namespace  openswmm::surface
 

Enumerations

enum class  openswmm::surface::SnowKind {
  openswmm::surface::DegreeDay ,
  openswmm::surface::Ueb
}
 

Functions

std::string openswmm::surface::setUebOption (SnowConfig &config, const std::vector< std::string > &tokens, bool validate=true)
 Parse one UEB_OPTIONS row into a candidate configuration then publish it.
 
std::vector< std::string > openswmm::surface::uebOptionRows (const SnowConfig &config)
 Serialize nondefault UEB_OPTIONS settings in deterministic schema order.
 
std::optional< std::string > openswmm::surface::uebOptionValue (const SnowConfig &config, const std::string &key)
 Read a scalar UEB option's effective value, including its default.
 
std::string openswmm::surface::setSnowTemperature (SnowConfig &config, const std::vector< std::string > &tokens)
 Parse one snow-related TEMPERATURE row and publish a copied candidate.
 
std::string openswmm::surface::setSnowpackUeb (SnowConfig &config, int pack, const std::vector< std::string > &tokens)
 Replace one pack's optional UEB site/model override from authored tokens.
 

Detailed Description

Utah Energy Balance snow model configuration and validation.

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