-
Notifications
You must be signed in to change notification settings - Fork 48
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
Invalid Parametrization #22
Comments
Hello, unfortunately for complex systems of DAEs like LIONSIMBA, the computation of CICs is derived numerically as it is extremely complex to identify all of them by hand / analytically. |
Yes, the CICs can be obtained only by numerical methods. I do not wish to calculate the CICs, but derive certain parametric constraints FOR which the CICs would be successfully calculated. Also, unlike the Another set of errors that appear are Error using idm Error using idm What could be the reasons for the mentioned errors? Are all of these linked to invalid parametrization alone? What is even more puzzling is that for certain test cases, the code ends up giving an error for one or two and works fine for the others, of the first 4 C Rates (1C,2C,3C,4C). |
Yes, that's a parameterization error. The model can't work with generic set of parameters, as some configurations may "break" the equations, by making them either very difficult to be solved, or not solvable at all by the numerical solver. |
When I tested the "mainCore function" in the startSimulation.m,I met a problem with function |
what variables are included in the initialState as the input of startSimulation1(t0,tf,initialState,input_density,startParameters)? |
Based on the description of the error you are getting, it appears to be something related to the setup of the numerical solver (i.e., IDAS). I would suggest to uninstall and re-install Sundials based on the guides proposed on the Wiki.
You can check in the |
When Sundials calculates for the consistent initial conditions (CICs), sometimes, it happens so that the parametrization turns out to be invalid and IDA returns an error. What exactly are the parameter constraints to ensure that this error does not appear ie. is it possible to hand-calculate and estimate the parametric conditions to be satisfied?
The text was updated successfully, but these errors were encountered: