Function ExportNetwork

 

Function ExportNetwork( ByRef sFileName$, ByRef vnOptions() as long ) As long

Purpose: Export network data to ASPEN text data file.

Works in:      OneLiner and Power Flow.

Parameters:     

sFileName    [in] DXT path name

vnOptions    [in] Export options

                         vnOptions[1] Area/zone flag: 0- All; 1- Area; 2- Zone

                         vnOptions[2] Zone or Area number

                         vnOptions[3] Include tie line flag. 0- reset; 1- set

 

Return value:

1               Success

0               Failure

Remarks:

Example: