Skip to content
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

using pchip instead of spline in load_OCP.m #12

Open
dainjungdev opened this issue Feb 7, 2024 · 0 comments
Open

using pchip instead of spline in load_OCP.m #12

dainjungdev opened this issue Feb 7, 2024 · 0 comments

Comments

@dainjungdev
Copy link

pchip and spline both generate cubic polynomials.
Spline works better with smooth data. But using spline can cause abnormal voltage values outside the range(2.5-4.2V) around boundary points(around SOC = 0, SOC = 1). pchip(Piecewise Cubic Hermite Interpolating Polynomial) has no overshoots/less oscillations, so I think it is more suitable when fitting a monotonic function like SOC vs Voltage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant