Ask Your Question
0

How can you edit branch data from PSSE raw file using Python? [closed]

asked 2016-09-06 21:29:12 -0500

KillSwitch gravatar image

I want to create a loop where in if my branch data's resistance = 0 then I put it in service ( InService =1). Can you please give me a suggestion on how to do it? Thanks :)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by KillSwitch
close date 2017-03-03 16:30:11.081660

1 answer

Sort by » oldest newest most voted
0

answered 2016-09-12 01:13:13 -0500

SqFKYo gravatar image

As I couldn't find a field with the status from the raw file, I'd ask you to reconsider and instead instead use Python to open the raw file (read-function), then change the statuses using e.g. abrnint/abrnchar/branchchng and finally save the file to raw using rawd2. Would this be acceptable?

edit flag offensive delete link more

Comments

???? Of course the line status is in the raw file, you find it immedietaly after the line shunts!

perolofl gravatar imageperolofl ( 2016-09-19 09:30:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-09-06 21:29:12 -0500

Seen: 1,776 times

Last updated: Sep 12 '16