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 (version 9)<br />

The OpenCase function will load a <strong>PowerWorld</strong> <strong>Simulator</strong> load flow file into the <strong>Simulator</strong> Automation<br />

Server. If an error occurs trying to open the case, an error message will be returned through EString.<br />

OpenCase(filename, EString)<br />

Parameter Definitions<br />

FileName : String The name of the <strong>PowerWorld</strong> <strong>Simulator</strong> case file to be loaded into the<br />

<strong>Simulator</strong> Automation Server. This string includes the directory location and full file name. If the<br />

file cannot be found or an error occurs while reading the file, an error message will be returned<br />

through EString.<br />

EString : Variant This parameter must be assigned a variable declared as a Variant. This<br />

parameter is for a return value only, and will assign the passed variable a string representing an<br />

error that may have occurred in the <strong>Simulator</strong> Automation Server. If no error occurred, the<br />

EString variable will return an empty string.<br />

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

1478

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

Saved successfully!

Ooh no, something went wrong!