필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Charles Talbert
Charles Talbert 2017년 12월 8일
답변: Mo Zhao 2017년 12월 18일
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