ProcessModel 7 Self Teach GuideChapter 6

Chapter 6. Give Each Line a Size and an Order

By the end of this chapter you can

Set how much a step holds and who in a line goes first.

Watch the video (7 minutes), then work through the lesson below it in ProcessModel, step by step.

Title card: Self Teach Guide, Chapter 6. Give each line a size and an order.

Chapter 6 watched

Now work through the lesson

The video could not be played here.

Watch on YouTube
Length 7 minutes 7 seconds

Before you start

So far, a customer waiting for Repair joined a line with no end: Repair’s own waiting room could hold 999 people. No real shop has a waiting room like that. A bench holds a few people; a counter has room for a few phones. And every waiting area has an order: who goes next when a Technician is free.

Both matter, and in a way that surprises people the first time. When a waiting area is full, the customer who has finished the step before it has nowhere to go. They stay where they are, and the step they are standing in cannot take anyone new. A full line downstream stops work upstream. This is called blocking, and it is how a small bottleneck in one place causes a long line somewhere else.

In this chapter you give the shop’s repair line a size and an order, then watch blocking happen. Two settings carry the whole lesson:

  • Capacity of a waiting area: how many can wait there.
  • Queue discipline: which waiting customer goes next.

Here is what changes in the shop:

PartChapter 5Chapter 6
The office groupSix customers at 10 on MondayTwelve customers at 10 on Monday
Repair’s own waiting roomInput Q 999: a line with no endInput Q 0: none
Repair QueueNoneA new waiting area before Repair, for two customers; the one longest in the shop goes first
Routes into RepairFrom Check In and from Quick FixBoth now end at the Repair Queue, which leads on to Repair
Steps, staff and runAs Chapter 5 left themUnchanged; Technician, Repair and Pick Up move right to make room

You need your Phone Repair Shop from Chapter 5 (or the practice model below) and about forty minutes.

Step 1. Open your shop

  1. On the Welcome screen, under Recent Models, click Phone Repair Shop.

What you should see: the shop as Chapter 5 left it, with Quick Fix and the orange Office Customer.

Step 2. Send twelve from the office

To see what a full line does, the shop needs a burst of work bigger than it can take at once. The office now sends twelve customers at 10.

  1. Click the office group’s arrival line, from Office Customer. It reads 1 entry, 6 entities.
  2. Click Open Schedule Builder. The row holds 6 customers at 10 on Monday morning.
  3. Click its Quantity and type 12. The foot reads Total Quantity 12.
The Scheduled Arrivals Builder for Office Customer to Check In, with one row: week 1, Monday, 10:00 AM, quantity 12. The foot reads Total Rows 1 and Total Quantity 12.
Figure 1. The office group grows to twelve, still at 10 on Monday.
  1. Click Save Schedule. The panel now reads 1 entry, 12 entities.

Step 3. Take away Repair’s own waiting room

Every activity has three small boxes above its time: Input Q, Capacity and Output Q. Capacity is how many it works on at once. Input Q is its own waiting room in front of it, and Output Q is room after it for customers who are done but cannot move on yet. In both, 0 means none.

  1. Click Repair. Capacity reads 2: two repairs at once. Input Q reads 999: a line with no end.
  2. Click Input Q and type 0.
Repair's properties: Input Q 0, Capacity 2, Output Q 0, Processing Time Lognormal(2.422, 0.356) in minutes.
Figure 2. Repair keeps no waiting room of its own: Input Q 0.

Why: you want one place, and only one, where customers wait for a repair. That place is the Repair Queue you add next, and you will give it a size and an order.

Step 4. Make room and add the Repair Queue

The Repair Queue goes where Repair stands now, so first move three shapes right.

  1. Click Technician, then hold Ctrl and click Repair and Pick Up. All three are selected.
  2. Drag them right together. Every line stays attached as they move.
The canvas after the move: Technician, Repair and Pick Up sit further right, every line still attached, and the space in line with Check In where Repair stood is empty.
Figure 3. Technician, Repair and Pick Up moved right together, every line still attached, with room where Repair stood.
  1. Drag a Queue from the palette and drop it where Repair was, in line with Check In. A Queue is a waiting area: nothing is done to the customers there, they only wait.
  2. Name it Repair Queue.
  3. Click Capacity and type 2: the queue holds two customers.
  4. Click Queue Discipline and choose Oldest in System.
The Repair Queue's properties: Name Repair Queue, Capacity 2, Queue Discipline Oldest in System, Path Node None.
Figure 4. The Repair Queue: room for two, and the customer longest in the shop goes first.

Queue discipline is the order. A queue that serves first come, first served is fair to the queue, but Oldest in System is fair to the customer: it looks at how long each one has been in the shop, not just in this line. A walk-in who already tried Quick Fix has been here longer than an office customer who just checked in, so they go first. The list offers other orders too, such as last in first out, random, or by an attribute (Chapter 8 teaches attributes).

  1. Scroll down to Animation Display and tick Show queue fill indicator.
Further down the Repair Queue's properties: Queue Discipline Oldest in System, and under Animation Display a ticked box reading Show queue fill indicator, with a Threshold setting below it.
Figure 5. The fill indicator: a bar on the queue's edge that shows how full it is during a run.

During the run, a bar on the queue’s edge will show how full it is, so you can see the moment it fills.

Step 5. Send every repair through the queue

Now the two routes that went into Repair must end at the Repair Queue instead.

  1. Click the office route, from Check In to Repair. Drag its end off Repair and drop it on the Repair Queue. Its panel stays open: it is still Conditional, Priority 1, and scrolling down shows the condition is kept, IF Entity.Name equals “Office Customer”.
  2. Click Quick Fix’s route to Repair and drag its end onto the Repair Queue too. It is still Percent, with Probability 30.
The properties of the route from Quick Fix to Repair Queue: type Percent, Probability 30. Sibling Routes read Pick Up 70 and Repair Queue 30, Total 100%.
Figure 6. Moving a route's end keeps its settings: still 30%, now to the Repair Queue.

Moving a route’s end keeps everything you set on it. You do not have to build the condition or the percentages again.

  1. Draw a line from Repair Queue to Repair. It reads 100%: every customer in the queue goes on to Repair.
The finished layout: Customer and Office Customer on the left, Check In, then Repair Queue, Repair and Pick Up in one row, with Quick Fix above Check In and the Technician above Repair. A route labeled 30% runs from Quick Fix down to the Repair Queue.
Figure 7. Every repair now waits in the Repair Queue, the one place to wait for a repair.

Step 6. Watch the queue fill and Check In stop

  1. Click Run Simulation.

Until 10, the day goes as in Chapter 5. At 10, the office sends twelve customers at once, and here is the chain to watch, link by link:

  • Check In serves one customer at a time, and each office customer goes on to the Repair Queue.
  • Repair works on two. The Repair Queue holds two more. That is four office customers in the repair area.
  • The next one finishes Check In and has nowhere to go: the queue is full, and Repair has no waiting room of its own. So they stay at Check In.
  • While they stay, Check In cannot take anyone new. Check In’s line grows.

Watch the bar on the queue’s edge: yellow with one customer, then red and pulsing with two. Rest the pointer on Check In: its popup reads Blocked.

The shop at 10:34 in the morning. Check In's popup reads Blocked. The Repair Queue and Repair are both full and red, and the Technician reads 2/2. The cards read Throughput 29.5 per day, Avg Throughput Time 18 min, WIP 10.0 and Process Efficiency 84.7%.
Figure 8. Check In is blocked: the Repair Queue is full, so the customer at Check In has nowhere to go.

When a repair ends, the queue moves up, the customer at Check In moves into it, and Check In starts again. Soon after 11 its line is gone, and then the queue empties.

At noon, the walk-ins’ rush comes, and the queue’s order shows its worth: a walk-in who tried Quick Fix has usually been in the shop longest, so they move up ahead. The afternoon is calmer, and the queue does not fill again.

Step 7. Read the cards

Simulation Complete reads 60.00 entities processed. The cards read Throughput 60.0 per day, Avg Throughput Time 24 min, WIP 0.0 and Process Efficiency 59.8%.
Figure 9. One Monday with a sized queue: 60 customers, 24 minutes in the shop, 59.8% efficiency.
  • 60 went through: the 48 walk-ins and the 12 from the office.
  • Avg Throughput Time, 24 minutes, up from 20 in Chapter 5: twelve customers at once means more waiting.
  • WIP, 0: at midnight the shop is empty.
  • Process Efficiency, 59.8%: more of each customer’s time is spent waiting.

The small arrows on the cards compare with the run’s last hour, not with Chapter 5, so compare chapters by the numbers themselves. As always, one run is one possible Monday; Chapter 10 runs many. Click No.

Step 8. Save it

  1. Click File, then Save. The star leaves the title bar. Chapter 7 starts from this shop.

Your practice model

  1. Start fromChapter 5. Send Each Job Down the Right PathThe shop as Chapter 5 left it. Use your own saved Phone Repair Shop instead if you built it.
  2. Compare withChapter 6. Give Each Line a Size and an OrderThe shop as this chapter leaves it. Open it when you are done, and check your settings against it.

Both are in File ▸ Demo Models, in the Self Teach Guide group. A demo model opens as a new model, so the original never changes.

Check yourself

  1. Question 1The Repair Queue is full and Repair has no waiting room. A customer finishes Check In and needs Repair. What happens?
  2. Question 2Why set Repair's Input Q to 0 before adding the Repair Queue?
  3. Question 3With Oldest in System, who leaves the Repair Queue first?

Try it yourself

How big should the queue be? Make it bigger and find out.

  1. Click the Repair Queue and set its Capacity to 6.
  2. Run the day. At 10, rest the pointer on Check In while the office group comes through.

Mark it done

When you can explain why a full Repair Queue stops Check In, turn on Done.

You watched this chapter's video.Not watched yet: the video is marked when it plays to the end.

Kept in this browser only, and shown on the course page.

All 15 chapters of the Self Teach Guide