phetsims / capacitor-lab-basics

"Capacitor Lab: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 4 forks source link

Plate charge display weirdness? #282

Closed jonathanolson closed 3 years ago

jonathanolson commented 3 years ago

In master:

  1. Light Bulb (2nd) screen
  2. Battery to 1.5V: image
  3. Reduce Separation slightly: image

It looks like the plate charges disappear visually (and act like they disappear, since moving the switch to the light bulb doesn't discharge). Moving BACK to the battery fixes things.

So... things seem very broken in master. Am I wrong?

jonathanolson commented 3 years ago

I believe we were incorrectly adjusting the voltage on the light-bulb screen when it wasn't connected to the light bulb. I believe it should be fixed with the above. @arouinfar can you see how this is working on master?

arouinfar commented 3 years ago

@jonathanolson I can't reproduce the original issue in master, so I think this is safe to close.