Description: "Package with models to compute solar geometry"

- Home > Modelica

## Buildings.BoundaryConditions.SolarGeometry

Package with models to compute solar geometry

### Information

This package contains models to compute the solar geometry and incidence angles on tilted surfaces.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

### Package Content

Name | Description
--- | ---
IncidenceAngle | Solar incidence angle on a tilted surface
ZenithAngle | Zenith angle
Examples | Collection of models that illustrate model use and test models
BaseClasses | Package with base classes for Buildings.BoundaryConditions.SolarGeometry

## Buildings.BoundaryConditions.SolarGeometry.IncidenceAngle

Solar incidence angle on a tilted surface

### Information

This component computes the solar incidence angle on a tilted surface. For a definition of the parameters, see the User's Guide Buildings.BoundaryConditions.UsersGuide.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Angle | lat |  | Latitude [rad]
Angle | azi |  | Surface azimuth [rad]
Angle | til |  | Surface tilt [rad]

### Connectors

Type | Name | Description
--- | --- | ---
output RealOutput | y | Incidence angle [rad]
Bus | weaBus |

### Modelica definition

block IncidenceAngle "Solar incidence angle on a tilted surface" extends Modelica.Blocks.Icons.Block; public parameter Modelica.SIunits.Angle lat "Latitude"; parameter Modelica.SIunits.Angle azi "Surface azimuth"; parameter Modelica.SIunits.Angle til "Surface tilt"; Modelica.Blocks.Interfaces.RealOutput y( final quantity="Angle", final unit="rad", displayUnit="deg") "Incidence angle"; protected Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng "Declination angle"; Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle solHouAng "Solar hour angle"; Buildings.BoundaryConditions.SolarGeometry.BaseClasses.IncidenceAngle incAng( final lat=lat, final azi=azi, final til=til) "Incidence angle"; public WeatherData.Bus weaBus; equation connect(incAng.incAng, y); connect(decAng.decAng, incAng.decAng); connect(solHouAng.solHouAng, incAng.solHouAng); connect(weaBus.cloTim, decAng.nDay); connect(weaBus.solTim, solHouAng.solTim); end IncidenceAngle;

## Buildings.BoundaryConditions.SolarGeometry.ZenithAngle

Zenith angle

### Information

This component computes the zenith angle, which is the angle between the earth surface normal and the sun beam. For a definition of the parameters, see the User's Guide Buildings.BoundaryConditions.UsersGuide.

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Angle | lat |  | Latitude [rad]

### Connectors

Type | Name | Description
--- | --- | ---
output RealOutput | y | Zenith angle [rad]
Bus | weaBus |

### Modelica definition

block ZenithAngle "Zenith angle" extends Modelica.Blocks.Icons.Block; public parameter Modelica.SIunits.Angle lat "Latitude"; Modelica.Blocks.Interfaces.RealOutput y( final quantity="Angle", final unit="rad", displayUnit="deg") "Zenith angle"; protected Buildings.BoundaryConditions.SolarGeometry.BaseClasses.ZenithAngle zen(final lat=lat); public WeatherData.Bus weaBus; equation connect(zen.zen, y); connect(weaBus.solDec, zen.decAng); connect(weaBus.solHouAng, zen.solHouAng); end ZenithAngle;