question

Moisés Cálderon avatar image
0 Likes"
Moisés Cálderon asked Moisés Cálderon commented

How to install a pull supply system on two resources?

Hello FlexSim community


As you can see in the file has a series of logic, but I want that the Station2 process smoothly (based on a Pull system) for example if the customer requests 7 boxes (has to enter two trays and I have a tray with a box left)


*If there is a tray in the separator machine this with the Queue4 must add 6 trays and must be closed when there is no customer (must be replenished continuously and consecutively cycle).


On the other hand the system must be flexible for production change as an example that now Queue3 contains 6 trays of 6 units of boxes, while Queue4 contains 8 trays of 6 units.

*The system must run without retention or obstruction.


Thank you very much in advance.

Image N°01: In the image the system let run

1690405538831.pngImage N°02: With changes of tray and box units the system is distorted.

1690405422353.png



base-del-modelo-mejorado-33-new.fsm


FlexSim 23.0.8
process flow
· 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.

Julie Weller avatar image Julie Weller commented ·

Hi @Moisés Cálderon, was Carter Walch's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Carter Walch avatar image
0 Likes"
Carter Walch answered Moisés Cálderon commented

Hi @Moisés Cálderon ,

To make your model flexible for any number of items in each tray, I added a global variable numTrayItems and changed the Custom Code to work for any value you enter. For example, there used to be 4 items in each tray, but if you change numTrayItems to 6 and reset the model, all the Combiner objects will update their parameters to match this value. Leftover items will also be accurate based on this value.

1690406444501.png1690406483075.png

Example: Client orders 1 item --> Pull 1 Tray (6 items) so there are 5 remaining for the next client

1690407091487.png

To make your model run without stopping, I changed Source1 and Source2 to inter-arrival time instead of an arrival schedule. Earlier the model was stopping because it ran out of materials.


If there is a tray in the Separator after a client leaves, do you want those items to remain there or return to Queue4? I'm not quite sure what you mean here

"*If there is a tray in the separator machine this with the Queue4 must add 6 trays and must be closed when there is no customer (must be replenished continuously and consecutively cycle)."

I removed the Wait For Events so that a client can pull the required items without waiting for Station2, but I'm not sure if this is what you wanted. Let me know

Hope this helps!

base-del-modelo-mejorado-33-8-NEW.fsm


· 3
5 |100000

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

Moisés Cálderon avatar image Moisés Cálderon commented ·

Hi Carter

I wanted to modify but the number of boxes is not changed from 6 to 4 boxes per tray. Also I can't find the global variable, can you tell me where I can see it?

A query, I was doing the graphs on the queue4, can you join in one for example queue4 + Separator to determine how many trays come out in total and enter.

I remain attentive to your answer, thank you very much.

1690974429748.png

base-del-modelo-mejorado-33-4-new FINAL.fsm


0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Moisés Cálderon commented ·

Do you have a license? The global variables do not show in the express version, which you should also note are not for commercial use.

0 Likes 0 ·
Moisés Cálderon avatar image Moisés Cálderon commented ·

Hi Jason

No, the module I have is a student module.


There is no way to make the changes or I have to update the version.

0 Likes 0 ·