Equivalent-circuit model of a lead-acid battery
Important: The Lead Acid battery model has been deprecated.
The EquivCircuit.LeadAcid component is an equivalent-circuit model of a lead-acid battery; see the following figure.
The capacity of a cell can either be a fixed value, CA, or be controlled via an input signal, Cin, if the use capacity input box is checked.
State of Charge
A signal output, soc, gives the state-of-charge of the battery, with 0 being fully discharged and 1 being fully charged.
The parameter SOCmin sets the minimum allowable state-of-charge; if the battery is discharged past this level, the simulation is either terminated and an error message is raised, or, if the allow overdischarge parameter is true, a warning is generated. A similar effect occurs if the battery is fully charged so that the state of charge reaches one; the simulation is terminated unless allow overcharge is true.
The parameter SOC0 assigns the initial state-of charge of the battery.
State of charge [0..1]
Sets capacity of cell, in ampere hours; available when use capacity input is true
Sets resistance of cell, in ohms; available when use cell resistance input is true
Internal temperature of battery
Current into battery
Voltage across battery
Number of cells, connected in series
Capacity of cell; available when use capacity input is false
Initial state-of-charge [0..1]
Minimum allowable state-of-charge
Fixed cell resistance, if use cell resistance input is false
True allows simulation to continue with 1<SoC
True allows simulation to continue with SoC<SoCmin
use capacity input
True allows enables the Cin input port
use cell resistance input
True allows enables the Rin input port
expoly array for series resistance
expoly array for short time-constant resistance
expoly array for short time-constant duration
An exponential-polynomial (expoly) is a polynomial with an exponential term included. Its coefficients are given by a one-dimensional array, k, such that ⅇxpoly⁡k,soc=k1⁢ⅇxp⁡k2⁢soc+k3+k4⁢soc+k5⁢soc2+⋯.
 Chen, M. and Rincón-Mora, G.A., Accurate electrical battery model capable of predicting runtime and I-V performance, IEEE Transactions of Energy Conversion, Vol. 21, No. 2, 2006.
Battery Library Overview
Equivalent Circuit Overview
Download Help Document