Lemonergy · Core equation

current_from_c_rate

Convert a nominal capacity and C-rate into a current magnitude.

Implementation ID
current_from_c_rate
Reviewed
2026-10-27

Behavior

Accepts finite scalar or broadcastable array inputs. Capacity must be positive and C-rate nonnegative; zero represents rest.

Interface

current_from_c_rate interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.current_from_c_rateCore equationnominal_capacity_ahc_ratereturn
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
returnoutputAScalar 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
nominal capacity ah
nominal_capacity_ah
AhSupplied by the userPositive nominal capacity.
c rate
c_rate
1/hSupplied by the userNonnegative rate magnitude.

Equations and rules

  • I_A = Q_Ah * C_rate_h^-1

Worked example

Convert C-rate into current

A 5 Ah cell at 0.5C corresponds to 2.5 A. At 2C it corresponds to 10 A.

Open the worked lesson →

Use in a workflow

Convert C-rate into current

Lemonergy Core evaluates this relation.

  1. current_from_c_rate: Core equation
    • Capacity (Ah)
    • C-rate (1/h)
Open the worked lesson

Connected concepts

Limits and interpretation

  • Current magnitudes do not establish safe charge rates.

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)