question

laitriminh avatar image
0 Likes"
laitriminh asked laitriminh commented

Optimizer design

Hi Flexsim community,

I'm having trouble using Optimize to find the optimal position for minimizing the total transportation distance of Transporter 1 and 2. My variables include the bon tam processor, Queue7, and Queue8.

I've tried various methods, such as separating each variable into x and y axes and adding constraints to prevent object overlap, but the results aren't as expected. Currently, I'm thinking of grouping all elements (bon tam, Queue7, and Queue8) into a specific coordinate and allowing them to move within the red area to achieve the optimal position.

However, I'm unsure how to proceed with this idea. I've attached the Flexsim file (version 2019) and images below. I'm hoping to receive assistance from experts. Thank you.

cai tien PA2.fsm1.png


FlexSim 19.0.0
optimizeoptimizer designoptimizer run
1.png (528.8 KiB)
cai-tien-pa2.fsm (380.3 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

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

Your results might differ from your expectation because Transporter2 is bound to a travel network. Its travel distance will be shortest if Queue8 is positioned above the connected network node and only get longer the farther the queue is placed away from the node. Maybe try adding additional network nodes connected to the queue so the transporter can choose the closest one.

To move the objects as a group you can move them in a plane (Visual Object) and then only move the plane. Make sure to update any Model.find() expressions that include these objects to the new path (Model.find("Plane/...").

Not part of your question, but it seems a little odd that the speed of all task executers gets updates every time any of them load or unload something. Is this by design?

1705306094371.png


1705306094371.png (16.2 KiB)
· 5
5 |100000

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