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
| Name | Domain |
|---|---|
inp | electrical |
inn | electrical |
out | electrical |
gnd | electrical |
Equations
inp.i = 0 inn.i = 0 inp.v = inn.v 0 = out.i + gnd.i