In this work, a study of the effect of excitation and governor on the stability of electric machines is presented. In particular, a model of a synchronous machine (in generator mode) connected to a hydraulic turbine Proportional-Integral-Derivative (PID) governor with excitation system is analyzed.