The input commands listed in this appendix have been taken from Naval Ocean Systems Center Technical Document 116 (TD 116), volume 2, Numerical Electromagnetic Code (NEC) — Method of Moments, Part III: User's Guide, revised 2 January 1980.
1.0 Comment Commands (CM, CE)
1.1 Comment (CM, CE) 188
2.0 Structure Geometry Commands
2.1 Wire Arc Specification (GA) 190
2.2 End Geometry Input (GE) 191
2.3 Read NGF File (GF) 193
2.4 Helix and Spiral Specification (GH) 194
2.5 Coordinate Transformation (GM) 195
2.6 Geometry Print Control (GP) 197
2.7 Generate Cylindrical Structure (GR) 198
2.8 Scale Structure Dimensions (GS) 201
2.9 Wire Specification (GW, GC) 202
2.10 Reflection in Coordinate Planes (GX) 205
2.11 Surface Patch (SP) 208
2.12 Multiple Patch Surface (SM) 210
3.0 Program Control Commands
3.1 Coupling Calculation (CP) 212
3.2 Extended Thin-Wire Kernel (EK) 213
3.3 End of Run (EN) 214
3.4 Excitation (EX) 215
3.5 Frequency (FR) 219
3.6 Additional Ground Parameters (GD) 221
3.7 Ground Parameters (GN) 223
3.8 Interaction Approximation Range (KH) 226
3.9 Loading (LD) 227
3.10 Near Fields (NE, NH) 230
3.11 Networks (NT) 233
3.12 Next Structure (NX) 236
3.13 Print Control for Charge on Wires (PQ) 237
3.14 Data Storage for Plotting (PL) 238
3.15 Print Control (PT) 240
3.16 Radiation Pattern (RP) 242
3.17 Transmission Line (TL) 246
3.18 Write NGF File (WG) 248
3.19 Execute (XQ) 249
The input file for a NEC-2 run must begin with one or more comment commands, which can contain a brief description and structure parameters for the run. The comment commands are printed at the beginning of the output file for identification only and have no effect on the computation. Any alphabetic and numeric characters can be used on these commands.
The comment commands, like all other data commands, have a two-letter identifier in columns 1 and 2. The comment commands occur in two forms:
When a CM command is read, the contents of columns 3 through 80 are printed in the output file, and the next command is read as a comment line. When a CE command is read, columns 3 through 80 are printed in the output file, and reading of comments is terminated. The next command must be a geometry command. Thus, a CE command must always occur in a data file and may be preceded by as many CM commands as are needed to describe the run.
2.0 Structure Geometry Commands
Several geometry commands are provided to conveniently generate the array description. The format for the commands begins with a two letter identifier, which is followed by two fields of integer numbers. The remainder of the command is used as required for real number fields. In the following descriptions, the integer numbers are referred to as I1 and I2 and the real numbers as F1, F2, F3, …, as required.
Purpose
To generate a circular arc of wire segments.
Parameters
Integers
Decimal Numbers
Notes
Purpose
To terminate reading of geometry data commands and reset geometry data if a ground plane is used.
Typical Broadcast Application
Parameters
Integers
gpflag -
0 - Indicates no ground plane is present.
1 - Indicates a ground plane is present. Structure symmetry is modified as required, and the current expansion is modified so that the currents on segments touching the ground (X-Y plane) are interpolated to their images below the ground (charge at base is zero).
— 1 - Indicates a ground is present. Structure symmetry is modified as required. Current expansion, however, is not modified. Thus, currents on segments touching the ground will go to zero at the ground.
Notes
Purpose
To read a previously written NGF file.
Typical Broadcast Application
Parameters
Integers
PRT (I1)
0 — Indicates normal printing.
1 — Prints a table of the coordinates of the ends of all segments in the NGF.
Notes
GF must be the first command in the structure geometry section, immediately after CE. The effects of some other data commands are altered when a GF command is used.
Purpose
To generate a helix or spiral of wire segments.
Parameters
Integers
Decimal Numbers
Notes
Purpose
To translate or rotate a structure with respect to the origin of the coordinate system or to generate new structures translated or rotated from the origin. See Special Note on next page.
Typical Broadcast Application
Parameters
Integers
Decimal Numbers
Purpose
To suppress printing of segmentation information. Must precede the GE command.
Parameters
None.
Purpose
To reproduce a structure while rotating about the Z-axis to form a complete cylindrical array and to set flags so that symmetry is used in the solution.
Parameters
Integers
Decimal Numbers
The decimal number fields are not used.
Notes
The matrix factor time represents the optimum for a large matrix factored in core. Generally, somewhat longer times will be observed.
Purpose
To scale all dimensions of a structure by a constant.
Parameters
Integers
The integer fields are not used.
Decimal Numbers
Note
At the end of geometry input, structure dimensions must be in units of meters. Hence, if the dimensions have been input in other units, a GS command must be used to convert to meters.
Purpose
To generate a string of segments to represent a straight wire.
This command defines a string of segments with radius RAD. If RAD is 0 or blank, a second command is read to set parameters to taper the segment lengths and radius from one end of the wire to the other. The format for the second command (GC), which is read only when RAD is 0, is:
Typical Broadcast Application
Parameters of GW Command
Integers
Decimal Numbers
Parameters of Optional GC Command
The ratio of the radii of adjacent segments is:
If the total wire length is L, the length of the first segment is
or
Notes
Purpose
To form structures having planes of symmetry by reflecting part of the structure in the coordinate planes, and to set flags so that symmetry is used in the solution.
Parameters
Integers
Decimal Numbers
The decimal number fields are not used.
Notes
The matrix factor time represents the optimum for a large matrix factored in core. Generally, somewhat longer times will be observed.
Purpose
To input parameters of a single surface patch.
If NS is 1, 2, or 3, a second command is read in the following format:
Parameters
Integers
blank (I1) is not used.
NS (I2) — Selects the patch shape.
0 — (default) arbitrary patch shape
1 — rectangular patch
2 — triangular patch
3 — quadrilateral patch
Decimal Numbers
Arbitrary shape (NS = 0).
Rectangular, triangular, or quadrilateral patch (NS = 1, 2, or 3).
For the quadrilateral patch only (NS = 3).
Note
For more detail on the use of surface patches, see NOSC Technical Document 116, Numerical Electromagnetic Code (NEC) — Method of Moments, Part III: User's Guide, available on the Internet at www.ntis.gov.
Purpose
To cover a rectangular region with surface patches.
A second command with the following format must immediately follow an SM command:
Parameters
Integers
Decimal Numbers
Note
For more detail on the use of surface patches see NOSC Technical Document 116, Numerical Electromagnetic Code (NEC) — Method of Moments, Part III: User's Guide, available on the Internet at www.ntis.gov.
The program control commands follow the structure geometry commands. They set electrical parameters for the model, select options for the solution procedure, and request data computation.
There is no fixed order for the program control commands. The desired parameters and options are set first, followed by requests for calculations. Parameters that are not set in the input data are given default values. The one exception to this is the excitation command (EX), which must be set by the user.
Computation of currents may be requested by an XQ command. R P, NE, or NH commands cause calculation of the currents and radiated or near fields on their first occurrence. Subsequent R P, NE, or NH commands cause computation of fields using the previously calculated currents. Any number of near-field and radiation-pattern requests may be grouped together in a data file. An exception to this occurs when multiple frequencies are requested by a single FR command. In this case, only a single NE or NH command and a single RP command will remain in effect for all frequencies.
All parameters retain their values until changed by subsequent data commands. Hence, after parameters have been set and currents or fields computed, selected parameters may be changed and the calculations repeated. For example, if a number of different excitations are required at a single frequency, the file could have the form FR, EX, XQ, EX, XQ, … If a single excitation is required at a number of frequencies, the commands EX, FR, XQ, FR, XQ, … could be used.
The program control commands are explained on the following pages. The format of all program commands has four integers and six floating-point numbers. Not all are used on every command.
Purpose
To request the calculation of the maximum coupling between segments identified as TAG1, SEG1 and TAG2, SEG2.
Parameters
TAG1 (I1) & SEG1 (I2) — Specify segment number SEG1 in the set of segments having tag TAG1. If TAG1 is blank or 0, then SEG1 is the absolute segment number.
TAG2 (I3) & SEG2 (I4) — Same as above.
Notes
Purpose
To control use of the extended thin-wire kernel approximation. Without an EK command, the program will use the standard thin-wire kernel.
Typical Broadcast Application
Parameters
Integers
ITMP1 (I1) — Blank or zero to initiate use of the extended thin-wire kernel, — 1 to return to standard thin-wire kernel.
Purpose
To indicate to the program the end of all execution.
Typical Broadcast Application
EN
Parameters
None.
Purpose
To specify the excitation for the structure. The excitation can be voltage sources on the structure, an elementary current source, or a plane-wave incident on the structure.
Typical Broadcast Application
Parameters
Integers
(I1) — Determines the type of excitation that is used.
0 — Voltage source (applied-E-field source).
1 — Incident plane wave, linear polarization.
2 — Incident plane wave, right-hand (thumb along the incident k vector) elliptic polarization.
3 — Incident plane wave, left-hand elliptic polarization.
4 — Elementary current source.
5 — Voltage source (current-slope-discontinuity).
Remaining integers depend on excitation type.
a. If I1 is a voltage source of type 0 or 5, then
(I2) — Tag number of the source segment. This tag number, along with the number to be given in (I3), uniquely defines the source segment. Blank or 0 in field (I2) implies that the Source segment will be identified by using the absolute segment number in the next field.
(I3) — Equal to m, specifies the mth segment of the set of segments whose tag numbers are equal to the number set by the previous parameter. If the previous parameter is 0, the number in (I3) must be the absolute segment number of the source.
(I4) — Columns l9 and 20 of this field are used separately. The options for column l9 are:
0 — No action.
1 — Maximum relative admittance matrix asymmetry for source segments and network connections will be calculated and printed.
The options for column 20 are:
0 — No action
1 — The input impedance at voltage sources is always printed directly before the segment currents in the output. By setting this flag, the impedance of a single source segment in a frequency loop will be collected and printed in a table (in a normalized and unnormalized form) after the information at all frequencies has been printed. Normalization to the maximum value is a default, but the normalization value can be specified (refer to F3 under voltage source below). When there is more than one source on the structure, only the impedance of the last source specified will be collected.
b. If I1 is an incident plane wave of type 1, 2, or 3:
(I2) — Number of theta angles desired for the incident plane wave.
(I3) — Number of phi angles desired for the incident plane wave.
(I4) — 0 — no action
1 — maximum relative admittance matrix asymmetry for network connections will be calculated and printed.
c. If I1 is an elementary current source of type 4:
(I2) and (I3) — Blank.
(I4) — Identical to that listed under b.
Floating-Point Options
a. Voltage source (Il = 0 or 5).
(F1) — Real part of the voltage in volts.
(F2) — Imaginary part of the voltage in volts.
(F3) — If a second digit (1) is placed in I4 (see above), this field can be used to specify a normalization constants for the impedance printed in the optional impedance table. Blank in this field produces normalization to the maximum value.
(F4), (F5), and (F6) — blank.
b. Incident plane wave (I1 = 1, 2, or 3). The incident wave is characterized by the direction of incident ^k wave polarization in the plane normal to k.
(F1) — Theta in degrees. Theta is defined in standard spherical coordinates.
(F2) — Phi in degrees. Phi is the standard spherical angle defined in the X-Y plane.
(F3) — Eta in degrees. Eta is the polarization angle defined as the angle between the theta unit vector and the direction of the electric field for linear polarization or the major ellipse axis for elliptical polarization.
(F4) — Theta angle stepping increment in degrees.
(F5) — Phi angle stepping increment in degrees.
(F6) — Ratio of minor axis to major axis for elliptic polarization (major axis field strength — 1 V/m).
c. Elementary current source (I1 = 4). The current source is characterized by its Cartesian coordinate position, orientation, and its magnitude.
(F1) — X position in meters.
(F2) — Y position in meters.
(F3) — Z position in meters.
(F4) — alpha in degrees. alpha is the angle the current source makes with the X-Y plane.
(F5) — beta in degrees. beta is the angle the projection of the current source on the X-Y plane makes with the X-axis.
(F6) — “Current moment” of the source. This parameter is equal to the product current times length in amp meters.
Notes
Purpose
To specify the frequency(s) in megahertz.
Typical Broadcast Application
Parameters
Integers
IFRQ (I1) — Determines the type of frequency stepping, which is
0 — Linear stepping.
1 — Multiplicative stepping.
NFRQ (12) — Number of frequency steps. If this field is blank, one is assumed.
(I3) and (I4) — Blank.
Floating Point
FMHZ (F1) — Frequency in megahertz.
DELFRQ (F2) — Frequency stepping increment. If the frequency stepping is linear, this quantity is added to the frequency each time. If the stepping is multiplicative, this is the multiplication factor.
(F3) through (F6) — Blank.
Notes
Purpose
To specify the ground parameters of a second medium, which is not in the immediate vicinity of the antenna. This command may only be used if a GN command has also been used. It does not affect the field of surface patches.
Typical Broadcast Application
Parameters
Integers
All integer fields are blank.
Floating Point
EPSR2 (F1) — Relative dielectric constant of the second medium.
SIG2 (F2) — Conductivity in mhos/mecer of the second medium.
CLT (F3) — Distance in meters from the origin of the coordinate system to the join between medium 1 and 2. This distance is either the radius of the circle where the two media join, or the distance out the plus X-axis to where the two media join in a line parallel to the Y-axis. Specification of the circular or linear option is on the RP command.
CHT (F4) — Distance in meters (positive or 0) by which the surface of medium 2 is below medium 1.
Notes
Purpose
To specify the relative dielectric constant and conductivity of ground in the vicinity of the antenna. In addition, a second set of ground parameters for a second medium can be specified, or a radial wire ground screen can be modeled using a reflection coefficient approximation.
Typical Broadcast Application
Parameters
Integers
IPERF (I1) — Ground-type flag. The options are:
— 1 — Nullifies ground parameters previously used and sets free-space condition. The remainder of the command is left blank in this case.
0 — Finite ground, reflection coefficient approximation.
1 — Perfectly conducting ground.
2 — Finite ground, Sommerfeld/Norton method.
NRADL (I2) — Number of radial wires in the ground screen approximation; blank or 0 implies no ground screen.
(I3) and (I4) — Blank.
Floating Point
EPSE (F1) — Relative dielectric constant for ground in the vicinity of the antenna. Leave blank in case of a perfect ground.
SIG (F2) — Conductivity in mhos/meter of the ground in the vicinity of the antenna. Leave blank in the case of a perfect ground. If SIG is input as a negative number, the complex dielectric constant is set to EPSR — j |SIG|.
Options for Remaining Floating Point Fields (F3–F6)
a. For the case of an infinite ground plane, F3 through F6 are blank.
b. Radial wire ground screen approximation (NRADL ≠ 0). The ground screen is always centered at the origin, that is, (0, 0, 0) and lies in the X-Y plane.
P1 (F3) — The radius of the screen in meters.
P2 (F4) — Radius of the wires used in the screen in meters.
P3 (F5) — blank.
P4 (F6) — blank.
c. Second medium parameters (NRADL = 0) for medium outside the region of the first medium (cliff problem). These parameters alter the far-field patterns but do not affect the antenna impedance or current distribution.
P1 (F3) — Relative dielectric constant of medium 2.
P2 (F4) — Conductivity of medium 2 in mhos/meter.
P3 (F5) — Distance in meters from the origin of the coordinate system to the boundry between medium 1 and 2. This distance is either the radius of the circle where the two media join, or the distance out the positive X-axis to where the two media join in a line parallel to the Y-axis. Specification of the circular or linear option is on the RP command.
P4 (F6) — Distance in meters (positive or 0) by which the surface of medium 2 is below medium 1.
Notes
Purpose
To set the minimum separation distance for use of a time-saving approximation in filling the interaction matrix.
Parameters
Integers
None.
Decimal Numbers
RKH (F1) — The approximation is used for interactions over distances greater than RKH wavelengths.
Notes
Purpose
To specify the impedance loading on one segment or a number of segments. Series and parallel RLC circuits can be generated. In addition, a finite conductivity can be specified for segments.
Typical Broadcast Application
Parameters
Integers
LDTYP (I1) — Determines the type of loading used. The options are:
— 1 — short all loads (used to nullify previous loads). The remainder of the command is left blank.
0 — series RLC, input ohms, henries, farads.
1 — parallel RLC, input ohms, henries, farads.
2 — series RLC, input ohms/meter, henries/meter, farads/meter.
3 — parallel RLC, input ohms/meter, henries/meter, farads/meter.
4 — impedance, input resistance and reactance in ohms.
5 — wire conductivity, mhos/meter.
LDTAG (I2) — Tag number; identifies the wire section(s) to be loaded by its (their) tag numbers. The next two parameters can be used to further specify certain segment(s) on the wire section(s). Blank or 0 here implies that absolute segment numbers are being used in the next two parameters to identify segments. If the next two parameters are blank or 0, all segments with tag LDTAG are loaded.
LDTAGF (I3) — Equal to m specifies the mth segment of the set of segments whose tag numbers equal the tag number specified in the previous parameter. If the previous parameter (LDTAG) is 0, LDTAGF then specifies an absolute segment number. If both LDTAG and LDTAGF are 0, all segments will be loaded.
LDTAGT (I4) — Equal to n specifies the nth segment of the set of segments whose tag numbers equal the tag number specified in the parameter LDTAG. This parameter must be greater than or equal to the previous parameter. The loading specified is applied to each of the mth through nth segments of the set of segments having tags equal to LDTAG. Again, if LDTAG is zero, these parameters refer to absolute segment numbers. If LDTAGT is left blank, it is set equal to the previous parameter (LDTAGF).
Floating Point — Input for the Various Load Types
a. Series RLC (LDTYP = 0)
ZLR (Fl) — Resistance in ohms; if none, 0 or leave blank.
ZLI (F2) — Inductance in henries; if none, 0 or leave blank.
ZLC (F3) — Capacitance in farads; if none, 0 or leave blank.
b. Parallel RLC (LDTYP = 1).
Floating point inputs same as in item a.
c. Series RLC (LDTYP = 2) input, parameters per unit length.
ZLR — Resistance in ohms/meter; if none, 0 or leave blank.
ZLI — Inductance in henries/meter; if none, 0 or leave blank.
ZLC — Capacitance in farads/meter; if none, 0 or leave blank.
d. Parallel RLC (LDTYP = 3), input parameters per unit length, floating point input same as in item c.
e. Impedance (LDTYP = 4).
ZLR — Resistance in ohms.
ZLI — Reactance in ohms.
f. Wire conductivity (LDTYP = 5).
ZLR — Conductivity in mhos/meter.
Purpose
To request calculation of near electric fields in the vicinity of the antenna (NE) or to request near magnetic fields (NH). Use NE or NH as appropriate.
Parameters
Integers
NEAR (I1) — Coordinate system type. The options are:
0 — Rectangular coordinates will be used.
1 — Spherical coordinates will be used.
Remaining integers depend on coordinate type.
a. Rectangular coordinates (NEAR = 0).
NRX, NRY, NRX (I2, I3, I4) — Number of points desired in the X, Y, and Z directions, respectively. X changes the most rapidly, then Y, and then Z. The value 1 is assumed for any field left blank.
b. Spherical coordinates (NEAR = 1).
(I2, I3, I4) — Number of points desired in the r, phi, and theta directions, respectively. r changes the most rapidly, then phi, and then theta. The value 1 is assumed for any field left blank.
Floating Point Fields
Their specification depends on the coordinate system chosen.
a. Rectangular coordinates (NEAR = 0).
XNR, YNR, ZNR (F1, F2, F3) — The (X, Y, Z) coordinate position (F1, F2, F3), respectively, in meters of the first field point.
DXNR, DYNR, DZNR (F4, F5, F6) — Coordinate stepping increment in meters for the X, Y, and Z coordinates (F4, F5, F6), respectively. In stepping, X changes most rapidly, then Y, and then Z.
b. Spherical coordinates (NEAR = 1).
(F1, F2, F3) — The (r, phi, theta) coordinate position (Fl, F2, F3), respectively, of the first field point. r is in meters, and phi and theta are in degrees.
(F4, F5, F6) — Coordinate stepping increments for r, phi, and theta (F4, F5, F6), respectively. The stepping increment for r is in meters and for phi and theta, it is in degrees.
Notes
Purpose
To generate a two-port nonradiating, network connected between any two segments in the structure. The characteristics of the network are specified by its short-circuit admittance matrix elements. For the special case of a transmission line, a separate command is provided for convenience, although the mathematical method is the same as for networks. Refer to the TL command.
Typical Broadcast Application
Parameters
Integers
TAG1 (I1) — Tag number of the segment to which port 1 of the network is connected. This tag number along with the number to be given in (I2), which identifies the position of the segment in a set of equal tag numbers, uniquely defines the segment for port 1. Blank or 0 here implies that the segment will be identified, using the absolute segment number in the next location (12).
SEG1 (I2) — Equal to m, specifies the mth segment of the set of segments whose tag numbers are equal to the number set by the previous parameter. If the previous parameter is 0, the number in (12) is the absolute segment number corresponding to end 1 of the network. A minus one in this field will nullify all previous network and transmission line connections. The rest of the command is left blank in this case.
TAG2 (I3) — Used in exactly the same way as (I1) and (I2) in order to specify the segment corresponding to port 2 of the network connection.
SEG2 (I4) — As above.
The six floating-point fields are used to specify the real and imaginary parts of three short-circuit admittance matrix elements (1, 1), (1, 2), and (2, 2), respectively. The admittance matrix is symmetric so it is unnecessary to specify element (2, 1).
Notes
Purpose
To signal the end of data for one structure and the beginning of data for the next.
Parameters
NX appears in the first two columns, and the rest of the command is blank.
Note
The command that directly follows the NX command must be a comment command; CM or CE.
Purpose
To control the printing of charge densities on wire segments.
Parameters
Integers
IPTFLQ (I1) — Print control flag
— 1 — Suppress printing of charge densities. This is the default condition.
0 (or blank) — Print charge densities on segments specified by the following parameters. If the following parameters are blank, charge densities are printed for all segments.
IPTAQ (I2) — Tag number of the segments for which charge densities will be printed.
IPTAQF (I3) — Equal to m specifies the mth segment of the set of segments having tag numbers of IPTAQ. If IPTAQ is 0 or blank, then IPTAQF refers to an absolute segment number. If IPTAQF is left blank, then charge density is printed for all segments.
IPTAQT (I4) — Equal to n, specifies the nth segment of the set of segments having tag numbers of IPTAQ. Charge densities are printed for segments having tag number IPTAQ starting at the mth segment in the set and ending at the nth segment. If IPTAQ is zero or blank, then IPTAQF and IPTAQT refer to absolute segment numbers. If IPTAQT refer to absolute segment numbers. If IPTAQT is left blank, it is set equal to IPTAQF
Floating Point
Floating-point fields are not used.
Purpose
To write selected output data into a predesignated file for later plotting.
Parameters
Integers
IPLP1 (I1) — Data type to be written into auxiliary file:
0 — No action.
1 — Wire currents.
2 — Near fields.
3 — Far-field patterns.
4 — Impedance, SWR.
5 — Admittance, SWR.
Remaining integers depend on data type(IPLP1):
a. Wire Currents (IPLP1 = 1).
IPLP2 (format) = 0 — No action
= 1 — Use real and imaginary format
= 2 — Use magnitude and phase format
IPLP3 (patch I components) = 0 — No action
= 1 — Ix
= 2 — Iy
= 3 — Iz
= 4 — Ix, Iy, Iz
(all measured in magnitude and phase)
b. Near-Fields (IPLP1 = 2)
IPLP2 (format) = 0 — No action.
= 1 — Use real and imaginary format.
= 2 — Use magnitude and phase format.
IPLP3 (components) = 0 — No action.
= 1 — X component.
= 2 — Y component.
= 3 — Z component.
= 4 — X, Y, Z component.
= 5 — Total field (magnitude only)
IPLP4 (coordinates) = 1 — X coordinate
= 2 — Y coordinate
= 3 — Z coordinate
c. Far-Field Patterns (IPLP1 = 3).
IPLP2 (Angle to be stored) = 1 — Theta or Z
= 2 — Phi
= 3 — Rho
IPLP3 (E-field component) = 0 — No action
= 1 — E(Theta)
= 2 — E(Phi)
= 3 — E(Rho)
(all in magnitude and phase)
IPLP4 (Power pattern) = 0 — No action
= 1 — Vertical gain in dB.
= 2 — Horizontal gain in dB.
= 3 — Total gain in dB.
= 4 — Vertical, horizontal, and total gain in dB.
Notes
Purpose
To control the printing of currents on wire segments. Current printing can be suppressed or limited to a few segments, or special formats for receiving patterns can be requested.
Parameters
Integers
IPTFLG (I1) — Print control flag; specifies the type of format used in printing segment currents. The options are:
— 2 — All currents printed. This it a default value for the program if the command is omitted.
— 1 — Suppress printing of all wire segment currents.
0 — Current printing will be limited to the segments specified by the next three parameters.
1 — Currents are printed by using a format designed for a receiving pattern. Only currents for the segments specified by the next three parameters are printed.
2 — Same as for 1 above; in addition, however, the current for one segment will be normalized to its maximum, ant the normalized values along with the relative strength in dB will be printed in a table. If the currents for more than one segment are being printed, only currents from the last segment in the group appear in the normalized table.
3 — Only normalized currents from one segment are printed for the receiving pattern case.
IPTAG (I2) — Tag number of the segments for which currents will be printed.
IPTAGF (I3) — Equal to m, specifies the mth segment of the set of segments having the tag numbers of IPTAG, at which printing of currents starts. If IPTAG is 0 or blank, then IPTAGF refers to an absolute segment number. If IPTAGF is blank, the current is printed for all segments.
IPTAGT (I4) — Equal to n specifies the nth segment of the set of segments having tag numbers of IPTAG. Currents are printed for segments having tag number IPTAG starting at the mth segment in the set and ending at the nth segment. If IPTAG is 0 or blank, then IPTAGF and IPTAGT refer to absolute segment numbers. In IPTAGT is left blank, it is set to IPTAGF.
Note
For suppressing current print — PT, −1,1,1,1
Purpose
To specify radiation pattern sampling parameters and to cause program execution. Options for a field computation include a radial-wire ground screen, a cliff, or surface-wave fields.
Typical Broadcast Application
Parameters
Integers
MOD (I1) — This integer selects the mode of calculation for the radiated field. Some values of (I1) will affect the meaning of the remaining parameters in the command. Options available for I1 are:
0 — Normal mode. Space-wave fields are computed. An infinite ground plane is included if it has been specified previously on a GN command; otherwise, antenna is in free space.
1 — Surface wave propagating along ground is added to the normal space wave. This option changes the meaning of some of the other parameters on the RP cart as explained below, and the results appear in a special output format. Ground parameters must have been input on a GN command.
The following options cause calculation of only the space wave but with special ground conditions. Ground conditions include a two-medium ground (cliff) where the media join in a circle or a line, and a radial-wire ground screen. Ground parameters and dimensions must be input on a GN or GD command before the RP command is read. The RP command only selects the option for inclusion in the field calculation. (Refer to the GN and GD commands for further explanation.)
2 — Linear cliff with antenna above upper level. Lower medium parameters are as specified for the second medium on the GN cart or on the GD command.
3 — Circular cliff centered at origin of coordinate system: with antenna above upper level. Lower medium parameters are as specified for the second medium on the GN command or on the GD command.
4 — Radial-wire ground screen centered at origin.
5 — Both radial-wire ground screen and linear cliff.
6 — Both radial-wire ground screen and circular cliff.
The field point is specified in spherical coordinates (r, sigma, theta) except when the surface wave is computed. For computing the surface-wave field (MOD (Il) = l), cylindrical coordinates (phi, theta, z) are used to accurately define points near the ground plane at large radial distances. The RP command allows automatic stepping of the field point to compute the field over a region about the antenna at uniformly spaced points. The integers I2 and I3 and floating-point numbers Fl, F2, F3, and F4 control the field-point stepping.
NTH (I2) — Number of values of theta (e) at which the field is to be computed (number of values of z for I1 = l).
NPH (I3) — Number of values of phi (f) at which field is to be computed. The total number of field points requested by the command is NTH x NPH. If I2 or I3 is left blank, a value of 1 will be assumed.
XNDA (14) — This optional integer consists of four independent digits, each having a different function. The mnemonic XNDA is not a variable name in the program. Rather, each letter represents a mnemonic for the corresponding digit in I4. If I1 = 1, then I4 has no effect and should be left blank.
X (the first digit) — controls output format.
X = 0 — major axis, minor axis and total gain printed.
X = l — vertical, horizontal ant total gain printed.
N (second digit) — Causes normalized gain for the specified field points to be printed after the standard gain output. The number of field points for which the normalized gain can be printed is limited by an array dimension in the program. In the demonstration program, the limit is 600 points. If the number of field points exceeds this limit, the remaining points will be omitted from the normalized gain. The gain may be normalized to its maximum or to a value input in field F6. The type of gain that is normalized is determined by the value of N as follows:
N = 0 — No normalized gain.
= 1 — Major axis gain normalized.
= 2 — Minor axis gain normalized.
= 3 — Vertical axis gain normalized.
= 4 — Horizontal axis gain normalized.
= 5 — Total gain normalized.
D (the third digit) — Selects either power gain or directive gain for both standard printing and normalization. If the structure excitation is an incident plane wave, the quantities printed under the heading “gain” will actually be the scattering cross section (a/λ2) and will not be affected by the value of D. The column heading for the output will still read “power” or “directive gain,” however.
D = 0 — Power gain.
= 1 — Directive gain.
A — (the fourth digit) — Requests calculation of average power gain over the region covered by field points.
A = 0 — No averaging.
= 1 — Average gain computed.
= 2 — Average gain computed; printing of gain at the field points used for averaging is suppressed. If NTH or NPH is equal to one, average gain will not be computed for any value of A since the area of the region covered by field points vanishes.
Floating Point Numbers
THETS (F1) — Initial theta angle in degrees (initial z coordinate in meters if I1 = 1).
PHIS (F2) — Initial phi angle in degrees.
DTH (F3) — Increment for theta in degrees (increment for z in meters if I1 = 1).
DPH (F4) — Increment for phi in degrees.
RFLD (F5) — Radial distance (R) of field point from the origin in meters. RFLD is optional. If it is blank, the radiated electric field will have the factor exp(-jkR)/R omitted. If a value of R is specified, it should represent a point in the far-field region since near components of the field cannot be obtained with an RP command. (If I1 = 1, then RFLD represents the cylindrical coordinate phi in meters and is not optional. It must be greater than about one wavelength.)
GNOR (F6) — Determines the gain normalization factor if normalization has been requested in the I4 field. If GNOR is blank or 0, the gain will be normalized to its maximum value. If GNOR is not 0, the gain will be normalized to the value of GNOR.
Notes
Purpose
To generate a transmission line between any two points on the structure. Characteristic impedance, length, and shunt admittance are the defining parameters.
Typical Broadcast Application
Parameters
Integers
I1 and I2 — Tag and segment number to which end 1 is connected (see NT command).
I3 and I4 — Tag and segment number to which end 2 is connected (see NT command).
Floating Point
(F1) — The characteristic impedance of the transmission line in ohms. A negative sign in front of the characteristic impedance will act as a flag for generating the transmission line with a 180 degree phase reversal (crossed line) if this is desired.
(F2) — The length of transmission line in meters. If this field is left blank, the program will use the straight-line distance between the specified connection points.
The remaining four floating-point fields are used to specify the real and imaginary parts of the shunt admittances at end one and two, respectively.
(F3) — Real part of the shunt admittance in mhos at end 1.
(F4) — Imaginary part of the shunt admittance in mhos at end 1.
(F5) — Real part of the shunt admittance in mhos at end 2.
(F6) — Imaginary part of the shunt admittance in mhos at end 2.
Purpose
To write a NGF file for a structure.
Typical broadcast Application
WG
Parameters
None.
Purpose
To cause program execution at points in the data stream where execution is not automatic. Options on the command also allow for automatic generation of radiation patterns in either of two vertical cuts.
Typical Broadcast Application
XQ
Parameters
Integers
(I1) Options controlled by (I1) are:
0 — No patterns requested (normal case).
1 — Generates a pattern cut in the X-Z plane, i.e., phi = 0 degrees and theta varies from 0 degrees to 90 degrees in 1-degree steps.
2 — Generates a pattern cut in the Y-Z plane, i.e., phi = 90 degrees theta varies from 0 degrees to 90 degrees in 1-degree steps.
3 — Generates both of the cuts described for the values 1 and 2.
The remainder of the command is blank.
Notes
18.218.151.44