spice_ev.loading_curve.LoadingCurve.get_section_boundary
- LoadingCurve.get_section_boundary(soc)
Find linear section where given SOC value is located.
- Parameters:
soc (numeric) – Find the section that contains this SOC.
- Returns:
Indicies of start and end points of linear section containing abovementioned SOC. First section if soc < 0, last section if soc > 1.
- Return type:
(int, int)