0

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

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 :)

KillSwitch's avatar
1
KillSwitch
asked 2016-09-06 21:29:12 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by KillSwitch 2017-03-03 16:30:11 -0500

Comments

add a comment see more comments

1 Answer

0

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?

SqFKYo's avatar
126
SqFKYo
answered 2016-09-12 01:13:13 -0500
edit flag offensive 0 remove flag delete link

Comments

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

perolofl's avatar perolofl (2016-09-19 09:30:41 -0500) edit
add a comment see more comments