question

Ignacio H2 avatar image
0 Likes"
Ignacio H2 asked Ignacio H2 commented

Configuración visual de itemflow en procesador

¡Hola! Mi consulta es cómo hacer que un procesador de capacidad máxima 21 artículos, se configure para que visualmente se observen los artículos ingresando en filas de a 3. Es decir, que se visualicen 7 filas de 3 flujos cada una, de tal manera que se procesen 21 a la vez (van ingresando a una cierta tasa, en tandas de a 3).


"Hello! My query is how to make a processor with a maximum capacity of 21 articles, be configured so that the articles are visually observed entering in rows of 3. That is, that 7 rows of 3 flows each are displayed, in such a way that they are processed 21 at a time (they enter at a certain rate, in batches of 3)."


FlexSim 22.1.0
proces flowitemsprocesador
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ignacio H2 commented

Something like this?

1652860027542.png

I did this by changing the location of the item in the 'On Entry' trigger, depending on the current input value. (Divide input stat by three -> rest is either 0, 1, or 2 -> change y-location depending on value)

Google Translate:

Hice esto cambiando la ubicación del elemento en el disparador 'On Entry', según el valor de entrada actual. (Divida la estadística de entrada por tres -> el resto es 0, 1 o 2 -> cambie la ubicación y según el valor)

// Get offset and shift location
int offset = (current.stats.input.value)%3 - 1;    // input mod 3 - 1 -> returns 0, 1, -1 in repeating order
item.location.y += item.size.y * offset;        // move upwards by y-size of item times result from previous calculation

processor_rows.fsm


1652860027542.png (59.9 KiB)
processor-rows.fsm (26.9 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.

Ignacio H2 avatar image Ignacio H2 commented ·

muchas gracias!

0 Likes 0 ·