Advanced process control simulation