You are on page 1of 48

The Lean Lego Game

Danilo Sato, Francisco Trindade


XP 2009 – Sardinia - Italy

25th May 2009

© ThoughtWorks 2008
Agenda
•! Quick introduction
•! Simulating a production line
!"#$%&'#&

-)./0)1#2&

•! How about software? ()%*+,%&

© ThoughtWorks 2008
Why are we here?
•! Lean concepts starting to be noticed in the
software world
•! But not everyone has had contact with Lean
principles and practices

We’re here to introduce you to Lean


Hands On!

© ThoughtWorks 2008
Lean?
•! Toyota Production System
–! Revolutionized manufacturing (Ford vs. Toyota)
–! Started to be applied to different areas
•! Google, Dell, Zara, …
•! Product Development
•! Supply Chain Management
•! Software
•! Healthcare
•! …

© ThoughtWorks 2008
Lean?

© ThoughtWorks 2008
What we want to show
•! Push and Pull Systems
•! Kanban
•! Systems Thinking
•! Flow
•! Heijunka
•! Yatai (Work Cell)
•! And more…

© ThoughtWorks 2008
Hands On – 1st Step
•! Let’s simulate a production line…

3"%4&5& 3"%4&6& 3"%4&7& 3"%4&8& 9)++&:;*%)&

•! 4 Teams •! Follow the instructions


•! 4 rounds of 40 seconds •! Build houses
•! 1 Piece = $ 1.00
•! 1 House = $ 25.00

© ThoughtWorks 2008
Stay Motivated!

© ThoughtWorks 2008
Houston we have a problem…

What went wrong?

© ThoughtWorks 2008
Waste
•! Visible Inventory
•! Over/Under Production

© ThoughtWorks 2008
7 Wastes of Manufacturing
•! Overproduction
•! Waiting
•! Unnecessary Transportation
•! Overprocessing
•! Inventory
•! Motion
•! Defects

© ThoughtWorks 2008
Push and Pull Systems
•! Push System – upstream information

<=>)?,)$& A"%%& <?;#;@0)%&


-)@"#$& B/;$*?C;#& ;D&9?"+)&

© ThoughtWorks 2008
Push and Pull Systems
•! Push System – upstream information

<=>)?,)$& A"%%& <?;#;@0)%&


-)@"#$& B/;$*?C;#& ;D&9?"+)&

© ThoughtWorks 2008
Push and Pull Systems
•! Push System – upstream information

<=>)?,)$& A"%%& <?;#;@0)%&


-)@"#$& B/;$*?C;#& ;D&9?"+)&

•! Pull System – downstream information

'#&-)@"#$& E*%,;@)/&
G$">,"C;#&
B/;$*?C;#& ()F*0/)@)#,%&

© ThoughtWorks 2008
Kanban
•! Physical device
•! Signals demand to downstream processes
•! Regulates demand on a pull system
•! Limits Work in Process (WIP)
•! Aids visual control
•! Self-directing

© ThoughtWorks 2008
Kanban
B/;?)%%&G&

B/;?)%%&I&
H$+)& L;/40#2&
I*J)/&
K*++&

© ThoughtWorks 2008
Kanban
B/;?)%%&G&

B/;?)%%&I&
H$+)& L;/40#2&
I*J)/&

Kanban
© ThoughtWorks 2008
Kanban
B/;?)%%&G&

B/;?)%%&I&
L;/40#2& L;/40#2&
I*J)/&

© ThoughtWorks 2008
Kanban
B/;?)%%&G&

B/;?)%%&I&
H$+)& L;/40#2&
I*J)/&
K*++&

© ThoughtWorks 2008
Hands On – 2nd Step
•! Using Pull and Kanban
–! Setup minimum buffers at intermediate steps
–! Demand comes first
–! Items are produced to fill gaps in the buffers

9)++&:;*%)& 3"%4&8& 3"%4&7& 3"%4&6& 3"%4&5&

•! 4 rounds of 40 seconds

© ThoughtWorks 2008
Stay Motivated!

© ThoughtWorks 2008
Houston we have a problem…

What went wrong?

© ThoughtWorks 2008
Unleveled Process
•! Another type of waste
•! Some people working more than others
•! Mura (Unevenness)
•! Heijunka

© ThoughtWorks 2008
Flow
•! Final goal is a leveled process
•! Production line must be a continuous flow
•! One piece is bought when one piece is delivered
•! Sustainable pace

© ThoughtWorks 2008
Systems Thinking
•! Why does it still feel wrong?
•! What are the other teams
doing?
•! What’s the purpose of the
system?

© ThoughtWorks 2008
Systems Thinking
•! Why does it still feel wrong?
•! What are the other teams
doing?
•! What’s the purpose of the
system?

© ThoughtWorks 2008
Let’s Experiment
•! Do we need 4 teams to build a house?
•! Teams 1 and 2 have overlapping tasks

© ThoughtWorks 2008
Yatai (Work Cell)
•! Multi-skilled worker
•! Single piece flow

© ThoughtWorks 2008
Hands On – 3rd Step
•! Using Work Cells
–! Each person builds a house
–! Round of 160 seconds
–! Signal (raise your hand) if you finish your house

9)++&:;*%)& I*0+$M&

© ThoughtWorks 2008
Stay Motivated!

© ThoughtWorks 2008
Houston we have a problem…

What went wrong?

© ThoughtWorks 2008
Kaizen
•! Continuous Improvement
•! Reflect and adapt B+"#& -;&
•! Learn by standardizing
•! Long term thinking G?,& E:)?4&

•! Respect People

© ThoughtWorks 2008
Kaizen
•! Continuous Improvement
•! Reflect and adapt B+"#& -;&
•! Learn by standardizing
•! Long term thinking G?,& E:)?4&

•! Respect People

© ThoughtWorks 2008
Improving the Process

It’s your turn to help


N& us improve the
N& process

© ThoughtWorks 2008
Hands On – 4th Step
•! Discuss your own
process
3)"@& 3)"@& •! 1 round for each
5& 6& team

3)"@& 3)"@&
7& 8&

© ThoughtWorks 2008
Stay Motivated!

© ThoughtWorks 2008
Our Results

B*%:&9O%,)@&

P"#."#&

Q","0&

3)"@R%&B/;?)%%&

© ThoughtWorks 2008
Is That All?
•! We saw some of the practices
•! Practices are contextual
•! Underlying principles must be understood
–! Like agile!

© ThoughtWorks 2008
What is Lean?
!"#$% /0'12#"%
&$'#%()*%+,%-.#% &$'#%()*%+,%
G&,"#20.+)&/)?0>)&D;/&%*??)%%% G&?;#%0%,)#,&S"O&;D&,:0#40#2%
G&@"#"2)@)#,&>/;T)?,&;/&>/;2/"@% G&,;,"+&@"#"2)@)#,&>:0+;%;>:O%
G&%),&;D&,;;+%&D;/&0@>+)@)#,"C;#% K;?*%&;#&,;,"+&?*%,;@)/&%"C%D"?C;#%
G&%O%,)@&D;/&>/;$*?C;#&U;;/&;#+O% G#&)#V0/;#@)#,&;D&,)"@S;/4&"#$&
0@>/;V)@)#,%
H@>+)@)#,".+)&0#&"&%:;/,W&;/&@0$W& G&#)V)/&)#$0#2&%)"/?:&D;/&"&.)X)/&
,)/@&>)/0;$% S"O%
Y*"+0,O&.*0+,&0#&>/;?)%%%
<V;+*C;#"/O%

© ThoughtWorks 2008
Lean in Software Development
•! Manufacturing is not the same as Software
Development
•! Lean Product Development
–! Knowledge flow is not the same as material flow

© ThoughtWorks 2008
Lean in Software Development
•! Extra Features (Overproduction)
•! Waiting (Waiting)
•! Unnecessary Transportation (Unnecessary Transportation)
•! Gold Plating (Overprocessing)
•! Partially Completed Work (Inventory)
•! Unnecessary Movement (Motion)
•! Defects (Defects)
•! Unused Employee Creativity

© ThoughtWorks 2008
Lean in Software Development
•! Example: Push System in Software

© ThoughtWorks 2008
Lean in Software Development
•! Example: Pull System in Software

© ThoughtWorks 2008
Lean in Software Development
•! Example: Pull System in Software

© ThoughtWorks 2008
Kanban

H#& ()"$O&D;/& ()"$O&D;/& ()"$O&D;/&


3;&-;& H#&-)V& H#&3)%,& -;#)&
G#"+O%0%& -)V& 3)%,& 9:;S?"%)&

© ThoughtWorks 2008
Kanban

H#& ()"$O&D;/& ()"$O&D;/& ()"$O&D;/&


3;&-;& H#&-)V& H#&3)%,& -;#)&
G#"+O%0%& -)V& 3)%,& 9:;S?"%)&

© ThoughtWorks 2008
Lean in Software Development
•! Much more: •! Lean:
–! Eliminate Waste –! Genchi Gembutsu
–! Create Knowledge –! A3
–! Build Quality In –! 5 Whys?
–! Defer Commitment –! Stop the Line
–! Deliver Fast –! Andon
–! Respect People –! Jidoka
–! Improve System –! Mistake Proofing

© ThoughtWorks 2008
Thank you!

Questions?

dsato@thoughtworks.com dtsato.com
ftrindad@thoughtworks.com franktrindade.com

© ThoughtWorks 2008

You might also like