SimEvents How to block a resource for x amount of time after use?

1 次查看(过去 30 天)
This may be simple, just not seeing it. I have an entity acquire a resource for a given amount of time, then release it. After its release I would like for the resource to continue to be blocked for a discrete time period before it is open again. I do not want the entity to continue holding the resource during that time. Any idea if this approach is possible in SimEvents? Thanks in advance

回答(1 个)

Mo Zhao
Mo Zhao 2017-12-18
For the reusable resource, immediately after the associated entity triggers a release or destroy event, the resource get recycled and becomes available. You seem to be looking for a delay of this release. Could you insert a Entity Server block with a proper service time before the entity enters the Resource Releaser block (or the Terminator block)?

类别

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