OpenCase Function

 

The OpenCase function will load a PowerWorldâ Simulator load flow file into the Simulator Automation Server. This is equivalent to opening a file using the File > Open Case menu option in Simulator.

 

Function Prototype

OpenCase(FileName)

 

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.

 

Output

OpenCase returns only one element in Output—if the file cannot be found or an error occurs while reading the file.