Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First, suggest you could change the variable "VOLT(IB)" to "ETERM(IB)", ETERM is terminal voltage. I did build the electric control model of WT before and I did not use that variable.

Second, the wind machine ID is not same as machine ID, so you need to add the WNDNUM. Comparing your code and mine, your "MC" is my "IARG", and my "IARG" is equal to "I", then IW is convert machine ID to wind machine ID.

  SUBROUTINE REE(IARG,ISLOT)
  I=IARG                                      
  J=WSTRTIN(1,ISLOT)                          
  K=WSTRTIN(2,ISLOT)                           
  L=WSTRTIN(3,ISLOT)
  IW=WNDNUM(I)       #this one

Third, this model actually has "two" output signals, which are WIPCMD and WIQCMD. However, you only write one output signal, I'm not sure whether it would cause the problem or not, so suggest you adding the equation of WIQCMD.

Hope you can solve the problem!!