Extreme Programming workflow simulation

Comments (5)

Print This Post Print This Post

Email This Post Email This Post

Permalink

I made a simulation of an XP-like process. I won’t go as far as to say it’s exactly XP, but it’s a reasonable approximation. The first one is an unconstrained workflow with a single customer. It is a PIPE2 simulation, and the file is here. Multiple customers (or nested stories) would require a colored Petri net, which PIPE2 doesn’t support.

One of the keys to understanding the model is the bidirectional edge between the customer and write a story.  The team keeps writing stories until the customer doesn’t want any more stories and accepts a final build.  Other keys are the bidirectional edge out of accept story and the inhibitor arcs into accept build.  Those things give the model most of the “iterative goodness” you’d expect.

Not surprisingly, the unconstrained workflow rarely reaches a checkpoint where the customer has nothing in process, so the deliver build transition rarely triggers. If we add a stories in process kanban limit, then there is also much more reengagement with the customer as a consequence. That model is here.

I would be interested to hear of any improvements to the model.