09.03.2013 Views

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Copying <strong>Simulator</strong> Data to and from Other Applications<br />

You may sometimes find it useful to copy data from <strong>Simulator</strong> to other applications such as a word<br />

processor or spreadsheet program. Alternatively, you may want to copy data from other applications<br />

into <strong>Simulator</strong>. <strong>Simulator</strong>’s case information displays provide a convenient way to accomplish this. In<br />

particular, the Copy All, Copy Selection, and Paste options from the local menu or the Case<br />

Information Toolbar: Copy, Paste and Send Menu allow <strong>Simulator</strong> to pass data with other applications<br />

through the windows clipboard.<br />

To copy a selection of data from a case information display to another application, first select the<br />

range of cells to copy from the case information display. Then, right-click on the case information<br />

display to display its local menu, and choose Copy Selection. To copy the entire content of a case<br />

information display to another application, follow the same procedure, except choose Copy All from<br />

the local menu instead of Copy Selection. Switch to the application that will serve as destination for<br />

the data and use that application’s Paste command to finish copying the selected <strong>Simulator</strong> data to<br />

that application. Note that not only is the data copied, but by default so are the data headings. The<br />

data headings are very important to maintain if you are planning on copying data from a spreadsheet<br />

back into a <strong>Simulator</strong> case information display. Also note that <strong>Simulator</strong> copies the text to the windows<br />

clipboard with tabs delimiting each cell.<br />

Note: Be aware that most programs have limitations on the amount of information you can paste. For<br />

example, some spreadsheet programs only allow up to 256 columns and 65,000 rows of information.<br />

Some power system information, particularly the Ybus or Jacobian matrices, can easily exceed these<br />

limitations.<br />

To paste data from another application into a case-information display, select the data in the other<br />

application and use that application’s Copy command. In order to paste back into <strong>Simulator</strong>, you must<br />

have the record type and data headings selected with the columns of data. The record type (or object<br />

name) must match the case information display you are attempting to paste into, and the data<br />

headings (or variable names) tell <strong>Simulator</strong> which columns of data you are pasting. In order for the<br />

data to be pasted to the correct records, you must include the key field columns in the data to be<br />

pasted into <strong>Simulator</strong>. Also if you are attempting to create new data records by pasting back into<br />

<strong>Simulator</strong> then you must include the required field columns as well. If the object type is not valid then<br />

the Paste option will be disabled and the caption will read "object type invalid". If the key fields are<br />

missing, then the Paste option will be disabled and the caption will read "key fields missing".<br />

It is not necessary to copy and paste all columns or rows of data back into <strong>Simulator</strong>, as long as the<br />

column headings match a valid heading for the case information display. <strong>Simulator</strong> will skip the data<br />

under any column headings that are unrecognized. If you wish to copy data from a spreadsheet into a<br />

<strong>Simulator</strong> display, you must make sure they are ordered in such a way that all the information you<br />

wish to paste can be grouped and copied as one block of date from the spreadsheet. Once you have<br />

copied all the information from the spreadsheet you wish to transfer, switch to <strong>Simulator</strong>, open the<br />

case information display in which to paste the data, and select Paste from its local menu.<br />

Note: You can only paste values into the case information displays if the values are enterable on the<br />

display (shown blue by default). Also, be careful about pasting redundant data. For example, in the<br />

Bus Records display both voltage in per unit and voltage in kV are enterable, but they specify the<br />

same information. Make sure you only copy ONE of these columns into <strong>Simulator</strong>. Otherwise you may<br />

not get what you expect. <strong>Simulator</strong> will paste the value in twice, and whatever value was pasted 2 nd<br />

will be used.<br />

©2011 <strong>PowerWorld</strong> Corporation<br />

180

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!