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

ideal_duration_hours interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.ideal_duration_hoursCore equationc_ratereturn
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
returnoutputhScalar float or NumPy array following broadcasting.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
c rate
c_rate
1/hSupplied by the userStrictly 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.

  1. ideal_duration_hours: Core equation
    • Positive C-rate
Open the worked lesson

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)