MATLAB Answers

0

Battery model - using vector concatenate to collate individual cell outputs

Jacob Compton さんによって質問されました 2019 年 10 月 21 日
最新アクティビティ Jon
さんによって コメントされました 2019 年 10 月 21 日
I am trying to model a battery model with 3 cells in parallel, and so want to collate all of the output data from each of the cells into a single scope. I am trying to use a vector concatenate or a mux in order for the three output signals to be collated into one single signal in order for the data to be connected to a scope. However the data I obtain from this for each of the cells is extremely high values and not in line with what it should be. To test this I attached a scope individually to each of the cells prior to the link to the concatenate and the outputs were expected for the model. There is obviously an issue associated with collating the signals so I was wondering if anyone knows of a fix for this?
Thanks

  0 件のコメント

サインイン to comment.

1 件の回答

Jon
Answer by Jon
on 21 Oct 2019

I have never experienced any issues with combining individual signals with a mux. The individual signals retain their original values after demuxing, and are displayed properly when fed to a scope. So I suspect there is something else going on here causing your issues rather than the mux. Note that you can also add additional ports to a scope to display multiple signals. Right click on the scope, select Signals and Ports and add the additional ports. If you are still stuck, please attach a self contained Simulink file (or a Simulink file and a .m file that sets all of the parameters so that the simulation can be run) that demonstrates the problem.

  2 件のコメント

It has to be an issue with collating the signals. As I said I removed the mux/concatenate blocks and viewed the outputs of each individual cell through 3 different scopes. This resulted in the information obtained to be that of which I expected. I am also fully aware of how scope inputs work. Thanks
If you could attach a Simulink file that I could run that demonstrates the problem I might be able to see if I could help further.

サインイン to comment.



Translated by