Simulink Entity Splitting Problem

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by