Professional Documents
Culture Documents
ATPDMan 56 P
ATPDMan 56 P
ATPDraw
for Windows
Preliminary Release No. 1.0
5.6
November 2009
PREFACE
This Users' Manual documents all main features of ATPDraw version 5.6. The manual is an extensive update of the previous User Manual prepared by Lszl Prikler at SYSTRAN Engineering Services Ltd. in Budapest for version 3.5 (SINTEF TR F5680) dated 2002. Version 5.6 is substantially updated compared to version 3.5; New design, new and extended components, new handling of Models, Hybrid Transformer, multi-phase nodes, vector graphics, Output Manager, Line Check, Circuit Texts, Optimization etc.. The Reference Manual gives a summary of menu items and menu options. The Advanced Manual covers the features Grouping, Models, electrical machine, line/cable-, and transformer modeling, and optimization. Finally the Application Manual is extended with several examples. New ATPDraw users are advised to start with the Installation and Introductory manuals. ATPDraw is developed by NTNU and SINTEF Energy Research. Program and development have been financed by Bonneville Power Administration, USA, version 5 in co-operation with EEUG and Schneider Electric, France. For Norwegian University of Technology Trondheim, Norway, November 26th 2009. Hans Kr. Hidalen Professor NTNU-Norway
SUMMARY
ATPDraw is a graphical, mouse-driven preprocessor to the ATP version of the Electromagnetic Transients Program (EMTP) on the MS-Windows platform. The program is written in CodeGear Delphi 2007 and runs under Windows 9x/NT/2000/XP/Vista. In ATPDraw the user can construct an electrical circuit using the mouse and selecting components from menus, then ATPDraw generates the ATP input file in the appropriate format based on "what you see is what you get". The simulation program ATP and plotting programs can be integrated with ATPDraw. ATPDraw supports multiple circuit modeling that makes possible to work on more circuits simultaneously and copy information between the circuits. All kinds of standard circuit editing facilities (copy/paste, grouping, rotate, export/import, undo/redo) are available. In addition, ATPDraw supports the Windows clipboard and metafile export. The circuit is stored on disk in a single project file, which includes all the simulation objects and options needed to run the case. The project file is in zip-compressed format that makes the file sharing with others very simple. Most of the standard components of ATP as well as TACS are supported, and in addition the user can create new objects based on MODELS or $Include (Data Base Module). Line/Cable modeling (KCLee, PI-equivalent, Semlyen, JMarti and Noda) is also included in ATPDraw where the user specifies the geometry and material data and has the option to view the cross section graphically and verify the model in the frequency domain. Special components support the user in machine and transformer modeling based on the powerful Universal Machine and BCTRAN components in ATP-EMTP. In addition the advanced Hybrid Transformer model XFMR and Windsyn support is included. ATPDraw supports hierarchical modeling by replacing selected group of objects with a single icon in an almost unlimited numbers of layers. Components have an individual icon in either bitmap or vector graphic style and an optional graphic background. ATPDraw supports up to 10.000 components each with maximum 64 data and 32 nodes. 2
ATPDraw version 5.6
TABLE OF CONTENTS
Page 1. Introduction . . . ......................................................................................................................7 1.1 What is ATPDraw? ..............................................................................................................9 1.2 What is ATP? .....................................................................................................................10 1.3 Operating priciples and capabilities of ATP......................................................................10 1.3.1 Integrated simulation modules in ATP........................................................................11 1.3.2 Program capabilities ....................................................................................................12 1.3.3 Main characteristics of plotting programs for ATP ....................................................13 1.3.4 Typical EMTP applications.........................................................................................15 1.3.5 Hardware requirements for ATP .................................................................................15 1.4 Contents of this manual .....................................................................................................15 1.5 Manual conventions ...........................................................................................................16 2. Installation Manual . . ..........................................................................................................17 2.1 ATP licencing policy .........................................................................................................19 2.2 How to download ATPDraw?............................................................................................19 2.3 Hardware requirements for ATPDraw...............................................................................20 2.4 Program installation ...........................................................................................................20 2.5 Files and sub-folders in the ATPDraw system folder ........................................................21 2.5.1 Organizing the files .....................................................................................................22 2.5.2 Configuring ATPDraw ................................................................................................22 2.6 Interfacing ATPDraw with other programs of the ATP-EMTP package ..........................22 2.6.1 Calling Watcom ATP and GNU MingW32 ATP from ATPDraw..............................24 2.6.2 Calling PlotXY , PCPlot or ATP_Analyzer ................................................................25 2.6.3 ATPDraw command line options ................................................................................25 2.6.4 Drag and drop project files..........................................................................................25 2.7 How to get help? ................................................................................................................25 2.7.1 Help from the author of ATPDraw..............................................................................26 2.7.2 Help via electronic mail ..............................................................................................26 2.7.3 Help via the ATP-EMTP-L mailing list ......................................................................26 2.8 Available circuit objects in ATPDraw...............................................................................27 3. Introductory Manual . . ........................................................................................................29 3.1 Operating windows ............................................................................................................31 3.2 Operating the mouse ..........................................................................................................34 3.3 Edit operations ...................................................................................................................35 3.4 Overview of working with ATPDraw................................................................................35 3.5 Your first circuit (Exa_1.adp) ............................................................................................37 3.5.1 Building the circuit......................................................................................................38 3.5.2 Storing the project file on disk ....................................................................................48 3.5.3 Creating the ATP input file .........................................................................................48 3.5.4 Running the simulation ...............................................................................................50 3.6 Multi-phase phase circuits .................................................................................................50 4. Reference Manual . . . ...........................................................................................................55 4.1 Main window .....................................................................................................................57 4.2 Main menu .........................................................................................................................58 4.2.1 File...............................................................................................................................58
ATPDraw version 5.6
4.2.2 Edit.............................................................................................................................. 60 4.2.3 View............................................................................................................................ 65 4.2.4 Zoom In....................................................................................................................... 67 4.2.5 ATP............................................................................................................................. 69 4.2.6 Library ........................................................................................................................ 82 4.2.7 Tools ........................................................................................................................... 88 4.2.8 Window....................................................................................................................... 95 4.2.9 Help............................................................................................................................. 96 4.3 Shortcut menu.................................................................................................................... 97 4.4 Component selection menu ............................................................................................... 98 4.5 Component dialog box ...................................................................................................... 99 4.6 Connection dialog box..................................................................................................... 102 4.7 Text dialog box................................................................................................................ 103 4.8 Node dialog box .............................................................................................................. 103 4.9 Open Probe dialog box .................................................................................................... 105 4.10 Open Group dialog box................................................................................................ 105 4.11 Circuit objects in ATPDraw......................................................................................... 106 4.11.1 Probes & 3-phase................................................................................................... 108 4.11.2 Branch Linear ........................................................................................................ 110 4.11.3 Branch Nonlinear................................................................................................... 111 4.11.4 Lines/Cables .......................................................................................................... 112 4.11.5 Switches................................................................................................................. 115 4.11.6 Sources .................................................................................................................. 116 4.11.7 Machines................................................................................................................ 117 4.11.8 Transformers.......................................................................................................... 118 4.11.9 MODELS............................................................................................................... 120 4.11.10 TACS..................................................................................................................... 124 4.11.11 User Specified ....................................................................................................... 129 4.11.12 Steady-state............................................................................................................ 130 4.11.13 Standard Component... .......................................................................................... 131 4.11.14 Plugins ................................................................................................................... 132 5. Advanced Manual . . . ........................................................................................................ 133 5.1 Grouping: an ATPDraw feature for multilevel modeling ............................................... 135 5.1.1 Grouping nonlinear objects....................................................................................... 140 5.2 Non-standard component dialog boxes ........................................................................... 142 5.2.1 Saturable 3-phase transformer .................................................................................. 142 5.2.2 Universal machines................................................................................................... 144 5.2.3 Statistic/systematic switch ........................................................................................ 148 5.2.4 Harmonic source ....................................................................................................... 149 5.2.5 Windsyn component ................................................................................................. 150 5.3 Using the integrated LCC object for line/cable modeling............................................... 152 5.3.1 Model and Data page settings for Overhead Lines................................................... 155 5.3.2 Model and Data page settings for Single Core Cable systems ................................. 158 5.3.3 Model and Data page settings for Enclosing Pipe type cables ................................. 160 5.4 Verification of the Line/Cable model performance......................................................... 162 5.4.1 Internal Line/Cable Verify........................................................................................ 162 5.4.2 External Line Check ................................................................................................. 165 5.5 Using MODELS simulation language............................................................................. 166 4
5.5.1 The automatic approach ............................................................................................167 5.5.2 The manual approach ................................................................................................169 5.5.3 Recording internal MODELS variables ....................................................................172 5.6 BCTRAN support in ATPDraw.......................................................................................173 5.7 Hybrid Transformer, XFMR ............................................................................................177 5.7.1 Overview ...................................................................................................................177 5.7.2 XFMR dialog box......................................................................................................178 5.8 Creating new circuit objects in ATPDraw .......................................................................181 5.8.1 Creating a 6-phase rectifier bridge ............................................................................181 5.8.2 Creating a user specified, nonlinear transformer model ...........................................187 5.9 Vector graphic editor .......................................................................................................190 5.9.1 Properties...................................................................................................................192 5.9.2 Editing: Selecting, moving, resizing and clipboard ..................................................193 5.9.3 Drawing new elements ..............................................................................................194 5.9.4 Layers and visible......................................................................................................194 5.9.5 Example of complex icons ........................................................................................195 5.10 Bitmap background.......................................................................................................195 5.11 Optimization .................................................................................................................196 5.11.1 Optimization routines.............................................................................................197 5.11.2 Cost function ..........................................................................................................197 5.11.3 Optimization dialog ...............................................................................................198 5.11.4 Example: Resonance grounding (Exa_18.acp) ......................................................199 6. Application Manual . . .......................................................................................................201 6.1 Switching studies using JMarti LCC objects ...................................................................203 6.1.1 JMarti model of a 750 kV line ..................................................................................203 6.1.2 Line to ground fault and fault tripping transients (Exa_7a.adp) ...............................205 6.2 Lightning overvoltage study in a 400 kV substation (Exa_9.adp) ..................................208 6.3 Modeling Rectifiers, zigzag transformers and analysis of Harmonics (Exa_14.adp) .....214 6.4 Modelling of electrical machines and controls ................................................................220 6.4.1 TACS controlled induction machine (Exa_4.adp) ....................................................220 6.4.2 Windsyn machine model ...........................................................................................224 6.4.3 Machine control (Exa_17.acp) ..................................................................................225 6.5 Simulating transformer inrush current transients.............................................................231 6.5.1 Energization of a 400/132/18 kV auto-transformer (Exa_10.adp)............................231 6.5.2 Energization of a 132/15 kV generator step-up transformer (Exa_11.adp) ..............237 6.5.3 Using the Hybrid Transformer component (Exa_16.acp) ........................................241 6.6 Switching overvoltage studies with statistical approach (Exa_12.adp) ..........................243 6.6.1 Setting program options for the statistical simulation...............................................243 6.6.2 Results of the statistical study ...................................................................................244 7. Appendix . . . . . . . . . . . ......................................................................................................247 7.1 PFC simulations in ATPDraw..........................................................................................249 7.2 Line Check .......................................................................................................................252 7.2.1 Single phase systems .................................................................................................253 7.2.2 3-phase systems.........................................................................................................256 7.3 Hybrid Transformer, XFMR ............................................................................................257 7.3.1 Leakage inductance ...................................................................................................258 7.3.2 Winding resistance ....................................................................................................259 7.3.3 Capacitance ...............................................................................................................260 5
7.3.4 Core........................................................................................................................... 261 7.4 References ....................................................................................................................... 265 7.5 Index ................................................................................................................................ 266
1. Introduction . . . ................
ATPDraw
for Windows
5.6
Introduction
1.1 What is ATPDraw? ATPDraw for Windows is a graphical, mouse-driven preprocessor to the ATP version of the Electromagnetic Transients Program (EMTP). In ATPDraw the user can construct the digital model of the circuit to be simulated using the mouse and selecting predefined components from an extensive palette, interactively. Then ATPDraw generates the input file for the ATP simulation in the appropriate format based on "what you see is what you get". Circuit node naming is administrated by ATPDraw, thus the user needs to give a name only to nodes having special interest. ATPDraw has a standard Windows layout and offers a large Windows help file system. All kinds of standard circuit editing facilities (copy/paste, grouping, rotate/flip, export/import, undo/redo) are available. Other facilities in ATPDraw are: built-in editor for ATP-file editing, text viewer for displaying the output LIS-file of ATP, automatic LIS-file checking with special trigger strings to detect simulation errors, support of Windows clipboard and metafile export. ATPDraw supports multiple circuit modeling that makes possible to work on more circuits simultaneously and copy information between the circuits. Most of the standard components of ATP (both single and 3-phase), as well as TACS are supported, and in addition the user can create new objects based on MODELS or $INCLUDE (Data Base Module). Line/Cable modeling (KCLee, PI-equivalent, Semlyen, JMarti and Noda) is also included in ATPDraw where the user specifies the geometry and material data and has the option to view the cross section graphically and verify the model in the frequency domain. Objects for Harmonic Frequency Scan (HFS) have also been added. Special objects help the user in machine and transformer modeling including the powerful UNIVERSAL MACHINE and BCTRAN features of ATP. An advanced Hybrid Transformer model based on Test Report, Design or Typical values with topologically correct core is also supported. ATPDraw also integrated with Windsyn for Universal Machine modeling based on manufacturers data. ATPDraw supports hierarchical modeling to replace a selected group of objects with a single icon in unlimited numbers of layers. $PARAMETER feature of ATP is also implemented, allowing the user to specify a text string as input in a components' data field, then assign numerical values to these texts strings later. The circuit is stored on disk in a single project file, which includes all the simulation objects and options needed to run the case. The project file is in zip-compressed format that makes the file sharing with others very simple. ATPDraw is most valuable to new users of ATP-EMTP and is an excellent tool for educational purposes. However, the possibility of multi-layer modeling makes ATPDraw a powerful front-end processor for professionals in analysis of electric power system transients, as well. Version 3.6 and above of ATPDraw for 9x/NTx/2000/XP Windows platforms are written in Borland Delphi 6.0. From version 5.3 CodeGear Delphi 2007 is used. This version uses the html help file system supported in Windows VISTA. ATPDraw is a trademark and copyrighted by 2005-2009 Norwegian University of Science and Technology, Norway. Program developer is Dr. Hans Kristian Hidalen in Trondheim, Norway, with Dahl Data Design in Norway as a programming sub-contractor and SYSTRAN Engineering Services in Hungary as a sub-contractor for program documentation. Program development has mainly been financed by Bonneville Power Administration in Portland, Oregon,
Introduction
USA, with Pacific Engineering Corporation as project coordinator. Development in version 5 has in addition been co-funded by the European EMTP User's Group and Schneider Electric. The ATPDraw program is royalty free and can be downloaded free of charge from several Internet sites. The on-line help of ATPDraw and the present program documentation includes third-party proprietary information of, thus ATP licensing is mandatory prior to get permission to download the program and documentation from the Internet, or to receive ATP related materials from others. 1.2 What is ATP? The Alternative Transients Program (ATP) is considered to be one of the most widely used universal program system for digital simulation of transient phenomena of electromagnetic as well as electromechanical nature in electric power systems. With this digital program, complex networks and control systems of arbitrary structure can be simulated. ATP has extensive modeling capabilities and additional important features besides the computation of transients. The Electromagnetic Transients Program (EMTP) was developed in the public domain at the Bonneville Power Administration (BPA) of Portland, Oregon prior to the commercial initiative in 1984 by the EMTP Development Coordination Group and the Electric Power Research Institute (EPRI) of Palo Alto, California. The birth of ATP dates to early in 1984, when Drs. Meyer and Liu did not approve of proposed commercialization of BPA's EMTP and Dr. Meyer, using his own personal time, started a new program from a copy of BPA's public-domain EMTP. Since then the ATP program has been continuously developed through international contributions by Drs. W. Scott Meyer and Tsu-huei Liu, the co-Chairmen of the Canadian/American EMTP User Group. Several experts around the world have been contributing to EMTP starting in 1975 and later to ATP in close cooperation with program developers in Portland, USA. Whereas BPA work on EMTP remains in the public domain by U.S. law, ATP is not in the public domain and licensing is required before access to proprietary materials is granted. Licensing is, however, available free of all charge to anyone in the world who has not participated voluntarily in the sale or attempted sale of any electromagnetic transients program, (hereafter called "EMTP commerce"). 1.3 Operating priciples and capabilities of ATP1 The ATP program predicts variables of interest within electric power networks as functions of time, typically initiated by some disturbances. Basically, trapezoidal rule of integration is used to solve the differential equations of system components in the time domain. Non-zero initial conditions can be determined either automatically by a steady-state phasor solution or they can be entered by the user for simpler components. ATP has many models including rotating machines, transformers, surge arresters, transmission lines and cables. Interfacing capability to the program modules TACS (Transient Analysis of Control Systems) and MODELS (a simulation language) enables modeling of control systems and components with nonlinear characteristics such as arcs and corona. Dynamic systems without any electrical network can also be simulated using TACS and MODELS control system modeling.
1
Source: WWW.EMTP.ORG
10
Introduction
Symmetrical or unsymmetrical disturbances are allowed, such as faults, lightning surges and several kind of switching operations including commutation of valves. Frequency-domain harmonic analysis using harmonic current injection method (HARMONIC FREQUENCY SCAN) and calculation of the frequency response of phasor networks using FREQUENCY SCAN feature is also supported. The model-library of ATP at present consists of the following components: