Multiplexing Variant Blocks in Simulink

2 次查看(过去 30 天)
In the process of updating our vehicle simulation we came across the delima of how many motor placeholder blocks and how many battery placeholder blocks should be placed in the model. The current setup looks as follows:
The exerpt shows 5 battery blocks (Energiequelle). This setup would allows us to use a LiPoly, Zinc Oxide, Ultra Capacitor, NiMH, Combustion Generator or any other combination of up to 5 different batteries. The problem with this approach, is that most of the time only 2-3 battery sources are required, but in the spirit of planning ahead more were added.
The question is, is there an elegant solution to specifying "I would like 6 batteries", setting this value in a block and then being able to select 6 reference blocks. This should then also result in the appropriate bus signals being generated.
The in and output signals have been normed and are therefore the same for each battery.
Kind Regards, Moritz

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Energy Storage 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by