modelTimeTable
Look-up table for time dependent signals with linear/periodic extrapolation
Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nout (from MO) | 1 | Number of outputs |
| Boolean | readFromFile | false | false = Read before compilation |
| String | fileName | "" | File name |
| String[:] | datasetNames | fill("", 1) | Dataset names |
| String[:] | datasetUnits | fill("", size(datasetNames, 1)) | Dataset units |
| String | scaleUnit | "" | Scale unit |
| Modelica.Blocks.Types.Smoothness | smoothness | Modelica.Blocks.Types.Smoothness.LinearSegments | Smoothness of table interpolation |
| Modelica.Blocks.Types.Extrapolation | extrapolation | Modelica.Blocks.Types.Extrapolation.LastTwoPoints | Extrapolation of data outside the definition range |
| Real[:] | offset | fill(0, nout) | Offsets of output signals |
| Modelica.Units.SI.Time | startTime | 0 | Output = offset for time < startTime |
| Modelica.Units.SI.Time | shiftTime | startTime | Shift time of first table column |
| Modelica.Blocks.Types.TimeEvents | timeEvents | Modelica.Blocks.Types.TimeEvents.AtDiscontinuities | Time event handling of table interpolation |
| Boolean | verboseExtrapolation | 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 |