question

Glenson G avatar image
0 Likes"
Glenson G asked Glenson G commented

AGV to unload one flowitem, and then immediately load another flowitem

Hi @Felix Möhlmann ,

I have just added the schedule for the trolleys to be sent to the Waste queue (on the right). However, to simulate actual exchange of waste bins, I would like to ask if it is possible to allow AGVs that are picking the trolleys from the Waste queue (empty waste bins) to the wards and immediately exchange with another trolley at the wards queue (full waste bins).

Thank you!

I am currently using the 2022 version right now: liftusagev22-221115.fsm, but I've uploaded the 2018 version here just in case: liftusage-221115.fsm

FlexSim 22.2.3
agvflowitems
· 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.

Felix Möhlmann avatar image Felix Möhlmann commented ·
I see that these are currently separate jobs. Is your goal that an AGV will only start the "Empty Waste" job if there is corresponding "Full Waste" job or should it always start the "Empty Waste" and generate a new return job at completion?
0 Likes 0 ·
Glenson G avatar image Glenson G Felix Möhlmann commented ·

Hi @Felix Möhlmann , apologies for the late reply.


Right now in my schedule, the "Full Waste"" and Empty Waste" has different time slots. But my goal is that as long as there is an "Empty Waste", there should be a corresponding "Full Waste" job waiting at the wards. So I feel that it is closer to the latter which is the "Empty Waste" would generate a new return job at completion (after unloading, a new "Full Waste" trolley will be generated and loaded)


Thank you!

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Glenson G commented

After an AGV finishes a job, check whether it was an "Empty Waste" job. In the attached model I use the item's type for this (Type 9 -> Empty Waste).

Based on this the token is send to a different part of the process flow, where it creates a new job token. You could in theory also build out the entire return trip as its own flow, but creating a job token allows to use the preexisting logic.

1668675354060.png1668675398980.png

The origin is assigned as the destination from the previous job and the destination is always the waste queue. The job token then goes on to create a trolley as usual.

1668675435292.png

But since it is already assigned to the 'AGV-token', it skips putting itself on the list of available jobs and directly goes to the "Work in Progress" list. The AGV-Token then rejoins the main flow at the point after it normally would have pulled a new job.

1668675453752.pngliftusagev22-221117_wastereturn.fsm

A stop time is set in the attached model at which AGVs start to do waste jobs, so you can check how the logic works.


· 4
5 |100000

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

Glenson G avatar image Glenson G commented ·

Hi @Felix Möhlmann , thank you very much for your clear explanation, I've understood well and your model's logic is what I was looking for. Thank you, much appreciated!

0 Likes 0 ·
Glenson G avatar image Glenson G Glenson G commented ·

Hi @Felix Möhlmann ,


My apologies, I was trying to port the waste return version back to the 18.2.3 version to get the data from the global table "DeliveryLog" using the experimenter for varying numbers of AGV. But I encountered the following error and I can't seem to find the mistake.
1668996887060.png


Would appreciate your help on this, thank you!
liftusage.18-221121.fsm


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Glenson G commented ·

You are missing a delay that was in the job process flow.

1669015072699.png

It prevents the token from being destroyed while the information on it is still needed to determine if it was a "waste-job" and which ward was involved.

Hence why you are receiving errors about not being able to read labels on a non-existing node (the token) at 396s.

0 Likes 0 ·
1669015072699.png (12.6 KiB)
Show more comments