the sink to input, the queue 3 will be reduced by the same amount.

the sink to input, the queue 3 will be reduced by the same amount.

a0975233868
Not applicable
69 Views
5 Replies
Message 1 of 6

the sink to input, the queue 3 will be reduced by the same amount.

a0975233868
Not applicable

[ FlexSim 19.2.4 ]

Source1 and source2 are in accordance with the arrival schedule every day. As much as I want the sink to input, the queue 3 will be reduced by the same amount.0304.fsm

0 Likes
Accepted solutions (1)
70 Views
5 Replies
Replies (5)
Message 2 of 6

joerg_vogel_HsH
Mentor
Mentor

I would place another sink behind the queue3. The input is closed OnReset event for this sink. Then when your sink receives items, you open the input and you close the input again if the input of both matches.

Message 3 of 6

a0975233868
Not applicable

Hello, may I take a look at your revised file?

0 Likes
Message 4 of 6

joerg_vogel_HsH
Mentor
Mentor

I haven’t got a file.

0 Likes
Message 5 of 6

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

I suggest you can do this on the Queue3 sendtoport and not release items that would take the input above that of the sink. The sink sends a message to the queue on every entry for the queue to then decide if it should release an item.

This way you can still open and close ports to suspend the output if you need to.

0304_jl.fsm

0 Likes
Message 6 of 6

Ben_WilsonADSK
Community Manager
Community Manager

Hi @亮穎 , was Jörg Vogel's or jason.lightfoot's or 亮穎 's answer helpful? If so, please click the red "Accept" button at the bottom of one of their answers. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes