sharpie7 / circuitjs1

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

plot: AC source average power missing #567

Closed jfcg closed 3 years ago

jfcg commented 3 years ago

In the simulator:

pfalstad commented 3 years ago

It comes back if you speed up the plot (change the horizontal scale to 5 ms/div or turn the mouse wheel down slightly). The problem is that the simulator is trying to average over one cycle and it's apparently having trouble identifying the cycles when the speed is too slow. If you speed it up, the data has higher resolution so it's easier to figure out what's going on.