System constraints are key when it comes to optimizing our process. The process bottleneck limits the overall throughput and it determines such things as manufacturing lot sizes.

With this simple manufacturing line simulation you can experience the effects of alternative solutions in order to maximize profit.

Download Excel file: TOCeng4.xlsm

Close other Excel files before you open this one and enable Macros.

### Process Objective

Run the simulator to obtain the maximum profit after one simulated week.

You have an initial capital of 1000 € which you can use to buy materials to feed the blue, green and orange machines.

The green machine performs 3 operations: b, c and d. All parts should be processed through all 3 so you should decide what manufacturing lot size you want and process the lot through each of these operations. Before each operation there is a setup time. In the same way the orange machine has 2 operations: e and f.

The market will accept any amount of product P with a price of 70 €. Spares P1 and P2 can also be sold but their quantities can never be above the number of products P already sold (if you have already sold 5 P's you can sell, if you want, 5 P1's and 5 P2,s).

Fixed expenses amount to 2000 €/ week and they will be subtracted from the cash balance at the end of each week.

Week 1 will start with an empty line so you can simulate one single week leaving an empty line at the end.

You can also simulate several weeks, in which case you don't empty the line at the end.

### Simulator Operation

You operate the simulator with control buttons:

You can either press the start button or use Ctrl + s. The same with the others. The reset button will empty the line and start simulation from zero.

The counter will tell you where you are:

One week is 5 working days of 8 hours. The simulator will stop at the end of each day: just press start to continue.

You start by buying materials based on the lot sizes you have decided and you must select the operation you want to run in the green machine from the pull-down menu: b, c or d.

The same with the orange machine: select e or f.

You can see the details in the Help sheet.

To transfer to the next machine type the amount to be transferred on the yellow boxes.

### Financial control

You can control your financial situation in real time:

You can buy materials as long as you have a positive balance.

### System Constraints

You may want to try your manufacturing strategy with this simulator before you go into a deeper analysis.

These are the constraints of the different machines:

The bottleneck of the whole line is therefore the blue machine (**operation a**): each product P will need 60 minutes of this machine.

You will notice that we are only considering the process times (not the setup times). The reason is that the influence of setup times can be eliminated by using large enough lot sizes as we will see later.

Another constraint is the fact that all products P and spares P1 need **machine a** (the bottleneck). Spares P2, although they don't need **machine a** to be produced they can't be sold unless products P (which need **machine a**) have been sold.

The bottleneck dictates how much we can produce and therefore the profit. We must focus on optimizing the bottleneck time to maximize profit:

To produce a spare P1 we need 60 minutes of bottleneck time and obtain a profit of 30€. If we use that time to produce a product P this allows us to sell also a spare P2 (which doesn't use the bottleneck) and the profit will be 70€.

The conclusion is that we should not produce any spares P1.

Theoretically we should be able to produce and sell 40 P's and 40 P2's per week.

### Lot size

If we decide to produce only P and P2 it will take 60 minutes of **bottleneck a** to produce one of each. In the green machine we will need to process 2 units: one for P and one for P2; this will take 18 x 2 = 36 minutes of process time.

To process a lot in the green machine we will need 3 setups of 40 min (total 120 min) and 18 x lot size processing time.

During this time **bottleneck a** must process **lot size/ 2** units (only for P). If we dedicate all spare time in the green machine to do setups we conclude that the lot size is 10.

Indeed, to process these 10 parts we will need 300 minutes which is the time it takes to process 5 parts in the blue machine a.

This means that if we reduce the lot size below 10 the green machine will be more restrictive than **blue a** so it will become the new bottleneck.

In practice to avoid the green machine from becoming the bottleneck we must leave a margin choosing a lot size greater than 10.

If we apply the same reasoning to the orange machine:

In this case the minimum lot size is 8. It may not be practical to have different lot sizes in both machines so we may decide on a value above both such as 12 to compensate for any inefficiencies.

### Possible Results

Theoretically starting with a full line we should be able to produce and sell 40 P,s and 40 P2,s which gives us a weekly margin of 40 x 70 = 2800 €. If we subtract the weekly fixed cost of 2000 € that leaves us a profit of 800 €

Starting with an empty line and leaving it almost empty at the end of one week we obtained the results:

### Capacity Utilization

On the top right corner of the simulator we can keep track of the capacity utilization on each of the machines.

At the end of the week we obtained the following results:

The first thing we notice is that the **bottleneck a** has been producing 100% of the time: one minute lost in the bottleneck would be a loss for the whole line.

The green and the orange machines have been stopped at the end of the week in order to empty the line and also due to inefficiencies on each setup.

Machines g and h were stopped at the beginning of the week due to the empty line and also along the week due to their excess capacity.

### Conclusion

System constraints need to be considered when it comes to optimizing a process.

The bottleneck defines the maximum possible throughput for the total process.

The bottleneck defines the rate at which product should be started in the line: starting above the bottleneck capacity will only build up Work In Process and it will not increase throughput

In machines with several operations we want the minimum manufacturing lot size but not so small that it becomes the bottleneck of the total process.

Capacity utilization should be 100% in the bottleneck but not in the rest of the operations.