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 |
CheckCeilingHeight | Test model for ceiling height check |
CheckPressure | Test model for pressure check |
CheckRadiation | Test model for CheckRadiation |
CheckRelativeHumidity | Test model for CheckRelativeHumidity |
CheckSkyCover | Test model for checking sky cover |
CheckTemperature | Test model for CheckTemperature |
CheckWindDirection | Test model for wind direction check |
CheckWindSpeed | Test model for wind speed check |
ConvertRadiation | Test model for ConvertRadiation |
ConvertRelativeHumidity | Test model for converting relative humidity and checking its validity |
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 |
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.CheckCeilingHeight
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.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.CheckRadiation
Test model for CheckRadiation
Information
This example tests the model that constrains the radiation.
Extends from Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation (Test model for ConvertRadiation).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRelativeHumidity
Test model for CheckRelativeHumidity
Information
This example tests the model that constrains the relative humidity.
Extends from Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity (Test model for converting relative humidity and checking its validity).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckSkyCover
Test model for checking sky cover
Information
This example tests the model that constrains the sky cover.
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.CheckWindDirection
Test model for wind direction check
Information
This example tests the model that constrains the wind direction.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed
Test model for wind speed check
Information
This example tests the model that constrains the wind speed.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation
Test model for ConvertRadiation
Information
This example tests the model that converts radiation.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity
Test model for converting relative humidity and checking its validity
Information
This example tests the model that converts relative humidity.
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( ... | Longitude [rad] |
Angle | latitude | latitude( ... | Latitude [rad] |
Time | timeZone | timeZone( ... | 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( ... | 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.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).