Ask Your Question
0

Multiple SCMU and SEQD fail

asked 2014-08-26 20:09:16 -0500

Largeman gravatar image

I am trying to do consecutive SCMU calls with upstream branches switched out. SCMU/1 does an SEQD each time if sequence network setup option is set to 1. BUT when i try to do sequencenetworksetup(1) i get told that the name is not defined. As this is meant to be part of the PSSE API, how can this not be defined? Am I missing something?

Hope someone can help.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-08-27 16:51:39 -0500

Largeman gravatar image

To answer the comment, yes, I had included the underscores.

After doing a little further reading, I find that when using python with PSSE, the straight up API call won't work, it sometimes needs psspy at the start.

So

psspy.sequence_network_setup(1)

works as intended.

Now my code works. Just in case anyone else is looking, the code is designed to fault a bus, then remove transformers and branches from service one at a time and fault the bus with a branch off to see the change in fault level.

My coding is rarely elegant, but it is generally effective, so if anyone else is looking to do similar, I might be able to help.

edit flag offensive delete link more
0

answered 2014-08-26 23:21:42 -0500

Eli Pack gravatar image

Are you missing the underscores? Try:

sequence_network_setup(1)
edit flag offensive delete link more

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

Stats

Asked: 2014-08-26 20:09:16 -0500

Seen: 354 times

Last updated: Aug 27 '14