modelCombiTable2DExtra
Altered CombiTable2D with the option to not extrapolate
Extends from Modelica.Blocks.Interfaces.SI2SO.
Information
As the standard model for two dimensional tables (Modelica.Blocks.Tables.CombiTable2D) does not allow extrapolation to be disabled, this models presents a work around. Using a simple limiter, extrapolation can be switched on or off.
See Modelica.Blocks.Tables.CombiTable2D for further information on the used tables.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | extrapolation | true | False to hold last value |
| Modelica.Blocks.Types.Smoothness | smoothness | Modelica.Blocks.Types.Smoothness.LinearSegments | Smoothness of table interpolation |
| Real[:,:] | table | [0, 0] | Table matrix (grid u1 = first column, grid u2 = first row; e.g., table=[0,0;0,1]) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Tables.CombiTable2Ds | combiTable2D | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter1 | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter2 | ||
| Modelica.Blocks.Routing.RealPassThrough | realPassThrough2 | ||
| Modelica.Blocks.Routing.RealPassThrough | realPassThrough1 |
Revisions
-
November 26, 2018 by Fabian Wüllhorst:
First implementation (see issue #577)