Closed Nancy-Salpepi closed 5 months ago
@Nancy-Salpepi and I collaborated on this. We decided that if the opening in the top of the container is < 1500 pm, then the lid should blow off. For openings >= 1500 pm, it feels like the opening is large enough for particles to escape fast enough that the structural integrity of the container is not compromised, and the pressure comes down at a reasonable rate. We tested with a variety of container widths, and this threshold felt good. Implemented in https://github.com/phetsims/gas-properties/commit/a690e505c743c4de2fc07c7099e8720006c00dc7.
Back to @Nancy-Salpepi for review, close if OK.
Looks great! Thanks @pixelzoom.
Closing.
Test device MacBook Air M1 chip
Operating System 14.5
Browser Safari 17.5
Problem description On the first 3 screens, it is possible to blow a lid that is already opened. This behavior also happens in published.
From @arouinfar on slack:
Steps to reproduce Energy Screen:
Ideal Screen:
Visuals
https://github.com/phetsims/gas-properties/assets/87318828/d5a06308-90d9-404b-93f7-1915b3417632
https://github.com/phetsims/gas-properties/assets/87318828/84364db2-3d3a-441e-bc55-9995bdaaae76