Construction and use of written simulations