First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
hi ,i am learning pss/e now.When i make program in fortran ,i meet the arithmetical expression like Ve=kpVt+j(ki+kpXL)It,and Vt,It are complex number.It is the terminal current of generator and Vt is the terminal voltage of generator.how can i get the It? below are the program
VTRM=ZSORCE(I)*ISORCE(I)*SBASE/MBASE !get the Vt?,Isorce is the injection current of generator
S_MPLX=CMPLX(PELM,QELM) !s=p+jQ
S_MPLXGE=CONJG(S_MPLX) ! s*=p-jQ take the conjugate
VTRMGE=CONJG(VTRM) !take the conjugate
ITRM=S_MPLXGE/(1.732*VTRMGE) !get the It