| 1 | initial version |
I have this script:
CASE = r'''C:\\Program Files (x86)\\PTI\\PSSE34\\EXAMPLE\\savnw.sav'''
psspy.case(CASE)
# Convert loads (3 step process):
psspy.conl(-1,1,1)
psspy.conl(-1,1,2,[0,0],[100,0,0,100])
psspy.conl(-1,1,3)
# Convert generators:
psspy.cong()
# Solve for dynamics
psspy.ordr()
psspy.fact()
psspy.tysl()
# Add dynamics data
psspy.dyre_new(dyrefile="C:\\Program Files (x86)\\PTI\\PSSE34\\EXAMPLE\\savnw.dyr")
# Add channels by subsystem
# BUS VOLTAGE
psspy.chsb(sid=0,all=1, status=[-1,-1,-1,1,13,0])
# Initialize
psspy.strt(outfile="test.out") <----------------------------------------------
simtime = 1
#psspy.run(tpause=simtime)
psspy.run(0,simtime,99,19,0)
but turns out that the test.out file is in binary and hence, cannot be interpreted directly but just for PSS/E. I was wondering whether there is a way to output such content in a readable format, such as .csv, .xlxs,... to treat it. If not, could you come up with an idea to deal with this situation?
Thanks for your time.
Tomás.
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.