Constant voltage

electrical.constant_voltage

Ideal source that holds the voltage between p and n.

Ports

NameDomain
pelectrical
nelectrical

Parameters

NameUnitDefaultDescription
VV1Voltage of p over n

Variables

NameUnit
vV
iA

Equations

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