question

Cristian Manzano avatar image
0 Likes"
Cristian Manzano asked Cristian Manzano commented

CANTIDAD DE PACIENTES

Buenas tardes, actualmente me encuentro verificando un modelo de sistema de salud para el cuál quiero que lleguen al sistema 12 pacientes en media hora y que sean divididos con un porcentaje del 50% para dos rutas diferentes. Sin embargo, no me sucede esto actualmente y no encuentro el error que no permite que se envíen por cada uno de las dos rutas 6 tokens respectivamente. Agradezco mucho su valiosa ayuda y adjunto el modelo para mayor claridad.

MODELO DE PRUEBA 1.fsm

FlexSim 21.1.1
flexsim 21.1.1tokens
5 |100000

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

Michael Machado avatar image
0 Likes"
Michael Machado answered Eric M commented

Hola @Cristian Manzano. Por favor, mire el archivo anexo. Tiene que hacer un cambio en la actividad 'Decide'. modelo-de-prueba-1FIXED.fsm


· 2
5 |100000

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

Cristian Manzano avatar image Cristian Manzano commented ·

Muchas gracias por tu respuesta @Michael Machado. Abrí el archivo que me enviaste, pero me sigue sucediendo lo mismo, de los doce pacientes, 7 se van por el conector 2 y 5 por el conector número 1 , lo que demuestra que el error sigue persistiendo. Te agradezco mucho que me ayudes a resolver esta inquietud.

0 Likes 0 ·
Eric M avatar image Eric M Cristian Manzano commented ·

Try the "round robin" option in the decide activity which sends every other token through a connector. The percent option uses a random number stream to generate which connector to send to, so it will only be approximate.

0 Likes 0 ·
1623191078259.png (22.8 KiB)
Cristian Manzano avatar image
0 Likes"
Cristian Manzano answered Cristian Manzano commented

Muchas gracias @Eric M y @Michael Machado por su respuesta. Tengo una inquietud adicional. Si lo que yo quiero en mi modelo es dividir la cantidad de pacientes por trayectorias siguiendo un porcentaje de rutas posibles, por ejemplo, el 30% salen del sistema y el 70% pasan a admisiones, en ese caso ¿utilizo la opción de Por porcentaje ? ó ¿Me recomiendan otra alternativa?

· 2
5 |100000

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

Michael Machado avatar image Michael Machado commented ·

Si @Cristian Manzano para hacer división de la cantidad de pacientes por trayectorias siguiendo un porcentaje de rutas te lo recomiendo utilizar la opción 'By percentage'. Es posible hacer por cuantidad tambien de acuerdo con una Global Table, pero le recomiendo empezar una nueva pregunta sobre el tema en nuestro fórum.

0 Likes 0 ·
Cristian Manzano avatar image Cristian Manzano Michael Machado commented ·

Muchas gracias @Michael Machado

0 Likes 0 ·
Michael Machado avatar image
0 Likes"
Michael Machado answered

Hi @Cristian Manzanomodelo-de-prueba-1FIXED.fsm. Ahora si, con el Round Robin como comentó @Eric M


5 |100000

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

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.