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,776 times
Last updated: Sep 12 '16
Saving “.out” file in Excel format
How does PSSE file match real-time branch flow measurements?
Conversion of uexc.flx flecs code to uexc.for fortran code
what is the best way to get started in PSSE, Python?
Python crashes when trying open a second case file
Run multiple python files from one python file
Base Python code for a DC load flow interconnection prospecting study in PSS/e