question

Guldberg avatar image
0 Likes"
Guldberg asked Guldberg commented

Dynamically adjust number of AGV when using AGVtemplate

Its straight forward to have the number of taskexecuters be linked to a parameter when using a dispatcher, but I cannot figure out how to do the same when no dispatcher is involved. I tried to copy the object, but the A connection to a control point is missing.

I tried creating a connection using contextdragconnection with no luck, it just shows the popup to choose "Traveler AGV" (And doesnt work even though I mouse click it)

I also found reference to function_s(taskexecuter,"addConnection",index,controlpoint); But no index gave me the desired result.

Maybe im missing some easy way to to this?


1697391776370.png




AGVtest.fsm

FlexSim 23.2.1
agvnetwork
1697391776370.png (49.2 KiB)
agvtest.fsm (57.2 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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Guldberg commented

You're missing a Group in the toolbox to reference in your num AGVs parameter. Add the group with the task executers in it and use the sampler in the parameter reference field to select the group.

· 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.

Guldberg avatar image Guldberg commented ·
Almost too easy. Thx
0 Likes 0 ·

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.