Closed KatieWoe closed 4 years ago
You're able to achieve a similar effect by changing the track geometry the skater is on while going over it. Instead of catching and, grab a track vertex as the skater is near it and alter its positioning, adding on to the thermal and total energy indefinitely.
From what i'm seeing here, the total/thermal energy seems to be increasing mostly when the track moves with the skater on it, with the increase in potential/thermal energy coming from elevated positions and friction. Possibly less of a bug and more a consequence of how the thermal energy is handled/unintended behavior?
@arouinfar @ariel-phet @samreid the report in https://github.com/phetsims/energy-skate-park-basics/issues/424#issue-340443387 is physically accurate because this is just adding more energy to the system indefinitely, right?
To prevent bars from leaving the panel, should we add arrows like in CL:B?
Or maybe there is another way to limit this somehow, like zeroing the velocity and thermal energy when dragging the track? Hmm, I don't like that very much, sounds too limiting.
From https://github.com/phetsims/energy-skate-park-basics/issues/424#issuecomment-404654163, I haven't been able to get the thermal energy to grow like that, just the total energy by adding lots of potential energy by dragging a control point up while the skater is moving.
EDIT: I think @EthanWJohnson may be describing #422.
It does seem similar to #422--I'll wait to hear from @ariel-phet before working on this.
@KatieWoe interesting find. I do not think the behavior in your screen capture is physically incorrect, though it certainly reveals a design flaw with the bar graph itself.
If I play with the sim in a window with a narrow aspect ratio, it's quite possible for the bars to go beyond the bounds of the panel, simply by dragging the skater to the top of the window. This looks messy to me, so I would be in favor of the CLB-like solution @jessegreenberg proposed.
@jessegreenberg @samreid I also think that @EthanWJohnson's https://github.com/phetsims/energy-skate-park-basics/issues/424#issuecomment-404654163 sounds like #422 to me.
Thanks @arouinfar. @ariel-phet is this an enhancement we should add in energy-skate-park, and defer for the upcomming LoL/PhET-iO release?
Unassigning myself while we await feedback from @ariel-phet.
@jessegreenberg @arouinfar yes, I agree we should add the CL:B style "off chart" arrows. I have reproduced this behavior, and certainly it is not incorrect physics as your are "pumping" energy into the system (I did the vertex control point moving). So I think the off the chart indicator is a nice solution.
Arrows to indicate energy beyond graph limis are in this sim now and they were necessary for energy-skate-park. Closing.
Test device: Dell Laptop Operating System: Windows 10 Browser: Chrome Problem description: Total and Thermal Energy can become very large by letting skater leave track then using track to catch her and launch her again. For phetsims/QA/issues/134 Likely connected to phetsims/energy-skate-park-basics/issues/422 and phetsims/energy-skate-park-basics#32 and phetsims/energy-skate-park-basics#418 Steps to reproduce:
Screenshots: Due to issues with the video maker I was unable to do as many iterations as I would like
Troubleshooting information (do not edit):