Skip to content

using pchip instead of spline in load_OCP.m #12

Description

@picnicgrape

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions