question

kl avatar image
0 Likes"
kl asked Jason Lightfoot commented

Modeling logic error with advanced AGV

Hello, I am building a model with advanced AGV. In order to run the model, I have input the process flow to each AGV and create 2 global list for task sequence. I use next work point branches for this model. I am wondering why the model cannot run, hope to get some suggestions, thank you!!!

my model: layout.fsm

FlexSim 21.2.4
global listadvanced agvmodelling logic error
layout.fsm (153.2 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @kl,

It looks like this question may be part of a homework assignment or academic project. The professors who assign simulation modeling exercises using FlexSim expect that the academic integrity of their assignments will be maintained. In addition, we are supportive of Honor Codes or Pledges that regulate the behavior surrounding academic assignments.

I recommend reading our best practices page on the subject, which includes some resources that you should find helpful as you use FlexSim for academic purposes. I also highly recommend Dr. Allen Greenwood's FlexSim Primer, which was written specifically for students and professors.

0 Likes 0 ·
kl avatar image kl Jason Lightfoot ♦♦ commented ·

Hi Jason,

This is not homework assignment or academic project! It is just a case in real world that we want to figure out. I sincerely apologize if there was any misunderstanding, as we simply want to resolve our model issue.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ kl commented ·
As students who appear to be collaborating on the same model I'd be curious then to know the context.
0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered kl published

You have to push the items to the AGVWork list in the transport reference field.

capture1.png

Your AGVs also start at a control with no NextWorkPoint connection, so they won't start to travel around the network since there is no reference of where to move next.

You can find additional information and a tutorial about the AGV Process Flow template on the manual pages linked below.

https://docs.flexsim.com/en/21.2/WorkingWithTasks/AGVNetworks/UsingAGVProcessFlowTemplate/UsingAGVProcessFlowTemplate.html

https://docs.flexsim.com/en/21.2/Tutorials/TaskLogic/Tutorial4AGVs/AGVOverview/AGVOverview.html

Finally, I want to mention that the scaling in your model looks weird. Are the processors and distances between them supposed to be in the order of tens of kilometers?


capture1.png (7.8 KiB)
· 6
5 |100000

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

chia725 avatar image chia725 commented ·

Hello, I've tried to solve the model's issue. The model can run after your suggestion. But I came up with another issue that it will stuck on a point and didn't move and I also notice that there are some problem with the item pickup. I was wondering if there's any logic error of the nextworkpoint branches? Hope to get some suggestions, thank you so much for your help!!!

model:layout-1.fsm

0 Likes 0 ·
layout-1.fsm (227.5 KiB)
kl avatar image kl commented ·

Hi! I've tried the file @chia725 provided(layout- advanced.fsm), and also have some questions. I think all the path are well connected, but after I run the model it will keep showing :

1688615764187.png

and also I think the source isn't delivering things properly~

0 Likes 0 ·
1688615764187.png (8.3 KiB)
layout-advanced.fsm (154.4 KiB)
Felix Möhlmann avatar image Felix Möhlmann kl commented ·

Some of the control points seem to be corrupted somehow. Whenever you get such a message it seems that the control point the respective AGV is currently at is causing the problem.

Sometimes moving the control point around a little bit so the network gets updated can help. Maybe some of the control points have to replaced with new ones.

After moving some points a bit, the model @chia725 uploaded works fine until a deadlock occurs due to two AGVs moving toward each other.

The source is producing items normally, as you can see when you look at the output statistic.

capture1.png

layout-1_1.fsm

0 Likes 0 ·
capture1.png (6.2 KiB)
layout-1-1.fsm (155.1 KiB)
chia725 avatar image chia725 Felix Möhlmann commented ·
Thank you so much for your help! After I checked the model, I found that even though the source is producing the item normally. There is no input in sink which means that the agv didn't carry items to processor and sink. Does it mean that the carrying process in the advanced agv need to be modify?
0 Likes 0 ·
Show more comments
kl avatar image kl commented ·

Hi! I've tried the file chia725 provided(layout- advanced.fsm), and also have some questions. I think all the path are well connected, but after I run the model it will keep showing :

1688613793589.pngand also I think the source isn't delivering things properly~

0 Likes 0 ·
layout-advanced.fsm (154.4 KiB)
1688613793589.png (10.1 KiB)