(I) Current Source Statement
Define a current source either as constant DC source or by using specific parametrized functions. If you want to use a different source function, you can use (B) Function-Based Source Statement.
Iname pos neg <DC> dcvalue
Iname pos neg [function]
See Source Statement Functions for [function] syntax. If no function is specified, the source is treated as DC source with dcvalue=0.
Note
We do not support AC-related arguments in sources. Please use PLECS blocks for AC analysis.
We only support sources that provide either a dcvalue or a function. Some SPICE version allow to provide both simultaneously, which is equivalent to putting two sources in series.
Examples
I1 n 0 1
I2 n 0 SIN 0 1 50