Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.