question

sheikh avatar image
0 Likes"
sheikh asked Kavika F commented

AGV to carry fixed number of flow items every time

Scenario 2.fsmHey,
I am having issue in operating AGVs. I want AGVs to carry 50 items every time they load from a resource. At start the model works fine but after 45 min. AGV starts to carry 42/44 items randomly and thus creates issue. Can somebody help me with that. I have attached my model.

Thanks

FlexSim 22.2.2
agv
scenario-2.fsm (288.9 KiB)
· 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.

Kavika F avatar image Kavika F ♦ commented ·

Hi @sheikh, was one of Joerg Vogel's or Steven Hamoen's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered sheikh commented

As commented, you let your taskexecuter wait. You can give him a simplified utilize task. In this tasksequence you add a break task to let him continue when he receives a new transport job. Because you don't know when this is happening, you react on "On Receive" of a tasksequence (trigger tab). There you exchange the break task second involved parameter of your active waiting tasksequence to continue with currently received tasksequence. Now you free your operator and he can execute the updated tasksequence.

load_max.fsm FlexSim 20.0

load_max_FlexSim22.fsm FlexSim 22.2 (an error on run start)


load-max.fsm (31.6 KiB)
· 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.

sheikh avatar image sheikh commented ·

@Joerg Vogel Sir can you please make adjustment to this model as per my requirement. Actually, I am in a very tidy situation right now. I am still a beginner and really need this model to be fixed.
What I want is that the flow items in the model always travel in batch of 50 and every time AGV only load and unload 50 items.
It might take only few minutes of yours. Scenario 2 Odd 2.fsm
Thanks!

0 Likes 0 ·
scenario-2-odd-2.fsm (292.3 KiB)
Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Joerg Vogel commented

@sheikh Around the time you mention, the 45 minutes, one of the other queues (queue 9 in this case) is also ready with batching and sends a tasksequence to the AGV. So, after it has loaded 46 at queue 2 it moves over to queue 9 to load the remaining and then it drives to 5 to unload 46 etc. and everything gets messed up. A simple solution is to change the break to requirement on the AGV to "Same Load Station" that way it will only load tasksequences from the same station and will not change to another one in the middle of the 50.

Another tip, give your queues unique names because now you have multiple queues 2, 3, 4 etc.

And if this model becomes more complex you are far better off using process flow. So, I would put some time in learning that as well.

· 3
5 |100000

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

sheikh avatar image sheikh commented ·

Well, I mean to learn process flow but don't know any good resources to learn from.

Kindly suggest some!

Can you solve it for me as I don't have much time to learn and implement it.
I want AGV's to always carry 50 items and also deliver 50 items each time it loads/unloads.

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ sheikh commented ·

Hi @sheikh,

I'm including a link to FlexSim's documentation website that has tutorials that go over how to start using process flow. https://docs.flexsim.com/en/22.2/Introduction/Welcome/Welcome.html

I am also including a model that shows how Process flow can be used to accomplish what you are trying to do. The event triggered source creates a token that represents an item each time an item enters one of the three entry queues. The tokens are then batched according to what queue they entered until a batch of 50 is completed. The token then acquires the AGV which loads all of the items and transports the items to the drop off queue. The AGV then returns to the start position and waits until another batch of 50 items is ready.

FIxed AGV flowitems_JW.fsm

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Jacob W2 ♦ commented ·

In a Case when there are enough transport jobs available you are going with break to function load from same loadstation

If there aren’t enough transport jobs you let wait your Taskexecuter, until another transport is received.

You achieve this by utilize tasksequence which you break to when there is still loading capacity is left. When you receive a tasksequence On Receive Tasksequence trigger freeoperator is called on your Taskexecuter. Then he is able to perform a received tasksequence, please make sure it has got a bit higher priority than any stored and begun tasksequences in your tasksequence queue.

You have to test this in a smaller model until it works sufficiently.

You may get some hints from

https://answers.flexsim.com/comments/129068/view.html

where a utilize tasksequence structure persistently let a taskexecuter travel to a home location.

0 Likes 0 ·