question

Fakhrusy Sf avatar image
0 Likes"
Fakhrusy Sf asked Andrew O commented

Actively looking for its mixer content (Floworks)

Greetings,

I want to ask something regarding the mixer.

1658322167882.png

the above is my model. The 7 blender are dependent on the 3 premixer(Drum decanting) in a manufacturing plant..

In real life condition, some of the batches are created simultaneously. In certain case, multiple blender that shared a premixer and the blender must wait for other content until its contents is transferring successfully from drum to premixer(Decanting process).

In floworks, once a token is created, it will automatically locate its content (one time only).Can we make the mixer recipe always looking/updating for its content?

Thanks

My model : Mini_Simulation_OilLubricantsV12.fsm

FlexSim 18.2.3
FloWorks
· 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.

1 Answer

Mischa Spelt avatar image
1 Like"
Mischa Spelt answered Mischa Spelt edited

The mixer is not designed to be "always looking/updating for its content". It tries to locate its content when you load the recipe and assumes that the input ports will then stay fixed as long as the recipe is running.

As I also wrote in your other question, if you want to check again at a later point, you need to load the recipe again or -- if you really need fine grained control over when which product is pulled -- stop using the Flow Mixer and model the logic yourself using a simple Flow Tank.

If you want to use the mixer, you need to call loadRecipe at the proper time, not immediately when the token is created. I would use a Wait For Event to await the premixer having the right product available. In your other comment you said you do not want to use a Wait For Event for that. I am not entirely sure why -- FlexSim does discrete event simulation so while it is possible to "check the status every x seconds", the fastest way to simulate is by looking for events.

If you can you explain a bit more what that actual logic is, perhaps with a flow chart, we may be able to help you better. For example, does the premixer always push material into the blenders, rather than the blenders pulling from the premixer? Because then a Flow Mixer may not be the best object.

5 |100000

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