question

Steven Chen avatar image
0 Likes"
Steven Chen asked Phil BoBo edited

AGV New Load Types

Hello,

I would like to know how to apply the new load type when AGV loads a heavy item.

FlexSim 18.1.1
agvproperties
01.jpg (64.4 KiB)
5 |100000

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

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Phil BoBo edited

Adjust the Initialize Travel code to return 3 when the item is "heavy" (whatever that means in your model):

if (te.subnodes.length == 0)
	loadType = 1; // Empty

treenode item = te.subnodes[1];
if (item.Heavy)
	loadType = 3; // Loaded_Heavy
else
	loadType = 2; // Loaded

return loadType;

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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