1

How to copy network data?

  • retag add tags

Hi!

How do I copy the complete network data from a particular zone in NETA.sav to NETB.sav?

amaity's avatar
586
amaity
asked 2012-06-29 22:25:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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's avatar JervisW (2012-07-02 01:13:48 -0500) edit

@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's avatar amaity (2012-07-02 11:23:58 -0500) edit

@amaity yes, I think the GUI would be quicker. It isn't often that we need to transfer data. Would the RAWD method work?

JervisW's avatar JervisW (2012-07-03 12:25:35 -0500) edit
add a comment see more comments

3 Answers

2

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:

  • Missing data The raw data file doesn't have sequence data, so you will need to find a way to export that.
  • Voltage and angle I'm not sure how psse treats the incoming data. But you may find that if the voltages and angles of the new buses are different, that you have difficulty solving
JervisW's avatar
1.3k
JervisW
answered 2012-07-02 01:34:16 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

What's the easiest way to duplicate certain network elements (e.g. add another transformer by copying an existing one in the basecase)?

Arun's avatar
1
Arun
answered 2022-12-09 08:05:22 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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!

fran_jo's avatar
37
fran_jo
answered 2014-07-30 08:32:40 -0500
edit flag offensive 0 remove flag delete link

Comments

1

You'll have more success asking a new question rather than posting your question as an answer to someone else's question. Regardless, once you've used RDCH, the network will be in memory. You could save it as a separate SAV file for later (using save()).

Eli Pack's avatar Eli Pack (2014-07-31 00:40:13 -0500) edit

Thank you!

fran_jo's avatar fran_jo (2014-08-07 02:07:20 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer