blockWeatherDataReader
Weather data reader
Information
This model calculates weather data files from different formats (netCDF, ASCII).
Under BuildingSystems.Resources.Scripts.WeatherDataConverter you will find a short guide, which describes a Python based generation of NetCDF files for this weather data reader.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | RAir | 288.0 | Gas constant dry air |
| General › Location | |||
| Modelica.Units.SI.Pressure | pAirRef | 100000.0 | Static air pressure on reference height |
| Real | gamma | 0.01 | Temperature gradient of the planetary boundary layer |
| Modelica.Units.SI.Length | zRefTAir | 2.0 | Reference height air temperature measurement |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| WeatherData | weatherData | ||
| BuildingSystems.Interfaces.Angle_degOutput | latitudeDeg | weatherData.latitudeDeg | Latitude |
| BuildingSystems.Interfaces.Angle_degOutput | longitudeDeg | weatherData.longitudeDeg | Longitude |
| BuildingSystems.Interfaces.Angle_degOutput | longitudeDeg0 | weatherData.longitudeDeg_0 | Longitude of the local time zone |
| Interfaces.Temp_KOutput | TAirRef | weatherData.tAirRef + 273.15 | Air temperature on reference height |
| Interfaces.Moisture_absOutput | xAir | BuildingSystems.Utilities.Psychrometrics.Functions.X_pSatpphi(BuildingSystems.Utilities.Psychrometrics.Functions.saturationPressure(weatherData.tAirRef + 273.15), 100000.0, weatherData.phiAir) | Absolute moisture of ambient air |
| Interfaces.RadiantEnergyFluenceRateOutput | IrrDirHor | weatherData.IrrDirHor | Solar beam radiation of horizontal surface |
| Interfaces.RadiantEnergyFluenceRateOutput | IrrDifHor | weatherData.IrrDifHor | Solar diffuse radiation of horizontal surface |
| Interfaces.VelocityOutput | vWindRef | weatherData.vWindRef | Wind speed on reference height |
| Interfaces.Angle_degOutput | angleDegWindRef | weatherData.angleDegWindRef | Angle of wind direction on reference height |
| Interfaces.Temp_KOutput | TSky | BuildingSystems.Buildings.Functions.TSky(TAirRef, time, cloudCover/8.0, xAir, pAirRef, pGround) | Sky temperature |
| Modelica.Blocks.Interfaces.RealOutput | cloudCover | weatherData.cloudCover | Cloud cover of the sky |
| Modelica.Units.SI.Pressure | pGround | pAirRef*((TAirRef - gamma*(0.0 - zRefTAir))/TAirRef)^(Modelica.Constants.g_n/(gamma*RAir)) | Air pressure on ground level |
Contents
| Name | Description |
|---|---|
| WeatherData |
Revisions
-
August 23, 2018 by Christoph Nytsch-Geusen:
ASCII file format introduced. -
June 14, 2018 by Christoph Nytsch-Geusen:
Individual weather data outputs introduced. -
May 23, 2015 by Christoph Nytsch-Geusen:
First implementation.