Simulating the evolution and control of dynamical systems