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,910 times
Last updated: Sep 12 '16
Run multiple python files from one python file
How to use the api to overwrite PSSE existing working case network data
SCMVA values don't match between PSSE GUI and Python API function
Base Python code for a DC load flow interconnection prospecting study in PSS/e