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.

mary avatar image mary commented ·
@Kavika F this is good thank you. But what i want is the new kit arrival should always be 100%. In that 100% each cycle time should be consumed following the "%usage per cycle" column from global table. can you keep the buffer storage for "K1 Queue is 2" there should always be 2 kit storage.
0 Likes 0 ·
Kavika F avatar image Kavika F ♦ mary commented ·

@mary, the kits that arrive from k1 are always at 100% when they come in. What happens is, as you mentioned, parts of type b will consume 25% of a kit. So when 25% of a kit is consumed by a type b item, 75% is left. Then, when a "type a" item requires 100% of a kit, I consume the 75% left in the first kit and go to retrieve a second kit, which gets 25% consumed from it upon entry to the queue, thus leaving you with 75% left.

I updated it to allow 2 kits to be stored in "k1 Queue", and I updated the Process Flow to handle the 2 kits. I also updated how the percentage was tracked (it's now out of 200%, 100% for each kit).

1670361697233.png

percentageof-parts-revision_1.fsm

0 Likes 0 ·
mary avatar image mary Kavika F ♦ commented ·

@Kavika F thank you so much this model is good.

I have a one more model where i have "preparation" buffers where kit is prepared. there are 3 types of kit K1_var1,K2_var1,K3_var1. After entry of kit to its particular buffer in preparation area i am going to check the availability of "storage" buffer by assigning two label "capacity" and "Assigned" and then push to list and pull the list and assign to transporter. The same apply when my kit comes in "storage" buffer it check the each station buffer availability and push to list.

Can you apply your above percentage logic to this model to station side buffers K1_Queue,K2_Queue and K3_Queue. I have created a global table for each kit percentage usage.

Please do help. Can i push to list and pull the transporter if possible.

s11.fsm

0 Likes 0 ·
s11.fsm (96.3 KiB)
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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