how to assign the service time value of the first entity server to the second entity server?

2 ビュー (過去 30 日間)
Elie Al Nawwar
Elie Al Nawwar 2021 年 2 月 24 日
回答済み: VBBV 2022 年 11 月 21 日
Hello,
I am trying to build a model where the first entity server represents the standard time needed to do a job and the second entity server represents the disruption that will occur. The disruption is 20% of the service time action in the first entity server. So I defined a random Source that connects to the signal port of the first entity server. My problem is that i cant find a way to transfer the assigned number to the second entity server. it would be great if someone has an idea or an alternative solution for this issue (transfer of the service time in the first entity server to the second) that can share.
Thank you,

回答 (2 件)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2021 年 3 月 4 日
You can add an attribute to the entities, so that when the entity arrives in the first server, the assigned service time is recorded into the attribute, and when the entity arrives in the second server, the value of the attribute is read and used as service time.
  1 件のコメント
Mehreen Khan
Mehreen Khan 2021 年 9 月 5 日
Could you please tell me how to record service time into the entity attribute?

サインインしてコメントする。


VBBV
VBBV 2022 年 11 月 21 日
You can try by putting an additional entity block between first server and second server. Assign the output of first server to new entity block and output from new entity to second server with scope included.

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by