This package contains examples for the use of models that can be found in Buildings.BoundaryConditions.SolarGeometry.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
IncidenceAngle | Test model for solar incidence angle |
ZenithAngle | Test model for zenith angle |
model IncidenceAngle "Test model for solar incidence angle" extends Modelica.Icons.Example; import Buildings;Buildings.BoundaryConditions.SolarGeometry.IncidenceAngle incAng( lat=0.73097781993588, azi=0.3, til=0.5) "The location is Chicago"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"); equationconnect(weaDat.weaBus, incAng.weaBus); end IncidenceAngle;
model ZenithAngle "Test model for zenith angle" extends Modelica.Icons.Example; import Buildings;Buildings.BoundaryConditions.SolarGeometry.ZenithAngle zen(lat = 0.2); Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam="Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"); equationconnect(weaDat.weaBus, zen.weaBus); end ZenithAngle;