Skip to content
Documentation sections

Battery Charge Time Calculator

POSThttps://rftools.io/api/py/v1/calculate

Slug battery-charge-time. Calculate Li-ion battery charge time using CC/CV method, including CC phase duration, total charge time, energy input, and charging efficiency

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of battery-charge-time
NameUnitRangeDefaultDescription
capacitynumbermAhat least 13000Rated battery capacity in mAh
chargeCurrentCnumberC0.1 … 41Charge current as a multiple of battery capacity (1C = full capacity in 1 hour)
initialSocnumber%0 … 9920Initial State of Charge
targetSocnumber%1 … 10080Target State of Charge
chargingVoltagenumberVat least 0.14.2Terminal voltage during charging
battVoltagenumberVat least 0.13.7Nominal battery voltage for energy calculation
requiredTimenumberhrat least 0.013The time the charge must finish in. 3 h is the upper end of a full Li-ion charge at 0.5C to 1C (Battery University BU-409: about 2–3 hours)

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of battery-charge-time
FieldUnitDescription
chargeTimeheadlinehrTotal Charge Time
ccTimehrCC Phase Time
chargeCurrentmACharge Current
energyInmWhEnergy Input
chargingEfficiency%Charging Efficiency

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.