WRspice source specifications are completely general in that they allow arbitrary functional dependence upon circuit variables. However, for compatibility with previous versions of SPICE, the separate keying of independent and dependent sources is retained. WRspice allows circuits to contain dependent sources characterized by any of the four equations in the table below.
VCCS | i = g(v) | Voltage-Controlled Current Source |
VCVS | v = e(v) | Voltage-Controlled Voltage Source |
CCCS | i = f(i) | Current-Controlled Current Source |
CCVS | v = h(i) | Current-Controlled Voltage Source |
The functions g, e, f, and h represent transconductance, voltage gain, current gain, and transresistance, respectively.