question

Paulina B6 avatar image
0 Likes"
Paulina B6 asked Jason Lightfoot commented

use label with processor name to send to correct processor

Ejemplo de asignacion.fsm


Hello, I am trying to assign from the source the processor that will serve but I have errors when executing the simulation.


Can you help me please?


If it is necessary to use the process flow, please tell me how to do it.



Thank you



1670367450886.png

FlexSim 22.2.1
processors
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Paulina B6, was one of Sebastián Cañas's or Jeanette F's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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 0 ·
Jeanette F avatar image
0 Likes"
Jeanette F answered Jason Lightfoot commented

Hello @Paulina B6

I added a pull requirement on the processors. The requirement looks for the Processor label on the patient and makes sure it matches the name of the processor object. 1670368586541.png

ejemplo-de-asignacion_1.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.

Paulina B6 avatar image Paulina B6 commented ·

Hello @Jeanette F , thank you very much for your help.

It worked correctly. In addition to this, I wanted to ask if it is possible to add a label for waiting time and assign it so that in the simulation it is reflected as waiting time?

1672235658425.png


I also want to ask if: is it possible that I can remove that box from the system console?

And if it does not matter that this error appears in the system console.

1672235774201.png



I am attaching the model with the label so that you can tell me how to do it.


I appreciate your attention


ejemplo de asignacion.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Paulina B6 commented ·
You've already asked this in a seperate, private post here. We advise all posters to not duplicate questions since it takes twice or more the resource to answer questions.
0 Likes 0 ·
Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered

@Paulina B6 ,

1670368201070.png

That error occurs because there is something wrong with the parameter Pass To of the Operator 1. My guess is that you type manually "First Available" but you should instead select one of the options from the picklist.

Assuming that you want to match the label of the FlowItems with the Processor used, you should change the logic in the property Send to Port of the object Queue1. To learn more I suggest you to read this part of the user manual. Since you're using string values you should use Port by Case instead of By Expression as you set.


1670368201070.png (44.6 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.