modelCombinedWeather

Simple integrated weather model

Information

The CombinedWeather model aggregates a Sun model, a TRY-file (test reference year) reader and four RadOnTiltedSurf models to compute total solar radiation (beam and diffuse) on vertical surfaces heading north, west, south and east. Additionally, it passes on the ambient temperature, humidity of the ambient air, and ambient air pressure from the TRY-file.

HINT: Use the demux_1x4 model to extract the four radiation scalars from the output vector.

Main Author:
Timo Haase
Technische Universtität Berlin
Hermann-Rietschel-Institut
Marchstr. 4
D-10587 Berlin
e-mail: timo.haase@tu-berlin.de

Parameters

TypeNameDefaultDescription
Location Properties
RealLatitude52.517latitude of location
RealLongitude13.400longitude of location
RealGroundReflection0.2ground reflection coefficient
Properties of Weather Data
RealDiffWeatherDataTime1difference between weather data time and UTC, e.g. +1 for CET
StringtableName"wetter"table name on file or in function usertab
StringfileName"TRY_Potsdam.dat"file where matrix is stored
Integer[:]columns{16, 15, 10, 12, 11, 9}columns of table to be interpolated, order: diffuse radiation, beam radiation, temperature, moisture, pressure, wind speed
Real[:]offset{0}Offsets of output signals
Integer[1]extrapolation{2}= 0/1/2 constant/last two points/periodic (same value for all columns)
IntegersmoothNess0= 0/1 linear/spline interpolation of table data

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputTempOut
Modelica.Blocks.Interfaces.RealOutputMoistOut
Modelica.Blocks.Interfaces.RealOutputPressOut
Modelica.Blocks.Interfaces.RealOutputWindSpeedOut
Interfaces.oc_total_radoc_total_rad

Components

TypeNameDefaultDescription
SunSun1
RadOnTiltedSurfRadOnTiltedSurf_east
Modelica.Blocks.Sources.CombiTimeTableWeatherData
RadOnTiltedSurfRadOnTiltedSurf_north
RadOnTiltedSurfRadOnTiltedSurf_south
RadOnTiltedSurfRadOnTiltedSurf_west
RadOnTiltedSurfradOnTiltedSurf_horizontal
Modelica.Blocks.Math.GainConvertToKg_Kg
Modelica.Blocks.Routing.DeMultiplex6DeMultiplex6
Modelica.Blocks.Math.GainConvertToPa

Revisions

  • March 14, 2005  by Timo Haase:
    Implemented.