pfalstad / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
1.64k stars 279 forks source link

I've discovered free energy! #55

Open mwoehlke-kitware opened 1 year ago

mwoehlke-kitware commented 1 year ago

Right. As we all know, there's no such thing as free energy. Conservation of energy is a harsh mistress.

Which is why this simple circuit, which contains no power source but generates infinite voltage, seems like it has to be a bug.

In case the link breaks, this is literally just an LM324 "Op Amp (real)" with its supply voltage pins connected together: image


I was trying to simulate this circuit (source), which relies on the current path through the IC to drain the caps when no voltage source is connected. Since that required a model for the inverter that includes simulation of the supply voltage, I was using the LM324 "Op Amp (real)". Suffice to say, the "phantom" voltage source in the LM324 model interfered with my simulation attempt.