LeadAcid (deprecated) - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Lead Acid(deprecated)

Equivalent-circuit model of a lead-acid battery

Important: The Lead Acid battery model has been deprecated.

 

Description

Connections

Variables

Basic Parameters

Circuit Parameters

References

Description

The EquivCircuit.LeadAcid component is an equivalent-circuit model of a lead-acid battery; see the following figure.

R0=expolyRout,soc

R1=expolyRtc1,soc

R2=expolyRtc2,soc

R1C1=expolyTtc1,soc

R2C2=expolyTtc2,soc

Capacity

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.

Connections

Name

Type

Description

Modelica ID

p

Electrical

Positive pin

p

n

Electrical

Negative pin

n

soc

Real output

State of charge [0..1]

soc

Cin

Real input

Sets capacity of cell, in ampere hours; available when use capacity input is true

Cin

Rin

Real input

Sets resistance of cell, in ohms; available when use cell resistance input is true

Rin

Variables

Name

Units

Description

Modelica ID

Tcell

K

Internal temperature of battery

Tcell

i

A

Current into battery

i

v

V

Voltage across battery

v

Basic Parameters

Name

Default

Units

Description

Modelica ID

Ncell

1

 

Number of cells, connected in series

Ncell

CA

1

A·h

Capacity of cell; available when use capacity input is false

C

SOC0

1

 

Initial state-of-charge [0..1]

SOC0

SOCmin

0.02

 

Minimum allowable state-of-charge

SOCmin

Rcell

0.005

Ω

Fixed cell resistance, if use cell resistance input is false

Rcell

allow overcharge

false

 

True allows simulation to continue with 1<SoC

allow_overcharge

allow overdischarge

false

 

True allows simulation to continue with SoC<SoCmin

allow_overdischarge

use capacity input

false

 

True allows enables the Cin input port

useCapacityInput

use cell resistance input

false

 

True allows enables the Rin input port

useResistInput

Circuit Parameters

Name

Default

Units

Description

Modelica ID

Rout

 

Ω

expoly array for series resistance

Rseries

Rtc1

 

Ω

expoly array for short time-constant resistance

Rtc1

Ttc1

 

s

expoly array for short time-constant duration

Ttc1

Rtc2

 

Ω

expoly array for short time-constant resistance

Rtc2

Ttc2

 

s

expoly array for short time-constant duration

Ttc2

An exponential-polynomial (expoly) is a polynomial with an exponential term included. Its coefficients are given by a one-dimensional array, k, such that &ExponentialE;xpolyk&comma;soc=k1&ExponentialE;xpk2soc+k3+k4soc+k5soc2+.

References

  

[1] 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.

See Also

Battery Library Overview

Equivalent Circuit Overview