First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
2

How to merge several .SAV files in to one in PSS / E

asked Jan 13 '14

Thomas Ebdrup gravatar image

updated Jan 13 '14

I'm currently working on a task where I need to merge 10 .sav files together in to one. Does anyone know an easy and safe way to do this??

Right now I´am copy-pasting data from one RAW file to another but it this the easiest way to merge .sav files?

I will greatly appreciate any help or experience sharing.

Best regards Thomas Ebdrup

3 answers

Sort by » oldest newest most voted
1

answered Jan 13 '14

Eli Pack gravatar image

Thomas, there are two ways that I have used to merge .SAV files. Either way, you'll want to start by making sure that all bus numbers are unique. Otherwise, you may create some spurious connections. If there is some overlap, perhaps you could add a digit to the start of all the bus numbers in each file, so that buses from one file start with a 1, and buses from the other file start with a 2. Areas, owners and zones could cause similar issues.

Method 1 (Manual approach): In PSSE, click the "Select all buses" option to ensure you're seeing everything. Next, go through each tab of the network data, and copy and paste it into your other file. I usually record myself doing this so that I have a script for it later. This is probably similar to your .RAW method.

Method 2 (GridCompare): GridCompare is free software developed by Whit, that is designed to show the differences between two cases and generate a python script to transform one case into the other. So, if you have one case post-augmentation, and one case pre-augmentation, it will build a python script for the augmentation. Now, what you're doing is different to this, but you could still make use of it. The python script that is generated by GridCompare is split into "Removed Elements" and "Added elements". All you need to do is delete the "Removed Elements" section of code, and you'll be left with a script that simply adds one case to the other. You could even edit the GridCompare code to deliver exactly what you're asking without the post processing, if you're keen on it.

link
1

answered Jan 14 '14

EBC gravatar image

updated Jan 14 '14

  1. Eli's comment on unique bus numbers should apply.
  2. Convert all sav to raw files.
  3. Open first raw file.
  4. Apply RDCH then call second raw file.
  5. Solve case if possible. If case is not solving, try to see if you need to correct bus voltage phase angles.
  6. Apply RDCH for the next raw file, and then solve again....until to the last raw file.
link
1

answered Jan 14 '14

jconto gravatar image

A proven method to merge sav cases is described by EBC's answer. This process is completed by the following: 3a (after step 3) save case to a temporary working file.

5a if case does not solve, reject such addition by reloading temporary case from step 3a

7 repeat process (step 3 to 6) a second time to capture changes at the tie lines (line between buses, each end at different cases)

This [automated] process was used to integrated case data from neighbor networks into the larger interconnection model.

Do not forget to complain to the data owner on step 5a ;)

link

Comments

I like the complaint step.

JervisW gravatar imageJervisW (Feb 11 '14)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: Jan 13 '14

Seen: 4,096 times

Last updated: Jan 13 '14