question

mark zhen avatar image
0 Likes"
mark zhen asked Jason Lightfoot commented

collision problem

I would like to ask if there is a need to avoid the car, in addition to adjusting the tolerance of the control point, can the collision of the 2020 version be used to solve this problem? AGV&3F_autosave.fsm

1679385765280.png

FlexSim 22.0.0
agvcollision
1679385765280.png (235.8 KiB)
agv3f-autosave.fsm (78.1 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @mark zhen , was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

First off you should fix the errors in the model:

- When the wait timer elapses when the token tries to acquire a charging point, the token should be released, not the AGV (token.AGV -> token).

1679472086469.png

- "token.AGV" is not defined in the Object flow, so you get an error when the siding logic fires. Since it is an instanced process flow, you can simply use current to refer to the AGV (token.AGV -> current).

1679472210721.png


The model then almost runs without issue. You just have to prevent more than AGV entering the path below the siding and prevent more than two AGV from entering the two-way path at a time (because there is only one siding, a third AGV would cause a deadlock again | the charging points don't count towards this limit).

1679472476482.png This can be done by placing two control areas with a maximum allocation count of one each.

1679472555022.png

The one at the bottom prevents more than one AGV from moving past the siding and since an AGV will always have at least one of the areas allocated while on the two-way path, the limit of two AGVs on the path is also adhered to.


1679472086469.png (35.3 KiB)
1679472210721.png (14.2 KiB)
1679472476482.png (63.6 KiB)
1679472555022.png (56.1 KiB)
· 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.

mark zhen avatar image mark zhen commented ·

can i see your model

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ mark zhen commented ·
Try doing what Felix has described and if you get stuck post your model - we encourage students to try first with their own models having received guidance rather than implementing solutions for them (and possibly undermining assessments/credits)
1 Like 1 ·
mark zhen avatar image mark zhen Jason Lightfoot ♦♦ commented ·

AGV&3F.fsm

@Felix Möhlmann @Jason Lightfoot

What I want to do is to apply similar logic in the new model, but I find that she does not seem to work. Can I know how I can solve it?0421-1-jl3.fsm

0 Likes 0 ·
0421-1-jl3.fsm (64.9 KiB)
agv3f.fsm (112.9 KiB)
Show more comments