OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::CloudConfig Struct Reference

[CLOUD_COVER] — one fraction driving two modules (H6a, D-H6a-2). More...

#include <HeatData.hpp>

Collaboration diagram for openswmm::CloudConfig:

Public Attributes

bool configured = false
 No [CLOUD_COVER] section → clear sky.
 
bool use_timeseries = false
 
int ts_index = -1
 Index into ctx.tables, -1 = none.
 
double fraction = 0.0
 C ∈ [0,1], constant spelling.
 
double sw_atten_k = 0.75
 Kasten–Czeplak k.
 
double sw_atten_n = 3.4
 Kasten–Czeplak n.
 
double lw_cloud_k = 0.17
 Bolz k_lw.
 

Detailed Description

[CLOUD_COVER] — one fraction driving two modules (H6a, D-H6a-2).

Cloud lives here rather than in RadiativeConfig because the same C feeds BOTH shortwave attenuation and the longwave emissivity correction. Two modules reading a value from two copies is free to drift; D-H5e is the nearest precedent in kind.

Warning
lw_cloud_k reaches into the H3-validated Brunt path. The factor MUST reduce to exactly 1.0 at C = 0 — see cloudLongwaveFactor, which returns a literal 1.0 on the !configured path rather than evaluating 1 + k·0².

Member Data Documentation

◆ configured

bool openswmm::CloudConfig::configured = false

No [CLOUD_COVER] section → clear sky.

◆ fraction

double openswmm::CloudConfig::fraction = 0.0

C ∈ [0,1], constant spelling.

◆ lw_cloud_k

double openswmm::CloudConfig::lw_cloud_k = 0.17

Bolz k_lw.

◆ sw_atten_k

double openswmm::CloudConfig::sw_atten_k = 0.75

Kasten–Czeplak k.

◆ sw_atten_n

double openswmm::CloudConfig::sw_atten_n = 3.4

Kasten–Czeplak n.

◆ ts_index

int openswmm::CloudConfig::ts_index = -1

Index into ctx.tables, -1 = none.

◆ use_timeseries

bool openswmm::CloudConfig::use_timeseries = false

The documentation for this struct was generated from the following file: