Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

U I

More ATPDraw
Full installation: ATPDraw55_install.zip

ECE 529 Lecture 13

Potential Files to Download


Run full set up and follow instructions over the next few pages

Update existing ATPDraw 5.X installation: ATPDraw55_image.zip


Simply unzip into the directory with existing installation

ATPDraw Manual Updates: ATPDraw 5 User Manual Updates.pdf

Intro to ATP

Spring 2009

U I

Installing ATPDraw

ECE 529 Lecture 13

Installation is fairly easy Default installation path Program Files The space in the file name can create
problems running ATP from ATPDraw
Install it somewhere else. I normally install in C:\tools\prog\ATPDraw

Intro to ATP

Spring 2009

U I

Running ATP from ATPDraw

ECE 529 Lecture 13

Still need a copy of ATP Licensed users can get other versions Follow installation directions for yours ATPDraw calls ATP from a DOS Batch
file (extension *.bat) Passes full path to file when calls ATP

Intro to ATP

Spring 2009

U I

Sample Batch File

ECE 529 Lecture 13

The following batch file is for Ming32 ATP


SET GNUDIR=C:\tools\prog\atp\ SET PATH=C:\tools\prog\atp;"%PATH% tpbig both %1 s -r

The first line defines variable GNUDIR


Different ATP versions use different name Sets program working environment The final \ is important

Intro to ATP

Spring 2009

U I Sample Batch File (cont.)

ECE 529 Lecture 13

Second line adds executable to your search path (not needed if set this at boot time) The next line calls ATP itself
tpbig both %1 s -R

both tells program to write error messages to screen and to file (useful for debugging) Could also set disk to only do disk file or leave blank for no message First %1 is input data file from ATPDraw
Intro to ATP
5

Spring 2009

U I Sample Batch File (cont.)

ECE 529 Lecture 13

The s is to create appropriate output file. -R tells ATP overwrite existing output file if one exists

This bat file will let you run ATP, and all of
the support program (line constants etc)

Intro to ATP

Spring 2009

U I

Editing startup
Resides in same directory as tpbig Sets variables for the program

ECE 529 Lecture 13

ATP reads a file called startup A few suggested changes from default
Change PL4 file format to work with PlotXY Ignore blank lines

Intro to ATP

Spring 2009

U I

Editing startup
Resides in same directory as tpbig Sets variables for the program

ECE 529 Lecture 13

ATP reads a file called startup A few suggested changes from default
Change PL4 file format to work with PlotXY
NOBLAN set to 0 NEWPL4 set to 1

Intro to ATP

Spring 2009

U I

Setting Up ATPDraw

ECE 529 Lecture 13

Open up ATPDraw Select: Tools pull down menu Select: Options... Choose Preferences tab
You select a text editor or leave blank for default ATP is where you set path to your batch file

Armafit: which we wont cover in this course


Intro to ATP
9

Spring 2009

U I

ATPDraw Preferences

ECE 529 Lecture 13

Intro to ATP

10

Spring 2009

U I

Further Settings
Problems with lost help files though

ECE 529 Lecture 13

The Directories tab settings are ok However, you do want changes in the
View/ATP tab
Select Edit settings tab You may want to change some of the default settings. However, you can change any of these for a specific data file
Intro to ATP
11

Spring 2009

U I

Simulation Settings

ECE 529 Lecture 13

Default time step (deltaT)


is very small Default run time short Xopt and Copt ok Select Power Frequency
Reset to 60 Hz from 50Hz Can mess up some sources

Intro to ATP

12

Spring 2009

U I

Output Settings

ECE 529 Lecture 13

Probably dont need the


selected Printout options for most cases Slow down the program somewhat Plot frequency should be low and odd.

Intro to ATP

13

Spring 2009

U I

Saving New Settings

ECE 529 Lecture 13

The Save or Apply buttons arent


sufficient to permanently save change Also choose: Tools --> Save Options

Intro to ATP

14

Spring 2009

U I

Other Settings

ECE 529 Lecture 13

To set plotting program and other options


you need to open a file
Either select the File|Open sequence of click on the icon Initial default is the Examples directory, after that it is the last directory worked in. For now, choose example Exa_1.adp (*.adp represents the drawing files).
Intro to ATP

15

Spring 2009

U I

Example 1

ECE 529 Lecture 13

Intro to ATP

16

Spring 2009

U I

ATP Menu

ECE 529 Lecture 13

A new pulldown
menu is now available at the top of the window, called ATP

Intro to ATP

17

Spring 2009

U I

ATP Menu

ECE 529 Lecture 13

Settings is changes deltaT


etc. for a given case Make File As generates ATP data file from drawing Run ATP calls your bat file Each Edit calls text editor Make Names, makes node names for drawing
Intro to ATP
18

Spring 2009

U I

ATP Menu

ECE 529 Lecture 13

Settings is changes deltaT

etc. for a given case run ATP calls your bat file Edit or View calls text editor Make node names, makes node names for drawing Make ATP file generates ATP data file from drawing
Intro to ATP
19

Spring 2009

U I

Edit Commands

ECE 529 Lecture 13

Allows you to set


additional commands Run other ATP versions
On Current ATP drawing On Selected File

Run plot programs


On Current PL4

Use Update to set


Intro to ATP
20

Spring 2009

U I

Saving New Settings

ECE 529 Lecture 13

The Update buttons isnt sufficient to


save for next time All choose: Tools --> Save Options

Intro to ATP

21

Spring 2009

You might also like