Resource pool, average utilization statistic

1 次查看(过去 30 天)
I'm confused on how this statisic is computed.. an entity is sent through a system where the following actions take place in chronological order:
1) acquire resource
2) hold for 30 second service
3) release resource
4) hold for 30 minuite service
5) acquire resource
6) hold for 30 second service
7) release resouce
8) terminate entity
Shouldn't the resouce utilization be a consistent 1/30 percent at time t = 31, 62, 93, 124? Why is utilization at 100% up until time 31?

回答(1 个)

Abdolkarim Mohammadi
编辑:Abdolkarim Mohammadi 2021-3-26
SimEvents blocks' statistics are updated not continuously, but rather when an event is triggerred. The system state between the events remains intact. You can observe that the right scope is updated only at times when there is a change in the left scope, which indicates an event.
You should also note that statistics like average utilization are mostly used asymptotically, that is, their value after a long run that converges to a certain value is considered, not values in different instants. This is because that such statistics divide the amount of time the resource is used by the total time. Therefore, the simulation must run long enough in order for the statistic to converge to a number. You can observe in the right scope that the plot is converging to the 1/30 fraction you mentioned earlier. If you run the model for a long enough time (say, 5000), you would see that the last value of the average utilization is very close to 1/30.
As an example, here is average utilization for one of my models. There are lots of fluctuations at first, but as time passes, the plot is damped and converges to more stable values. You should not consider initial values because they are the result of few observations and cannot represent the long-term performance of your system.

类别

Help CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by