1 introduction to atpdraw version 7 v7 presentation.pdf · 2019. 12. 1. · 7 hans kr. høidalen,...

49
1 Hans Kr. Høidalen, NTNU-Norway Introduction to ATPDraw version 7 Latest news Introduction to ATPDraw Layout and dialogs Main menu options Functionality Line/cable modeling Transformer modeling Machine modeling Controls

Upload: others

Post on 06-Apr-2021

19 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

1

Hans Kr. Høidalen, NTNU-Norway

Introduction to ATPDraw

version 7

• Latest news

• Introduction to ATPDraw

• Layout and dialogs

• Main menu options

• Functionality

• Line/cable modeling

• Transformer modeling

• Machine modeling

• Controls

Page 2: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

2

Hans Kr. Høidalen, NTNU-Norway

Latest news I

• Upgraded to Delphi XE8 and fully UniCode support.

• Completely new object-oriented data structure. Limits

on data, nodes, icon size/elements/colors, non-linear

points, machine masses, HFS_Sour harmonics,

Sour_1 points, LCC conductors removed.

• Groups are managed and stored hierarchically.

Simpler IO, UnDo/ReDo, faster node naming

(children inherit parent, beware of possible issues).

• Compress process by visual selection with improved

feedback. Inherited data/nodes visualized and

locked.

Page 3: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

3

Hans Kr. Høidalen, NTNU-Norway

Latest news II

• Sequence control of circuit objects, first in first

out, sorting. Object tree inspector in sidebar.

• Variable extensions. "Hide" option can be

variable. Mathematical expressions in input

fields is allowed. Possible to give data as

14.3*sqrt(2/3)

• ATP execution in parallel threads and folders

(with Internal Parser). Progress control (slow).

• Voltage and current probes with enhanced

steady-state plotting, also beyond t=0. Very

significant, hidden MODELS phasor calculator

behind the scene.

I

99.047+j19.917

20 km PQLoaflo

100+j20 MVA

Y Y

XFMRI

16.14∠[email protected]

I

1.32 ∠ 18.4

@0.1

20 km

420:66 kV300MVA

Page 4: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

4

Hans Kr. Høidalen, NTNU-Norway

Latest news III

• LINE3 model with steady-state current and power

flow at each terminal.

• LCC module extended to an infinite number of

phases. Single-phase layout support. LENGTH,

FREQ, GRNDRES as data, variables for all

geometrical and material inputs.

• File attachments to projects with drag&drop support.

Add pdf, txt, doc, etc to project.

• New MODELS Editor with better syntax highlight,

code folding and debugging. Context menu with

functions and controls insert.

Page 5: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

5

Hans Kr. Høidalen, NTNU-Norway

Latest news IV

• XML text format for file open/save relevant for manual

manipulation and future data exchange.

• New components:– LCC_EGM for statistical insulation coordination studies

– WriteMonteCarlo for overvoltage probability calculations

– DHM96 Zirka-Moroz hysteresis model (requires ATP>=2019)

– RINF component for large resistance to ground for increased

readability.

– WRITESCREEN component that displays extremal simulation results

on screen

– ACSRCMOD modulated AC source (1 or 3-phase, same as

ACSORCE)

– RAMPSTEP TACS source. Can be connected directly to ACSRCMOD

for easy ramp-up.

– TRAPCHRG source. Trapped charge, disconnected at t=0.

DHM

smplWRITE

MonteCarlo

EGM300. m

Page 6: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

6

Hans Kr. Høidalen, NTNU-Norway

Latest news V

• Several new examples– Exa_17: Revised to cover embedded Windsyn.

– Exa_21: Statistical insulation coordination (Monte Carlo) with

lightning strikes to overhead line.

– Exa_22: Synchronous machine controls. A) SM Type 59/58, B)

UMSYN (WIndSyn), C) UM_1

– Exa_23: Induction machine controls. UM_3, UMIND (WIndSyn),

and Type56 in same data case.

– Exa_24: IEEE 9BUS power system with distance protection blocks

– Exa_25: Inverter fed photo voltaic with controls.

• New User’s Manual substantially updated. 346

pages, many new examples, full coverage of new

features.

TEx

TPow

58SM

GEN

TORQ

WG

ui

PQ

M

QG

VM

UG

M

Controls in

TACS /MODELSInput/Output

Aux Calculations

Synchronous

Machine

M

PG

M

EFD

MODEL

UGRMS

Voltage, speed and powerreferences are in PU ofthe initial values.

M

VREG

M

M

T

U Ref = 1 PU

T

W Ref = 1 PU

T

P Ref = 1 PU

MODEL

AVRPSS

MODEL

ROTEXC

MODEL

GovTur2

Page 7: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

7

Hans Kr. Høidalen, NTNU-Norway

Introduction

• ATPDraw is a graphical, mouse-driven, dynamic

preprocessor to ATP on the Windows platform

• Handles node names and creates the ATP input file

based on ”what you see is what you get”

• Freeware

• Supports

– All types of editing operations

– ~200 standard components

– MODELS

– $INCLUDE and User Specified Components

Page 8: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

8

Hans Kr. Høidalen, NTNU-Norway

Introduction- ATPDraw history

• Simple DOS version

– Leuven EMTP Centre, fall meeting 1991, 1992

• Extended DOS versions, 1994-95

• Windows version 1.0, July 1997

– Line/Cable modelling program ATP_LCC

– User Manual

• Windows version 2.0, Sept. 1999

– MODELS, more components (UM, SatTrafo ++)

– Integrated line/cable support (Line Constants + Cable

Parameters)

BPA

Sponsored

Page 9: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

9

Hans Kr. Høidalen, NTNU-Norway

Introduction- ATPDraw history• Version 3, Dec. 2001

– Grouping/Compress

– Data Variables, $Parameter + PCVP

– LCC Verify + Cable Constants

– BCTRAN

– User Manual @ version 3.5

• Version 4, July 2004– Line Check

– Hybrid Transformer model, Zigzag Saturable transformer

• Version 5, Sept. 2006– Vector graphics, multi-phase circuits, new file handling

– User Manual @ version 5.6

• Version 6, Sept. 2014– Power system tollbox, Internal parser

• Version 7, Nov. 2019

Page 10: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

10

Hans Kr. Høidalen, NTNU-Norway

ATPDraw main windows

Circuit

map

Circuit

windows

Header,

circuit file

name

Main menu

Tool bar

Side bar

(optional)

Component

selection menu

Circuit

variables

Status bar

with info and

zoom

Page 11: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

11

Hans Kr. Høidalen, NTNU-Norway

ATPDraw node naming

• "What you see is what you get"

• Connected nodes automatically get the

same name

– Direct node overlap

– Positioned on connection

• Warnings in case of duplicates and

disconnections

• 3-phase and n-phase nodes

– Extensions A..Z added automatically

– Objects for transposition and splitting

– Connection between n- and single

phase

nodes connected nodes overlap

SplitterTransposition

Connection

ABC

1

Page 12: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

12

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Component dialog

Editable

data values

with

expressions

Windows

Clipboard

support

Branch

output

Edit local

definitions

Icon/help/

pos/name/

units

Node names

(red=user spec.)

Label on

screen with

rotation

Comment in

ATP file

Component

not to ATP

Multi-phase

For old

sorting

Page 13: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

13

Hans Kr. Høidalen, NTNU-Norway

ATPDraw capability

• 30.000 nodes

• Unlimited* number of objects (components, connections, texts, shapes, pictures and files)

• Unlimited* number of data and nodes per component

• Up to 26 phases per node (A..Z extension)

• Unlimited* number of phases in LCC module

• Circuit world is 10.000x10.000 pixels (user; 25-400%)

• Up to 100 UnDo/ReDo steps

*Actual limit is 2G (32 bit addressing)

Page 14: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

14

Hans Kr. Høidalen, NTNU-Norway

All standard components:

Page 15: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

15

Hans Kr. Høidalen, NTNU-Norway

ATPDraw File options

• Project stored in a single binary file (*.acp)

• Save As *.acp (v.7 format)

• Save As *.ad5 (v5/6 format)

• Save As *.xml (open xml format, see Users’ Manual)

• Sub-circuits can be imported/exported.

• Import power system from text file

• Print

Page 16: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

16

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Edit options• Multiple documents

– several circuit windows

– large circuit windows (map+scroll)

– grid snapping

• Circuit editing

– Copy/Paste, Export/Import, Rotate/Flip,

– Arrange (back/forward, connections/Models). New!

– Undo/Redo (100),

– Compress/Extract (multilevel):

• Merge a collection into single icon, select nodes and data

– Edit group

• Open a group’s content and inspect or edit

• Edit circuit; go one level up

– Windows Clipboard: Circuit drawings, icons, text, circuit data

– Rubber bands

Page 17: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

17

Hans Kr. Høidalen, NTNU-Norway

ATPDraw View options

• Turn on/off side bar and status bars

• Customize main tool bar

• Zooming

• Centre circuit in window

• Lock the circuit for moving («child» safety)

• Refresh, redraw

• Default view options:– Drag over info:

• In status bar

• In popup if Ctrl pressed

– PS colors used by

• LINE3 + Connections

Page 18: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

18

Hans Kr. Høidalen, NTNU-Norway

ATPDraw ATP options

• Settings (see also Sidebar)– Simulation; Time step, cap/ind units, frequency scan

– Output; printout control, auto-detect error messages

– Format; Sorting, ATP cards

– Univeral Machine, switch and Load flow settings

– Output control, variables ($Parameters)

• Output manager (lists all outputs, Find and Edit)

• Inspect ATP and LIS file

• Optimization (writeminmax object function to optimize

variables, GA, Gradient, Annealing methods)

• Line Check (calculate sequence parameters of multiple

transmission line segments)

• User customized commands

Page 19: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

19

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Library options

• New objects– User specified

– MODELS (but this should better me made from Default Model in

the Selection menu)

• Edit objects– Standard; Edit the ATPDraw.scl component selection. Not for the

average user as the file becomes overwritten in a new installation.

User defined help can instead be added as text files in the /HLP

directory.

– User specified (requires an external DBM file) and Models

• Synchronize– Reload standard icons from ATPDraw.scl (turn an old circuit into

vector graphic)

Page 20: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

20

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Tools options

• Bitmap, vector graphic and help stand-alone editors.

• Text editor, embedded with line and column number.

• Drawing tools:

• Options (important!)– General

• Autosave and backup

• Save ini file on exit

– Preferences

• Undo/redo steps

• Link to ATP and plot

– Files&Folders

• Default folders incl.

• ATP folder

Page 21: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

21

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Windows options

• Arrange multiple document windows

• Show the Map windows

• List all circuit projects loads and select active project

window

Page 22: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

22

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Web options

• Register at www.atpdraw.net from ATPDraw

• Direct access to MySQL databases from ATPDraw

• Upload and download of circuits. – Direct support (one click + provide information)

– Author cited both in ATPDraw and web-page.

U

BUS

V

IIM

V

Page 23: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

23

Hans Kr. Høidalen, NTNU-Norway

ATPDraw Help options• Show main help

• Local help inside every dialog

• About

Page 24: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

24

Hans Kr. Høidalen, NTNU-Norway

ATP Connection

Wizard

• Set up path to solver (ATP:

tpbig.exe)

• Set up path to STARTUP

• Control LIS-file

• Hidden mode, multiple-run

control, Error detection

• Result directory (must be

writable)

• Plotter

Page 25: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

25

Hans Kr. Høidalen, NTNU-Norway

Multi-level grouping• Select a group (components,

connections, text)

• Click on Edit|Compress

• Select component to transfer properties

• Select external data/nodes – Data with the same name appear only once in

the input dialog

– Double click on name to change

– Specify node positions

– Nonlinear characteristic supported

GROUP

mech

Page 26: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

26

Hans Kr. Høidalen, NTNU-Norway

Output manager (F9)• Gives an overview of all output requests in the circuit

• Stay on top window

• Lists output in same order as in pl4 file– Volt/Power Branch, Volt/Power Switch, Volt Node

– Curr/Energy Switch, Curr/Energy Branch

– SM,TACS, MODELS,UM

• Goes into User Specified, Additional cards, and

Windsyn

• Find+Edit

POSI

U(0

)

+

UI

UI

UI

V

Page 27: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

27

Hans Kr. Høidalen, NTNU-Norway

Vector graphic editor

• Shapes (line, rectangle,

polyline, polygon,

ellipse, arc, pie, bezier,

arrow)

• Text

• Nodes and frame

• Inspect by element id or

layer

• Edit point, drag, edit

values and properties

• Arrange, rotate/flip

• Grouping for move/copy

Page 28: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

28

Hans Kr. Høidalen, NTNU-Norway

Optimization module

• Gradient Method

• Genetic Algorithm

• Simplex Annealing

• Select variables (with limits)

and cost function

• Loops ATP (serial/parallel)

• Writes back final variable

values

Page 29: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

29

Hans Kr. Høidalen, NTNU-Norway

Parameter variations –

Multiple run (KNT)

• Two methods:– Default: Use ATP’s native $PARAMETERS and PCVP. Parameters

varied by ATP in a single simulation

– Internal parser: Variables substituted by ATPDraw and ATP

executed in parallel threads. Allow full variation of data (also LCC).

• Specify Variables in Sidebar or under

ATP|Settings/Variables

Page 30: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

30

Hans Kr. Høidalen, NTNU-Norway

Example: Resonance coil tuning

• How to set the coil to 10 % over-compensation?

• 1: Define reactance REACT of coil as variable

• 2: Define CURR as a local variable

• 3: Add cost function to neutral voltage

• 4: Run Optimization

• 5: Divide REACT by 1.1

V

SAT

Y

LCC

WRITE

maxmin

LCC

LCC LCC

Page 31: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

31

Hans Kr. Høidalen, NTNU-Norway

Example: Variable line length

• Railway observation point variation

• Move the WriteMaxMin component

LCC

Template

LCC_

LEN1A

LCC_

LEN1B

Converter+

Train

UI

LCC_

LEN0B

LCC_

LEN0A

RG

LCC_

LEN2B

LCC_

LEN2A

WRITE

maxmin

WRITE

maxmin

I

5000 m

R1A R1B R2A R2BR0A R0B

Voltage measurement

Current measurement

0.0 1.0 2.0 3.0 4.0 5.0

kLEN1A0.0

5.0

10.0

15.0

20.0

25.0 RAIL

0.0 1.0 2.0 3.0 4.0 5.0

kLEN1A250.0

275.0

300.0

325.0

350.0

375.0

400.0 RAIL

Volt

Curr

Page 32: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

32

Hans Kr. Høidalen, NTNU-Norway

Power system toolbox v2 content

Harmonics (1-26)

Volt. dep. PQ load

RMS and sequence

Phasors with plotting

PQ and RX calc.

Relays

• Over-current, 50/51

• Time-overcurrent, 51

• Distance, 21

• quad

• ohm/moh

• Differential, 87

• Transformer

• line

• voltage, 27/59

• Frequency, 81

LOAD

k Un

WRITE

abc

dq0

ui

PQ

ui

W

ui

RX

ui

RXE

ui

RX

abc

f

DFT abcabc

rms

abcv0

abc

DFT1h

abc

012

ui

PQ

51

B T ?

51

B T ?

21

B T ?

21

B T ?

87T

B T ?

87L

B T ?

abc

frqabc

abg

81

B T ?27

B T ?

59

B T ?

abc

f

Filters,

PLL ,

Freq

Page 33: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

33

Hans Kr. Høidalen, NTNU-Norway

Relay models• Over-current and Time-overcurrent

relays require rms-current input– Pickup current [A], Time-delay [s]

– NI, VI, EI according to IEC/IEEE

• Distance relay require R and X input

– 3 quadrilateral zones coordinates

– 3 time delays

• Differential relay require I1 and I2– Slopes K1, K2 [diff/res]

– Current thresholds I_start, I_step [A]

– Time delay [s]

– Turns ration, phase shift, harmonic restraint

• All relays has a DownSampl(plotting), t_init (initialization), Idx(identifier) and Blocking signal.

• Trajectory plotting and View/Copy

0.00.00.00.00.0

R [kohm]

0.00.00.00.00.0

X [kohm]0.5

0.5-0.5

ui

RX

M

21

B T ?M

Phase faults

Distance relay

0.0 2.0 4.0 6.0 8.0 10.0

Is [kA]0.0

0.1

0.2

0.4

0.5 t [s]

0.0 2.0 4.0 6.0 8.0 10.0

Is [kA]0.0

0.1

0.2

0.4

0.5 t [s]

abc

rms 51

B T ?

51

B T ?

Phase A

Phase B

Phase C

Trip zone

I restraint [A]1E3800600400200

I d

iffe

ren

ce

[A

]

200

180

160

140

120

100

80

60

40

20

DFT1h DFT1h

87T

B T ?

IY

XFMR

I

Differential

Page 34: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

34

Hans Kr. Høidalen, NTNU-Norway

Users’ manual

• Documents version 7.0 of ATPDraw (346 pages), pdf

• Written by Hans Kr. Høidalen, Laszlo Prikler and

Francisco Peñaloza

• Content

– Intro: To ATP and ATPDraw + Installation

– Introductory manual: Mouse+Edit, MyFirstCircuit

– Reference manual: All menus and components

– Advanced manual: Grouping/LCC/Models/BCTRAN + create

new components

– Application manual with examples on lightning, switching,

transformer, machine, protection and renewables studies

Page 35: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

35

Hans Kr. Høidalen, NTNU-Norway

Users’ manual examples, Chapt. 6

• Switching studies using JMarti LCC objects (Exa_7.acp)

• Lightning overvoltage study in a 400 kV substation (Exa_9.acp)

• Modeling Rectifiers, zigzag transformers and analysis of Harmonics (Exa_14.acp)

• The Controlled Electric Rotating Machines – Synchronous machine control (Exa_22a.acp)

– Universal machine control (Exa_22b-c.acp)

– Induction Machines (Exa_23.acp)

– Windsyn machine control (Exa_17.acp)

• Simulating transformer inrush current transients

• Energization of a 400/132/18 kV auto-transformer (Exa_10.acp)– Energization of a 132/15 kV generator step-up transformer (Exa_11.acp)

– Using the Hybrid Transformer component (Exa_16.acp)

• Switching overvoltage studies with statistical approach (Exa_12.acp)

• Power system protection (Exa_24.acp)

• Solar power interface via PWM controlled inverter (Exa_25.acp)

Page 36: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

36

Hans Kr. Høidalen, NTNU-Norway

Example, Exa_9• Ligtning study to

400 kV substation

• Line, tower,

insulator flashover,

busbars, arrester

L_impH

t

TOP

I

tt

t

V

TWR4V

V

LINE2

t

R(i)

I

TR400

t

R(i)

I

LINE1

t

TR

R(i)

I

V

PT1

U

LCC LCC LCC LCC LCC LCC

(file Exa_9.pl4; x-var t) v:PT1A v:TR400A c:SICA -

0 5 10 15 20 25[us]

-0.50

-0.25

0.00

0.25

0.50

0.75

1.00

1.25

1.50

[MV]

0

2

4

6

8

10

12

14

16

[kA]

Page 37: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

37

Hans Kr. Høidalen, NTNU-Norway

Example, Exa_21• Ligtning strikes to overhead lines

• Insulation coordination by Monte Carlo simulations

• LCC_EGM and WRITEMONTECARLO componentsLCC

Template

H H

EGM0.3 km

VLCC

50. km??EGM

0.3 kmEGM0.3 km

LCC

Template

EGM0.3 km

LCC

0.04 km EGM0.3 km

MO

V

?? EGM0.3 km

?? EGM0.3 km

EGM0.3 km

?

WRITE

MonteCarlo

??? EGM0.3 km

?? EGM0.3 km

EGM0.3 km

1.2E61E68E56E54E52E5

f(B

US

0)

10

9

8

7

6

5

4

3

2

1

Page 38: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

38

Hans Kr. Høidalen, NTNU-Norway

Example, Exa_22• Synchronous machine controls

• AVR and Governor in MODELS

• SM58/59, UM1, Windsyn

TEx

TPow

58SM

GEN

TORQ

WG

ui

PQ

M

QG

V

M

UG

M

Controls in

TACS /MODELSInput/Output

Aux Calculations

Synchronous

Machine

M

PG

M

EFD

MODEL

UGRMS

Voltage, speed and powerreferences are in PU ofthe initial values.

M

VREG

M

M

T

U Ref = 1 PU

T

W Ref = 1 PU

T

P Ref = 1 PU

MODEL

AVRPSS

MODEL

ROTEXC

MODEL

GovTur2

Page 39: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

39

Hans Kr. Høidalen, NTNU-Norway

Example, Exa_24

TEx

TPow

59SM

TEx

TPow

59SM

TEx

TPow

59

SM

Y

XFMR Y

XFMR

Y

XF

MR

4.49+j38.2 BUS8BUS9

I

163.-j9.43

16.9+j85.4

BUS5 S:-0.41-j0.389

125+j50

BUS4

100+j35

BUS6

S:-60.-j 13.

90+j30

S:-31.-j17.1

V

BUS7

1.026∠33.74

V 1.04∠ 0.0

V

1.03∠ 9.3V

1.033∠ 32.

V0.996∠26.01 V1.014∠26.31

V

1.016∠30.75

V1.026∠27.79

I

71.62+j25.92

I r21

21

r21

21

r21

21

r21

21

2-phase fault

A-B @90 %

R [ohm]

700600500400300200100-100

X [

ohm

]

160

140

120

100

80

60

40

20

-20

-40

-60

Phase A

Phase B

Phase C

Zone 1

Zone 2

Zone 3

line imp.

• IEEE 9-BUS system with distance protection

• LINE3 components with fault

• Distance relays with zone helper

Page 40: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

40

Hans Kr. Høidalen, NTNU-Norway

Line/Cable modeling

• Electrical parameters– PI-equivalents, multi-phase

• Physical parameters– Line/Cable Constants, Cable Parameters

– Bergeron, PI, JMarti, Semlyen, Noda(?)

– View

– Cross section, grounding

– Verify

– Frequency response, power frequency params.

• Line Check– Power freq. test of line/cable sections

0.0 2.0 4.0 6.0

log(freq)0.4

1.5

2.7

3.9 log(| Z |)

Page 41: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

41

Hans Kr. Høidalen, NTNU-Norway

LCC template/section

• LCC object has property Template– If ‘on’ the object becomes a dummy component not written to the ATP-file

• New LCC section reference by Name.– Holds section length. Single phase option.

• Complicated railway study where new approach is useful:

BC

T

AA

GRP

KL

GRP

KL

GRP

KL

GRP

KL

GRP

KL

BCT

Y Y

BCT

Y Y

V

LCC

Template

BCT

Y Y

1 mohm Train 5MW

TR

AIN

I

BC

T

AA

0.133

I

1.496

I

1.49

I

1.496

I

VV

1.49

I

V

V

II

2.737

I

1 mohm

12.41

I

BC

T

YY

V

1 mohmB

CT

YY

0.134

I

NL

PL

RL

Section 2Section 1

160 m 965 m 825 m

1790 m160 mAT1

RL

NL

RAIL

KL

PL

RL

60000 m 2496 m

LCC_

RAIL

KL

RL

NLPL

Group

content

Page 42: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

42

Hans Kr. Høidalen, NTNU-Norway

Transformer modeling

• Saturable Transformer

• BCTRAN

• Hybrid Transformer

• Ideal

SAT

Y

Z

BCT

Y

XFMR

Y

P S:n 1

Y Y

Page 43: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

43

Hans Kr. Høidalen, NTNU-Norway

Hybrid transformer• Extended to 4

windings

• Y, D, Auto, Zigzag

• Test report,

design or typical

• 3/5-legged, shell-

form, triplex

• Various saturation

options

• Copper loss

enhancements

Page 44: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

44

Hans Kr. Høidalen, NTNU-Norway

Saturable transformer

• Zigzag supported

SAT

Y

Z

132 kV

SAT

Y Y

VCable

132/11.3

SAT

Y Y

SAT

Y

Z

SAT

Y Y

5 uH

26.5mohm

UI

5 mF

U(0

)

+

22.2 mH

VCable

SAT

Y

Z

SAT

Y Y

VCable

SAT

Y

Z

SAT

Y Y

VCable

SAT

Y

Y

SAT

Y Y

VCable

V

5 uH

26.5mohm

UI

5 mF

U(0

)

+

V

5 uH

26.5mohm

UI

5 mF

U(0

)

+

V

5 uH

26.5mohm

UI

5 mF

U(0

)

+

V

5 uH

26.5mohm

UI

5 mF

U(0

)

+

V

Zdy

Zdy

Zdy

Zdy

Zig-zag

transformersZN0d11y010.7/0.693 kV

-12

-6

+6

+12

11.3/10.6 kVtransformers

Ydy

Page 45: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

45

Hans Kr. Høidalen, NTNU-Norway

Machines

• The following types are supported– Universal machine

– Type 59/58 synchronous machine

– Type 56 induction machine

• Embedded, adapted Windsyn support– Manufacturer data input

– Start-up facilities

– Embedded controls (exciter, governor)

IM

IM

T

TEx

TPow

59SM

Torque

IMWI

Exfd

Torque

SMWI

Page 46: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

46

Hans Kr. Høidalen, NTNU-Norway

Synchronous machine

• Manufacturers

input similar to UM

• Support of type 58

• Multi-masses (4)

• Output control

• Dynamic TACS

output (5)

Page 47: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

47

Hans Kr. Høidalen, NTNU-Norway

Manufacturers data fitting• Direct support of “Windsyn” features

– ATPDraw has embedded induction machine fitting with extended user control (incl. Tmax fitting)

– Convergent gradient method for fitting cost function

– More flexible start-up, output control and T/w plotting

0.0 0.5 1.0 1.5 2.0

Omega [pu]-3.0

-2.0

-1.0

0.0

1.0

2.0

3.0 Torque [pu]

Page 48: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

48

Hans Kr. Høidalen, NTNU-Norway

Control systems

• TACS– Predefined blocks; transfer functions, devices

• MODELS– Control language; signal processing functions (laplace, delay ..)

MODELmax

F

50

f

51

52

53

54

56

58

G u

59

Gdudt

60

if

61

64

MINMAX

63

MINMAX

65

ACC

INITTACS

66

RMS

G(s)

Ks

62

SamplTrack

K·s

K

1+T·s

K·s

1+T·s

+

-

+

+

K

*xy

x

y

|x|x

NEG

x

x

y

y

57

55

sin

x=y

exp

log

log10

RAD DEG RND

cos

tan

cotan

asin acos

atan

sinh cosh

tanh

x

x

y

y

1+10s

1+s2

_______

f(u)

InitCond

Math

Logic

MODEL UI2RX

INPUT

V[1..3], I[1..3] --input signal to be transformed

DATA

FREQ {DFLT:50} --power frequency

SampleFreq {dflt:400}--sample frequency in this model in Hz

OUTPUT

R[1..3], X[1..3] --Active and reactive power output signals (rms)

VAR

R[1..3], X[1..3], reV[1..3],imV[1..3],reI[1..3],imI[1..3],NSAMPL, OMEGA

HISTORY

V[1..3] {DFLT:0}, I[1..3] {DFLT:0}

TIMESTEP min: recip(SampleFreq)

DELAY CELLS (V[1..3]) : recip(FREQ*timestep)+2

DELAY CELLS (I[1..3]) : recip(FREQ*timestep)+2

INIT

OMEGA:= 2*PI*FREQ

NSAMPL:=recip(FREQ*timestep)

ENDINIT

EXEC

ENDEXEC

ENDMODEL

Page 49: 1 Introduction to ATPDraw version 7 v7 Presentation.pdf · 2019. 12. 1. · 7 Hans Kr. Høidalen, NTNU-Norway Introduction • ATPDraw is a graphical, mouse-driven, dynamic preprocessor

49

Hans Kr. Høidalen, NTNU-Norway

Web – page and forum