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

TypeNameDefaultDescription
Integernin (from MISO)1Number of inputs
BooleanreadFromFiletrueRead data from file
Stringfilename""File name
Stringdataset""Dataset name
StringdataUnit""Data unit
String[nin]scaleUnitsfill("", nin)Scale units
SDF.Types.InterpolationMethodinterpMethodSDF.Types.InterpolationMethod.LinearInterpolation method
SDF.Types.ExtrapolationMethodextrapMethodSDF.Types.ExtrapolationMethod.NoneExtrapolation method
Real[:]data{0}Table data (as returned by readTableData())

Connectors

TypeNameDefaultDescription
RealInput[nin]u (from MISO)Connector of Real input signals
RealOutputy (from MISO)Connector of Real output signal

Contents

NameDescription
evaluateprotected