IEA EBC Annex 60 EBC logo

Annex60.BoundaryConditions.SolarIrradiation.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Annex60.BoundaryConditions.SolarIrradiation.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic DiffuseIsotropic Test model for diffuse solar irradiation on a tilted surface using the isotropic model
Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez DiffusePerez Test model for diffuse solar irradiation on a tilted surface using the Perez model
Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface DirectTiltedSurface Test model for direct solar irradiation on a tilted surface

Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic

Test model for diffuse solar irradiation on a tilted surface using the isotropic model

Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic

Information

This example computes the hemispherical diffuse irradiation on a roof, wall and a floor, using an isotropic sky model. Since the floor only sees the ground, it receives the lowest amount of diffuse solar irradiation.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Realrho0.2Ground reflectance

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model DiffuseIsotropic "Test model for diffuse solar irradiation on a tilted surface using the isotropic model" extends Modelica.Icons.Example; parameter Real rho=0.2 "Ground reflectance"; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); Annex60.BoundaryConditions.WeatherData.Bus weaBus "Weather data bus"; Annex60.BoundaryConditions.SolarIrradiation.DiffuseIsotropic HDifRoo(til=Annex60.Types.Tilt.Ceiling, rho=rho) "Diffuse irradiation on roof"; Annex60.BoundaryConditions.SolarIrradiation.DiffuseIsotropic HDifFlo(til=Annex60.Types.Tilt.Floor, rho=rho) "Diffuse irradiation on floor"; Annex60.BoundaryConditions.SolarIrradiation.DiffuseIsotropic HDifWal( til=Annex60.Types.Tilt.Wall, rho=rho) "Diffuse irradiation on wall"; equation connect(weaDat.weaBus, weaBus); connect(weaBus,HDifRoo. weaBus); connect(HDifWal.weaBus, weaBus); connect(HDifFlo.weaBus, weaBus); end DiffuseIsotropic;

Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez

Test model for diffuse solar irradiation on a tilted surface using the Perez model

Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez

Information

This model tests the implementation of Perez' model for diffuse solar radiation. The three instances of Perez' model compute the diffuse solar irradiation on a roof, a wall and a floor. Since the floor only sees the ground but not the radiative heat flow that is scattered in the atmosphere, it receives the lowest amount of diffuse solar irradiation.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Anglelat37/180*Modelica.Constants.piLatitude [rad]
Angleazi0.3Azi angle [rad]
Angletil0.5Tilted angle [rad]

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model DiffusePerez "Test model for diffuse solar irradiation on a tilted surface using the Perez model" extends Modelica.Icons.Example; parameter Modelica.SIunits.Angle lat=37/180*Modelica.Constants.pi "Latitude"; parameter Modelica.SIunits.Angle azi=0.3 "Azi angle"; parameter Modelica.SIunits.Angle til=0.5 "Tilted angle"; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); Annex60.BoundaryConditions.WeatherData.Bus weaBus; Annex60.BoundaryConditions.SolarIrradiation.DiffusePerez HDifRoo( til=Annex60.Types.Tilt.Ceiling, lat=0.6457718232379, azi=0.78539816339745) "Diffuse irradiation on roof"; Annex60.BoundaryConditions.SolarIrradiation.DiffusePerez HDifFlo( til=Annex60.Types.Tilt.Floor, lat=0.6457718232379, azi=0.78539816339745) "Diffuse irradiation on floor"; Annex60.BoundaryConditions.SolarIrradiation.DiffusePerez HDifWal( til=Annex60.Types.Tilt.Wall, lat=0.6457718232379, azi=0.78539816339745) "Diffuse irradiation on wall"; equation connect(weaDat.weaBus, weaBus); connect(weaBus,HDifRoo. weaBus); connect(weaBus, HDifFlo.weaBus); connect(weaBus, HDifWal.weaBus); end DiffusePerez;

Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface

Test model for direct solar irradiation on a tilted surface

Annex60.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface

Information

This model tests the direct solar irradiation received on a ceiling, a wall and a floor. The assert statement will stop the simulation if the floor receives any direct solar irradiation.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Anglelat37/180*Modelica.Constants.piLatitude [rad]

Modelica definition

model DirectTiltedSurface "Test model for direct solar irradiation on a tilted surface" extends Modelica.Icons.Example; parameter Modelica.SIunits.Angle lat=37/180*Modelica.Constants.pi "Latitude"; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"); Annex60.BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirRoo( til=Annex60.Types.Tilt.Ceiling, lat=0.6457718232379, azi=0.78539816339745) "Direct irradiation on roof"; Annex60.BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirFlo( til=Annex60.Types.Tilt.Floor, lat=0.6457718232379, azi=0.78539816339745) "Direct irradiation on floor"; Annex60.BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirWal( til=Annex60.Types.Tilt.Wall, lat=0.6457718232379, azi=0.78539816339745) "Direct irradiation on wall"; Annex60.Utilities.Diagnostics.AssertEquality assEqu "Assert to ensure that direct radiation received by floor construction is zero"; Modelica.Blocks.Sources.Constant const(k=0) "Block that outputs zero"; equation connect(assEqu.u1, HDirFlo.H); connect(const.y, assEqu.u2); connect(weaDat.weaBus, HDirRoo.weaBus); connect(HDirWal.weaBus, weaDat.weaBus); connect(HDirFlo.weaBus, weaDat.weaBus); end DirectTiltedSurface;

http://iea-annex60.org