OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SolarGeometry.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2
11
12#pragma once
13namespace openswmm::surface {
15 double cosine = 0; // average positive cosine on the inclined plane
16 double horizontal = 0; // average positive cosine on horizontal ground
17 double hri = 0; // radiation per horizontal area: cosine / cos(slope)
18};
19// Integrates the solar-vector dot product exactly between its roots, with
20// declination fixed over the interval. Angles are degrees. Aspect is clockwise
21// from NORTH, hour angle is zero at solar noon and positive in the afternoon.
22// Both the astronomical horizon and the plane's own shadow are respected.
36SolarIntegral solarIntegral(double latitude, double declination, double hour_start,
37 double duration_hours, double slope, double aspect);
38} // namespace openswmm::surface
Definition GroundHeat.hpp:19
SolarIntegral solarIntegral(double latitude, double declination, double hour_start, double duration_hours, double slope, double aspect)
Integrate the positive solar dot product over one fixed-declination interval.
Definition SolarGeometry.cpp:54
Definition SolarGeometry.hpp:14
double horizontal
Definition SolarGeometry.hpp:16
double cosine
Definition SolarGeometry.hpp:15
double hri
Definition SolarGeometry.hpp:17