Error in data fitting in simbiology
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jesse Chao
le 9 Fév 2021
Modifié(e) : Arthur Goldsipe
le 10 Fév 2021
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.
0 commentaires
Réponse acceptée
Arthur Goldsipe
le 9 Fév 2021
Modifié(e) : Arthur Goldsipe
le 10 Fév 2021
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
Plus de réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Voir également
Catégories
En savoir plus sur Import Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!