This information is part of the Modelica Standard Library maintained by the Modelica Association.

CombiTimeTable

Table look-up with respect to time and linear/perodic extrapolation methods (data from matrix/file)

Information
CONNECTORS
CLOSE ALL
NameTypeDescription
yRealOutput[nout]Connector of Real output signals
PARAMETERS
NameTypeDefault ValueDescription
noutIntegermax([size(columns, 1);size(offset, 1)])Number of outputs
tableOnFileBooleanfalse= true, if table is defined on file or in function usertab
tableRealfill(0.0, 0, 2)Table matrix (time = first column; e.g. table=[0,2])
tableNameString"NoName"Table name on file or in function usertab (see docu)
fileNameString"NoName"File where matrix is stored
columnsInteger2:size(table, 2)Columns of table to be interpolated
smoothnessSmoothnessModelica.Blocks.Types.Smoothness.LinearSegmentsSmoothness of table interpolation
extrapolationExtrapolationModelica.Blocks.Types.Extrapolation.LastTwoPointsExtrapolation of data outside the definition range
offsetReal{0}Offsets of output signals
startTimeTime0Output = offset for time < startTime
t_minRealMinimum abscissa value defined in table
t_maxRealMaximum abscissa value defined in table
p_offsetReal[nout]if size(offset, 1) == 1 then ones(nout)*offset[1] else offset
USED IN EXAMPLES
Modelica.Thermal.HeatTransfer.Examples.Motor
Second order thermal model of a motor
Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling
Rolling wheel set that is pulled by a force
Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke
Pull-in stroke of both solenoid models after a voltage step at time t=0