Ask Your Question
0

blown up power flow code

asked 2017-12-19 16:42:46 -0500

Ali gravatar image

Hello Everyone,

Let's say I use ierr = psspy.fnsl() to run power flow and the power flow does not converge or blows up. How can I distinguish between these cases? ierr returns 0 for a converged or a blown up case.

Any help is appreciated.

Thank you very much.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-12-20 00:34:31 -0500

perolofl gravatar image

Use API solved to check the result of the last solution attempt. I.e.:

ival = psspy.solved()
edit flag offensive delete link more

Comments

As a detail: Blown up generally means solved returns value of 2, 1 might be still ok, 0 is completely fine.

SqFKYo gravatar imageSqFKYo ( 2017-12-22 01:30:55 -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: 2017-12-19 16:42:46 -0500

Seen: 975 times

Last updated: Dec 20 '17