functiongetTableLambdaByInterval
Calculate scaled table by lower and upper limits
Extends from Modelica.Icons.Function (Icon for functions).
Information
Evaluate table from the uncertainty matrix
by a convex combination utilizing attribute lambda.
Hereby, the matrix uncertainty contains
- col. 1: grid values,
- col. 2: vector of nominal values,
- col. 3: vector of lower limits and
- col. 4: vector of upper limits.
The convex combination is defined for the Real lambda in a way that
-
λ = −1 results in
table[:, 2]=uncertainty[:, 3], -
λ = 0 results in
table[:, 2]=uncertainty[:, 2]and -
λ = 1 results in
table[:, 2]=uncertainty[:, 4].
This function is called in Table1D to evaluate "table[i,j]". For further details, refer to User's Guide – "Convex scaling by uncertain parameter λ".
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | lambda | Convex scaling between -1 and 1 (=0: nominal) | |
| Real[:,4] | uncertainty | Table uncertainty (x, y, yL, yU) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[size(uncertainty, 1),2] | table | Value of table |