Piecewise Linear Current Source
Time-dependent current source from tabulated data.
Description
The Piecewise Linear Current Source block is a current source that is specified as a table using a vector of time values and a vector of corresponding current values. You must specify at least two pairs of time and current values. The block generates a time-dependent current based on these current values using the selected interpolation and extrapolation methods. You can select one of the two interpolation and extrapolation methods. The output current is independent of the voltage at the source terminals.
To prevent problems in numerical modelling, the block uses a small internal conductor. The conductor connects the + and - terminals of the unit and has a conductivity of GMIN:
By default, the value of GMIN is 1e-12 1/ohm
.
Ports
Conserving
#
+
—
positive terminal
Details
An electrical port connected to the positive terminal of a piecewise linear current source.
Program usage name |
|
#
-
—
negative terminal
Details
An electrical port connected to the negative terminal of a piecewise linear current source.
Program usage name |
|
Parameters
Parameters
#
Time specification —
vector of time values
d
| s
| hr
| ms
| ns
| us
| min
Details
A vector of time values in the form of a tabulated array. The vector of time values must be strictly monotonically increasing.
Values |
|
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
#
Current at specified time —
current vector
A
| MA
| kA
| mA
| nA
| pA
| uA
Details
The vector of current values as a tabulated array. The current value vector must be of the same dimension as the time value vector.
Values |
|
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
#
Interpolation method —
interpolation method
Linear
| Smooth
Details
Select the method the unit uses to determine output current values at intermediate time points not specified in the previous vectors:
-
Linear
- linear interpolation is used. -
Smooth
- smooth spline interpolation is used.
Values |
|
Default value |
|
Program usage name |
|
Evaluatable |
No |
#
Extrapolation method —
extrapolation method
Nearest
| Linear
Details
Select the method the unit uses to determine output current values at times outside the time range specified in the previous vectors:
-
Nearest
- set to use the nearest value for extrapolation. -
Linear
- set to use a linear function.
Values |
|
Default value |
|
Program usage name |
|
Evaluatable |
No |
# Include parallel conductance, GMIN — parallel conduction inclusion
Details
Indicate whether the current source includes parallel conduction. The value of parallel conductivity corresponds to GMIN and is equal to 1e-12 1/ohm
.
Default value |
|
Program usage name |
|
Evaluatable |
No |