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
13
namespace
openswmm::surface
{
14
struct
SolarIntegral
{
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.
36
SolarIntegral
solarIntegral
(
double
latitude,
double
declination,
double
hour_start,
37
double
duration_hours,
double
slope,
double
aspect);
38
}
// namespace openswmm::surface
openswmm::surface
Definition
GroundHeat.hpp:19
openswmm::surface::solarIntegral
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
openswmm::surface::SolarIntegral
Definition
SolarGeometry.hpp:14
openswmm::surface::SolarIntegral::horizontal
double horizontal
Definition
SolarGeometry.hpp:16
openswmm::surface::SolarIntegral::cosine
double cosine
Definition
SolarGeometry.hpp:15
openswmm::surface::SolarIntegral::hri
double hri
Definition
SolarGeometry.hpp:17
src
engine
hydrology
surface
SolarGeometry.hpp
Generated by
1.13.2