Models that represent the rotating electrical machines connected to a power system such as generators and motors