![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
[RADIATIVE_FLUXES] parameters (heat plan §2.2, phase H3).
More...
#include <HeatData.hpp>
Public Attributes | |
| double | shortwave_wm2 = 0.0 |
| Incoming solar Jin, W/m² (0 = night) | |
| double | albedo = 0.0 |
| Rs, reference default. | |
| double | shade_factor = 0.0 |
| fs, 0 = unshaded | |
| double | sky_view = 1.0 |
| fsky, 1 = open sky | |
| double | emiss_water = 0.97 |
| εw | |
| double | emiss_landcover = 0.97 |
| εlc | |
| double | atm_emiss_coeff = 0.5 |
| Brunt Aa. | |
| double | lw_reflection = 0.03 |
| RL. | |
| double | landcover_temp = std::numeric_limits<double>::quiet_NaN() |
| Land-cover radiating temperature, °C. NaN ⇒ use air temperature. | |
| ShortwaveMode | sw_mode = ShortwaveMode::CONSTANT |
| int | sw_ts_index = -1 |
Index into ctx.tables under TIMESERIES; -1 otherwise. | |
[RADIATIVE_FLUXES] parameters (heat plan §2.2, phase H3).
Defaults are RHEComponent's (rhemodel.cpp:43-47) except where noted. GLOBAL scope only in H3; per-element ranges are RHE's [RADIATIVE_FLUXES] semantics and refuse until a later phase. H6a keeps GLOBAL scope deliberately — plan §7 records why (the per-step solar position is computed once, not per element).
| double openswmm::RadiativeConfig::albedo = 0.0 |
Rs, reference default.
| double openswmm::RadiativeConfig::atm_emiss_coeff = 0.5 |
Brunt Aa.
| double openswmm::RadiativeConfig::emiss_landcover = 0.97 |
εlc
| double openswmm::RadiativeConfig::emiss_water = 0.97 |
εw
| double openswmm::RadiativeConfig::landcover_temp = std::numeric_limits<double>::quiet_NaN() |
Land-cover radiating temperature, °C. NaN ⇒ use air temperature.
PE2. RadiativeExchange computed the land-cover longwave term from AIR temperature and its own header recorded that as a departure from the reference, which carries a per-element landCoverTemperature. The consequence is a daytime understatement: a sunlit canopy or a concrete wall runs well above air temperature and radiates accordingly.
The NaN sentinel — not a plausible number — is what keeps every pre-PE model bit-identical and makes "the deck set
this" distinguishable from "the deck did not", the configured_source[] distinction one struct over. A default of, say, 20.0 would be indistinguishable from a deliberate 20 °C and would change every existing answer.
| double openswmm::RadiativeConfig::lw_reflection = 0.03 |
RL.
| double openswmm::RadiativeConfig::shade_factor = 0.0 |
fs, 0 = unshaded
| double openswmm::RadiativeConfig::shortwave_wm2 = 0.0 |
Incoming solar Jin, W/m² (0 = night)
| double openswmm::RadiativeConfig::sky_view = 1.0 |
fsky, 1 = open sky
| ShortwaveMode openswmm::RadiativeConfig::sw_mode = ShortwaveMode::CONSTANT |
H6a. CONSTANT keeps shortwave_wm2 load-bearing and is the default, so an H3-era deck is unaffected.
| int openswmm::RadiativeConfig::sw_ts_index = -1 |
Index into ctx.tables under TIMESERIES; -1 otherwise.