This package contains examples for the use of models that can be found in Buildings.BoundaryConditions.SolarIrradiation.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
DiffuseIsotropic | Test model for diffuse solar irradiation on a tilted surface using the isotropic model |
DiffusePerez | Test model for diffuse solar irradiation on a tilted surface using the Perez model |
DirectTiltedSurface | Test model for direct solar irradiation on a tilted surface |
Type | Name | Description |
---|---|---|
Bus | weaBus |
model DiffuseIsotropic "Test model for diffuse solar irradiation on a tilted surface using the isotropic model" extends Modelica.Icons.Example; import Buildings;Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); Buildings.BoundaryConditions.WeatherData.Bus weaBus; Buildings.BoundaryConditions.SolarIrradiation.DiffuseIsotropic HDifTilIso( til=1.5707963267949); equationconnect(weaDat.weaBus, weaBus); connect(weaBus, HDifTilIso.weaBus); end DiffuseIsotropic;
Type | Name | Default | Description |
---|---|---|---|
Angle | lat | 37/180*Modelica.Constants.pi | Latitude [rad] |
Angle | azi | 0.3 | Azi angle [rad] |
Angle | til | 0.5 | Tilted angle [rad] |
Type | Name | Description |
---|---|---|
Bus | weaBus |
model DiffusePerez "Test model for diffuse solar irradiation on a tilted surface using the Perez model" extends Modelica.Icons.Example; import Buildings; 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";Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"); Buildings.BoundaryConditions.WeatherData.Bus weaBus; Buildings.BoundaryConditions.SolarIrradiation.DiffusePerez HDifTil( til=1.5707963267949, lat=0.6457718232379, azi=0.78539816339745); equationconnect(weaDat.weaBus, weaBus); connect(weaBus, HDifTil.weaBus); end DiffusePerez;
Type | Name | Default | Description |
---|---|---|---|
Angle | lat | 37/180*Modelica.Constants.pi | Latitude [rad] |
Type | Name | Description |
---|---|---|
Bus | weaBus |
model DirectTiltedSurface "Test model for direct solar irradiation on a tilted surface" import Buildings; extends Modelica.Icons.Example; parameter Modelica.SIunits.Angle lat=37/180*Modelica.Constants.pi "Latitude";Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"); Buildings.BoundaryConditions.WeatherData.Bus weaBus; Buildings.BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirTil( til=1.5707963267949, lat=0.72483523835325, azi=0.78539816339745); equationconnect(weaDat.weaBus, weaBus); connect(weaBus, HDirTil.weaBus); end DirectTiltedSurface;