question

Nicole S2 avatar image
1 Like"
Nicole S2 asked tannerp commented

How to send selected items to a special processor?

3-shift-operation.fsm

Hi all,

in my model is a 3-shift operation simulated which produces the same kind of parts in every shift. I got no time table integrated in my model because the machineries are not running in the breaks. I reduce my total running time of 3 shifts (480 min) about 135 (45 minutes break per shift) which results a simulation duration of 345 min = 20700 seconds. My model consists of a source, a queue, two processors and one sink. In every shift should two products after processing be send in to a third processor and not the sink. That third processor will simulate the "quality control". Furthermore should every four months a product be send in this quality control.

How am I able to represent this?


Thank you very much!!

FlexSim 19.0.0
send itemslabel items
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

You need events that change an attribute like a label value at an object. You compare the label value in your send to port source code to decide which output port number the item goes. You need another event that reset the label value back. Events are messages by the options or commands sendmessage in combination with OnMessage triggers. User Events in the toolbox Model activities. Timetable events. MTBF/MTTR toolbox item. Process Flow delay activities.

5 |100000

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