Battery model - using vector concatenate to collate individual cell outputs

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Component-Based Modeling 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by