Modeling the electrical behavior of a battery is essential for obtaining information that cannot be directly measured, such as the state of charge (SOC), or that needs a complex instrumentation, such as the individual cell current. Each cell in a battery pack behaves dierently, creating dispersion of current, SOC, voltage and temperature. In this paper, we propose a method to estimate the current and the SOC of each cell in the pack, taking into account dierences in temperature and connection resistances from one cell to another. To reduce computation time, what makes the algorithm more suitable for real-time applications, we simulate only a few cells in detail. For all the other cells, we use a simplied calculation of their resistances based on their temperatures to estimate current and SOC dispersions. Our method reduces the computation time by 60%, while preserving the accuracy of the model.