![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
[CLOUD_COVER] — one fraction driving two modules (H6a, D-H6a-2).
More...
#include <HeatData.hpp>
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. | |
[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.
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². | bool openswmm::CloudConfig::configured = false |
No [CLOUD_COVER] section → clear sky.
| double openswmm::CloudConfig::fraction = 0.0 |
C ∈ [0,1], constant spelling.
| double openswmm::CloudConfig::lw_cloud_k = 0.17 |
Bolz k_lw.
| double openswmm::CloudConfig::sw_atten_k = 0.75 |
Kasten–Czeplak k.
| double openswmm::CloudConfig::sw_atten_n = 3.4 |
Kasten–Czeplak n.
| int openswmm::CloudConfig::ts_index = -1 |
Index into ctx.tables, -1 = none.
| bool openswmm::CloudConfig::use_timeseries = false |