Ask Your Question
1

How to copy network data?

asked 2012-06-29 22:25:55 -0600

amaity gravatar image

Hi!

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

edit retag flag offensive 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 gravatar imageJervisW ( 2012-07-02 01:13:48 -0600 )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 gravatar imageamaity ( 2012-07-02 11:23:58 -0600 )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 gravatar imageJervisW ( 2012-07-03 12:25:35 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
2

answered 2012-07-02 01:34:16 -0600

JervisW gravatar image

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
edit flag offensive delete link more
0

answered 2022-12-09 08:05:22 -0600

Arun gravatar image

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

edit flag offensive delete link more
0

answered 2014-07-30 08:32:40 -0600

fran_jo gravatar image

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!

edit flag offensive delete link more

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 gravatar imageEli Pack ( 2014-07-31 00:40:13 -0600 )edit

Thank you!

fran_jo gravatar imagefran_jo ( 2014-08-07 02:07:20 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2012-06-29 22:25:55 -0600

Seen: 1,982 times

Last updated: Dec 09 '22