question

Iago MF avatar image
0 Likes"
Iago MF asked Felix Möhlmann edited

AGV Network - Multiple AGV.Request.Allow On Deallocated

Hi!

I was trying to create logic to control which AGVs acquire a control area based on the direction they will take in it. The problem I have encountered is that I can't get multiple requests to be acquired at the same time when the condition to enter is met after blocking their requests. With the On Deallocated event enabled, it always enters the one I select in the process flow (the last request), regardless of the max allocations of the area. However, I can't find a way to indicate that multiple AGVs should enter at the same time. On the other hand, when an AGV leaves the area with the On Deallocated event disabled and max allocations set to 0, no requests are re-evaluated. With max allocations set to 1, requests are re-evaluated in a FIFO manner, and with max allocations greater than 1, it goes into an infinite loop with the On Request event.

I've attached a model to show this. All red AGVs shoud allocate the area when the last black agv deallocates it.

1698915648965.png

How can I select more than one AGV and allow their requests to acquire the area?

Thanks in advance.

23.2 AGV Request Doubt.fsm

FlexSim 23.2.2
agvnetworkallocationagv.requestallow
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·
Hello @Iago MF,

We have looked into this and have notified the development team of this.

0 Likes 0 ·
Iago MF avatar image Iago MF Jeanette F ♦♦ commented ·
Thanks Jeanette!
0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann edited

Returning an array of allocation points seems to work for re-evaluating each entry request.

232-agv-request-doubt_1.fsm

Edit: Changed to an answer.


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Iago MF avatar image Iago MF commented ·

I had discarded the option of returning an array because if it was manually entered in the finish block return field, this exception would appear:

Parse Error: Arrays are not valid in this field.

i've should have tried to declare it in a token label first.

Thanks Felix, this works fine!

Edited: @Felix Möhlmann could you write this as an answer to accept it?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.