![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Sun geometry at one instant. The SPA swap point's return type. More...
#include <SolarRadiation.hpp>
Public Attributes | |
| double | declination_deg = 0.0 |
| Solar declination, +N. | |
| double | eq_time_min = 0.0 |
| Equation of time, minutes. | |
| double | hour_angle_deg = 0.0 |
| Solar hour angle, 0 at solar noon. | |
| double | zenith_deg = 90.0 |
| Solar zenith angle. | |
| double | cos_zenith = 0.0 |
| Clamped at 0 below the horizon. | |
| double | elevation_deg = 0.0 |
| double | eccentricity = 1.0 |
Earth–sun distance correction E0 = (r0/r)², dimensionless. | |
Sun geometry at one instant. The SPA swap point's return type.
Angles in DEGREES. cos_zenith is carried alongside zenith_deg because every downstream consumer wants the cosine and rounding a degree value back through cos twice is how a night-time cos_zenith acquires a small positive value.
| double openswmm::transport::heat::SolarPosition::cos_zenith = 0.0 |
Clamped at 0 below the horizon.
| double openswmm::transport::heat::SolarPosition::declination_deg = 0.0 |
Solar declination, +N.
| double openswmm::transport::heat::SolarPosition::eccentricity = 1.0 |
Earth–sun distance correction E0 = (r0/r)², dimensionless.
| double openswmm::transport::heat::SolarPosition::elevation_deg = 0.0 |
90 − zenith (may be negative)
| double openswmm::transport::heat::SolarPosition::eq_time_min = 0.0 |
Equation of time, minutes.
| double openswmm::transport::heat::SolarPosition::hour_angle_deg = 0.0 |
Solar hour angle, 0 at solar noon.
| double openswmm::transport::heat::SolarPosition::zenith_deg = 90.0 |
Solar zenith angle.