Modeling and simulation of thermal turbine - generators in MATLAB enviroment for subsynchronous resonance analysis