question

Aries Vash avatar image
0 Likes"
Aries Vash asked Aries Vash commented

Separating Transport Flow for Separator Ports: AGV and Operator Assignments

I would like to ask how to separate the transport flow of separator ports. In my model, I am assigning the AGV to return the trolley/pallet back to the combiner, specifically exit port 1. Additionally, Operator 1 will be responsible for unloading the boxes from port 2 and moving them to the drop-off sink?basic-agv.png

My problem is that I cannot make the operator pull into port 2 and transport the boxes to the drop-off sink. Could you please advise me on which parameters I should use to fix this issue? Thank you for your help.


Basic AGV.fsm


FlexSim 19.2.4
separatormultiple center objectseparator transfer flow port
basic-agv.png (317.6 KiB)
basic-agv.fsm (1.1 MiB)
5 |100000

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

Natalie White avatar image
0 Likes"
Natalie White answered Aries Vash commented

Hi, @An L2!

You are on the right track with the conditional transport. The default for the conditional transport is "If some condition is true, use a Transporter, otherwise, send the flowitem directly." Instead of sending the flowitem directly, we can directly edit the code for the conditional transport to get the behavior we want.

Object current = ownerobject(c);
Object item = param(1);
int port = param(2);
Object destination = param(3);
double priority = param(4);
int preempt = param(5);

/***popup:ConditionalTransport*/
/**Conditional Transport*/
/** \nIf some condition is true, use a Transporter, otherwise send the flowitem directly.*/
treenode disp = /** \nTransporter: *//***tag:transport*//**/current.centerObjects[1]/**/;
treenode disp2 = current.centerObjects[2];

if (/** \nCondition: *//***tag:port*//**/port == 1/**/) {
return disp;
} 
if (port == 2) {
return disp2;
}
· 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.

Aries Vash avatar image Aries Vash commented ·

Thanks for editing the code. The conditional transport works perfectly for the center object 2, allowing it to transport the boxes from port 2 transfer port to the sink. Cheers!basic-agv.png

1 Like 1 ·
basic-agv.png (213.7 KiB)
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Aries Vash commented

Center Port by Case

different-centerports-by-output-port.jpg

Property Window might look different, but setting is similar.


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

Aries Vash avatar image Aries Vash commented ·

This also works perfectly. Thank you for answering. I never realized that I could change the value to port. Cheers!

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.