OpenCase Function (version 9)

 

The OpenCase function will load a PowerWorldâ Simulator load flow file into the Simulator Automation Server. If an error occurs trying to open the case, an error message will be returned through EString.

OpenCase(filename, EString)

 

Parameter Definitions

FileName : String The name of the PowerWorldâ Simulator case file to be loaded into the Simulator Automation Server. This string includes the directory location and full file name. If the file cannot be found or an error occurs while reading the file, an error message will be returned through EString.

EString : Variant This parameter must be assigned a variable declared as a Variant. This parameter is for a return value only, and will assign the passed variable a string representing an error that may have occurred in the Simulator Automation Server. If no error occurred, the EString variable will return an empty string.