Buildings.BoundaryConditions.SolarGeometry.BaseClasses
Package with base classes for Buildings.BoundaryConditions.SolarGeometry
Information
This package contains base classes that are used to construct the models in Buildings.BoundaryConditions.SolarGeometry.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
AltitudeAngle | Solar altitude angle |
Declination | Declination angle |
IncidenceAngle | The solar incidence angle on a tilted surface |
SolarAzimuth | Solar azimuth |
SolarHourAngle | Solar hour angle |
WallSolarAzimuth | Angle measured in a horizontal plane between the projection of the sun's rays and the normal to a vertical surface |
ZenithAngle | Zenith angle |
solarAzimuthNoEvent | Determines solar azimuth with no event |
solarAzimuthWithEvent | Determines solar azimuth with event |
Examples | Collection of models that illustrate model use and test models |
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.AltitudeAngle
Solar altitude angle
Information
This block computes the altitude angle of the sun with respect to a horizontal surface. The altitude angle is the angle between the sun ray and the projection of the ray on a horizontal surface. It is the complementory angle to the zenith angle.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Connectors
Type | Name | Description |
---|---|---|
input RealInput | zen | Zenith angle [rad] |
output RealOutput | alt | Solar altitude angle [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination
Declination angle
Information
This component computes the solar declination, which is
the angle between the equatorial plane and the solar beam.
The input signal nDay
is the one-based number of the day, but in seconds.
Hence, during January 1, we should have nDay = 86400
seconds.
Since the effect of using a continuous number rather than an integer is small,
we approximate this so that nDay = 0
at the start of January 1,
and nDay = 86400
at the end of January 1.
Validation
A validation with a more detailed calculation can be found at Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Connectors
Type | Name | Description |
---|---|---|
input RealInput | nDay | Day number with units of seconds [s] |
output RealOutput | decAng | Solar declination angle [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.IncidenceAngle
The solar incidence angle on a tilted surface
Information
This component computes the solar incidence angle on a tilted surface using the solar hour angle and the declination angle as input.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Angle | azi | Surface azimuth. azi=-90 degree if surface outward unit normal points toward east; azi=0 if it points toward south [rad] | |
Angle | til | Surface tilt. til=90 degree for walls; til=0 for ceilings; til=180 for roof [rad] |
Connectors
Type | Name | Description |
---|---|---|
input RealInput | solHouAng | Solar hour angle [rad] |
input RealInput | decAng | Declination [rad] |
output RealOutput | incAng | Incidence angle on a tilted surface [rad] |
input RealInput | lat | Latitude [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarAzimuth
Solar azimuth
Information
This component computes the solar azimuth angle.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Connectors
Type | Name | Description |
---|---|---|
input RealInput | zen | Zenith angle [rad] |
input RealInput | solTim | Solar time [s] |
input RealInput | lat | Latitude [rad] |
output RealOutput | solAzi | Solar Azimuth [rad] |
input RealInput | decAng | Declination angle [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle
Solar hour angle
Information
This component computes the solar hour angle, which is defined as the angle between the circle that passes through an observer, the north pole and the south pole, and the circle that passes through the sun, the north and the south pole.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Connectors
Type | Name | Description |
---|---|---|
input RealInput | solTim | Solar time [s] |
output RealOutput | solHouAng | Solar hour angle [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.WallSolarAzimuth
Angle measured in a horizontal plane between the projection of the sun's rays and the normal to a vertical surface
Information
This block computes the wall solar azimuth angle. It is the angle between the projection of the sun ray on a horizontal surface and the line perpendicular to the wall. The value of this angle varies from 0 to 180 degrees. In the northern hemisphere at solar noon, the value of the wall solar azimuth angle is zero if the wall is facing south.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Connectors
Type | Name | Description |
---|---|---|
input RealInput | incAng | Solar incidence angle [rad] |
input RealInput | alt | Solar altitude angle (angle between sun ray and horizontal surface) [rad] |
output RealOutput | verAzi | Angle between projection of sun's rays and normal to vertical surface [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.ZenithAngle
Zenith angle
Information
This component computes the zenith angle, which is the angle between the earth surface normal and the sun's beam. Input are the solar hour angle and the declination angle.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Connectors
Type | Name | Description |
---|---|---|
input RealInput | solHouAng | Solar hour angle [rad] |
input RealInput | decAng | Solar declination angle [rad] |
output RealOutput | zen | Zenith angle [rad] |
input RealInput | lat | Latitude [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.solarAzimuthNoEvent
Determines solar azimuth with no event
Information
This function is used within Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarAzimuth to calculate solar azimuth with no events.
Inputs
Type | Name | Default | Description |
---|---|---|---|
Real | solAziTem | Temporary solar azimuth [rad] | |
Real | solTim | Solar time [s] | |
Real | day | Number of seconds in day [s] |
Outputs
Type | Name | Description |
---|---|---|
Real | solAzi | Solar azimuth [rad] |
Modelica definition
Buildings.BoundaryConditions.SolarGeometry.BaseClasses.solarAzimuthWithEvent
Determines solar azimuth with event
Information
This function is used within Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarAzimuth to calculate solar azimuth with events.
Inputs
Type | Name | Default | Description |
---|---|---|---|
Real | solAziTem | Temporary solar azimuth [rad] | |
Real | solTim | Solar time [s] | |
Real | day | Number of seconds in day [s] |
Outputs
Type | Name | Description |
---|---|---|
Real | solAzi | Solar azimuth [rad] |