question

Aldo G11 avatar image
0 Likes"
Aldo G11 asked Aldo G11 commented

DEFAULTNULL Invalid AGV Body Offset.

https://nextcloud.flexsim.com/s/QgfxDF4dzn8iE9F#

I'm having troubles with this model, the thing is that I'm getting this message:

time: 44.749910 exception: Invalid AGV Body Offset. The defined body offset leads to a negative travel distance.

time: 44.749910 exception: Exception Caught in dispatchtasksequence(treenode tasksequence, treenode dispatcher DEFAULTNULL)

time: 44.749910 exception: Exception caught in start() of activity Process/Travel to Pickup Location in process flow "AGV C5-C8 RH". Continuing throw...

time: 44.749910 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/exec/usercommandlist/Process Flow/releasetoken/node c: MAIN:/project/exec/usercommandlist/Process Flow/releasetoken/node i: MAIN:/project/exec/usercommandlist/Process Flow/releasetoken/node thisClass: MAIN:/project/exec/usercommandlist/Process Flow/releasetoken/node

time: 44.749910 exception: Exception caught in evaluation of MAIN:/project/exec/usercommandlist/Process Flow/releasetoken/node

and after that the circuit gets blocked...if someone can answer me it would be good; thank you in advance.

FlexSim 20.1.3
agvtaskexecutors
· 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.

Kavika F avatar image Kavika F ♦ commented ·
Hey @Aldo G11, please give us the name of the file you uploaded. The link in your post is the link to upload a file, which goes to a folder that we can check.
0 Likes 0 ·
Aldo G11 avatar image Aldo G11 Kavika F ♦ commented ·
Thank you for your reply, the file's name is "Testing". I uploaded again today...
0 Likes 0 ·
Andrew O avatar image Andrew O commented ·

Hi @Aldo G11, was Kavika F'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

Kavika F avatar image
0 Likes"
Kavika F answered Aldo G11 commented

Hey @Aldo G11, when I downloaded and checked out your model, I got a slightly different error. At around 9360-ish seconds (9:36AM) in the model, I get this error:

time: 9362.759176 exception: Invalid AGV Body Offset. The defined body offset leads to a negative travel distance.
time: 9362.759176 exception: Exception Caught in FlexSimObject::resume(int id, int stateprofile DEFAULTZERO) object: /AGV RH 5
time: 9362.759176 exception: Exception Caught in resumeobject(treenode involved, int id)
time: 9362.759176 exception: Exception Caught in ObjectFunction200__project_exec_commandlist_resumeobject_node object: MAIN:/project/exec/commandlist/resumeobject/node i: MAIN:/project/exec/commandlist/resumeobject/node class: MAIN:/project/exec/commandlist/resumeobject/node

time: 9362.759176 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/exec/commandlist/resumeobject/node c: MAIN:/project/exec/commandlist/resumeobject/node i: MAIN:/project/exec/commandlist/resumeobject/node thisClass: MAIN:/project/exec/commandlist/resumeobject/node
time: 9362.759176 exception: Exception caught in evaluation of MAIN:/project/exec/commandlist/resumeobject/node

This pointed me to the /AGV RH 5 Task Executer. When I followed him around this time, it seems there's a Break they all go on at 9000 seconds (9:30am), causing them to stop where they are. About 10 seconds into break, AGV RH 5 moves forward a little bit to stop at the Decision Point (DP) in front of it. It's state become "Blocked' rather than "Breakdown" like the rest of the AGVs, despite it still having the red box around it.

When the break ends (around 9360 seconds), the two AGVs ahead of it start back up normally but AGV RH 5 stays put. I decided to try to start the breakdown 10 seconds later (@ 9010 seconds) and it seemed to fix that problem. I ran the model for several more model hours and it was fine until about 10:40PM when another error occurs.


Some pointers:

  • When you're making an AGV route using NextLookForWork connections, it's best to put them in a loop rather than all pointing to some end location you want like you have: 1660598063345.png
  • You've got this interesting set of NextLookForWork connections that point AGVs on the RH side to need to go into the LH loop. You should change that so they don't overlap (unless that's something you want?)
    1660598184562.png
  • Right now you're using MTBF MTTRs to schedule breaks and lunch:1660598276166.png
  • But you can achieve the same thing in a more centralized place using a TimeTable

1660598399634.pngA time table has a nice calendar interface and you can add groups to certain breaks or times. This may fix some of your AGV errors.


1660598063345.png (112.9 KiB)
1660598276166.png (2.5 KiB)
1660598399634.png (57.1 KiB)
1660598215932.png (154.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.

Aldo G11 avatar image Aldo G11 commented ·
Thank you and sorry for the late answer…
0 Likes 0 ·