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

admin2025-04-16  5

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.5k8 gold badges72 silver badges118 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

转载请注明原文地址:http://www.anycun.com/QandA/1744774394a87437.html