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

[RADIATIVE_FLUXES] parameters (heat plan §2.2, phase H3). More...

#include <HeatData.hpp>

Collaboration diagram for openswmm::RadiativeConfig:

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.
 

Detailed Description

[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).

Member Data Documentation

◆ albedo

double openswmm::RadiativeConfig::albedo = 0.0

Rs, reference default.

◆ atm_emiss_coeff

double openswmm::RadiativeConfig::atm_emiss_coeff = 0.5

Brunt Aa.

◆ emiss_landcover

double openswmm::RadiativeConfig::emiss_landcover = 0.97

εlc

◆ emiss_water

double openswmm::RadiativeConfig::emiss_water = 0.97

εw

◆ landcover_temp

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.

◆ lw_reflection

double openswmm::RadiativeConfig::lw_reflection = 0.03

RL.

◆ shade_factor

double openswmm::RadiativeConfig::shade_factor = 0.0

fs, 0 = unshaded

◆ shortwave_wm2

double openswmm::RadiativeConfig::shortwave_wm2 = 0.0

Incoming solar Jin, W/m² (0 = night)

◆ sky_view

double openswmm::RadiativeConfig::sky_view = 1.0

fsky, 1 = open sky

◆ sw_mode

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.

◆ sw_ts_index

int openswmm::RadiativeConfig::sw_ts_index = -1

Index into ctx.tables under TIMESERIES; -1 otherwise.


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