Simulation of Control Systems