- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Battery Parallel Connection
Battery Parallel Connection
Battery Parallel Connection
Hello All,
I created a Modelica block of a battery which takes as input the current and the SOC. In particular, I modeled the positive and negative pins of this battery block using the partial model OnePort from the MSL in which the missing equation is v=voltage, where voltage is the battery voltage obtained from the electrochemical equations inside the battery block giving (so far) a constant current.
If I connect them in in series, the model works but it doesn't in parallel. The error I got is: "An independent subset of the model has an imbalanced number of equations and variables).
Do you know a way to overcome this error?
Is it possible that the error is in the way OnePort works, in fact for the connection in series I always connect positive and negative pin whereas in the parallel connection I connect pos with pos and neg with neg pins?
Thank you so much in advance, it is really important for me to make this work!
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Battery Parallel Connection