getRealDer pure function

Requirements.Internal.CSV.getRealDer  ยท source

Icon of getRealDer

Time derivative of the i-th Real column at time t (the slope of the linear segment, the last segment's at the last row; zero outside the file's range)

Extends Modelica.Icons.Function

On the left side of an event (the bracket as in getReal) the slope of the segment ending at the event's first row; otherwise the slope of the segment starting at the last row at or before t; at the file's last row the slope of the segment ending there (or at the first row of a final event group), so a derived signal keeps its value in the final stored row of a run that reads the file to its end; zero outside the file's range, where the first / last row is held.

Inputs

NameTypeDescription
file inputFileThe file
column inputIntegerIndex into the realNames the file was opened with
t inputRealCurrent time
nextTimeEvent inputRealThe block's nextTimeEvent
preNextTimeEvent inputRealpre(nextTimeEvent)
der_t inputRealder(t)

Outputs

NameTypeDescription
der_y outputRealTime derivative of the column at time t