Battery pack
automotive.battery_pack
Traction battery of Ns cells in series and Np in parallel. Each cell has an open-circuit voltage linear in state of charge, a series resistance R0 and one RC pair (R1, C1) for the slow polarization voltage. Current into p charges the pack.
Ports
| Name | Domain |
|---|---|
p | electrical |
n | electrical |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
Ns | 1 | 96 | 1 to ∞ | Cells in series |
Np | 1 | 2 | 1 to ∞ | Cells in parallel |
Vempty | V | 3 | Cell voltage when empty | |
Vfull | V | 4.1 | Cell voltage when full | |
R0 | Ohm | 0.002 | 0 to ∞ | Cell series resistance |
R1 | Ohm | 0.001 | 1e-9 to ∞ | Cell polarization resistance |
C1 | F | 20000 | 1e-9 to ∞ | Cell polarization capacitance |
Q | C | 180000 | 1e-9 to ∞ | Cell capacity (50 Ah) |
soc0 | 1 | 0.9 | 0 to 1 | State of charge at the start |
Variables
| Name | Unit | Start | Description |
|---|---|---|---|
v | V | Pack terminal voltage | |
i | A | Pack current, positive when charging | |
soc | 1 | soc0 | State of charge |
v1 | V | Cell polarization voltage |
Equations
v = p.v - n.v 0 = p.i + n.i i = p.i v = Ns * (Vempty + (Vfull - Vempty) * soc + R0 * i / Np + v1) C1 * der(v1) = i / Np - v1 / R1 Np * Q * der(soc) = i