Package Modelica.​Blocks.​Tables.​Internal
Internal external object definitions for table functions that should not be directly utilized by the user

Information

This icon shall be used for a package that contains internal classes not to be directly utilized by a user.

Extends from Modelica.​Icons.​InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).

Package Contents

NameDescription
CombiTable2DBaseBase class for variants of CombiTable2D
getDerTable1DValueDerivative of interpolated 1-dim. table defined by matrix
getDerTable2DValueDerivative of interpolated 2-dim. table defined by matrix
getDerTimeTableValueDerivative of interpolated 1-dim. table where first column is time
getNextTimeEventReturn next time event value of 1-dim. table where first column is time
getTable1DAbscissaUmaxReturn maximum abscissa value of 1-dim. table defined by matrix
getTable1DAbscissaUminReturn minimum abscissa value of 1-dim. table defined by matrix
getTable1DValueInterpolate 1-dim. table defined by matrix
getTable1DValueNoDerInterpolate 1-dim. table defined by matrix (but do not provide a derivative function)
getTable2DAbscissaUmaxReturn maximum abscissa value of 2-dim. table defined by matrix
getTable2DAbscissaUminReturn minimum abscissa value of 2-dim. table defined by matrix
getTable2DValueInterpolate 2-dim. table defined by matrix
getTable2DValueNoDerInterpolate 2-dim. table defined by matrix (but do not provide a derivative function)
getTimeTableTmaxReturn maximum abscissa value of 1-dim. table where first column is time
getTimeTableTminReturn minimum abscissa value of 1-dim. table where first column is time
getTimeTableValueInterpolate 1-dim. table where first column is time
getTimeTableValueNoDerInterpolate 1-dim. table where first column is time (but do not provide a derivative function)
readTable1DDataRead table data from text or MATLAB MAT-file
readTable2DDataRead table data from text or MATLAB MAT-file
readTimeTableDataRead table data from text or MATLAB MAT-file

Partial Block Modelica.​Blocks.​Tables.​Internal.​CombiTable2DBase
Base class for variants of CombiTable2D

Parameters

TypeNameDefaultDescription
BooleantableOnFilefalse= true, if table is defined on file or in function usertab
Realtable[:,:]fill(0, 0, 2)Table matrix (grid u1 = first column, grid u2 = first row; e.g., table=[0, 0; 0, 1])
StringtableName"NoName"Table name on file or in function usertab (see docu)
StringfileName"NoName"File where matrix is stored
BooleanverboseReadtrue= true, if info message that file is loading is to be printed
SmoothnesssmoothnessModelica.​Blocks.​Types.​Smoothness.​LinearSegmentsSmoothness of table interpolation
ExtrapolationextrapolationModelica.​Blocks.​Types.​Extrapolation.​LastTwoPointsExtrapolation of data outside the definition range
BooleanverboseExtrapolationfalse= true, if warning messages are to be printed if table input is outside the definition range
final Realu_min[2]getTable2DAbscissaUmin(tableID)Minimum abscissa value defined in table
final Realu_max[2]getTable2DAbscissaUmax(tableID)Maximum abscissa value defined in table

Function Modelica.​Blocks.​Tables.​Internal.​readTimeTableData
Read table data from text or MATLAB MAT-file

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 
BooleanforceRead= true: Force reading of table data; = false: Only read, if not yet read.
BooleanverboseRead= true: Print info message; = false: No info message

Outputs

TypeNameDescription
RealreadSuccessTable read success

Function Modelica.​Blocks.​Tables.​Internal.​getTimeTableValue
Interpolate 1-dim. table where first column is time

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 
Integericol 
RealtimeIn 
RealnextTimeEvent 
Realpre_nextTimeEvent 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Blocks.​Tables.​Internal.​getTimeTableValueNoDer
Interpolate 1-dim. table where first column is time (but do not provide a derivative function)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 
Integericol 
RealtimeIn 
RealnextTimeEvent 
Realpre_nextTimeEvent 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Blocks.​Tables.​Internal.​getDerTimeTableValue
Derivative of interpolated 1-dim. table where first column is time

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 
Integericol 
RealtimeIn 
RealnextTimeEvent 
Realpre_nextTimeEvent 
Realder_timeIn 

Outputs

TypeNameDescription
Realder_y 

Function Modelica.​Blocks.​Tables.​Internal.​getTimeTableTmin
Return minimum abscissa value of 1-dim. table where first column is time

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 

Outputs

TypeNameDescription
RealtimeMinMinimum abscissa value in table

Function Modelica.​Blocks.​Tables.​Internal.​getTimeTableTmax
Return maximum abscissa value of 1-dim. table where first column is time

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 

Outputs

TypeNameDescription
RealtimeMaxMaximum abscissa value in table

Function Modelica.​Blocks.​Tables.​Internal.​readTable1DData
Read table data from text or MATLAB MAT-file

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable1DtableID 
BooleanforceRead= true: Force reading of table data; = false: Only read, if not yet read.
BooleanverboseRead= true: Print info message; = false: No info message

Outputs

TypeNameDescription
RealreadSuccessTable read success

Function Modelica.​Blocks.​Tables.​Internal.​getNextTimeEvent
Return next time event value of 1-dim. table where first column is time

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTimeTabletableID 
RealtimeIn 

Outputs

TypeNameDescription
RealnextTimeEventNext time event in table

Function Modelica.​Blocks.​Tables.​Internal.​getTable1DValue
Interpolate 1-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable1DtableID 
Integericol 
Realu 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Blocks.​Tables.​Internal.​getTable1DValueNoDer
Interpolate 1-dim. table defined by matrix (but do not provide a derivative function)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable1DtableID 
Integericol 
Realu 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Blocks.​Tables.​Internal.​getDerTable1DValue
Derivative of interpolated 1-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable1DtableID 
Integericol 
Realu 
Realder_u 

Outputs

TypeNameDescription
Realder_y 

Function Modelica.​Blocks.​Tables.​Internal.​getTable1DAbscissaUmin
Return minimum abscissa value of 1-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable1DtableID 

Outputs

TypeNameDescription
RealuMinMinimum abscissa value in table

Function Modelica.​Blocks.​Tables.​Internal.​getTable1DAbscissaUmax
Return maximum abscissa value of 1-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable1DtableID 

Outputs

TypeNameDescription
RealuMaxMaximum abscissa value in table

Function Modelica.​Blocks.​Tables.​Internal.​readTable2DData
Read table data from text or MATLAB MAT-file

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable2DtableID 
BooleanforceRead= true: Force reading of table data; = false: Only read, if not yet read.
BooleanverboseRead= true: Print info message; = false: No info message

Outputs

TypeNameDescription
RealreadSuccessTable read success

Function Modelica.​Blocks.​Tables.​Internal.​getTable2DValue
Interpolate 2-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable2DtableID 
Realu1 
Realu2 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Blocks.​Tables.​Internal.​getTable2DValueNoDer
Interpolate 2-dim. table defined by matrix (but do not provide a derivative function)

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable2DtableID 
Realu1 
Realu2 

Outputs

TypeNameDescription
Realy 

Function Modelica.​Blocks.​Tables.​Internal.​getDerTable2DValue
Derivative of interpolated 2-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable2DtableID 
Realu1 
Realu2 
Realder_u1 
Realder_u2 

Outputs

TypeNameDescription
Realder_y 

Function Modelica.​Blocks.​Tables.​Internal.​getTable2DAbscissaUmin
Return minimum abscissa value of 2-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable2DtableID 

Outputs

TypeNameDescription
RealuMin[2]Minimum abscissa value in table

Function Modelica.​Blocks.​Tables.​Internal.​getTable2DAbscissaUmax
Return maximum abscissa value of 2-dim. table defined by matrix

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
ExternalCombiTable2DtableID 

Outputs

TypeNameDescription
RealuMax[2]Maximum abscissa value in table