PySDM
PySDM copied to clipboard
new tutorial: basics of parcel-model ODE system (with a readable minimalistic SciPy+pint solution)
closing and reopening to trigger rebuild against current main (where the updated devops_tests will detect the rendering problem with notebooks caused by buggy PyCharm version)
@bhiogade, thanks! Here are some comments:
- [x] there seem to be a clash between
saturated_vaporpressureandsaturated_vapor_pressure - [x] let's remove all unused variables (pylint will help)
- [ ]
total_multiplicityis the same asTOTAL_AEROSOL_NUMBER- worth removing for now for clarity? - [x] it would be beneficial to separate physical constants (e.g.,
g,R, etc) from model parameters (e.g.,updraft)
BTW
- [x] it seems that we do not really need to import
numpyhere - worth removing to keep it minimalistic as per the original idea - it should also help to make the code more readable (no morenp.asarray, etc); for defining output steps, we could replacenp.linspace(...)withnt = 40; dt_out = 5 * si.s; t=[(i*dt_out).to(si.s).magnitude for i in range(0, nt)]and then provide GUI sliders forntanddt_out