modelTemperature_Hamburg_Fuhlsbuettel_172800s_2012
Extends from GenericDataTable (Parameterized version of MSL's CombiTimeTable. See Examples.Basics.GenericTable_How_to for explanation), TransiEnt.Components.Boundaries.Ambient.Base.PartialTemperature (Model for creating an output for partial temperature).
Information
1. Purpose of model
Ambient temperature in Hamburg in the year 2012 with 48 hours time resolution.
Data from Hamburg Fuhlsbuettel (Lattitude: 53.633 ; Longitude: 9.988 ; station height: 11m)
This profile was created by creating 48 hour averages from the 60 minute values provided by [1]. Missing values were substituted by interpolated values between the values at the extremes of the missing intervals.
2. Level of detail, physical effects considered, and physical insight
(Description)
3. Limits of validity
(Description)
4. Interfaces
Modelica RealOutput: y[MSL_combiTimeTable.nout]
Modelica RealOutput: y1
Modelica RealOutput: temperature in degree Celsius
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
(none)
8. Validation
(no validation or testing necessary)
9. References
[1] DeutscherWetterDienst DWD2015, https://werdis.dwd.de
10. Version History
Model created by Ricardo Peniche (peniche@tuhh.de), Oct 2016
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | complete_relative_path (from GenericDataTable) | Functions.fullPathName(Modelica.Utilities.System.getEnvironmentVariable(environment_variable_name) + relativepath) | |
| String | genericFileName (from GenericDataTable) | if use_absolute_path then absolute_path else complete_relative_path | |
| Basics | |||
| String | tableName (from GenericDataTable) | "default" | Table name on file or in function usertab (see docu) |
| Boolean | multiple_outputs (from GenericDataTable) | false | If set true multiple outputs are enabled (but useage of MultiSum block will fail) |
| Integer[:] | columns (from GenericDataTable) | 2:size(MSL_combiTimeTable.table, 2) | columns of table to be interpolated (*** has to be modified before usage! ***) |
| Boolean | change_of_sign (from GenericDataTable) | false | Change sign of output signal relative to table data |
| Data location | |||
| DataPrivacy | datasource (from GenericDataTable) | DataPrivacy.isPublic | Source of table data |
| String | environment_variable_name (from GenericDataTable) | if datasource == DataPrivacy.isPublic then Types.PUBLIC_DATA else Types.PRIVATE_DATA | |
| String | relativepath (from GenericDataTable) | "" | Path relative to source directory |
| Boolean | use_absolute_path (from GenericDataTable) | false | Should only be used for testing purposes |
| String | absolute_path (from GenericDataTable) | "" | |
| Advanced › table data interpretation | |||
| Real | constantfactor (from GenericDataTable) | 1.0 | Multiply output with constant factor |
| Modelica.Blocks.Types.Smoothness | smoothness (from GenericDataTable) | simCenter.tableInterpolationSmoothness | Smoothness of table interpolation |
| Modelica.Blocks.Types.Extrapolation | extrapolation (from GenericDataTable) | Modelica.Blocks.Types.Extrapolation.LastTwoPoints | Extrapolation of data outside the definition range |
| Real[:] | offset (from GenericDataTable) | {0} | Offsets of output signals |
| SI.Time | startTime (from GenericDataTable) | 0 | |
| Table data interpretation | |||
| Modelica.Units.SI.Time | shiftTime (from GenericDataTable) | startTime | Shift time of first table column |
| Modelica.Blocks.Types.TimeEvents | timeEvents (from GenericDataTable) | Modelica.Blocks.Types.TimeEvents.AtDiscontinuities | Time event handling of table interpolation |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput[MSL_combiTimeTable.nout] | y (from GenericDataTable) | ||
| Modelica.Blocks.Interfaces.RealOutput | y1 (from GenericDataTable) | ||
| TransiEnt.Basics.Interfaces.General.TemperatureCelsiusOut | value (from PartialTemperature) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter (from GenericDataTable) | ||
| Modelica.Blocks.Sources.CombiTimeTable | MSL_combiTimeTable (from GenericDataTable) | ||
| Modelica.Blocks.Math.Gain[MSL_combiTimeTable.nout] | sign_changer (from GenericDataTable) |