Skip to content

Piecewise Linear

Symbol

Description

Piecewise Linear Control Signal Source

The output of the piecewise linear control signal source model is controlled by pairs of time and output values defined in a matrix of dimension N x 2.

Each pair specifies the output value at a given time. At intermediate time values, the source value is determined by linear interpolation. The first and last output values are used for time points outside the defined range.

The data can also be imported from a .csv file using the "Load From File..." option.

Library

Control > Sources

Pins

Name Description
Out Output

Parameters

Name Description
TimeValueMatrix Matrix defining pairs of time and output values. Time points are stored in the first column and output values are stored in the second column.
SamplingTime -none or 0: No sampling. The system will be solved in the Newton loop (default).
-auto: Inherit the sampling time of its source device.
-Sampling Period: defined in seconds.