Auxiliary File Format Overview

Similar documents
Auxiliary File Format for Simulator 13

Auxiliary File Format for Simulator 19

Auxiliary File Format for Simulator 20

Auxiliary Files I PowerWorld Corporation

OPF Automation Examples

Steady-State Power System Security Analysis with PowerWorld Simulator

What s New in Simulator Version 18

Introduction to PowerWorld Simulator: Interface and Common Tools

PowerWorld Simulator 17 What s New in Simulator. Mark Laufenberg

Changes to Difference Case Tool in Simulator 20

PowerWorld Tutorial. Yen-Yu Lee The University of Texas at Austin Jan 18, Updated December 26, 2012, by Ross Baldick

PowerWorld Simulator Data Checks

Multi User Operations Training Simulator. Trainers Workshop Reception

University of California, Santa Cruz Baskin Engineering School Electrical Engineering Department

PowerWorld s Experience Using Real-Time Power System Models

A guide on PowerWorld Simulator ver. 12.0

Modeling of RAS and Relays in Power Flow Contingency Analysis. Jamie Weber

What s New in Simulator Version 20

Using WECC Composite Load Model and PowerWorld Time Step Simulation Tool. Eleanor Ewry

Tutorials. Tutorial: Creating a New Case Page 1 of 13

What s New in Simulator Version 20

Dispatch Training Simulator Worksheet

POWER WORLD LAB MANUAL

Record Specification and File Format for Specifying Contingency Definitions and Remedial Actions Schemes

LAB1 INTRODUCTION TO PSS/E EE461: POWER SYSTEMS COLORADO STATE UNIVERSITY

Node-Breaker Modeling Representation

Grapher 10 Ribbon Bar

Transient Stability Analysis with PowerWorld Simulator

Record Specification and File Format for Specifying Contingency Definitions and Remedial Actions Schemes

Feasibility Study on Load Flow and Short Circuit Project

Load Flow Analysis. I Objectives

Manage and Edit Sessions

ETAP PowerStation 4.0

Purpose: To demonstrate DTS navigation and Island creation/control. DTS Practice Exercise

DRAFT Reliability Guideline: Modeling Distributed Energy Resources in Dynamic Load Models

ISO New England Data Modeling Requirements

CaliberRM Extended Reference Support (ERSIII)

Creating BPMN Business Process Diagram. Assigning IDs to model elements

Effect of Topology Control on System Reliability: TVA Test Case

CS 152: Data Structures with Java Hello World with the IntelliJ IDE

PowerWorld Simulator Version 20 Auxiliary File Format Description for Specifying Contingency Definitions and Remedial Actions

4.1.1 Generator Owner Transmission Owner that owns synchronous condenser(s)

April 2002, Version 1.1. Component. PTF File. Component. Component GUI Wizards. Generation. System PTF file Files and Libraries.

You can import data from a CSV file into an existing table or to a new table. The steps are almost identical:

LAB6 ADDITION OF GENERATION EE461: POWER SYSTEMS COLORADO STATE UNIVERSITY

Peak V&R R-T Voltage Security Assessment (VSA) Tool Validation 9/9/2014, JSIS. Hongming Zhang EMS Applications Manager, PEAK RC

Form Customizer v3.0 Support Frequently Asked Questions (FAQs)

4.1.1 Generator Owner Transmission Owner that owns synchronous condenser(s)

FACTS and HVDC for Grid Connection of Large Wind Farms

Generator Interconnection Impact Study Report Pamlico County, NC 200 MW Wind Farm Queue #281

Introduction. Inserting and Modifying Tables. Word 2010 Working with Tables. To Insert a Blank Table: Page 1

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG

Consolidate Trial Balances

4 Programming Fundamentals. Introduction to Programming 1 1

Password Management Guidelines for Cisco UCS Passwords

5/8/2012. Specifying Instructions to the Shell Chapter 8

c122mar413.notebook March 06, 2013

Office 2010: New Features Course 01 - The Office 2010 Interface

LAB4 AC CONTINGENCY CALCULATION REPORT WESTERN AREA POWER ADMINISTRATION

Optimal Proxy-Limited Lines for Representing Voltage Constraints in a DC Optimal Powerflow

Exploring the Microsoft Access User Interface and Exploring Navicat and Sequel Pro, and refer to chapter 5 of The Data Journalist.

Specifics of Implementation

CS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University

Table of Contents. Table of Contents... I. Table of Figures... III. Tutorial VIII-A Nesting Branch General Example...4

Importing and Exporting Data

TiL TDP-90 Programming Software Users Guide

FINIST OPERATOR TRAINING SIMULATOR QUICK START REVISION 2.0 OF 01/18/2011

Installing Cisco Unified CallConnector for Microsoft Dynamics CRM 3.0

Introduction. C provides two styles of flow control:

Smart Energy & Power Quality Solutions. UMG 505 Power analysis, LON and I/O-Vielfalt

Module 1 - EHA Shortcut Add-in - 1

EHA Add-Ins and Keyboard Shortcuts

Quick Trial Balance Pro - Consolidate Trial Balances. Introduction

Dr. Iyad Jafar. Adapted from the publisher slides

Use Case 1: Export Powerflow from Planning to Planning

Microsoft Excel Level 2

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #03 The Programming Cycle

AN220 USB DRIVER CUSTOMIZATION. Relevant Devices This application note applies to the following devices: CP2101, CP2102, CP2103, C8051F320, C8051F321

CGS 3066: Spring 2015 JavaScript Reference

How-To Guides. - Changing the Default Confirmation Message for Your Event. - Cancelling Registrations and Issuing Refunds on Certain

MTGW. Installation Guide. CAN-RS-485 BUS Gateway

INTViewer Tutorial Cube Tutorial

ASPEN Software - Introduction

Installation Guide and Users Manual

Transient Stability Analysis with PowerWorld Simulator

Quick Start for User Defined Models

Routing Target Selection

A Simulation Tool for Analysis of Alternative Paradigms for the New Electricity Business

ASPEN Software - Introduction

COP 3402 Systems Software Top Down Parsing (Recursive Descent)

How to create a PDF document for Duplicating to print for you.

SCH Inspector. Modified by Admin on Dec 12, SCH Filter. Parent page: Panels. Old Content - visit altium.com/documentation.

Mission Guide: GUI Windows

Chapter Twenty-five: Using File Input / Output

Schematic Inspector Panel. Contents

Title: Using the AUX Port.

FOCUS ON REAL DESIGN AUTOMATE THE REST CUSTOMTOOLS EXCEL REPORTING

Excel The primary replacement for menus and toolbars in Office Excel 2007 is the Ribbon. Designed for easy browsing, the

BounceBack 18. User Manual

Yokogawa Application Note 4. The CPU Device Area Setup is now displayed. In the example below, no global memory has been allocated for use

Transcription:

Auxiliary File Format Overview Has two types of Sections. There is no limit to the number of sections in a file SCRIPT Section SCRIPT ScriptName1 { script_statement_1; : script_statement_n; } DATA Section DATA Section SCRIPT Section DATA DataName1(object_type, [list_of_fields], file_type_specifier) { data_list_1 : data_list_n } DATA DataName2(object_type, [list_of_fields], file_type_specifier) { data_list_1 : data_list_n } SCRIPT ScriptName2 { script_statement_1; : script_statement_n; } I12-1

Auxiliary File DATA Sections This was discussed in a previous section Start with the word DATA An optional data name may follow For use with the LoadData Action Following this is a list of parameters enclosed in parenthesis (object_type,[list_of_fields],file_type_specifier) object_type [list_of_fields] file_type_specifier DATA DataName1(object_type, [list_of_fields], file_type_specifier) { data_list_1 : data_list_n } I12-2

Auxiliary File SCRIPT Sections Start with the word SCRIPT An optional script name may follow For use with the LoadScript Action Then a block of script actions follow enclosed in curly braces { } Each script statement must end in a semicolon ; All the script actions allowed will be covered in a later set of slides. SCRIPT ScriptName1 { script_statement_1; : script_statement_n; } I12-3

Modes and Submodes Simulator has an Edit Mode and a Run Mode For scripting, submodes must also be obeyed. Edit Mode Submode Case Submode Run Mode Submodes PowerFlow Submode Contingency Submode ATC Submode Fault Submode PV Submode QV Submode I12-4

Modes and Submodes Many script actions can only be performed in one submode. This usually mimics the interaction you have with a particular dialog To switch between Submodes, use the EnterMode(**) script action. Slides at the end of this section will list the script commands that are available in each submode For detailed information on the use of each script command, see the program help. http://www.powerworld.com Go to Downloads Simulator Help Files PowerWorld Simulator Auxiliary File Format I12-5

Script Command Execution Dialog To open go to the Tools or Add Ons ribbon tab and select Script Manually enter script commands Useful for testing scripts Load auxiliary files Validates and applies Validate auxiliary files Receive messages in the message log if anything is incorrect in an auxiliary file before applying Quick Aux Set up list of auxiliary files that are used frequently Quickly reference a selected auxiliary file Apply group of auxiliary files in a specified order I12-6

Script Command Execution Dialog Load or validate auxiliary files Get list of fields for each object type Define list of frequently used auxiliary files for easy access or apply list of auxiliary files in a specified order Directly enter script commands here. Uncheck Execute on ENTER key to enter multiple commands. I12-7

General Actions The following actions are available in all Modes and Submodes RenameFile( oldfilename, newfilename ); CopyFile( oldfilename, newfilename ); DeleteFile( filename ); LoadAux( filename, CreateIfNotFound); LoadScript( filename, ScriptName); LoadData( filename, DataName, CreateIfNotFound); SelectAll(objecttype, filter); UnSelectAll(objecttype, filter); Delete(objecttype, filter); DeleteIncludingContents(objecttype,filter); SaveData( filename, filetype, objecttype, [fieldlist], [subdatalist], filter, [SortFieldList]); SaveDataWithExtra( filename, filetype, objecttype, [fieldlist], [subdatalist], filter, [SortFieldList], [Header_List], [Header_Value_List]); I12-8

General Actions The following actions are available in all Modes and Submodes SetData(objecttype, [fieldlist], [valuelist], filter); CreateData(objecttype, [fieldlist], [valuelist]); WriteTextToFile( filename, text ); SetCurrentDirectory( fielddirectory,createifnotfound); ExitProgram; NewCase; OpenCase( filename, OpenFileType); SaveCase( filename, SaveFileType); EnterMode(mode or submode); OpenOneline( filename, view,fullscreen); ExportOnelineAsShapeFile( filename, oneline, shapefiledoc,uselonlat); LogClear; LogSave( filename, AppendFile); LogAdd( string... ); I12-9

General Actions The following actions are available in all Modes and Submodes LogAddDateTime("label", includedate, includetime, includemilliseconds); CaseDescriptionClear; CaseDescriptionSet( text,append); SaveYbusInMatlabFormat("filename", IncludeVoltages); SaveJacobian("JacFileName", "JIDFileName",FileType, JacForm) SetParticipationFactors(Method, ConstantValue, Object); GenForceLDC_RCC(filter); CalculateRXBGFromLengthConfigCondType(filter); DirectionsAutoInsert(Source, Sink, DeleteExisting, UseDisplayFilters, Start, Increment); DetermineShortestPath([start], [end], BranchDistMeas, BranchFilter, Filename); DeterminePathDistance([start], BranchDistMeas, BranchFilter, BusField); I12-10

Edit Mode: Case Submode The following actions are only available in the Case Submode of Edit Mode. Equivalence; DeleteExternalSystem; SaveExternalSystem( Filename, SaveFileType, WithTies); Scale(scaletype, basedon, [parameters], ScaleMarker); Move([elementA], [destination parameters]); Combine([elementA], [elementb]); InterfacesAutoInsert(Type, DeleteExisting, UseFilters, Prefix,Limits); SplitBus([element], NewBusNumber, InsertBusTieLine, LineOpen); MergeBuses([element], Filter); TapTransmissionLine([element], PosAlongLine, NewBusNumber, ShuntModel, TreatAsMSLine); I12-11

Run Mode The following actions are available during any of the Run mode Submodes. Animate(DoAnimate); CalculatePTDF([transactor seller], [transactor buyer], LinearMethod); CalculatePTDFMultipleDirections(StoreForBranches, StoreForInterfaces, LinearMethod); CalculateLODF([BRANCH nearbusnum farbusnum ckt], LinearMethod); CalculateTLR([flow element], direction, [transactor], LinearMethod); CalculateTLRMultipleElement(TypeElement, WhichElement, direction, [transactor], LinearMethod); CalculateVoltSense([BUS num]); CalculateFlowSense([flow element], FlowType); CalculateLossSense (FunctionType); CalculateVoltToTransferSense([transactor seller], [transactor buyer], TransferType, TurnOffAVR); CalculateVoltSelfSense(filter); SetSensitivitiesAtOutOfServiceToClosest; ZeroOutMismatches; I12-12

Run Mode: Powerflow Submode The following actions are only available in the Powerflow Submode of Run Mode. DoCTGAction([contingency action]); SolvePowerFlow(SolMethod, filename1, filename2, CreateIfNotFound1, CreateIfNotFound2); ResetToFlatStart(FlatVoltagesAngles, ShuntsToMax, LTCsToMiddle, PSAnglesToMiddle); SolvePrimalLP( filename1, filename2, CreateIfNotFound1, CreateIfNotFound2); InitializePrimalLP( filename1, filename2, CreateIfNotFound1, CreateIfNotFound2); SolveSinglePrimalLPOuterLoop( filename1, filename2, CreateIfNotFound1, CreateIfNotFound2); SolveFullSCOPF(BCMethod, filename1, filename2, CreateIfNotFound1, CreateIfNotFound2); DiffFlowSetAsBase; DiffFlowClearBase; DiffFlowMode(diffmode); OPFWriteResultsAndOptions( filename ); I12-13

Run Mode: Contingency Submode The following actions are only available in the Contingency Submode of Run Mode. CTGSolveAll; CTGSolve( ContingencyName ); CTGSetAsReference; CTGRestoreReference; CTGProduceReport( filename ); CTGWriteResultsAndOptions( filename ); CTGAutoInsert; CTGCalculateOTDF([transactor seller], [transactor buyer],linearmethod); I12-14

Run Mode: ATC Submode The following actions are only available in the ATC Submode of Run Mode. ATCDetermine([transactor seller], [transactor buyer], ApplyTransfer); ATCRestoreInitialState; ATCIncreaseTransferBy(amount); ATCTakeMeToScenario(RL, G, I); ATCDetermineFor(RL, G, I); ATCWriteResultsAndOptions( filename ); ATCWriteToExcel( worksheetname ); I12-15

Run Mode: Fault Submode The following actions are only available in the Fault Submode of Run Mode. Fault([Bus num, faulttype, R, X]); Fault([BRANCH nearbusnum farbusnum ckt], faultlocation, faulttype, R, X]); I12-16

Run Mode: PV Submode The following actions are only available in the PV Submode of Run Mode. PVCreate( name, [element source], [element sink]); PVSetSourceAndSink( name, [element source], [element sink]); PVRun( name ); PVClearResults( name ); PVStartOver( name ); PVDestroy( name ); PVWriteResultsAndOptions( filename); RefineModel(objecttype, filter, Action, Tolerance); I12-17

Run Mode: QV Submode The following actions are only available in the QV Submode of Run Mode. QVRun( filename, InErrorMakeBaseSolvable); QVWriteResultsAndOptions( filename ); RefineModel(objecttype, filter, Action, Tolerance); I12-18

Auxiliary Files and Difference Cases The Difference Case Tool may be used to build an auxiliary file that shows the topology difference between 2 cases Uses Document topology changes in cases Modify a case with Simulator GUI and capture changes in auxiliary file; the auxiliary file can be run on a different copy of the Base Case to produce the Changed Case I12-19

Auxiliary Files and Difference Cases Example Open Case A and choose Tools Difference Flows Set Present Case as Base Case Open Case B and choose Tools Difference Flows Present Topological Differences From Base Case I12-20

Use Difference Cases First, save new items ( Only Elements Added ) to auxiliary file Then save removed items ( Only Elements Removed ) items: append to the same auxiliary file if desired Add a script statement at the beginning of the newly created file to switch to edit mode so that objects may be added and deleted I12-21

Example Open B7FLAT.pwb Set Present Case as Base Case Add new Bus 8, new Gen at Bus 8, and new Branches connecting Bus 8 to Bus 1 and Bus 6 Remove Branch between Bus 2 and Bus 6 109 MW AGC ON 1.05 pu MVA Eight 1.02 pu 200 MW 0 Mvar Six 100 MW AGC ON Left Area Cost 3325 $/h A MVA One A 1.04 pu 73 MW 47 MW A 45 MW A MVA 72 MW Two 1.04 pu MVA 40 MW 20 Mvar 150 MW AGC ON 34 MW 34 MW A MVA 38 MW 34 MW 93 MW 165 MW AGC ON 37 MW 0.99 pu Top Area C 8065 $/h A MVA A MVA 110 M 40 Mv Three 28 MW 93% A MVA A I12-22

Present Topological Differences from Base Case Save New items to Aux File, then Save Removed items to same Aux File (append) I12-23

Edit the Resulting Aux File Optionally add SCRIPT statement to change to EDIT mode to ensure that objects may be created and removed Then re-open B7FLAT.pwb and load the aux file SCRIPT { EnterMode(EDIT); } //------------------------------------------------------------------------------ // THE FOLLOWING SECTION CONTAINS THE ELEMENTS ADDED IN PRESENT CASE //------------------------------------------------------------------------------ DATA (BUS, [BusNum,BusName,BusNomVolt,BusPUVolt,BusAngle,BusG:1,BusB:1,AreaNum,ZoneNum, SubNum,BusSlack,BusStatus,BusNum:1,BusName_NomVolt:1,BusLongName,BusKVVolt,... I12-24

Save New and Modified Display Objects to AXD File Select objects on One-line Onelines List Display Only Selected Display Objects Right Click Save As Display Auxiliary File I12-25