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
0 个评论
回答(1 个)
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 个评论
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 Exchange 中查找有关 Component-Based Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!