modelEvalPolynomial3
Evaluate cubic polynomial in time domain
Extends from Modelica.Blocks.Interfaces.SIMO (Single Input Multiple Output continuous control block).
Information
Evaluate a cubic polynomial p( u(t) )
and its derivatives in time domain. The output
vector y is composed as follows.
y[1] = c[1] * u(t)^3 + c[2] * u(t)^2 + c[3] * u(t) + c[4], y[2] = der(y[1]), y[3] = der(y[2]),
with
c[i] := coefficients[i].
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nout (from SIMO) | 1 | Number of outputs |
| Real[4] | coefficients | {1, 0, 0, 0} | Coefficients of cubic polynomial |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SIMO) | Connector of Real input signal | |
| RealOutput[nout] | y (from SIMO) | Connector of Real output signals |