Knowledge Base

PTDF and Contingency Analysis of a New Transaction

Auxiliary File: Transaction.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: PTDF.aux, BeforeTransactionCTGReport.txt, AfterTransactionCTGReport.txt (Right-click on the above files and select Save Target As to save them to your computer.) This script implements a large transaction from the left area to the top area of a seven-bus system and illustrates the effects of the transaction […]

Tags: ,,,

June 29, 2012

Profit Data and Market Power Scenarios

Auxiliary File: MarketPower.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: ProfitData.aux (Right-click on the above files and select Save Target As to save them to your computer.) This script records generator profit data while increasing the bid of one generator and taking a nearby generator out of service. The auxiliary file contains five script […]

Tags: ,,,

June 29, 2012

Moving and Combining Generators and Comparing Power Flows

Auxiliary File: Move-Combine.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: none (Right-click on the above files and select Save Target As to save them to your computer.) In this example we will use a script to combine and move generators in a seven-bus case. We will solve the power flow, move and combine some […]

Tags: ,,,

June 29, 2012

Adding Multiple Generators and Performing Contingency Analysis

Auxiliary File: NewGeneratorsCTG.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: NewGeneratorContingencyReport.txt (Right-click on the above files and select Save Target As to save them to your computer.) In this example we add two generators to the case and then solve the power flow, run contingency analysis and produce a contingency analysis report. There are […]

Tags: ,,,

June 29, 2012

New Generation Study

Auxiliary File: NewGenStudy.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: NewGenBefore.aux, NewGenAfter.aux, NewGenCTGBefore.txt, NewGenCTGAfter.txt (Right-click on the above files and select Save Target As to save them to your computer.) In this example we will add a new generator to a seven-bus system. We will first solve the power flow, run contingency analysis, calculate PTDFs, and save data to files. Then […]

Tags: ,,,

June 28, 2012

Contingency Analysis and Changing Data with Filters

Auxiliary File: CTG_Filters.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: CTG_Filters_BeforeReport.txt, CTG_Filters_AfterReport.txt (Right-click on the above files and select Save Target As to save them to your computer.) A script can be used to perform contingency analysis. In this example we will perform contingency analysis on a 7-bus system and produce a report. Next, we will change some data […]

Tags: ,,,

June 28, 2012

Creating an Equivalent System

Auxiliary File: Equivalence.aux PowerWorld Case: B7OPF.pwb PowerWorld Oneline: B7OPF.pwd Output Files: none (Right-click on the above files and select Save Target As to save them to your computer.) In this example we will use a script to create an equivalent system for one area in a seven-bus case. The auxiliary file contains three script sections: Base solves the […]

Tags: ,,,

June 28, 2012

Auxiliary Files

PowerWorld has combined a script language with auxiliary data formats to automate routine tasks.  To help you get started writing scripts for PowerWorld Simulator, we have provided several short examples: Creating an Equivalent System Contingency Analysis and Changing Data with Filters New Generation Study Adding Multiple Generators and Performing Contingency Analysis Moving and Combining Generators […]

Tags: ,,,,

June 28, 2012