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

2 vues (au cours des 30 derniers jours)
Charles Talbert
Charles Talbert le 8 Déc 2017
Réponse apportée : Mo Zhao le 18 Déc 2017
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

Réponses (1)

Mo Zhao
Mo Zhao le 18 Déc 2017
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)?

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!

Translated by