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

TypeNameDefaultDescription
RealRAir288.0Gas constant dry air
General › Location
Modelica.Units.SI.PressurepAirRef100000.0Static air pressure on reference height
Realgamma0.01Temperature gradient of the planetary boundary layer
Modelica.Units.SI.LengthzRefTAir2.0Reference height air temperature measurement

Components

TypeNameDefaultDescription
WeatherDataweatherData
BuildingSystems.Interfaces.Angle_degOutputlatitudeDegweatherData.latitudeDegLatitude
BuildingSystems.Interfaces.Angle_degOutputlongitudeDegweatherData.longitudeDegLongitude
BuildingSystems.Interfaces.Angle_degOutputlongitudeDeg0weatherData.longitudeDeg_0Longitude of the local time zone
Interfaces.Temp_KOutputTAirRefweatherData.tAirRef + 273.15Air temperature on reference height
Interfaces.Moisture_absOutputxAirBuildingSystems.Utilities.Psychrometrics.Functions.X_pSatpphi(BuildingSystems.Utilities.Psychrometrics.Functions.saturationPressure(weatherData.tAirRef + 273.15), 100000.0, weatherData.phiAir)Absolute moisture of ambient air
Interfaces.RadiantEnergyFluenceRateOutputIrrDirHorweatherData.IrrDirHorSolar beam radiation of horizontal surface
Interfaces.RadiantEnergyFluenceRateOutputIrrDifHorweatherData.IrrDifHorSolar diffuse radiation of horizontal surface
Interfaces.VelocityOutputvWindRefweatherData.vWindRefWind speed on reference height
Interfaces.Angle_degOutputangleDegWindRefweatherData.angleDegWindRefAngle of wind direction on reference height
Interfaces.Temp_KOutputTSkyBuildingSystems.Buildings.Functions.TSky(TAirRef, time, cloudCover/8.0, xAir, pAirRef, pGround)Sky temperature
Modelica.Blocks.Interfaces.RealOutputcloudCoverweatherData.cloudCoverCloud cover of the sky
Modelica.Units.SI.PressurepGroundpAirRef*((TAirRef - gamma*(0.0 - zRefTAir))/TAirRef)^(Modelica.Constants.g_n/(gamma*RAir))Air pressure on ground level

Contents

NameDescription
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.