First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

User models PSSE fortran

asked Jul 29 '18

ing_psspy gravatar image

I dont know why in the Program Operation Manual of PSSE, in the chapter Model Writing, in the example of a simple excitation system:

STATE(K) = Esensed STATE(K+1) = E

are obtenided of the diagram block, but in the subroutine of the MODE 1 in de FORTRAN CODE the states are:

STATE(K)=ECOMP(I) STATE(K+1)=EFD(I)

1 answer

Sort by » oldest newest most voted
0

answered Aug 17 '18

perolofl gravatar image

The initialisation is done on the basis of known model input and output values. Varibles EFD and ECOMP are initialised by the generator model prior to entering the excitation model.

ECOMP is an input signal and STATE(K) must have the same value at steady state. Hence STATE(K) = ECOMP(I).

EFD is the output from the model. In MODE 1 you have to calculate backwards from out signal into the model.The preceding state, STATE(K+1), must thefore be initialised to the output value. Hence STATE(K+1) = EFD(I).

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Jul 29 '18

Seen: 367 times

Last updated: Aug 17 '18