How to copy network data?
Hi!
How do I copy the complete network data from a particular zone in NETA.sav to NETB.sav?
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Hi!
How do I copy the complete network data from a particular zone in NETA.sav to NETB.sav?
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:
What's the easiest way to duplicate certain network elements (e.g. add another transformer by copying an existing one in the basecase)?
Hi,
I am new in PSSE for Python. My question is... after reading the .raw file with RDCH, then what? How to print this information? Is this information stored in memory, I guess, so how to access to the information we have just read?
Greetings!
Asked: 2012-06-29 22:25:55 -0500
Seen: 2,779 times
Last updated: Dec 09 '22
How to estimate the maximum asymmetric short circuit current?
Generator internal voltage, retrieve
Python API to Terminate Dynamic Simulation
idv command to change case title for multiple cases (many sav files)
How to query the time remaining on a USB hardware lock?
Is there an API call to get existing Channel arrays directly into Python?
What is wrong with my .raw version load?
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
You could create a "Power Flow Change Raw Data File" containing just the section from that particular zone. I can't see how to make one with the API - do you know how?
@JervisW I can't see how to do this with the API either. After a lot of reading and experimenting I found that the easiest way is to do it is through the PSSE GUI.
@amaity yes, I think the GUI would be quicker. It isn't often that we need to transfer data. Would the RAWD method work?