question

Lean van der Walt avatar image
0 Likes"
Lean van der Walt asked Lean van der Walt commented

Combining two Models

I have two models that work well independently, replenish3 model and warehouse2 model. I will like two combine the models into on model by adding the logic of the one model to the other one.

The warehouse2 model generates items and stores the items in racks, before orders are generated that pull the items out of storage to be sunk. The replenish3 model works on the same concept, except that items are replenished from rack1 to rack2 when the items in rack2 reaches a certain level.

I want to add the replenish3 model to the warehouse2 model. The items would now be pulled from storage from two separate order points in the model. The items in rack2 need to be replenished from the items in the warehouse2 racks.

I have tried to copy the logic from the replenish3 model to the warehouse2 model, but i have failed miserably.

Please assist?

replenish3.fsm

warehouse2.fsm

@Brandon Peterson

Choose One
model optimization
replenish3.fsm (66.1 KiB)
warehouse2.fsm (80.7 KiB)
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

Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered Charles W commented

So we managed to merge your two models together. We did this by first copying all the 3D objects over to the new model, followed by the Process flow. Then we also copied over the Global Tables and the Global lists (I made a second "Orders" list and named it "Orders1," and updated the areas where it was called.) We also updated the Wait For Event that was copied over, because when you copy it, the data in the event is blanked out.

I'm attaching the merged file below. If you want to merge logic from the other file, you will have to figure out where and how they are going to merge manually But at least you have the two models in one place now.

2304-replenish3-merged-with-warehouse2.fsm


· 4
5 |100000

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