IEA EBC Annex 60 EBC logo

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.

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

Package Content

Name Description
Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient BrighteningCoefficient Test model for brightening coeffcients
Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic DiffuseIsotropic Test model for diffuse solar irradiation on a tilted surface by using isotropic model
Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass RelativeAirMass Test model for relative air mass
Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness SkyBrightness Test model for sky brightness
Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness SkyClearness Test model for sky clearness

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient

Test model for brightening coeffcients

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient

Information

This example computes the circumsolar and horizon brightening coefficients.

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

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model BrighteningCoefficient "Test model for brightening coeffcients" extends Modelica.Icons.Example; Annex60.BoundaryConditions.SolarGeometry.ZenithAngle zen(lat= 0.6457718232379); Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.SkyClearness skyCle; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.BrighteningCoefficient briCoe; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.RelativeAirMass relAirMas; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.SkyBrightness skyBri; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); Annex60.BoundaryConditions.WeatherData.Bus weaBus; equation connect(zen.y, skyCle.zen); connect(relAirMas.relAirMas, skyBri.relAirMas); connect(zen.y, relAirMas.zen); connect(skyBri.skyBri, briCoe.skyBri); connect(skyCle.skyCle, briCoe.skyCle); connect(zen.y, briCoe.zen); connect(weaDat.weaBus, weaBus); connect(weaBus.HGloHor, skyCle.HGloHor); connect(weaBus.HDifHor, skyCle.HDifHor); connect(weaBus.HDifHor, skyBri.HDifHor); connect(weaBus, zen.weaBus); end BrighteningCoefficient;

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

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

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic

Information

This example computes the hemispherical diffuse irradiation on a tilted surface.

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

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model DiffuseIsotropic "Test model for diffuse solar irradiation on a tilted surface by using isotropic model" extends Modelica.Icons.Example; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.DiffuseIsotropic HDifTilIso(til=1.5707963267949); Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); Annex60.BoundaryConditions.WeatherData.Bus weaBus; equation connect(weaDat.weaBus, weaBus); connect(weaBus.HGloHor, HDifTilIso.HGloHor); connect(weaBus.HDifHor, HDifTilIso.HDifHor); end DiffuseIsotropic;

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass

Test model for relative air mass

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass

Information

This example computes the relative air mass for sky brightness.

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

Modelica definition

model RelativeAirMass "Test model for relative air mass" extends Modelica.Icons.Example; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.RelativeAirMass relAirMas; Annex60.BoundaryConditions.SolarGeometry.ZenithAngle zen(lat= 0.34906585039887); Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); equation connect(zen.y, relAirMas.zen); connect(weaDat.weaBus, zen.weaBus); end RelativeAirMass;

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness

Test model for sky brightness

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness

Information

This example computes the sky brightness.

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

Connectors

TypeNameDescription
BusweaBusWeather data bus

Modelica definition

model SkyBrightness "Test model for sky brightness" extends Modelica.Icons.Example; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.RelativeAirMass relAirMas "Relative air mass"; Annex60.BoundaryConditions.SolarGeometry.ZenithAngle zen( lat=0.34906585039887) "Zenith angle"; Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.SkyBrightness skyBri "Sky brightness"; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos") "Weather data"; Annex60.BoundaryConditions.WeatherData.Bus weaBus "Weather data bus"; equation connect(zen.y, relAirMas.zen); connect(relAirMas.relAirMas, skyBri.relAirMas); connect(weaDat.weaBus, weaBus); connect(weaBus.HDifHor, skyBri.HDifHor); connect(zen.weaBus, weaBus); end SkyBrightness;

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness

Test model for sky clearness

Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness

Information

This example computes the sky clearness.

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

Connectors

TypeNameDescription
BusweaBus 

Modelica definition

model SkyClearness "Test model for sky clearness" extends Modelica.Icons.Example; Annex60.BoundaryConditions.SolarGeometry.ZenithAngle zen(lat= 0.34906585039887); Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.SkyClearness skyCle; Annex60.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Annex60/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"); Annex60.BoundaryConditions.WeatherData.Bus weaBus; equation connect(zen.y, skyCle.zen); connect(weaDat.weaBus, weaBus); connect(weaBus.HGloHor, skyCle.HGloHor); connect(weaBus.HDifHor, skyCle.HDifHor); connect(weaBus, zen.weaBus); end SkyClearness;

http://iea-annex60.org