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?
Asked: 2016-09-06 21:29:12 -0500
Seen: 1,979 times
Last updated: Sep 12 '16
psspy can't run with another case without any exception
Capture keyboard interrupt in PSS/E script?
Change all buses load P and Q injections
Taking Long to Create DFAX File
Help update data in PSSE by Python 2.7 get data from excel file.
How to write an Converter/inverter model