Ask Your Question

Revision history [back]

PSSE lets you change options using keyword arguments to the function.

You want to change OPTIONS(2) which is the area interchange adjustment flag, lets play that out to see how it looks.

Typically you might write the following to set OPTIONS(2) to 1:

ierr = psspy.fnsl([_i, 1])

Now, using keyword arguments lets change OPTIONS(2) to a 1:

ierr = psspy.fnsl(options2=1)

You can rewrite the API document PSSE argument descriptions as keyword arguments easily:

OPTIONS(2) -> options2
INTGAR(11) -> intgar11

and so on.