getRealDer pure function
Requirements.Internal.CSV.getRealDer
ยท source
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
| Name | Type | Description |
|---|---|---|
file input | File | The file |
column input | Integer | Index into the realNames the file was opened with |
t input | Real | Current time |
nextTimeEvent input | Real | The block's nextTimeEvent |
preNextTimeEvent input | Real | pre(nextTimeEvent) |
der_t input | Real | der(t) |
Outputs
| Name | Type | Description |
|---|---|---|
der_y output | Real | Time derivative of the column at time t |