First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Having difficulty getting a int data from powerflow file

asked Oct 21 '18

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.

1 answer

Sort by » oldest newest most voted
1

answered Oct 21 '18

perolofl gravatar image

The correct syntax is:

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

Comments

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

newbee123 gravatar imagenewbee123 (Oct 25 '18)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Oct 21 '18

Seen: 473 times

Last updated: Oct 21 '18