Battery model - using vector concatenate to collate individual cell outputs

1 回表示 (過去 30 日間)
Jacob Compton
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

回答 (1 件)

Jon
Jon 2019 年 10 月 21 日
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 件のコメント
Jacob Compton
Jacob Compton 2019 年 10 月 21 日
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
Jon
Jon 2019 年 10 月 21 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComponent-Based Modeling についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by