Closed KatieWoe closed 1 year ago
@ariel-phet because it completely freezes the sim and can break it, @Luisav1 will fix it for the prototype.
@ariel-phet disallow beta minus decay for U237 for the prototype by disabling the button. But bring this up in the design meeting because it could be confusing. @chrisklus or instead of does not form say does not form naturally and revert back to U237 after the beta decay. @ariel-phet or sim limit reached. Or add note in teacher tips that we're only showing isotopes that occur naturally.
Thanks @KatieWoe! This was fixed temporarily in the commit above by disabling the beta minus decay button for Uranium - 237. However, this is a temporary solution for the prototype and we plan to bring this to the design meeting, for a permanent solution.
Temporary fix looks good for version 1.0.0-rc.8. Keeping open for more permanent solution.
@Luisav1 and I updated the documentation. This seems like a reasonable "hollywooding", and we haven't received any complaints yet. We feel ready to close this issue. Let's confirm with @ariel-phet in case he has more ideas about this.
From design meeting today, let's try to not have this crash, and see if it is a problem with code, or if we need more design-based decision.
With this patch we were able to provide an experience in which we beta minus decay into Neptunium - 237, and then it says "does not form" before bringing us back to Uranium. This seems bad, but it is a start.
From here @Luisav1 will look up the actual decays for Neptonium to see if there is an easier, more graceful way of cutting off the number of protons at 93 instead of 92.
After some investigation, we could go up to 94 protons and 146 neutrons without needing to "hollywood" anything and cut off decays. This is visually shown in the chart below from where our original data is here.
The sim now goes up to 94 protons. We want to double check with @ariel-phet how this looks and works.
@ariel-phet and I discussed today at design meeting, and the plan sounds great! We will assign @ariel-phet once we play with it ourselves a bit.
@zepumph and I tested out the sim a bit when going up to 94 protons. @ariel-phet Could you please review the changes and let us know any thoughts you may have? Thanks!
Meeting with @ariel-phet, this new bound to 146 neutrons and 94 protons is a good stopping point. Closing.
Test device Dell Operating System Win 11 Browser Chrome Problem description For https://github.com/phetsims/qa/issues/823. It is possible to briefly make Neptunium-237 by beta- decaying Uranium-237. This isotope is listed as not forming, even though it does according to https://energyeducation.ca/simulations/nuclear/nuclidechart.html, it just isn't part of the sim. The sim then reverts to Uranium-237 and the sim completely freezes with the console error below. Steps to reproduce
Visuals
Troubleshooting information: