AGV not go to charge station instantly when reach set bettery level

AGV not go to charge station instantly when reach set bettery level

oceanbluesky1993
Contributor Contributor
18 Views
1 Reply
Message 1 of 2

AGV not go to charge station instantly when reach set bettery level

oceanbluesky1993
Contributor
Contributor

I wrote a AGV charge PF. Ideally, when the AGV battery is lower than 95%, the PF will acquire to AGV to charge station. However, when the battery is lower than 95%, the AGV still keep working. It go to charge station when the battery is about 90%.

I saw some post suggested to upload the flexsim version, is there any other way to solve the issue? Thanks!

My flexsim Version is 22.1.2

AGV.fsm

0 Likes
Accepted solutions (1)
19 Views
1 Reply
Reply (1)
Message 2 of 2

paula6F3AQ
Observer
Observer
Accepted solution

Hi Keter,

This is happening because there's a lot of tokens already trying to acquire the agv on the other acquire activies when the charge token tries to do it. Since there's no queue order specified, the agv is going to be acquired in strict arrival order; the first token that tried to acquire the agv is going to acquire it when released, and so on.

One solution could be, for example, assigning a "priority" label to the token and tell the resource to order the acquirement queue based on that.

1718805303280.png

I attach your model with this solution implemented for clarification: agv.fsm

I hope it helps!

0 Likes