Free Espresso DOE Simulator

Free Espresso DOE Simulator

Pull shots, design an experiment and optimise strength and taste at the same time.

What is the espresso DOE simulator?

Making good espresso is a real optimisation problem. Grind too fine and the shot is bitter. Grind too coarse and it is sour and thin. Change the dose, the water temperature or the shot time and everything moves again. This simulator turns that problem into a Design of Experiments exercise you can run in your browser.

You work the espresso bar by hand. Turn the grinder dial, set the dose on the scale, tap the temperature up or down, drag the tamper, then hold the red button to pull the shot. Every shot is measured for strength, the way a refractometer reads it, and scored for taste by a tasting panel.

Unlike a single-response exercise such as the virtual catapult, you have two responses that pull against each other. Pushing for strength can ruin the taste. Learning to balance both is the skill this simulator teaches.

How to run the espresso experiment

  1. Free brew. Pull a few shots by trial and error and try to land in the target zone on the brewing chart.
  2. Design. Pick 2 to 5 factors, set low and high levels, choose a full factorial or half fraction, and add centre points.
  3. Run. Brew each run in randomised order. Each shot records strength and taste. Copy the data into CI Flow or Excel if you want to analyse it yourself.
  4. Analyse. Switch between strength and taste. Read the Pareto chart, main effects, interactions and curvature for each, and build a model for each.
  5. Optimise both. The simulator combines both models into one desirability score and recommends the settings that satisfy strength and taste together. Brew confirmation shots to check.
  6. Capability. Brew 30 to 100 shots and check Cp and Cpk for strength and the share of shots that taste good.

The five factors

FactorRangeWhat it does
A. Grind size1 to 10Turn the grinder dial. Lower numbers grind finer, which slows the shot and extracts more.
B. Dose16 g to 22 gCoffee in the basket, weighed on the scale. More coffee makes a stronger, slower shot.
C. Water temperature88 °C to 96 °CSet with the minus and plus buttons on the machine. Hotter water extracts more, but too hot tastes bitter.
D. Brew time20 s to 40 sPress and hold the red button to pour the shot. Let go to stop. Longer shots are larger and less strong.
E. Tamp pressure10 kg to 20 kgDrag the tamper down to press the coffee. Firmer tamping slows the water.

You can also change the beans (light, medium or dark roast), the amount of shot-to-shot variation and switch on bean ageing drift. These act as noise factors, so you can test how robust your recipe is.

What you will learn

  • Two responses need two models. Strength responds almost in straight lines. Taste does not.
  • Desirability balances trade-offs. One score combines both goals so you can find the best compromise.
  • Curvature hides the sweet spot. Taste peaks in the middle of the ranges, and centre points reveal it.
  • Interactions matter. The best grind depends on the brew time and the dose.
  • Measurement varies. A tasting panel disagrees more than a refractometer, which affects what you can detect.

For trainers and universities

Give your class one class code so every learner gets the same coffee and the same variation. Use it for team competitions, assignments or a hands-on DOE session in a Green Belt or Black Belt course. It is free, needs no login and works on laptops, tablets and phones.

Learn DOE properly

Our self-paced courses teach factorial designs, response surfaces and multi-response optimisation with worked examples and CSSC accredited certification.

Frequently asked questions

Is the espresso DOE simulator free?

Yes. It is free for personal, classroom and commercial training use. There is no login and nothing to install. It runs in your browser on desktop, tablet and mobile.

What does an espresso experiment teach about Design of Experiments?

It teaches you to optimise two responses at once. Strength and taste pull against each other, so you build a model for each one and then find settings that satisfy both, using a desirability score.

Which factors can I change?

Five factors: grind size (1 to 10), dose (16 to 22 g), water temperature (88 to 96 °C), brew time (20 to 40 seconds) and tamp pressure (10 to 20 kg). You can also change the bean roast, the amount of variation and switch on bean ageing drift.

How are strength and taste measured?

Strength is the percentage of dissolved coffee in the cup (TDS), as a refractometer would read it. Taste is a score out of 10 from a tasting panel. Both include realistic measurement variation, and the panel varies more than the refractometer.

What is the brewing chart?

The brewing chart plots extraction yield across the bottom and strength up the side. The shaded box is the target zone where espresso tastes balanced. Under-extracted shots sit to the left and taste sour. Over-extracted shots sit to the right and taste bitter.

Can a trainer give the whole class the same results?

Yes. Enter the same class code on every device. Every learner then gets the same coffee and the same random variation, so results can be compared and marked fairly.

Can I export the data to CI Flow or Excel?

Yes. Download the run table as a CSV file, or copy it and paste it straight into CI Flow, Excel or Google Sheets. In CI Flow you can keep the experiment with the rest of your improvement project.

Which designs does it support?

Full factorial designs with 2 to 5 factors, half fractions with 3 to 5 factors, 1 to 3 replicates, 0 to 6 centre points, and randomised or standard run order.