-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN returned in total biomass log due to default biomass parameters #53
Comments
This is due to the default convective-diffusion parameters causing huge amounts of biomass. For setting convective-diffusion, there are the four sets of "example" parameters throughout the code/documentation, but I can't figure out how these 4 parameters map to the biomass propagation equations described in the Protocols paper supplement. I also wasn't sure about units - e.g. do the values need to be modified if I change my "spaceWidth" parameter? Default function parameters
Round colony: https://segrelab.github.io/comets-manual/circular_colony/
Branching colony: https://segrelab.github.io/comets-manual/branching_colony/
Petri dish: https://segrelab.github.io/comets-manual/petri_dish/
|
Reducing the convDiffConstant parameter to "2.e-6" helped to prevent the expansion of growing biomass. The default non-growing biomass diffusion parameter of "flowDiffRate" of 1e7 also became activated when switching biomass styles - it seems this allowed microbes to increase in biomass even if their biomass had an upper bound of zero? I couldn't figure out the effect of the packedDensity and elasticModulus parameters. Should a lower packedDensity result in more compact growth, and a higher value result in branching growth? I think it would be useful to give a warning when the biomassMotionStyle is changed from the default, perhaps with a link to example parameters & explanations. |
Follow up question on these 2D convection parameters, and the flowDiffRate: Should varying the biomass diffusion parameters have any effect for a 1x1 grid layout, or should they only affect biomass spreading between multiple grid cells? |
Total biomass log contains values of "NaN" for every model, partway through a simulation, and results/errors didn't return to sim.run_output. Happened after changing the biomassMotionStyle to "Convection 2D" (without changing default convection parameters).
The text was updated successfully, but these errors were encountered: