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

2 visualizaciones (últimos 30 días)
Charles Talbert
Charles Talbert el 8 de Dic. de 2017
Respondida: Mo Zhao el 18 de Dic. de 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

Respuestas (1)

Mo Zhao
Mo Zhao el 18 de Dic. de 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)?

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by