question

Faris Rizal avatar image
0 Likes"
Faris Rizal asked Jeanette F commented

Source Problem

Please help this is for my Final Year Project :( I am creating a simulation of a kitchen assembly line in FlexSim, consisting of 2 sources (bun and patty), 3 processors (toast bun, condiments, and grill patty), 1 combiner, and 2 queues (Universal Holding Cabinet and Funnel).

Process Flow:

  1. The bun source produces one bun, which is toasted in the processor, and then condiments are added in another processor.
  2. The patty source produces 6 patties at once, which are grilled in the processor and stocked in the UHC (Universal Holding Cabinet), which has a maximum capacity of 12 patties. The patty source will stop producing once the UHC is full and will resume producing 6 patties once space is available in the UHC.
  3. When both the bun and patty are ready, the combiner combines them into a burger and sends it to the funnel.

Settings I have configured in FlexSim:

  • Toast Bun Processor: Process time = 17 seconds
  • Add Condiments Processor: Process time = 10 seconds
  • Grill Patty Processor: Process time = 39 seconds, Max capacity = 6 patties
  • UHC Queue: Max capacity = 12 patties
  • Patty Source: Inter-arrival time = 0s, Arrival style follows this table:
ItemName Quantity
Arrival1 6
Arrival2 6

Issue: Currently, the patty source is set to produce 12 patties in total (6 patties at a time, twice). I want the patty source to stop producing when the UHC is full and resume production once space is available. How can I ensure that? Would really appreciate if someone can help this.

Attached is the file of my model:

Kitchen.fsm

FlexSim 24.2.2
queuesourceschedule source
kitchen.fsm (44.2 KiB)
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Faris Rizal edited

Add a label to the UHC that will denote the current content plus planned input from the grill. In the exit trigger of the patty source, increment this label by one. If the value is now 12, close the output of the source. Similarly, in the exit trigger of the UHC, decrement the label by 1. If the value is now 6 (so there is space for another batch), open the output of the source again. The source would be set to produce items with an interarrival time of 0 in this case.

· 7
5 |100000

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