Voltage sensor

electrical.voltage_sensor

Outputs the voltage of p over n in V. Draws no current.

Ports

NameDomainDirection
pelectrical
nelectrical
ysignalout

Equations

p.i = 0
n.i = 0
y = p.v - n.v