Ask Your Question
0

Having difficulty getting a int data from powerflow file

asked 2018-10-21 06:52:57 -0500

newbee123 gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by Ā» oldest newest most voted
1

answered 2018-10-21 08:51:21 -0500

perolofl gravatar image

The correct syntax is:

ierr,ival = psspy.fxsint(busnum,'1','STATUS')
edit flag offensive delete link more

Comments

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

newbee123 gravatar imagenewbee123 ( 2018-10-24 22:42:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2018-10-21 06:52:57 -0500

Seen: 448 times

Last updated: Oct 21 '18