Ideal op-amp

electrical.ideal_opamp

Op-amp with infinite gain: the inputs draw no current and sit at the same voltage. The output current returns through gnd. Use it with negative feedback.

Ports

NameDomain
inpelectrical
innelectrical
outelectrical
gndelectrical

Equations

inp.i = 0
inn.i = 0
inp.v = inn.v
0 = out.i + gnd.i