modelNDTable
N-dimensional lookup-table
Extends from Modelica.Blocks.Interfaces.MISO (Multiple Input Single Output continuous control block).
Information
The NDTable block is a multi-dimensional lookup-table (up to 32 dimensions) that supports various inter- and extrapolation methods.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin (from MISO) | 1 | Number of inputs |
| Boolean | readFromFile | true | Read data from file |
| String | filename | "" | File name |
| String | dataset | "" | Dataset name |
| String | dataUnit | "" | Data unit |
| String[nin] | scaleUnits | fill("", nin) | Scale units |
| SDF.Types.InterpolationMethod | interpMethod | SDF.Types.InterpolationMethod.Linear | Interpolation method |
| SDF.Types.ExtrapolationMethod | extrapMethod | SDF.Types.ExtrapolationMethod.None | Extrapolation method |
| Real[:] | data | {0} | Table data (as returned by readTableData()) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput[nin] | u (from MISO) | Connector of Real input signals | |
| RealOutput | y (from MISO) | Connector of Real output signal |
Contents
| Name | Description |
|---|---|
| evaluateprotected |