MATLAB: Problem with PMSG turbine modelling

pmsg simulink turbine

I am currently trying to create a Permanent Magnet Synchronous Generator Model coupled with a wind turbine model. Instead of using the conventional blocks ie the wind turbine and pmsg block set that are already created in Simulink i have created my own subsystems. I believe all the theory is correct however i am receiving and error between the turbine model and the drive train due to the state of the mechanical torque feeding to the drive train being not finite. I understand the error but i dont know how to fix it because the turbine needs the generator speed to calculate the torque but to calculate the electrical torque the mechanical torque is needed.

Best Answer

The PMSM has two inputs, One is three phase voltage and the other is load torque. I understand in your case, you must get the load torque from the wind turbine and the voltages should also be somehow related to the wind speed based on your control system. This working principle is basically the same no matter if it's a generator or a motor, just the flow direction changes. From the three phase voltages you do the transformations, find the currents and then find the electromagnetic torque. Solving these two torques you must be able to get the rotor speed.
Related Question