Closed kdarafsh closed 5 years ago
Looks like this change causes the following tests to fail: "UKF Step for Battery" and "Battery State Eqn". Given the nature of the change, I'm inclined to think the proper course of action is to update the tests to accept the new values.
Agreed! @kdarafsh has also confirmed that with these changes the output of the model matches that of the battery model in the Matlab PrognosticsModelLibrary
The model would become unstable due to incorrectly computed positive surface mole fraction.