Skip to main content
Fit From File

Query Parameters

num_rcs
integer
default:2
Required range: 0 <= x <= 5
fit_ocv
boolean
default:true
initial_soc
number | null
Required range: 0 <= x <= 1
capacity
number | null
Required range: x > 0
regularization
number
default:0

Smoothness-prior strength on R0/RC curves (never OCV). scale = 5 / regularization; 0 disables the prior. Defaults to 0 (off).

Required range: x >= 0
ocv_soc_curve
string | null

JSON-encoded OcvSocCurve, e.g. {"soc": [...], "ocv": [...]}. When provided OCV-fitting is skipped and OCV is interpolated from the curve.

bounds_capacity
string | null

JSON-encoded CapacityBounds, e.g. {"lo": 0.5, "hi": 5.0}. Providing this (with ocv_soc_curve and no capacity) opts in to fitting capacity; without it capacity is coulomb-count estimated.

num_knots
integer | null
Required range: 1 <= x <= 64
num_knots_r0
integer | null
Required range: 1 <= x <= 64
knot_schedule
string | null

JSON-encoded list[int], e.g. [2,4,8].

clamp_boundary_knots
boolean
default:true

Clamp boundary R0/alpha/beta knot values to interior neighbours. Set False when building R_rc symbolically downstream.

clamp_max_ratio
number
default:10

Body

multipart/form-data
file
string
required

Response

Successful Response