I've implemented DPC for DFIG in matlab/simulink. In that, active power (Pref=0.9pu) be well controlled but the reactive power (Qref=0) instead of remain at zero, it is fixed at -1?!!
can you give more explanations for your question. I think that the generator's reactive power does not follow its setpoint (reference). If it is the case contact me buck to give you some explanation. if not give me please more explanation.
I don't see the whole model so i have to know how you represent your power flow.
If the power is positive when it flows from the machine to the network, or the inverse. so you must define the direction of flow for me. and if it flow from the machine to the network the active power must be positive and the reactive power is negative (since the IM always consumes the reactive power even if it works as a generator. please give me the whole model explanation or contact me by mail.
I have the same problem with Mr. Younesi when I implement DPC for the rotor side converter of DFIG in Matlab. I have used the same algorithm as Mr Younesi.