question

mary avatar image
0 Likes"
mary asked Kavika F commented

Parts consumed by percentage

Hi,

I have a model where I want to consume a part on the combiner/s1 with percentage. example: I have a s1 station where two part "a" and "b" comes. When part "a" arrive at station s1, the kit present in Queue1 that is "k1" it should be consumed with percentage.

The k1 should consume as per the global table of column with "%usage per cycle", per cycle in the sense cycle time of s1. Ex. in first 10 sec of cycle time 100% of k1 should be consumed and part moves out here then check the "Trigger % for Replenishment" column in global table that after how much percentage completion of that kit that the next kit order to be done. When part "b" arrive k1 of 25% should be consumed only. When 25% is consumed from the kit the part move out, the kit should wait until 100% consumed when the same kit of 25% is consumed to 50% according to "Trigger % for Replenishment" then next k1 is to be ordered so on.

1669906069137.png

Note: "a" and "b" are variant where "a" consume full 100% kit "b" consume 25% moves out then next part "a" comes which consume remaining 75% percentage and 25% from new kit ordered so this continue.

kit contain a pallet and on that a box, only box should be consumed and pallet remain in the buffer.


Can you please help me with this solution. model attached below

percentageof parts.fsm


FlexSim 20.0.10
stationspercentage of part
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

Kavika F avatar image
0 Likes"
Kavika F answered Kavika F commented

Hey @mary, here's a possible solution to your problem. My model is attached. I made a Process Flow (PF) that handles this custom functionality.

1670276819578.png

I start by waiting for a Part to come in from the Parts Source (Type "a" or "b"). When one does, I get the percent usage from the Global Table (I renamed it "Work Table"). I have a separate table that just keeps track of the current percentage of k1 available.

We subtract the required amount from the current total to get the remaining total. If that remaining amount is greater than 0, then we spawn a box in another queue I named "k1 Partial Queue" which gets fed into the Combiner to complete the job. If the remaining total is less than or equal to 0, then I do a separate task. First, I remove the k1 box and pallet from the "k1 Queue". Then I replenish the queue with a new k1 and update the Percentage Tracker table. Finally, I spawn a box to allow the job to complete now that the amounts are correct.

I also added an "OnModelReset" trigger to set the Percentage Tracker to 100 whenever you hit reset so it starts over fresh.

percentageof-parts_1.fsm


· 6
5 |100000

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