question

Tamara D2 avatar image
0 Likes"
Tamara D2 asked Tamara D2 commented

Send to port

Hola!! Tengo 6 Source (3 generan diferentes flowitems a la mañana y 3 general diferentes flowitems a la tarde) . Todos esperan en una Queue. Y la Queue esta conectada a 4 processors (2 que deben procesar las unidades que se generan antes de las 12 y 2 tienen que hacerlo después de las 12). Necesito que esta Queue , a partir de las 12:00(cambio de turno) deje de enviar productor a los dos processors que está haciendo y comience a enviarle a las otras dos. Se les ocurre alguna manera de solucionar esto? Mis conocimientos son básicos. Gracias !

FlexSim 20.2.0
queueflexsim 20.2.0send to portcontent queuesend items
· 4
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

Mischa Spelt avatar image
1 Like"
Mischa Spelt answered Tamara D2 commented

My first instinct was doing this with a Send To Port, however you run into one problem: Send To Port should return a single output port to send the item to.

If what you want is sending items to the first available (or round robin, or whatever) port, but with the added restriction of skipping certain processors during certain times, it's perhaps better to just use the Send To Port logic as usual and close the processors inputs instead.

You can do this either using a message trigger, or with a bit of process flow, but you already seem to be using Time Tables so that is the easiest solution.

Create one time table for the mornings that stops and restarts input on one half of the processors:

and a second timetable for the other half.


1596714646046.png (307.4 KiB)
1596714655120.png (21.6 KiB)
· 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.