question

Milquiades H avatar image
0 Likes"
Milquiades H asked Milquiades H edited

Problem with flow after using open/close port commands

Hi, I send batches to a processing area and I want when a batch enter no other do it untill this is completely out of the area so what a do is send messages to a queue when the batch enters and when it's completely out to close and open ports respectively but next to the first batch no other can get into the area. Please help me to restore the flow of batches to the area.

Thanks in advance. i'm not too expert on this.

FlexSim 17.1.4
send to portopen or close specific port
· 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.

David Seo avatar image David Seo commented ·

Attaching your model to this question will help you to solve your problem.

1 Like 1 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

DO NOT USE open and close PORTs. You can close and open the input or output of objects, you can stop and resume objects, but never use open and close ports, only if you exactly knows what will happen in the Flexsim engine and in combination with the fluid objects you can use opening and closing ports.

Please read the manual for the keyword closeop.

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

Joerg Vogel avatar image Joerg Vogel commented ·

If you depend on to send objects to specified ports, then you can use the function Send To to achieve this. If you need to break a connection to an object, place a queue between the two objects and manipulate the input or output of the queue.

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.