Simulink Entity Splitting Problem

3 ビュー (過去 30 日間)
Tugce Koksal
Tugce Koksal 2020 年 12 月 4 日
回答済み: Chaitanya Mallela 2020 年 12 月 21 日
In simulink,I am trying to simulate assembly line.In a process some of the parts will be demage.In this case,I am trying to divide entity with probability such as 0.90 percent of part will keep in process,the other parts(%10) will be in the trash.When I simulate this assembly line in ARENA Rockwell Simulation Programme ,I use DECIDE module to divide entities.I am searcing the similiar module or method in Simulink.
Thanks for your helps.

回答 (1 件)

Chaitanya Mallela
Chaitanya Mallela 2020 年 12 月 21 日
You can use entity output switch to divide entites based on probability values
  • Set a probabity vector and assign the port numbers to the entities based on their probabilities.
  • Connect the Entity Output Switch from Simulink SimEvents library and set the parameters,
  • Switching criterion to 'From Attribute'
  • Switch Attribute name to entity type name to which port numbers are assigned and number of output ports.

カテゴリ

Help Center および File ExchangeSimEvents についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by