First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Depending on the format in which you need the data, you can either use the "subsystem data retrieval functions" in chapter 8 of the PSS/E API, or if you just want the actual text from the .raw file, you might just want to read the file directly:
with open("system.raw") as f:
for line in f:
print line