First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I remember using RAWD
in the past. Here is how you might do this:
psspy.case('NETA.sav')
export_zones = [1]
psspy.bsys(sid=1, numzone=len(export_zones), zones=export_zones)
psspy.rawd_2(sid=1,
all=0,
status7=2, # create a RDCH file
out=0, # redirect to file
ofile='my-zone-1.raw')
That should create your "Power Flow Change Raw Data" file. The next main step is to read it in for NETB.sav
psspy.case('NETB.sav')
psspy.rdch(ifile='my-zone-1.raw')
I'm not sure what other problems will pop up. Here is a couple you might need to watch for: