Calculate Travel time in Simulink
조회 수: 3(최근 30일)
표시 이전 댓글
I would like to know the Travel Time form 'entity generator' to 'entity terminator'.
I would like to see the total Travel Time from the Generator~Terminator of entity according to the service time difference.
Is there a 'Statistics' that calculates the Travel Time of individual entity?
Or is there such a way?
For example, assume that entity is a customer and I want to know the total time customer(individual customer) generator~customer out(terminator)
댓글 수: 0
Abdolkarim Mohammadi 2021년 5월 5일
편집: Abdolkarim Mohammadi 2021년 5월 5일
You need to create an attribute to stamp the generation time, and another to stamp the termination time. The difference between the two indicates the time that entity has spent in the system. In order to stamp times, you should create a Simulink function in which there is a Digital clock block with the sample time set to -1.
댓글 수: 1
Find more on Discrete-Event Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!