Adaptive Control of Large-Scale Simulations