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 solar geometry models |
This component computes the solar incidence angle on a tilted surface. For a definition of the parameters, see the User's Guide.
Extends from Modelica.Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Angle | lat | Latitude [rad] | |
Angle | azi | Surface azimuth [rad] | |
Angle | til | Surface tilt [rad] |
Type | Name | Description |
---|---|---|
output RealOutput | y | Incidence angle [rad] |
Bus | weaBus |
block IncidenceAngle "Solar incidence angle on a tilted surface" extends Modelica.Blocks.Interfaces.BlockIcon; 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; equationconnect(incAng.incAng, y); connect(y, y); connect(decAng.decAng, incAng.decAng); connect(solHouAng.solHouAng, incAng.solHouAng); connect(weaBus.cloTim, decAng.nDay); connect(weaBus.solTim, solHouAng.solTim); end IncidenceAngle;
This component computes the zenith angle, which is the angle between the earth surface normal and the sun's beam. For a definition of the parameters, see the User's Guide.
Extends from Modelica.Blocks.Interfaces.BlockIcon (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Angle | lat | Latitude [rad] |
Type | Name | Description |
---|---|---|
output RealOutput | y | Zenith angle [rad] |
Bus | weaBus |
block ZenithAngle "Zenith angle" extends Modelica.Blocks.Interfaces.BlockIcon; 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); Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Declination decAng "Declination angle"; Buildings.BoundaryConditions.SolarGeometry.BaseClasses.SolarHourAngle solHouAng; public WeatherData.Bus weaBus; equationconnect(decAng.decAng, zen.decAng); connect(solHouAng.solHouAng, zen.solHouAng); connect(zen.zen, y); connect(weaBus.cloTim, decAng.nDay); connect(weaBus.solTim, solHouAng.solTim); end ZenithAngle;