how can I direct entities on simevent basing myself on probability?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ilaria Shireen Sestili
le 8 Juil 2020
Commenté : Ilaria Shireen Sestili
le 16 Juil 2020
Hello!
I am just approaching Simevents and I am trying to understand how, after an entity has passed through an entity server, I can split the flow and redirect entities based on a probability that I will assing.
I hope my question is comprehensible.
Thanks in advance
0 commentaires
Réponse acceptée
Chaitanya Mallela
le 16 Juil 2020
Modifié(e) : Chaitanya Mallela
le 16 Juil 2020
Set a probabity vector and assign the port numbers to the entities based on their probabilities.
Connect the Entity Output Switch in 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discrete-Event Simulation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!