Issue with calculating initial currents in a 2P configuration #4078
Unanswered
MarcoZangrandi
asked this question in
Q&A
Replies: 2 comments 1 reply
-
The correct way to do it is to set up an optimization problem with "current of each cell" as your unknown variables and solve it using e.g. scipy. Since "Local ECM resistances" does not vary that much as a function of current, you could also set up your own simple iterative algorithm:
The first way will be faster to solve and more robust. The second way is conceptually easier and builds better intuition for the problem |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you haven't yet, you can also check out https://github.com/pybamm-team/liionpack for pack models with pybamm |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm trying to build a 2P configuration with two Chen2020-type cells to observe current dynamics.
The starting hypothesis is that the two cells have different State of Charge (SOC): one is fully charged at 100% and the other at 80%. I'm using an SPMe model to which I provide a current at each step. From the model, I need to extract the Open-Circuit Voltage (OCV) and internal resistance. The two cells are thus seen as a voltage generator with an internal resistance in series.
These values, via an algorithm, will update the currents passing through the two cells. The current calculation algorithm is based on current formulas present in the article "Current distribution of parallel-connected cells in dependence of cell resistance, capacity and number of parallel cells."
The problem I encountered is the following. Wanting to simulate a real-life scenario, initially, as I mentioned, I have two cells charged differently (in the future, this will be generalized for cells with different chemistries). Consequently, at the initial instant, they will have two different internal resistances. With two different internal resistances, the current I supply to the parallel connection will be redistributed proportionally to ensure that "Vocv_cell – Rinternal_cell*Icell" yields the "Terminal voltage". Secondly, the constraint to always respect is that the two "Terminal voltages" must always be equal.
Is there a way to calculate the initial two currents that redistribute within the parallel connection, without simply dividing the input current to the parallel by the number of cells?
The issue I'm encountering is that I'm using the "Local ECM resistances" as the internal resistances, but to calculate it, I need the currents, which are my unknown variable.
Beta Was this translation helpful? Give feedback.
All reactions