How to make ISORCE work?

asked 2022-09-13 03:25:43 -0600

anonymous user

Anonymous

I am trying to write a user wind generator model, but fail every time. I have read the POM.pdf, PAGV2.pdf and related questions on our forum.So far I have tried the following methods to describe Isorce: ISORCE(MC)=CMPLX(VAR(L),VAR(L+1)) ;

ISORCE(MC)=CMPLX(VAR(L),-VAR(L+1)*CPMLX(COS(VAR(L+2),SIN(VAR(L+2))

VAR(L) is Ip, VAR(L+1) is Iq, VAR(L+2) is the angle of VOLT(IB).

I compile and creat .dll successfully, and write 1 'USRMDL' 1 'modelname' 101 1 .... which means it's a current injection model.

However, when I loaded my .sav .dyr .dll, and started the dynamic simulation.After initalizing, it showed


MACHINE INITIAL CONDITIONS

BUS#....

1 BUS1 18.000 1 0.00 0.00 0.00....


It means that my user-written wind generator model didn't interface to the network successfully. How to solve this problem?

edit retag flag offensive close merge delete