Error while interpolating OCV data #2093
-
Hello, I am trying to specify positive electrode open circuit potential as data followed by interpolation command as suggested in #1848 . But, Casadi linear solver is failing. But, when I use it's corresponding expression, it just works good. Can someone help me how to use OCV data instead of expression because it is not possible to fit data to an expression in all the cases. I having the following error message This is how I added OCV data Also attaching the code(change the extension from .txt to .py) for the reference. any inputs will be very helpful. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to resolve the issue by specifying the interpolator. When I use the following command it works |
Beta Was this translation helpful? Give feedback.
I was able to resolve the issue by specifying the interpolator. When I use the following command it works
Up = pb.Interpolant(sto_ref, ocpp_ref, sto,interpolator='linear')