question

Ricardo G9 avatar image
0 Likes"
Ricardo G9 asked Joerg Vogel edited

Como generar elementos desde la fuente

Por favor me pueden ayudar, tengo un modelo de 60 cajas distribuidas en 5 tipos de cajas a cada una de ellas le corresponden un valor de 20% del total de cajas eso quiere decir que a cada tipo le corresponden 12 cajas y cuando simulo esto no logro cumplir esta condicion ni por set item type by percentage tampoco por global table. observo que la simulacion toma es valores aleatorios. por favor me podrian ayudar

prueba1.fsm

y esta fue la configuracion para set item type by percentage

prueba2.fsm

FlexSim 19.1.2
sourceflexsim 19.1.2triggers
1595822328230.png (63.6 KiB)
1595822638983.png (101.6 KiB)
prueba1.fsm (27.1 KiB)
prueba1.fsm (27.1 KiB)
prueba2.fsm (27.2 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

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

There are two systematic alternatives.

You create Type in alternate order 1,2,3,4,5,6,1,2,3,4,5,6,1,2,..

  • You add a set label picklist option in On Creation Trigger tab of a source. Name is “Type”, value is
    1. current.stats.output.value%6+1
    It is done by a modulus operator, which returns the rest of an integer division.
  • You assign a Type value from a given list by extracting it. If the list gets empty, you fill it again.

if you need further assistance, then please come back and describe what you don’t understand or where we should go more in detail.

Si es un problema de idioma, intente con un traductor de internet. Como si hubiera usado uno aquí.

· 12
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.