最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

anylogic - How to not release resource for some agents and for others release all resources? - Stack Overflow

programmeradmin0浏览0评论

Here is the information related to the model.

We can see I am seizing 1 unit of resource based on some criteria.

Now the challenge is,

So when the parameter value is Waiting to go home, I dont want to release the resource.

But it seems, at release block >> ResourcePool it does not recognize the agent. (Dont pay attention in the problem area description).

Here is the information related to the model.

We can see I am seizing 1 unit of resource based on some criteria.

Now the challenge is,

So when the parameter value is Waiting to go home, I dont want to release the resource.

But it seems, at release block >> ResourcePool it does not recognize the agent. (Dont pay attention in the problem area description).

Share Improve this question edited Feb 3 at 8:42 DarkBee 15.6k8 gold badges72 silver badges117 bronze badges asked Feb 3 at 8:31 Jahidul Hasan RazibJahidul Hasan Razib 3121 silver badge9 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

add a selectoutput block before the release and for those who will release, make them go through the block, and for the ones who don't, they will just go directly to delay1

发布评论

评论列表(0)

  1. 暂无评论