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
| Type | Name | Default | Description |
|---|---|---|---|
| Location Properties | |||
| Real | Latitude | 52.517 | latitude of location |
| Real | Longitude | 13.400 | longitude of location |
| Real | GroundReflection | 0.2 | ground reflection coefficient |
| Properties of Weather Data | |||
| Real | DiffWeatherDataTime | 1 | difference between weather data time and UTC, e.g. +1 for CET |
| String | tableName | "wetter" | table name on file or in function usertab |
| String | fileName | "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) |
| Integer | smoothNess | 0 | = 0/1 linear/spline interpolation of table data |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | TempOut | ||
| Modelica.Blocks.Interfaces.RealOutput | MoistOut | ||
| Modelica.Blocks.Interfaces.RealOutput | PressOut | ||
| Modelica.Blocks.Interfaces.RealOutput | WindSpeedOut | ||
| Interfaces.oc_total_rad | oc_total_rad |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Sun | Sun1 | ||
| RadOnTiltedSurf | RadOnTiltedSurf_east | ||
| Modelica.Blocks.Sources.CombiTimeTable | WeatherData | ||
| RadOnTiltedSurf | RadOnTiltedSurf_north | ||
| RadOnTiltedSurf | RadOnTiltedSurf_south | ||
| RadOnTiltedSurf | RadOnTiltedSurf_west | ||
| RadOnTiltedSurf | radOnTiltedSurf_horizontal | ||
| Modelica.Blocks.Math.Gain | ConvertToKg_Kg | ||
| Modelica.Blocks.Routing.DeMultiplex6 | DeMultiplex6 | ||
| Modelica.Blocks.Math.Gain | ConvertToPa |
Revisions
- March 14, 2005
by Timo Haase:
Implemented.