question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

closeallop() is not working?

Hi Team,

I know there are other ways to control the output port, but I would like to understand on function closeallop() used cases.

Based on this function, outport of queue should be blocked but it is not working same. There is not impact of this function on output port of queue.

1709647663283.png

Can you help me to understand it?

Thank you!

closeallop Check.fsm

FlexSim 23.1.0
controlportcloseallop
1709647663283.png (51.0 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
2 Likes"
Jason Lightfoot answered Ankur A3 commented

closeallop():

"Close all output ports of object. Closing all output ports of an object will block the exit of that object. Modelers should only use this command when working with fluid objects because the internal behavior of discrete objects controls the opening and closing of their ports, and therefore this command may be overridden. For discrete objects the modeler is referred to closeoutput() and stopoutput()."

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

Ankur A3 avatar image Ankur A3 commented ·
Thank you @Jason Lightfoot for providing insights!
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.