Identification of control parameters of the permanent magnetic synchronous generator using least square method. (July 2022)