Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

WPCMND problem in UDM

Hi everyone, I am writing a UDM in fortran for an auxiliary control to control the active power of inverter. My problem is that after calcolating the active power setpoint and associating to WPCMND the power of wind control machine doesn't change.

I wrote WPCMND only in MODE 3, this is the full mode: if(MODE .EQ. 3)then Pmeapoi=VAR(L) vinp=Pmeapoi vout= LAGMODE3(1.0,Ts,vinp,K) Pmisfilt=vout VAR(L+1)=Pmisfilt dPpi=VAR(L+2)-Pmisfilt VAR(L+3)=dPpi c calcolo integratore vinp=dPpi vout = INTMODE3(KiP,vinp,K+1) PoutInt=vout VAR(L+4)=PoutInt VAR(L+5)=PoutInt+KpP*dPpi
c Associare con l'indice della macchina
WPCMND(I)=(Pout
Int+KpP*dPpi)/Sn !p.u. di Machine Sn c debug variables
VAR(L+6)=I VAR(L+7)=WPCMND(I) return endif
c+++

I can see from the my PSS/E dyr file that VAR(L+7), in which I saved again, is well defined. Where can I be wrong?