![]() | 1 | initial version |
I have a question in regard to writing a script for a UDM PPC in PSSE.
I am trying to establish a communication between a UDM PCC that I am modeling as a renewable machine plant control and a generic electric model in PSSE by using a REECCU1 and REGCA1. I am using the following in Fortran for PSSE35:
In mode 3:
CALL WINDMIND(NUMBUS(IB),'1','WELEC','VAR',LREEC,IERR) !WINDMIND
MC = WNDNUM(I)
WQCMND(MC) = VOUTQ
WPCMND(MC) = VOUTP
and in mode 1: CALL WINDMIND(NUMBUS(IB),'1','WELEC','VAR',LREEC,IERR) !WINDMIND MC = WNDNUM(I) VOUTQ = WQCMND(MC) VOUTP = WPCMND(MC)
i am getting initial conditions dstate suspect from the generator and electric model. Parameters are not transferred to the electric model still. So I have my VARs in my PCC stay zero after a dynamic simulation. I think the syntax is wrong, and the PSSE manual was not clear in this regard. thanks!