Buildings.BoundaryConditions.WeatherData.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 Buildings.BoundaryConditions.WeatherData.BaseClasses.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
CheckBlackBodySkyTemperature | Test model for CheckBlackBodySkyTemperature |
CheckPressure | Test model for pressure check |
CheckTemperature | Test model for CheckTemperature |
ConvertTime | Test model for converting time |
ConvertTimeNegativeStart | Validation of time conversion for negative start time |
ConvertTimePositiveStart | Validation of time conversion for positive start time |
EquationOfTime | Test model for equation of time |
GetAbsolutePath | Test model to get the absolute path of a URI |
GetHeaderElement | Test model to get header element |
GetTimeSpanTMY3 | Test model to get the time span of a weather file |
GetTimeSpanTMY3_NonzeroStart | Test model to get time span of a weather file, start time is non zero |
LimitMin | Test model for ceiling height check |
LocalCivilTime | Test model for calculate local civil time |
SolarTime | Test model for solar time |
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature
Test model for CheckBlackBodySkyTemperature
Information
This example tests the model that checks the black-body sky temperature.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure
Test model for pressure check
Information
This example tests the model that asserts that the pressure is within acceptable bounds.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature
Test model for CheckTemperature
Information
This example tests the model that checks the temperature.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime
Test model for converting time
Information
This example tests the model that converts time.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart
Validation of time conversion for negative start time
Information
This example tests the model that converts time for negative start time.
Extends from Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime (Test model for converting time).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart
Validation of time conversion for positive start time
Information
This example tests the model that converts time for positive start time.
Extends from Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime (Test model for converting time).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime
Test model for equation of time
Information
This example tests the model that computes the equation of time.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAbsolutePath
Test model to get the absolute path of a URI
Information
This model tests the function that gets the absolute path of a URI.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
String | f | "modelica://Buildings/packag... | Name of a file that exists |
String | fAbs | Buildings.BoundaryConditions... | Absolute path of f |
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement
Test model to get header element
Information
This example tests getting the header of the TMY3 weather data file.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Angle | longitude | longitude(fixed=false, displ... | Longitude [rad] |
Angle | latitude | latitude(fixed=false, displa... | Latitude [rad] |
Time | timeZone | timeZone(fixed=false, displa... | Time zone [s] |
String | filNam | Modelica.Utilities.Files.loa... | Name of weather data file |
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3
Test model to get the time span of a weather file
Information
This example tests getting the time span of a TMY3 weather data file.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
Type | Name | Default | Description |
---|---|---|---|
String | filNam | Modelica.Utilities.Files.loa... | Name of weather data file |
String | tabNam | "tab1" | Name of table on weather file |
Time | timeSpan[2] | timeSpan(each fixed=false) | Start time, end time of weather data [s] |
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart
Test model to get time span of a weather file, start time is non zero
Information
This example tests getting time span of a TMY3 weather data file that starts at a non-zero time.
Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 (Test model to get the time span of a weather file).
Parameters
Type | Name | Default | Description |
---|---|---|---|
String | filNam | Modelica.Utilities.Files.loa... | Name of weather data file |
String | tabNam | "tab1" | Name of table on weather file |
Time | timeSpan[2] | Start time, end time of weather data [s] |
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin
Test model for ceiling height check
Information
This example tests the model that constrains the ceiling height.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime
Test model for calculate local civil time
Information
This example tests the model that computes the local civil time.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime
Test model for solar time
Information
This example tests the model that computes the solar time.
Extends from Modelica.Icons.Example (Icon for runnable examples).