Constant current

electrical.constant_current

Ideal source that drives the current I. Positive current flows through the source from p to n.

Ports

NameDomain
pelectrical
nelectrical

Parameters

NameUnitDefaultDescription
IA1Current from p to n

Variables

NameUnit
vV
iA

Equations

v = p.v - n.v
0 = p.i + n.i
i = p.i
i = I