Description: "Collection of models that illustrate model use and test models"

- Home > Modelica

## 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 |

### Modelica definition

model BlackBody "Test model for black body sky temperature" extends Modelica.Icons.Example; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam= "modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"); Buildings.BoundaryConditions.SkyTemperature.BlackBody TBlaSky; Buildings.BoundaryConditions.WeatherData.Bus weaBus; equation connect(weaBus, weaDat.weaBus); connect(weaBus.TDewPoi, TBlaSky.TDewPoi); connect(weaBus.nOpa, TBlaSky.nOpa); connect(weaBus.TDryBul, TBlaSky.TDryBul); connect(weaBus.radHorIR, TBlaSky.radHorIR); end BlackBody;