question

Bryan V avatar image
0 Likes"
Bryan V asked David Seo commented

Is possible to process 2 times a flowitems in the same processor?

Hello guys,

I need to find a solution for this issue.

I have 4 different flowitems (but i think it's not important), they goes to Processor1 for the first time then elevator transport it in Queue2 and same elevator1 allows to carry towards Processor2, after the process of the flowitem, it return again to the Processor1 for the second time using elevator1 to transport, when the process finish the flowitem goes to Queue9.

The problem in this system is the sequence of the flowitems, I have to make sure that until queue2 is saturated processor 1 does not take flowitems from queue1 and wait to process the outgoing flowitem from processor2, so subsequently direct it to queue9 and finally be able to take a flowitem from queue1.

prova Roder Caso 1.fsm

FlexSim 19.0.0
processorflexsim 19.0.0FloWorks
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

David Seo avatar image
1 Like"
David Seo answered David Seo commented

@Bryan V

prova-roder-caso-1_FKorea.fsm

Your issue can be solved like followed and I attach the solved model.

1) When Item from Q1 changed the label value item.tornito to 1 and on entering the P1 close the Q1 output port.

2) When P2 exit the item, it change the item label item.tornito value to 2.

3) When item of item.tornito == 2 enter the P1, P1 open the Q1 output port.

4) P1 exit the item using send to port according to the item.tornito value.

when item.tornito ==1 and exit to port 1, when item.tornito ==2 then exit to port 2.

5) When output port == 2, not using transport.

If you have any question about the solution, make me know it.


· 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.

Bryan V avatar image Bryan V commented ·

Thanks for your replay.

I just have 1 question:

why didn't you declare the label in the "Labels" section ----> "Add number labels"?

No need to declare it in that section and is it enough to create it in the triggers section?

0 Likes 0 ·
David Seo avatar image David Seo Bryan V commented ·

The ways to use 'Label' in flexsim is two. One is setting a label in trigger only using script. And the other is manual setting in Label tab you said. The result is same. But something in FlexSim doing it in is different.

Manual setting a label name and value is known to flexsim on Reset clicking and so the label name appears in trigger Set Label .... option menu. Yes. Before model's running, flexsim know the label name and initial value.

But only using trigger script way is ...After the model doing the script of the trigger, the label name and the value are known to FlexSim model and so the label name is not appeared when Label setting in triggers.

In the case of your issue, anything is possible.

If you have any questions about my explanation, please make me know it.

1 Like 1 ·