modelCoolSetpoint
Schedule for cooling setpoint
Extends from Modelica.Blocks.Sources.CombiTimeTable (Table look-up with respect to time and various interpolation and extrapolation methods (data from matrix/file)).
Information
This block defines room air cooling setpoints.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nout (from MO) | 1 | Number of outputs |
| SI.Time | t_min (from CombiTimeTable) | t_minScaled*timeScale | Minimum abscissa value defined in table |
| SI.Time | t_max (from CombiTimeTable) | t_maxScaled*timeScale | Maximum abscissa value defined in table |
| Real | t_minScaled (from CombiTimeTable) | Internal.getTimeTableTmin(tableID) | Minimum (scaled) abscissa value defined in table |
| Real | t_maxScaled (from CombiTimeTable) | Internal.getTimeTableTmax(tableID) | Maximum (scaled) abscissa value defined in table |
| Table data definition | |||
| Boolean | tableOnFile (from CombiTimeTable) | false | = true, if table is defined on file or in function usertab |
| Real[:,:] | table (from CombiTimeTable) | fill(0.0, 0, 2) | Table matrix (time = first column; e.g., table=[0, 0; 1, 1; 2, 4]) |
| String | tableName (from CombiTimeTable) | "NoName" | Table name on file or in function usertab (see docu) |
| String | fileName (from CombiTimeTable) | "NoName" | File where matrix is stored |
| String | delimiter (from CombiTimeTable) | "," | Column delimiter character for CSV file |
| Integer | nHeaderLines (from CombiTimeTable) | 0 | Number of header lines to ignore for CSV file |
| Boolean | verboseRead (from CombiTimeTable) | true | = true, if info message that file is loading is to be printed |
| Table data interpretation | |||
| Integer[:] | columns (from CombiTimeTable) | 2:size(table, 2) | Columns of table to be interpolated |
| Modelica.Blocks.Types.Smoothness | smoothness (from CombiTimeTable) | Modelica.Blocks.Types.Smoothness.LinearSegments | Smoothness of table interpolation |
| Modelica.Blocks.Types.Extrapolation | extrapolation (from CombiTimeTable) | Modelica.Blocks.Types.Extrapolation.LastTwoPoints | Extrapolation of data outside the definition range |
| SI.Time | timeScale (from CombiTimeTable) | 1 | Time scale of first table column |
| Real[:] | offset (from CombiTimeTable) | {0} | Offsets of output signals |
| SI.Time | startTime (from CombiTimeTable) | 0 | Output = offset for time < startTime |
| SI.Time | shiftTime (from CombiTimeTable) | startTime | Shift time of first table column |
| Modelica.Blocks.Types.TimeEvents | timeEvents (from CombiTimeTable) | Modelica.Blocks.Types.TimeEvents.Always | Time event handling of table interpolation |
| Boolean | verboseExtrapolation (from CombiTimeTable) | false | = true, if warning messages are to be printed if time is outside the table definition range |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput[nout] | y (from MO) | Connector of Real output signals |
Revisions
-
June 16, 2017, by Jianjun Hu:
First implementation.