Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

¿what does it mean the line code INCLUDE COMON4.INS in the PSS/E user written model examples ?? also , what is BADMID?

Hi i need some help with this, im trying to develop a user written model , i have found some examples in the PSS/E user manual , i have done my research for most of the functions , but i cant find any description of this ones , also trying to compile what i have written , but when i open the enviroment manager from the PSS/E GUI just opens a window with options for changing paths , i really need some help , thanks in advance

SUBROUTINE DEMOEX(I,ISLOT)

INCLUDE ’COMON4.INS’

INTEGER I,ISLOT C I = MACHINE ARRAY INDEX C ISLOT = ARRAY ALLOCATION TABLE INDEX C J = STRTIN(1,ISLOT) [ USES CON(J) THROUGH CON(J+2) ] C K = STRTIN(2,ISLOT) [ USES STATE(K) AND STATE(K+1) ]

INTRINSIC MAX, ABS EXTERNAL BADMID, DOCUHD