WOLFRAM SYSTEM MODELER

getInterpolationCoefficients

Determine interpolation coefficients and next time event<br><br>This class is declared protected in <a href="Modelica.Blocks.Sources.TimeTable.html">Modelica.Blocks.Sources.TimeTable</a>

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Sources.TimeTable.getInterpolationCoefficients"]
Out[1]:=

Syntax

(a, b, nextEventScaled, next) = getInterpolationCoefficients(table, offset, startTimeScaled, timeScaled, last, TimeEps, shiftTimeScaled)

Inputs (7)

table

Type: Real[:,2]

Description: Table for interpolation

offset

Type: Real

Description: y-offset

startTimeScaled

Type: Real

Description: Scaled time-offset

timeScaled

Type: Real

Description: Actual scaled time instant

last

Type: Integer

Description: Last used lower grid index

TimeEps

Type: Real

Description: Relative epsilon to check for identical time instants

shiftTimeScaled

Type: Real

Description: Time shift

Outputs (4)

a

Type: Real

Description: Interpolation coefficient a (y=a*x + b)

b

Type: Real

Description: Interpolation coefficient b (y=a*x + b)

nextEventScaled

Type: Real

Description: Next scaled event instant

next

Type: Integer

Description: New lower grid index