ECPE 6304 - ENGR 315 ADVANCED COMPUTER ANALYSIS OF POWER SYSTEM CONTROL AND POWER ELECTRONICS TRANSIENTS Paulo F. Ribeiro, PhD, PE EMTDC/PSCAD (INTRODUCTION) EMTDC (ElectroMagnetic Transients for HVDC). • Developed in 1975 by Manitoba Hydro to study the Nelson River HVDC power system • Used extensively for many types of power simulation studies, • Used in both Unix and PC systems • A more user friendly version of EMTP program PSCAD (Power Systems Computer Aided Design) • A graphical User Interface to EMTDC • PSCAD V1 in 1988 on Apollo workstations, • PSCAD V2 in 1995 on Unix systems • PSCAD V3 in 1999 for PC Windows platforms. (not available in Unix). EMTDC/PSCAD (UNIX VERSION) Version 2, Unix • 6 Workstation computers which has license of EMTDC/PSCAD at VT Coconut, Yew, Ash, Sycamore, Pear, Peach • • Your login file “.cshrc” should be modified to include the path lines. These computers can be accessed by other workstation computers by telneting, or by PCs using Xwindows software. TELNET Assume you are using X machine which does not have the EMTDC license and want to telnet to Y machine X:/home/ loginname > xhost “Y” X:/home/ loginname > telnet “Y” X:/home/ loginname > setenv DISPLAY “X”:0.0 Y:/home/ loginname > PSCAD & XWINDOWS A trial version of Xwindows can be downloaded from http://www.starnet.com. There is a two hour usage limit. EMTDC/PSCAD INTERFACE Matlab Excel EMTDC STRUCTURE Multiple Run Loop Control of Multiple Run Optimization Initialization Start EMTDC form DATA field or SNAPSHOT Main Time Loop TIME = TIME + DELT Solve for History Terms Calculate history terms current injections for inductors, capacitors, transformers, lines and cables DSDYN User defined master dynamics files Network Solution Solution for Node Voltages and currents using sparsity algorithm Interpolation DSOUT Interpolation algorithm, switching procedures, and chatter removal User defined output definition file Runtime Communication Write Output Files Is run finished? Bi-directional socket communication to GUI Generation of output files for future plotting Control of Multiple Run Optimization PSCAD/DRAFT MODULE • Collection of components or circuits can be dragged from library palette into drawing canvas to assembly a circuit. Network Components: RLC components, Transformers with saturation, Frequency dependent transmission lines cables, synchronous machines, induction motors with exciter governor and turbine models, faults, breakers, surge arresters, current voltage sources, multiple harmonic injectors Power Electronics Components: Thyristors, diodes, GTOs, HVDC valve group, SVS and FACTS devices Control Blocks: Derivative, delay, differential lag, integrator, limit, complex pole, real pole, lead lag, filter, amplifier, switch and Boolen functions Meters: Voltmeters, ammetters, real reactive power meters, peak detectors, phase angle and frequency meters PSCAD/DRAFT MODULE • The components can be rotated mirrored, selected, deselected, grouped, moved copied, cut or pasted. The wires can be resized. • User components can be created • Subsystems • Meters to measure electrical quantities • Output Channels to plot measured quantities • Operator controlled inputs (slider, push button, etc.) to provide interactive control during a simulation • Miniature Pallets for navigation • Circuit can be loaded, saved from batch pull down menu, and can be either printed to a file in postscript format or to a printer • Circuit compilation conducts a “sanitary check” and creates files for RUNTIME module. If there is any warning or errors, diagnostic message pops up after compilation PSCAD/RUNTIME MODULE •Console setting is performed from “create” pull down menu • plots and meters to display the monitored outputs • slider, push buttons to interactively control the inputs during the simulation run • Plots can be zoomed, scaled or resized. • Three curves into one graph and 5 graphs into one plot • Plot and output time output step can be reentered • Pressing a single menu button, simulation is started. The simulation then can be paused, single stepped, resumed or stopped. • After initialization process (reaching to a steady state, a snapshot file can be created. • “Filename.out” is created to document, print or analyze the results using MULTIPLOT. • Repeated simulations are created using “Multiple runs” feature • Double precision to avoid numerical instability PSCAD/MULTIPLOT MODULE • This module is used for documentation and analysis of the results. • Fourier Analysis • Waveform Calculator • Graph formatting and labeling • Flexible layout • Files of “Filename.out” and “Filename.inf” are needed to plot the monitored outputs • Can be printed to a file in .ps format or a printer. • Output file can be processed using any other software once the correspondence of each column is known. EMTDC/TYPICAL STUDIES • Find overvoltages in a power system due to a fault or breaker operation. Transformer non-linearities (ie saturation) are a critical factor and are represented. Multiple run facilities are often used to run hundreds of simulations to find the worst case when varying the point on wave of the fault, type of fault, or location of the fault. • Find overvoltages in a power system due to a lightning strike. This simulation would be performed with a very small time step (nano-seconds). • Find the harmonics generated by a SVC, HVDC link, STATCOM, machine drive (virtually any power electronic device). Detailed models for thyristors, GTO, IGBT, diodes.. are required, as are detailed models of the associated control systems (both analogue and digital). • Find maximum energy in a surge arrester for a given disturbance. • Tune and design control systems for maximum performance. Multiple run facilities are often used here as well to automatically adjust gains and time constants. EMTDC/ TYPICAL STUDIES (cont) • Investigate the Sub-Synchronous Resonance (SSR) effect when a machine and multi-mass turbine system interacts with series compensated lines or power electronic equipment. Controls systems can also be modified to investigate possible SSR mitigating methods. Modeling of STATCOM or Voltage Source Converters (and detailed models of their associated controls) • Study interactions between SVC, HVDC and other non-linear devices. • Investigate instabilities due to harmonic resonances, controls, interactions... • Investigate the pulsing effects of diesel engines and wind turbines on the electric network. Insulation coordination. • Variable speed drives of various types including cycloconverters and transportation and ship drives. • Industrial systems including compensation controllers, drives, electric furnaces, filters, etc. Feeds to isolated loads. EMTDC/PSCAD compared to EMTP • Graphical data input (Draft). • Graphical execution (Runtime). • Printing plots during simulation run. • Less set up time. • Less solution time. • Interaction with users. • Initialization, snapshot files. • Switching interpolation, exact switching instant. • Chatter removal from inductive node voltage and capacitive current by employing half step interpolation • Fortran interface for modeling network dynamic and control. • No computer expertise is required with the PSCAD interface. vre3 EF3 GVrms3 GVrms3RMS 3 Phase 6.6 Ef If A DG3 A Ia3 B Ib3 C Ic3 Ga3 B Te Te3 Gb3 C Tm Gc3 GTM3 WOUT3 w Tm de3 vre2 PSCAD/EMTDC System EF2 GVrms2 GVrms2RMS 3 Phase 6.6 Ef If A DG2 A Ia2 B Ib2 C Ic2 Ga2 B Te Te2 Gb2 C Tm Gc2 GTM2 WOUT2 w Tm de2 TIME GVrms1 1 = Ctrl A P MEF1 vre1 GVrms1RMS 3 Phase 6.6 B Ctrl + I MQOUT1 - D EF1 F GVrms1 Ef If A DG1 A Ga1 B Te Te1 Ib1 C Ic1 Gb1 C Tm GTM1 WOUT1 w Tm If Ef Ia1 B 0.0 A M1 Va1 B cc1 Te C Gc1 Tm w MTE1 MPOUT1 Tm MTm1 W1 de1 p1 TIME voltage Vgen regulator ND exciter GVrms Ef B Ctrl V fo GVrms A DG A Ga B Te Gc GTM ND w WOUT w Tm Tm diesel engine Ia A B Ib B C Ic C Gb C Tm QEXC + I If Ef If Te P F EF QEXC A MEF Vref GVrms RMS 3 Phase 6.6 1 = Ctrl If Ef A cc A M Va B B C C Te Tm Tm w Tm Ww prop MTm MTE MQOUT - D 0.0 ship P D + Vref I F Vgen * 2.0 D ++ F G sT 1 + sT sT G vfe 1 + sT ife * * .2322 KPhi vae * .5 D + vae F 400 * * 0.001QEXCp 0.10 * * KPhi ife .10472 ND * Voltage Regulator And Exciter Model KPhi vfe if if vfrp QDSS D ++ D F NREF * .53 D + - F 1 sT D + F QDSS * FR nnon D NREF D + NREF 1.36343 * F ND w Engine And Governor Models N F QEXC 514.0 Min QGEN * .47 P N/D I Bag + + D + F sT * 7.35 FRp * 0.005234 Tm Cycloconverter Model (Frequency Selected) * .8165 * 0.1666667 Vina +L GVc R + A gr GIb + +L Vinc GVb f GIa B GIc + R Vinb GVa +L R fo C V Vop Vouta Voa R=0 Voutb Vob Voutc Voc I 1.732 * 1 MIrmso X * .3333 * * Low pass Butterwth Order = 3 B ccsw A Ctrl Ctrl = 1 Ctrl = B IPFm N P D A Ctrl ICCccsw 0.47 GPhm A B ccsw Cos D N/D IPF .577 * 1 D IPF Ctrl = R N N N/D N/D VslashA VslashA Ctrl A1GVa B1GVb C1GVc Phase Difference GPhm A2 B2 C2 GIa GIb GIc P * 3.0 MPF MIrms