Buildings.BoundaryConditions.SkyTemperature.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 Buildings.BoundaryConditions.SkyTemperature.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
BlackBody | Test model for black body sky temperature |
Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody
Test model for black body sky temperature
Information
This example computes the black-body sky temperature for Chicago.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Connectors
Type | Name | Description |
---|---|---|
Bus | weaBus | Weather data bus |
Modelica definition
model BlackBody "Test model for black body sky temperature"
extends Modelica.Icons.Example;
Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam=
Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"));
Buildings.BoundaryConditions.SkyTemperature.BlackBody TBlaSky
"Black body sky temperature computed from temperature and sky cover";
Buildings.BoundaryConditions.WeatherData.Bus weaBus "Weather data bus";
Buildings.BoundaryConditions.SkyTemperature.BlackBody TBlaSkyIrr(calTSky=
Buildings.BoundaryConditions.Types.SkyTemperatureCalculation.HorizontalRadiation)
"Black body sky temperature computation compued from horizontal infrared radiation";
equation
connect(weaBus, weaDat.weaBus);
connect(weaBus.TDewPoi, TBlaSky.TDewPoi);
connect(weaBus.nOpa, TBlaSky.nOpa);
connect(weaBus.TDryBul, TBlaSky.TDryBul);
connect(weaBus.HHorIR, TBlaSky.HHorIR);
connect(weaBus.TDewPoi, TBlaSkyIrr.TDewPoi);
connect(weaBus.nOpa, TBlaSkyIrr.nOpa);
connect(weaBus.TDryBul, TBlaSkyIrr.TDryBul);
connect(weaBus.HHorIR, TBlaSkyIrr.HHorIR);
end BlackBody;