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
댓글 수: 0
답변 (1개)
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)?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!