blockLinearTimeTable
Generate a (possibly discontinuous) signal by linear interpolation in a table of (time,value) pairs
Extends from Interfaces.PartialConverters.InformationSource_SO (Generic Information Source), Icons.InterpolationTable (Icon for table functions).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The Real output y is found by linear interpolation in a time table → Modelica.Blocks.Sources.TimeTable.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | offset | 0 | Offset of output signal y |
| Time | startTime | 0 | Output y = offset for time < startTime |
| Real | data | [0, 0] | n x 2 matrix of time series data (t,u(t)) |
| Time | timeScale | 1 | Time scale of first table column (e.g., if first column is given in hours, then timeScale should be 3600) |
| Time | shiftTime | startTime | Shift time of first table column (timeTable.shiftTime) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) |