Summary
This application note demonstrates how to dramatically reduce the time required to perform a PSS®E transient stability analysis of power line faults by using multiple computers and EnFuzionPWR.

 

The study in this note simulates a fault in a transmission line. The goal of the study is to find the critical clearing time, which is the shortest fault duration at which the system fails to re-synchronize after the fault. The solution methodology is to calculate many cases with different fault durations.

 

By using EnFuzionPWR, all these cases are easily executed concurrently on multiple computers. This significantly reduces the calculation time and makes it feasible to do more thorough studies, ultimately leading to a better system understanding and more reliable power delivery.
The methodology used in this demonstration is also useful for other types of power systems transient and dynamic stability analyses.

 

What is PSS®E?
PSS®E is a trusted leader in the power industry for cutting-edge electric transmission system analysis and planning. Used in over 115 countries worldwide, PSS®E is powerful, customizable, and fully-featured. With the addition of integrated node-breaker support in version 34, PSS®E is leading the market in advances in electric transmission modeling and simulation.

 

How does EnFuzionPWR speed up PSS®E simulations?
EnFuzionPWR helps with PSS®E simulations in many ways. It schedules execution of multiple PSS®E simulations on all available computers. By distributing execution over multiple computers, the results are obtained faster or more simulations can be performed in the same time period. Additional EnFuzionPWR benefits include optimum resource utilization and reliable execution by working around computer failures. This maximizes engineer’s productivity by handling all aspects of job scheduling.

 

How is EnFuzionPWR used with PSS®E?
This note shows in detail how a PSS®E fault analysis, which consists of several cases, is executed faster using multiple computers.

 

In this example, a fault is placed on a power line. The duration of the fault is varied from a few cycles to several tens of cycles. This produces several “cases”, with each case representing a different fault duration. The results of these cases are compared to determine the ability of the system to re-synchronize after the fault, and to determine the maximum fault duration for which the system can be re-synchronized.

 

Axceleon thanks Siemens PTI for providing the input example. This sample data presents a realistic demonstration of the capabilities of the EnFuzionPWR when using PSS®E. The data is not intended to be a demonstration of PSS®E capabilities.

 

The example is executed as follows:

 

  • download input files for the example, which are available here, and extract them to a directory,
  • install EnFuzionPWR on the local computer,
  • install PSS®E and EnFuzionPWR on all computers that will be used to execute PSS®E  jobs,
  • configure EnFuzionPWR by specifying remote computers in file c:\enfuzion\config\enfuzion.nodes on the local machine,
  • if PSS®E on remote machines is not installed in its default directory c:\Program Files\Siemens PTI\PSSE34, then modify the set Path statement in ds.pln,
  • specify the parameter range by clicking on ds.pln. Type parameter values in the form and save them by selecting File:Save Run. This produces file ds.run, which contains a description of jobs and is executed in the next step,
  • execute jobs by clicking on ds.run. This starts job execution on all remote computers. A text window shows an execution log and progress.

 

How does the example work?
The PSS®E  simulation consists of the following input files:

 

  • bench2.sav, a PSS®E  input file,
  • bench2.snp, a PSS®E  input file,
  • ds-template.idv, a PSS®E  input template for the study.

 

Results are stored in multiple output files. Each file represents one fault analysis and is in the form of bench-<nn>.OUT, where <nn> is the fault duration.
The process of executing the dynamic stability analysis on multiple systems is performed as follows. The user selects the range for the fault duration from the shortest fault to the longest fault, which generates one job per fault duration. EnFuzion takes all the jobs, executes them on all available computers, and collects the results to output files.
Detailed execution steps are as follows:

 

  • initialization of remote computers:
    • input files that are common to all jobs, are copied from the root computer to each node computer that participates in the execution of jobs. These files are bench2.sav, bench2.snp, and ds-template.idv.

    This step is performed once on each remote node computer before it starts executing the PSS®E simulations.

 

  • execution of jobs:
    • for each job, parameters cycle and time in the input template file ds-template.idv are replaced with specific values for the job,
    • a single PSS®E simulation is executed with job specific parameters, corresponding to one fault duration,
    • results from the PSS®E job in file bench.OUT are copied from the node computer to the file bench-<nn>.OUT on the root computer. <nn> is replaced with the number of cycles for that job.

    This step is performed once for each job on the remote node computer that is executing this job.

 

The steps above are described in a plan file ds.pln, which provides EnFuzion with commands to execute for each of the steps.The entire EnFuzion plan file to execute the dynamic stability study is as follows:

 

    # set the PATH variable. Modify the value to match your node systems.
    set Path "C:PROGRA~1PTIPSSE29PSSEXE;C:PROGRA~1PTIPSSE29PSSBI
    N;C:PROGRA~1PTIPSSE29PSSLIB;C:PROGRA~1PTIPSSE29PSSIPL;C:WI
    NNTsystem32;C:WINNT;C:WINNTSystem32Wbem;";

    # specify range for the cycles parameter
    parameter cycles integer range from 4 to 20 step 1;

    # calculate the simulation time, which is the fault duration plus 0.1s
    parameter time float compute 0.1+(cycles)/(60.0);

    # node initialization, copy common files to a remote computer
    task nodestart
        copy bench2.snp node:.
        copy bench2.sav node:.
        copy ds-template.idv node:.
    endtask

    # job execution:
    #     - substitute parameter values in the PSS/E command file
    #     - execute PSS/E
    #     - copy back the result file
    task main
        node:substitute ds-template.idv ds-input.idv
        node:execute  pssds4 -gnikool off -inpdev ds-input.idv
        copy  node:bench.OUT bench-$cycles.OUT
    endtask

 

The EnFuzion plan file consists of the following:

 

  • set Path sets the Path variable on the remote node. This example uses default PSS®E values. If PSS®E in your installation is installed in a different directory, change the line to match your installation.
  • parameter cycles is the main variable for the study. It specifies the fault duration range in cycles. The plan file contains the default values, which can be changed before the study is executed.
  • parameter time is the simulation time. The simulation is the sum of the fault duration and an additional 0.1 s interval.
  • task nodestart copies common input files to each remote computer. These files arebench2.snp, bench2.sav, and ds-template.idv. bench2.snp and bench2.savprovide input data for the study, ds-template.idv contains PSS®E commands to execute the simulation.
  • task main substitutes parameter values in the PSS®E command file, executes the simulation and returns the result.

 

How Is the Example Executed?
The plan file ds.pln is executed as follows:

 

  • specify the range for the fault duration by clicking on ds.pln to bring up a window. Change the from, to, and step values for your study. Select File:Save Run from the menu to save values. This creates ds.run.
  • execute jobs by clicking on ds.run. This starts job execution on all remote computers. A text window shows an execution log and progress.

 

While the program is running, a Web based interface is available at http://:10101. Replace with the name of the EnFuzionPWR Root computer.

 

Further Information
This application note describes how EnFuzionPWR is being used with PSS®E from Shaw Power Technologies Inc. to speed up a dynamic stability study. It uses EnFuzion 8 release and PSS®E Version 29. You can find out more about the use of EnFuzion for power utilities on the Axceleon Web site at www.axceleon.com.

 

Axceleon thanks Siemens PTI for feedback and assistance with this case study.  You can find out more aboutPSS®E at http://w3.siemens.com/smartgrid/global/en/products-systems-solutions/software-solutions/planning-data-management-software/planning-simulation/pages/pss-e.aspx.