09.03.2013 Views

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OpenCase Function ....................................................................................... 1435<br />

OpenCase Function: Sample Code ................................................................. 1436<br />

ProcessAuxFile Function ................................................................................ 1437<br />

ProcessAuxFile Function: Sample Code........................................................... 1438<br />

RunScriptCommand Function ......................................................................... 1439<br />

RunScriptCommand Function: Sample Code ................................................... 1440<br />

SaveCase Function ........................................................................................ 1441<br />

SaveCase Function: Sample Code .................................................................. 1442<br />

SaveState Function ....................................................................................... 1443<br />

SaveState Function: Sample Code .................................................................. 1444<br />

SendToExcel Function ................................................................................... 1445<br />

SendToExcel Function: Sample Code .............................................................. 1446<br />

TSGetContingencyResults Function ................................................................ 1447<br />

TSGetContingencyResults Sample Code ......................................................... 1449<br />

WriteAuxFile Function ................................................................................... 1453<br />

WriteAuxFile Function: Sample Code .............................................................. 1454<br />

<strong>Simulator</strong> Automation Server Properties ......................................................... 1456<br />

ExcelApp Property ........................................................................................ 1457<br />

ExcelApp Property: Sample Code ................................................................... 1458<br />

CurrentDir Property....................................................................................... 1459<br />

CurrentDir Property: Sample Code ................................................................. 1460<br />

ProcessID Property ....................................................................................... 1461<br />

ProcessID Property: Sample Code .................................................................. 1462<br />

RequestBuildDate Property ............................................................................ 1463<br />

<strong>PowerWorld</strong> Object Variables ......................................................................... 1464<br />

<strong>Simulator</strong> Automation Server (version 9) ........................................................ 1465<br />

Installing <strong>Simulator</strong> Automation Server (version 9) ......................................... 1466<br />

Including <strong>Simulator</strong> Automation Server Functions (version 9) .......................... 1467<br />

Connecting to <strong>Simulator</strong> Automation Server (version 9) .................................. 1468<br />

<strong>Simulator</strong> Automation Server Properties (version 9) ........................................ 1470<br />

ExcelApp Property (version 9)........................................................................ 1471<br />

<strong>Simulator</strong> Automation Server Functions (version 9) ......................................... 1472<br />

ChangeParameters Function (version 9) ......................................................... 1473<br />

CloseCase Function (version 9) ...................................................................... 1474<br />

GetParameters Function (version 9) ............................................................... 1475<br />

ListOfDevices Function (version 9) ................................................................. 1476<br />

LoadContingencies Function (version 9) ......................................................... 1477<br />

OpenCase Function (version 9) ...................................................................... 1478<br />

ProcessAuxFile Function (version 9) ............................................................... 1479<br />

RunScriptCommand Function (version 9) ........................................................ 1480<br />

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

xxiii

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

Saved successfully!

Ooh no, something went wrong!