ATP Draw Tutorial
ATP Draw Tutorial
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 ~100 standard components ~40 TACS components MODELS $INCLUDE and User Specified Components
Hans Kr. Hidalen, NTNU-Norway
Used for sorting Windows Clipboard support Branch output Edit local definitions Icon/help/ pos/name/ units Label on screen Comment in ATP file Component not to ATP High precision
ATPDraw capability
30.000 nodes 10.000 components 10.000 connections 1.000 text strings Up to 64 data and 32 nodes per component Up to 26 phases per node (A..Z extension) 24 phases in LCC module Circuit world is 10.000x10.000 pixels 100 UnDo/ReDo steps
Files in ATPDraw
Project file (acp): Contains all circuit data. Support file (sup): Component definitions. Used only when a component is added to the project.
Standard components: ATPDraw.scl User defined components: Optionally in global library
+
Hans Kr. Hidalen, NTNU-Norway
10
11
12
Circuit editing
Copy/Paste, Export/Import, Rotate/Flip, Undo/Redo (100), Zoom, Compress/Extract Windows Clipboard: Circuit drawings, icons, text, circuit data Rubber bands
Text editor
Viewing and editing of ATP, LIS, model files, and help files
13
14
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
Hans Kr. Hidalen, NTNU-Norway
15
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)
Hans Kr. Hidalen, NTNU-Norway
16
Preferences
Undo/redo steps Link to ATP and plot
Files&Folders
Default folders incl. ATP folder Hans Kr. Hidalen, NTNU-Norway
17
18
19
20
21
Users manual
Documents version 3.5 of ATPDraw (246 pages), pdf Written by Laszlo Prikler and H. K. Hidalen 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: 9 real examples
22
POS
UI
U(0)
UI
23
Statistical tabulation
Addition to output manager
U
STAT
U
STAT
SV
MOV
LCC
LCC S V LCC
MID
LCC
SV
MOV
PE
STAT
PE
24
Optimization module
Gradient Method Genetic Algorithm Simplex Annealing Select variables (with limits) and cost function Loops ATP (serial/parallel) Writes back final variable values
25
LCC
26
27
Hybrid transformer
Extended to 4 windings Y, D, Auto, Zigzag New winding sequence specifier Core node select Final slope enhancements
28
Output control
29
LCC template/section
LCC object has property Template
If on the object becomes a dummy component not written to the ATP-file
AT1
Section 1 160 m
Section 2 1790 m
NL
Tem plate
NL
V
A A
1 m ohm
V
PL RL
KL GRP
Y Y Y Y
PL
RL
RL
BCT BCT BCT
KL GRP V
KL GRP V
KL GRP
KL GRP
Group content
RAIL KL
LCC_
BCT
BCT
BCT
BCT
KL
I
RL NL PL
TRAIN
12.41
I I
2.737
I I I I
RAIL 1 m ohm
60000 m
2496 m
1 m ohm
160 m
965 m
30
31
Embedded Windsyn
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/ plotting
32
Improvements in ATPDraw
Windsyn relaxes the fitting of the slip while ATPDraw now offers this as a part of the cost function Windsyn does the fitting iteratively without adjusting the stator resistance when slip, efficiency or power factor becomes different Bug fixes (hp conversion, round-off error, mechanical vs. electrical power, motor vs. generator efficiency) The TACS section made smoother with less variables (kVAR, kWAT, PUVT, PUTM, Slip) Only relevant nodes presented in the icon (no field voltage node, only rotor winding node for wound rotor) No need to rerun the fitting when the type of initialization or compensation/prediction change
Hans Kr. Hidalen, NTNU-Norway
33
Example
Create double-cage IM model
IM
WI Torque
3.0
Torque [pu]
2.0
1.0
0.0
-1.0
-3.0
34
Machines
The following types are supported
Universal machine Type 59/58 synchronous machine Type 56 induction machine Manufacturer data input Start-up facilities Embedded controls (exciter, governor)
IM
SM
IM T
35
Type 56 machine
Initial support in ATPDraw
Improvements required (TACS control, combination with UM)
Brand new versions of ATP and PlotXY required More numerically stable (phase domain) Limitations on the mechanical side and in rotor coils
V
V
Type 56
TACS INIT T
IM
UM 1
TACS INIT
IM
M T
36
Transformer modeling
Y Z
Saturable Transformer
BCT
SAT
XFMR Y
Ideal
n: 1 Y Y
37
Saturable transformer
Zig-zag
Zigzag supported
Cab le
Y Y SAT
5 uH
UI
Zdy -12
Y Z SAT
U(0)
26.5mohm
5 mF
5 uH
UI
Cab le
Y Y SAT
Zdy -6
Y Z SAT
U(0)
26.5mohm
5 mF
5 uH
UI
132 kV
132/11.3
Y Y SAT
U(0)
26.5mohm
5 mF
22.2 mH Zdy +6
Y Y Y SAT Z SAT
5 uH
UI U(0)
Cab le
26.5mohm
5 mF
5 uH
UI
Cab le
Y Y SAT
Zdy +12
Y Z SAT
U(0)
26.5mohm
5 mF
38
BCTRAN
Automatic inclusion of external magnetization characteristic
V
XFMR V Y
BCT V Y
80 [A] 50
20
-10
-40
-70 0.00
0.02
0.04
BCTRAN
XFMR
16 kV
0.06
0.08
[s]
0.10
c:X0004A-LV_BA
39
The user can base the transformer model on three sources of data:
Design parameter: specify geometry and material parameters of the core and windings. Test report: standard transformer tests. Typical values: typical values based on the voltage and power ratings.
Hans Kr. Hidalen, NTNU-Norway
40
Core representation
Attached to the fictitious N+1th winding Topologically correct core model, with nonlinear inductances representing each leg and limb
Triplex 3- and 5-legged core
Ro
Out
Ll
Rl
Lo Ry
Yoke
Flux linkage-current relation by Frolich equation and relative lengths and areas. Fitting to Test Report
i a'b' | i |
Leg
Ll
Rl
Ly Ry
Yoke
Leg
Ll
Rl
Ly Ro
Out
Leg
Lo
Hans Kr. Hidalen, NTNU-Norway
41
Snapshots
42
1
I
132/11.3
Y SAT
Multi-phase nodes
LCC
LCC
LCC
LCC
1..26 phases, A..Z extension MODELS input/output X[1..26] Connection between n-phase and single phase 21 phases in LCC components
POS
AC
43
44
Example 1
Single phase to 3-phase connection Old:
LCC LCC
New:
LCC
LCC
45
Example 2
Multi-phase groups
POS
T + T
AC AC
PULSE POS
LCC
1
Y Y SAT
+ -
6-phase
46
1.496
I
47
Grouping
Select a group (components, connections, text) Click on Edit|Compress Select external data/nodes
GROUP mech
Data with the same name appear only once in the input dialog Double click on name to change Nonlinear characteristic supported
48
49
PULS
f(u)
ACC 65
BUSMG
+ I
BUSMS I
Torque
T T
f(u)
f(u)
f(u)
UI U(0)
50
Models
Select Models|Default model Edit the Models text
ATPDraw reads the Model text and identifies the circuit components with input/output/data
MODEL max
51
Example
Multi-phase Models
M MODEL fourier
MODEL FOURIER INPUT X --input signal to be transformed DATA FREQ {DFLT:50} --power frequency n {DFLT:26} --number of harmonics to calculate OUTPUT absF[1..26], angF[1..26],F0 --DFT signals VAR absF[1..26], angF[1..26],F0,reF[1..26], imF[1..26], i,NSAMPL,OMEGA,D,F1,F2,F3,F4
5 uH
UI
5 mF
U(0) +
Cab le
Y Y SAT Z
Y SAT
0.0265
5 uH
UI
5 mF
U(0) +
Y Z SAT
0.0265
20
16
12
0 0.02
0.03
0.04
0.05
m:X0027G
0.06
m:X0027V
0.07
m:X0027Y
0.08
0.09
[s]
0.10
52
M M M M M
ResultDir\model.1
V
Y
V XFMR
.17121764 131.434758 .220581306 151.751037 .35109472 173.603833 .743208151 196.896531 2.85953651 221.288092
53
Line/Cable modeling
Line/Cable Constants, Cable Parameters
Bergeron, PI, JMarti, Semlyen, Noda(?)
View
Cross section, grounding
3.9 log(| Z |)
Verify
Frequency response, power frequency params.
2.7 1.5
Line Check
Power freq. test of line/cable sections
log(freq) 6.0
54
Line Check
The user selects a group in the circuit ATPDraw identifies the inputs and outputs (user modifiable)
55