-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Error trying to run LFP DFN model: "Could not find acceptable solution", "error above tolerance", "Could not find consistent states" #1325
Comments
The issue might be that the cathode and anode come from Prada 2013 and Chen 2020, respectively, but the initial concentrations are specified in the You can try playing around with the initial concentrations to see if you can find an initial starting concentration. Alternatively, if you want to simulate an LFP & graphite battery and you know a good dataset for it, you could implement it yourself to make sure the parameters are consistent. |
Yes, that is exactly the problem. This isn't showing up in the error message, but the root-finder is returning NaNs because in the exchange-current density Unless there is a particular reason for choosing this combination of parameters (is there?), I would suggest just sticking with Short-term fixes we need to do are:
Longer term fix is to provide the initial SOC instead of the initial concentrations, with automatic calculation of initial concentrations based on initial SOC and voltage limits. This is in line with some longer-term development goals but won't be done for several months at least. |
Thank you both, I didn't realise initial concentrations were defined in experiments. I was trying to compare the LFP to the Chen and Marquis cathodes so trying to keep as much of the rest of the cell e.g. the graphite anode constant (using Chen2020). Same with electrolyte etc. |
…sages #1325 add error messages
When trying to solve a DFN model with the LFP_Prada2013 cathode and Li-ion parameter sets I get the following error:
Also doesn't seem to make sense as the error 10^-15 is less than 10^-6?
My code:
The text was updated successfully, but these errors were encountered: