The Structure of Problem Solving In Simulations