phetsims / faradays-electromagnetic-lab

"Faraday's Electromagnetic Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 0 forks source link

Flux Calculation Model for Generator Screen #170

Closed kathy-phet closed 4 months ago

kathy-phet commented 4 months ago

We added a new rule for the Pickup Coil screen to address challenges with getting qualitatively good behavior for the change in flux model when you increase/decrease the coil area under different scenarios.

However, this leads to funny behavior on the generator screen as seen in these snapshots: image image image

The "area" multiplier rectangles are updating as you change the coil area, and so the width of the area depends on the magnet position at the moment they are set. Vertical magnet --> everything narrow; Horizontal magnet --> as in Pickup Coil.

We will need to consider for this specific case, what we want to show exactly.

My first instinct: Since on this screen you CANNOT actually move the magnet through the coil, I suggest we just use what we had originally with the coil areas. We don't have the issue with the discontinuity we were seeing close to the bar magnet since that was just when passing it through. In this dev version: https://phet-dev.colorado.edu/html/faradays-electromagnetic-lab/1.0.0-dev.28/phet/faradays-electromagnetic-lab_all_phet.html?dev Behavior looks good here to me, when I inspect the flux behavior stepping through.

pixelzoom commented 4 months ago

Since on this screen you CANNOT actually move the magnet through the coil, I suggest we just use what we had originally with the coil areas.

That's what I was going to suggest. Relatively easy, should take ~15 minutes. I'm out, but I'll try to get to it sometime today.

pixelzoom commented 4 months ago

@kathy-phet @arouinfar ready for review in main or https://phet-dev.colorado.edu/html/faradays-electromagnetic-lab/1.0.0-dev.30/phet/faradays-electromagnetic-lab_all_phet.html?dev

pixelzoom commented 4 months ago

@kathy-phet @arouinfar say this be closed.