Datasheet Battery
Lithium-ion, lithium-polymer, or lead-acid battery
Libraries:
Powertrain Blockset /
Energy Storage and Auxiliary Drive /
Datasheet Battery
Description
The Datasheet Battery block implements a lithium-ion, lithium-polymer, or lead-acid battery that you can parameterize using manufacturer data. To create the open-circuit voltage and internal resistance parameters that you need for the block, use the manufacturer discharge characteristics by temperature data. For an example, see Generate Parameter Data for Datasheet Battery Block.
To determine the battery output voltage, the block uses lookup tables for the battery open-circuit voltage and the internal resistance. The lookup tables are functions of the state-of charge (SOC) and battery temperature, characterizing the battery performance at various operating points:
To calculate the voltage, the block implements these equations.
Positive current indicates battery discharge. Negative current indicates battery charge.
Power Accounting
For the power accounting, the block implements these equations.
Bus Signal | Description | Equations | ||
---|---|---|---|---|
|
|
| Battery network power | |
|
| Battery network power loss | ||
|
| Battery network power stored |
The equations use these variables.
SOC | State-of-charge |
SOCo | Initial state-of-charge |
Em | Battery open-circuit voltage |
Ibatt | Per module battery current |
PLdBatt | Battery network power |
Pbatt | Battery power |
PLossBatt | Battery network power loss |
PStoredBatt | Battery network power stored |
Iin | Combined current flowing from the battery network |
Rint | Battery internal resistance |
Ns | Number of cells in series |
Np | Number of cells in parallel |
Vout, Vbatt | Combined voltage of the battery network |
VT | Per module battery voltage |
Capbatt | Battery capacity |
LdAmpHr | Battery energy |
Examples
Ports
Inputs
Output
Parameters
References
[1] Arrhenius, S.A. “Über die Dissociationswärme und den Einflusß der Temperatur auf den Dissociationsgrad der Elektrolyte.” Journal of Physical Chemistry. 4 (1889): 96–116.
[2] Connors, K. Chemical Kinetics. New York: VCH Publishers, 1990.
[3] Ji, Yan, Yancheng Zhang, and Chao-Yang Wang. Journal of the Electrochemical Society. Volume 160, Issue 4 (2013), A636-A649.
Extended Capabilities
Version History
Introduced in R2017a