Error in data fitting in simbiology

3 次查看(过去 30 天)
Hello,
When I run data fitting with my simbiology model, I saw this error pop up. However I am not sure what exacctly this error means.
I also try to simulate with my model, verify my model, check with my inital conditions and no error pop up.
Could you please tell me how to interpete this error message? And what is the potential problem may occure in my model?
Thank you very much.
Error using SimBiology.fit.internal.validateSimFunctionWithDoseInputs (line 53)
One or more simulations failed when using the initial values of estimated parameters. Check your model for errors or try different initial values for estimated parameters.
Error in SimBiology.fit.internal.FitObject/fit (line 202)
obj.SimFunctionDoseInputs = SimBiology.fit.internal.validateSimFunctionWithDoseInputs(obj.SimFunction, obj.Phi0, obj.Dosing, obj.OutputTimesCell, tfEmptyDose);
Error in sbiofit (line 298)
[varargout{1:nargout}] = fitObject.fit(modelObj, data, responseMap, estimInfo, varargin{:});
Caused by:
Error using SimBiology.fit.internal.validateSimFunctionWithDoseInputs (line 37)
Unable to complete simulation for input parameters [0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1] because:
CVODES returned -4 from module CVODES function CVode: At t = 0 and h = 1.46642e-11, the corrector convergence test failed repeatedly or with |h| = hmin.
Empty results have been returned for this simulation.

采纳的回答

Arthur Goldsipe
Arthur Goldsipe 2021-2-9
编辑:Arthur Goldsipe 2021-2-10
When you perform a fit in SimBiology, one of the first things that happens is the model is simulated using the initial parameter estimates you provide. If any of those simulations error, then you will get an error message like the one you are seeing.
The specific error you are seeing indicates the ODE solver could not proceed past time = 0. One way this could happen is if one of your model parameters has a non-finite value after evaluating all your assignment rules and initial doses (that is, inf for infinity or NaN for "not a number", which occurs when dividing 0 by 0).
To diagnose the problem, I suggest doing a separate simulation of the model using the doses you will use for fitting and the initial parameter estimate guesses you are providing for fitting. If you are still stuck and can share the model here or with Technical Support, we can help you diagose the problem.
UPDATE: I forgot to mention that the SimBiology Model Debugger is a very useful tool for debugging such simulation errors.
Good luck!
Arthur
  1 个评论
Jesse Chao
Jesse Chao 2021-2-10
Hello Arthur,
Thank you very much for your clear explanation. I have successfully solved this problem by identifying one of my reaction including a calculation of one number divided by 0.
I am really appreciated for your help.
Thank you. Take care.
Jesse

请先登录,再进行评论。

更多回答(0 个)

社区

更多回答在  SimBiology Community

类别

Help CenterFile Exchange 中查找有关 Import Data 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by