Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

(API)Power Flow Operation - DIFF

Hello community,

I am trying to write a python script comparing two saved cases using the DIFF API.

psspy.asys(sid=0,num=1,areas=99)

psspy.diff(sid=0, all=0, apiopt=1, status=[],cfile = compfile)

Area 99 is defined as 0 for the comparison.

I received an error message as shown below:

Messages for api DIFF

Invalid SID value or subsystem SID is not defined: 0 (001382)

Can anyone help with this error? Thanks!

(API)Power Flow Operation - DIFF

Hello community,

I am trying to write a python script comparing two saved cases using the DIFF API.

psspy.asys(sid=0,num=1,areas=99)

psspy.diff(sid=0, all=0, apiopt=1, status=[],cfile = compfile)

Subsystem identifier 0 is defined for Area 99 is defined as 0 for the case comparison.

I received an error message as shown below:

Messages for api DIFF

Invalid SID value or subsystem SID is not defined: 0 (001382)

Can anyone help with this error? Thanks!