LinearTimeTableGenerate a (possibly discontinuous) signal by linear interpolation in a table of (time,value) pairs |
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.
offset |
Value: 0 Type: Real Description: Offset of output signal y |
---|---|
startTime |
Value: 0 Type: Time (s) Description: Output y = offset for time < startTime |
data |
Value: [0, 0] Type: Real[:,2] Description: n x 2 matrix of time series data (t,u(t)) |
timeScale |
Value: 1 Type: Time (s) Description: Time scale of first table column (e.g., if first column is given in hours, then timeScale should be 3600) |
shiftTime |
Value: startTime Type: Time (s) Description: Shift time of first table column (timeTable.shiftTime) |
y |
Type: RealOutput Description: Output signal |
---|
timeTable |
Type: TimeTable Description: Generate a (possibly discontinuous) signal by linear interpolation in a table |
---|