Dynamic silmulation crash

asked 2024-09-04 06:17:06 -0600

memo gravatar image

updated 2024-09-04 06:17:54 -0600

When I tried to use the user defined model and WT3G owned by psse(version 33) to run a dynamic simulation ,the psse crashed at two times: First time it crashed when I edited the CONS of WT3G ;Second time it crashed when I initialized the dynamic simulation if I just selected the model but not edited the CONS of WT3G (they will be zero).Is user defined model goes wrong? My model is :

      SUBROUTINE WTEC(MC,ISLOT)
  INCLUDE 'COMON4.INS'
  INTEGER   MC,   ISLOT
  INTEGER J, K, IB, IW, I
  I=MC
  J=WSTRTIN(1,ISLOT)
  K=WSTRTIN(2,ISLOT)
  IW=WNDNUM(I)
  IF (MODE.EQ.8) GO TO 1000
  IF (MODE.EQ.3) GO TO 1200
1000  CON_DSCRPT(1) ='Pref'
      RETURN
1200  WIPCMD(IW)=CON(J)/ETERM(I)
      RETURN
      END

The use of model is to replace WT3E and control the active power of wind turbine

edit retag flag offensive close merge delete