question

Noelio avatar image
0 Likes"
Noelio asked Felix Möhlmann commented

Process Flow

Hello Team: I have created a simple model combining 3D Modeling and process flow.

Based on my model I want the operator to pick a box, and leave it on the workstation while he picks some small components that are going to be in the box, and after that, the box can be delivered. The same methodology applies to the next two workers. I´ve created the model and tried to build the operator behaivor by using process flow but it seems to be not working.

Please let me know how to improve it! Thanks, BR process flow activities syncronized.fsm


FlexSim 24.2.1
process flow + 3d modeling
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

For implementing custom logic I would use Decision Points instead of stations. They don't have any inherent logic attached to them so you have full control over the entire process and don't need to work around the default behaviour of the station.

process-flow-activities-syncronized_1.fsm


· 7
5 |100000

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

Noelio avatar image Noelio commented ·

Hello Felix:

Thank you for your help. I´m currently trying to replicate the model and I´m having this error and I´ve tried to fixed but It did not work. Basically, I just want my last operator to leave the boxes in one particular queue and then coming back to the second workstation.

Do you have another approach to make this possible? failed model for boxes transportation..fsm

Thanks for this,

BR

1729009164653.png

0 Likes 0 ·
Noelio avatar image Noelio commented ·

I was able to run my model again, but still the same problem than before is happening. Is this an acual error or just a bugging message? sometimes the model run but some other the erros appears.

failed model for boxes transportation..fsm1729032296453.png

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Noelio commented ·

Queue1 and Sash Assembly Station are both set to use an object connected to centerport 1 to transport items to the next object but neither has such a connection.

At the final station of the conveyor you remove the item before the process time has elapsed, leading to an error message. You also remove the item from the conveyor here but still resume it later in the Process Flow, leading to another error.

After fixing these issues the model runs without problem.

Whenever you get an error message in the console, you should try to fix it. Something is wrong in your model and even if everything appears to work fine despite the error, they can have unforeseen consequences.

failed-model-for-boxes-transportation_1.fsm

0 Likes 0 ·
Noelio avatar image Noelio commented ·

Boxes distribution Rev03 Model.fsmThanks for your help Felix.I´ve finalized my model, but still the same issue is there. When I run my model with just the first conveyor station is okay, but when I add the rest of it, it is kind of stuck leading to erros that I´m trying to figure it out what those means. As a matter of fact, this also is affecting the speed of my simulation? It is something related to the software version?

Let me know your comments!

1729452657306.png

BR


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Noelio commented ·
You can't stop items in a queue or on a processor with a function designed for conveyors. If you want to keep an item in a queue up until some logic has run I would set the queue's Send to Port option to "Do Not Release Items". You can then run your Process Flow logic without needing to 'stop' the item. After it's finished use the "BasicFR -> Release Item" option in a custom code activity to release the item (need to specify the port, since the Send to Port code would just hold the item again).

To pause an item on a processor, use the stop/resume object function on the processor.

0 Likes 0 ·
Noelio avatar image Noelio commented ·

Hello Felix:

You meant that I need to add a BASIC FR and then connect from my queue 1 to the new BASIC FR and finally customize a code?

If I customize the code I should add the funciton release item and then specify port?

Is that the correct approach?

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Noelio commented ·

No, you don't need to add a BasicFR object. The relevant option is just found under that menu entry. Sorry for the confusion.

1729750950381.png

The option can be used to release an item from any fixed resource. If no port is specified, the Send to Port code of the object will be run. Otherwise that code is not used and the item is released through the specified port (if it exists).

Here's and example where a queue waits until a batch of 9 same type items is available and then sends them to one of two queues depending on the type.

release-item-example.fsm

0 Likes 0 ·