Question about intent to truncate simulation result #247
-
Hi @himoto biomass/biomass/dynamics/signaling_systems.py Lines 105 to 116 in 2ad16db |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When solving ODE numerically, sometimes we get infinitesimal value as a solution, e.g., 1e-308, although it should be zero. |
Beta Was this translation helpful? Give feedback.
When solving ODE numerically, sometimes we get infinitesimal value as a solution, e.g., 1e-308, although it should be zero.
This causes a problem when normalizing simulation results and
_preprocessing
can help avoid such problems.It converts values to zeros only when all time-course values are smaller than
sys.float_info.epsilon
. Even if you delete this process and get something "ideal", the solution might be very sensitive to small changes in parameter values, and therefore I strongly recommend that you do not delete the process.