Programacion Atp-Emtp
Programacion Atp-Emtp
Harmonic Frequency Scan ( HFS) performs a sequence of phasor solutions for Tyep 14 voltage and/or current
sources of various frequencies, amplitudes and angles specified by the user. HFS is the ATP option for harmonic
analysis in electrical networks.
BEGIN NEW DATA CASE and HARMONIC FREQUENCY SCAN as shown below
1 2 3 4 5
123456789012345678901234567890123456789012345678901234567890123
BEGI N NEW DATA CAS E
HARMON I C FREQUENCY S CAN
The user can enter optional Special Requests such as listed in Section 2A of the Rule Book. Typical entries may
be POWER FREQUENCY or PRINTED NUMBER WIDTH etc. The user has to verify that such Special
Request entries do not conflict with the process of the HARMONIC FREQUENCY SCAN..
An optional but important Special Request with harmonic frequency scan is the use of the Pocket Calculator for
varying the value of an element (R-L-C) as a function of frequency (harmonic order). This option is introduced by
the Special Request POCKET CALCULATOR VARIES PARAMETERS (PCVP) in conjunction with the
$PARAMETER request as explained below.
1 2 3 4 5
123456789012345678901234567890123456789012345678901234567890123
C I6 I6
POCKET CALCULATOR VAR I E S PARAMETERS MAXKNT I OPCVP
In the general purpose use of PCVP (see Section ??) the value of MAXKNT sets the number of passes the user
wants to make with varying parameters. For such study MAXKNT is an arbitrary number demanded by the
user. For HFS studies MAXKNT should be set to zero in column 48, as MAXKNT is internally set to the
number of different frequency sources specified by the user.
IOPCVP = 0 generates a .LIS file with a full output for each pass which may be required for some general
purpose applications with PCVP, but it is wasteful for HFS. With IOPCVP = 1, the .LIS file contains the
tabulation of output variables for each frequency specified and the new parameter values for each frequency as
changed by the KNT dependent formulas in $PARAMETER.
.
The above Special requests are followed by two MISELLANEOUS DATA These are the same Miscellaneous
Data described in Section 2B of the Rule book, but are repeated here to indicate that recommended entries for an
HFS run.
First Miscellaneous Data record
1 2 3 4
123456789012345678901234567890123456789012345678
C E 8. 0 E 8. 0 E 8. 0 E 8. 0 E 8. 0 E 8. 0
DELTAT T MA X XO P T CO P T
The value of DELTAT and TMAX has no meaning for HFS, but cannot be left blank. Enter 1.0 for both
constants. XOPT and COPT have the same meaning as described in Section II-8.
1 2 3 4
123456789012345678901234567890123456789012345678
C I8 I8 I8 I8 I8 I8
I OU T I P LOT K S S OU T
5 6
9012345678901234
I 8 I 8
I CAT
Enter “1” for both IOUT and IPLOT to have outputs in the .LIS file for each frequency specified. KSSOUT
=1 will generate a detailed phasor output for each frequency, resulting in a large volume of output, which for the
usual HFS is not warranted. KSSOUT = 0 is the recommended usage. If plotting of results is required enter
ICAT = 1, which will be the general case for HFS runs.
Let BUSHFS be the name of a node to which a frequency dependent impedance RHFS + j XFHS ius connected.
With the harmonic order h equal to KNT , let
To enter these elements the user will have entered the PCVP request among the Class 1 data as outlined above.
Following the Miscellaneous data the following shows the data entry for $PARAMETER.
1 2 3 4
12 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8
$ PA RAME T ER
RHF S _ _ = 0 . 3 * KNT * * 2 . 0
XHF S _ _ = 1 . 2 1 * ( 1 . 0 + KNT * * 0 . 4 )
BLA NK c a r d e n D s $ P ARAME T ER d e f i n i t i o n s
In the BRANCH data the above frequency dependent elements are entered as follows
1 2 3 4
123456789012345678901234567890123456789012345678
BU S HF S RHF S _ _ XHF S _ _
Note the use of under scores to form six character names compulsory in transferring data from the $PARAMETER
section to BRANCH data.
The $PARAMETER section uses free format Fortran statements with floating point numbers. Integers are not
allowed. The user should carefully study the Rule Book section on PCVP application.
Class 3 HFS data is the same as the regular data for time domain runs. As HFS is a sequence of phasor
solutions, nonlinearities cannot be represented. Nonlinear elements will be treated the same way as they are
treated in the phasor solution of a time domain run.
The format for entering a single phase CIGRE load at a bus BUSL:
1 2 3 4
123456789012345678901234567890123456789012
C E1 6 . 2
< LOAD> C I GRE A , B , C A
C A6 A6 E1 6 . 0
BUS L < LOAD > VOL T
Continued
5 6 7 8
34567890123456789012345678901234567890
E1 6 . 0 E1 6 . 2
B C
E1 6 . 0 E1 6 . 0
P LOAD QLOAD
The constants A, B, C are defaulted to 0.073, 6.7 and 0.74 respectively, or entered by the user.
VLOAD, PLOAD and QLOAD has to be specified in units consistent with the source specifications. E.g. if the
source voltages are in volts, VLOAD is in volts, PLOAD is Watts and QLOAD is in VARs
For three phase loads the data input can be simplified as follows Let the three phase load be connected to nodes
BUSLA, BUSLB, BUSLC
1 2 3 4
123456789012345678901234567890123456789012
C E1 6 . 2
< LOAD> C I GRE A , B , C A
C A6 A6 A6 E1 6 . 2
B U S LA < LOAD 3 B U S LB BU S LC VOL T
Continued
5 6 7 8
34567890123456789012345678901234567890
E1 6 . 2 E1 6 . 2
B C
E1 6 . 0 E1 6 . 0
P LOAD QLOAD
The old restriction of only node voltage outputs with FREQUENCY SCAN has been removed. Both node and
branch voltage currents can be output the usual way with column 80 entries of 1, 2, or 3, which is available for
both FS and HFS. In the old FS output node voltages were recorded with their magnitudes, angles, and real and
imaginary components. This has been changed to only magnitudes being monitored as the default option. For
HFS, the user can request the additional output of the angle of the variable by inserting a POLAR OUTPUT
VARIABLES request after the end of SWITCH data as follows:
1 2 3 4
123456789012345678901234567890123456789012
B LANK e n d i n g S WI TCH e s
P OLAR OUT P UT VAR I AB L E S
C f o l l o w e d b y S OURCE d a t a
1 4 BUS A etc .
X.5 Sources
Only Type 14 sources are available in HFS due to the fact that HFS is a sequence of phasor solutions. Sorce
frequencies can be given in Hertz Hz or in the harmonic order h. The two type of source frequency specification
cannot be mixed. There has to be at least one source with the power frequency equal to the default power
frequency or the power frequency as modified at the top of the data file. If sources are specified in terms of the
harmonic order h, there has to be at least one source with h = 1. ATP calculates internally the frequency in Hz
corresponding to h.. Sources can be entered in any order, they are sorted internally. The general format for
entering sources is:
1 2 3 4
1234567890123456789012345678901234567890
I2 A6 I2 E1 0 . 6 E1 0 . 6 E10 . 6
1 4 NAME J AML I TUDE F REQ o r h ANGL E
An R –L - C element with linear frequency dependence can be specified by entering the value at a specified
higher frequency. ATP will make a linear interpolation at any given frequency ( harmonic order). The records
to enter this specification follow the last source specification as shown in the following format.
1 2 3 4
1 23 456789012345678901234567890123456789012345678
1 4B US A -1 1000 . 0 5 .0 120 .
C l a s t s ou r ce
C E1 0 . 1
NEX T F REQUENCY F OR S ER I E S RLC F REQ
C A6 A6 E6 . 2 E6 . 2 E6 . 2
B US A1 BU S A 2 R L C
B US B 1 BU S B 2 R L C
C r ep ea t f o r New f r e qu e n c y a nd b r a n c h e s
BLA NK e n d i n g f R e q u e n c y d e p e n d e n c e
FREQ is the elevated frequency at which the new value of the element is specified
NAME1 NAME2 is the name of the brunch to which an R – L - C element is connected
R, L, C are the elements in branch NAME1 to NAME2
Example #1