0

Having difficulty getting a int data from powerflow file

Dear fellow researchers,

I've been writing a code to search through a list of bus numbers and see if there are any fixed shunts in the list.

While I was working on it, it seems like psspy.fxsint function is not working well.

ierr,ival = psspy.fxsint(busnum)

ierr,ival = psspy.fxsint(busnum,'1')

Whenevery I try this one, it only returns (2,None) when I already know there are fixed shunts in the list!

Have you guys ever used this function?

Thank you.

newbee123's avatar
15
newbee123
asked 2018-10-21 06:52:57 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

The correct syntax is:

ierr,ival = psspy.fxsint(busnum,'1','STATUS')
perolofl's avatar
3.8k
perolofl
answered 2018-10-21 08:51:21 -0500
edit flag offensive 0 remove flag delete link

Comments

It seems like it's working! Thank you very much!!

newbee123's avatar newbee123 (2018-10-24 22:42:54 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer