Piecewise linear current source
Modelica Standard Library
The I_pwl component models a current source defined by linear interpolation from a given table. The time points and current values are stored in a matrix table[i,j], where the first column contains the time points and the second column contains the current to be interpolated. The table interpolation has the following properties:
The time points need to be monotonically increasing.
Discontinuities are allowed, by providing the same time point twice in the table.
Values outside of the table range, are computed by extrapolation through the last or first two points of the table.
If the table has only one row, no interpolation is performed and the current value is just returned independently of the actual time instant, i.e., this is a constant current source.
The table is implemented in a numerically sound way by generating time events at interval boundaries. This generates continuously differentiable values for the integrator.
Voltage drop between the two pins vp−vn
Current flowing from pin p to pin n
[0,0; 1,1; 2,4]
Table matrix (time = first column, voltage = second column)
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
Spice3 Current Sources
Download Help Document
What kind of issue would you like to report? (Optional)