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 :)
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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 :)
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?
???? Of course the line status is in the raw file, you find it immedietaly after the line shunts!
Asked: Sep 7 '16
Seen: 1,948 times
Last updated: Sep 12 '16
Python code for interchange between two areas
Taking Long to Create DFAX File
psspy can't run with another case without any exception
How does PSSE file match real-time branch flow measurements?
How to use Python do such a simulation on PSSE?
How to Use Python bat command to simuliation on PSS/E?
what is the best way to get started in PSSE, Python?