Skip to content

Piecewise Linear Current Source

Symbol

Description

Piecewise Linear Current Source

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

Each pair specifies the current value at a given time. At intermediate time values, the current value is determined by linear interpolation. The first and last current 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

Electrical > Sources

Pins

Name Description
P Positive Pin (●)
N Negative Pin

Parameters

Name Description
TimeValueMatrix Matrix defining pairs of time and output values. Time points are stored in the first column and current values are stored in the second column.