Lemonergy · Core equation
ideal_duration_hours
Calculate ideal full-capacity duration at constant C-rate.
- Implementation ID
ideal_duration_hours- Reviewed
- 2026-10-27
Behavior
C-rate must be finite and strictly positive. This is the ideal capacity/current relation without voltage limits or rate-dependent capacity.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
return | output | h | Scalar float or NumPy array following broadcasting. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
c ratec_rate | 1/h | Supplied by the user | Strictly positive rate. |
Equations and rules
t_h = 1 / C_rate_h^-1
Worked example
Compare ideal duration
At 0.5C ideal full-capacity duration is 2 h; at 2C it is 0.5 h.
Open the worked lesson →Use in a workflow
Compare ideal duration
Lemonergy Core evaluates this relation.
- ideal_duration_hours: Core equation
- Positive C-rate
Connected concepts
Limits and interpretation
- This excludes CV taper, cutoff, rate-dependent capacity and rest.
Implementation sources
This reference follows Lemonergy implementation sources. Scientific articles support the linked concepts separately.
Repository: battery-core · Revision: main
src/battery_core/capacity.py
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)