NEC Workbench
Alpha 4: early test release. It works, but expect rough edges and changes between versions. Please try it and report what breaks.

NEC Workbench User Guide

For version 0.1.0-alpha.4.

NEC Workbench runs in one resizable main window. A toolbar runs across the top. With a model open, the model tree, the variables with their sliders, and the properties pane for what is selected form the left column; the geometry editor fills the center (or, in its place, the NEC Deck, a full result view, or a validation study); and the results column on the right shows the key numbers and live result thumbnails. A bottom panel underneath holds Problems, the Run log, Runs, and Raw output. Controls provide tooltips; this guide focuses on workflow and behavior that is not obvious from an individual control.

Getting Started

  1. Create or open a .nec model from the start panel, the toolbar, or the File menu.
  2. Edit wires in the geometry editor or the properties pane, and cards in the NEC Deck (Deck in the model tree).
  3. Click Frequency, Ground, Requests, Z0, Sources, or Loads in the model tree to set them up in the properties pane, and pick the engine in the list beside Run.
  4. Run Check Model (F7) and resolve the blocking errors listed under Problems.
  5. Select Run Analysis (F5).
  6. Read the key numbers and thumbnails in the results column; click a thumbnail to open that view in the center. Use the Runs tab and Run Review for archived input and historical raw output.

Calculation Engine

NEC Workbench comes with two engines, so it runs out of the box: there is nothing else to install or configure.

  • nec2c 1.3.3, the default: the C translation of NEC-2.
  • OpenNEC 2.5.0 b3 (onec, upstream's third 2.5.0 beta): a maintained NEC-2 descendant that also accepts the 4nec2 extensions it implements. The bundled build uses OpenNEC's own matrix code, without BLAS and without OpenMP, so it needs no other libraries and gives the same results on Windows and Linux. It agrees with nec2c on the example models and the result-check decks, including GM cards with repeated copies.

Each is a separate program shipped with Workbench (on Windows nec2c.exe and onec.exe in the solvers folder beside nec-workbench.exe, and in the AppImage's solvers folder), run once per analysis, so a solver crash or error never takes Workbench down and Stop always ends a run. The engine list beside Run shows them as nec2c 1.3.3 (bundled) and OpenNEC 2.5.0 b3 (bundled), the versions read from the build information shipped beside each; hover the list to see the version, commit and executable of the engine in use. Choose OpenNEC there to use it; nec2c stays selected until you do.

To use your own build of an engine, such as an OpenNEC built with BLAS (OpenBLAS, MKL or Accelerate) and OpenMP, which is much faster on large models, build it as OpenNEC's README describes, then choose Configure… in the engine list, pick OpenNEC and type or browse to your onec. The list then labels it by its own --version answer, such as OpenNEC 2.6.0, never as bundled; clear the path to go back to the bundled OpenNEC. The same works for your own nec2c and for 4nec2 NEC2dXS. Workbench looks for each engine's executable in this order: the path you chose, the copy that came with Workbench (in the solvers folder beside it, then beside it), then the system PATH. Only a path you type or browse to is saved; a found one is looked up again at each start, since a Linux AppImage mounts at a new place each time and a Windows folder can move. You can put your own engine, such as Nec2dXS1k5.exe, in the Windows folder's solvers folder and browse to it: Workbench remembers it relative to its folder, so it still works when you move the folder. The bundled engines and paths inside the AppImage are never saved. Clear the path to go back to the bundled engine. If a path you chose no longer exists, Workbench says so in the status bar and under Problems rather than switching to another engine. The Run log starts with the engine, its version and its path, and each run records the engine version it was made with. Help → About lists the bundled engines' versions.

NEC-4 and NEC-5 are licensed programs that Workbench does not ship; support for running a copy you supply is planned.

The selected backend also controls compatibility validation. NEC-2 / nec2c uses strict original NEC-2 card rules, while OpenNEC accepts the verified 4nec2 extensions that it implements. Workbench always resolves SY symbols and formulas into a numeric generated solver deck while preserving the authored source. The Problems tab identifies backend-specific incompatibilities and links back to Solver settings (Solver…); Deck… shows the numeric base deck used for execution.

The 4nec2 NEC2dXS adapter launches the calculator executable directly. Features normally preprocessed by the full 4nec2 application, beginning with LD 6 LC traps, remain blocked until equivalent Workbench conversion is available. Workbench writes the numeric NEC2dXS solver copy with canonical space-delimited fields because the calculator's NEC-2 reader does not recognize tab characters as field separators. Authored tabs, commas, spacing, and comments remain unchanged in model.source.nec; only the archived model.nec sent directly to NEC2dXS is normalized.

Application Layout

The main window is a normal resizable, maximizable window. The first time it opens it takes about 85% of the screen, centered; after that it reopens where you left it. The model tree and properties pane are the left column, the geometry editor or a full result view fills the center, and the results column is on the right. With no model open, the center shows the start panel at its top: New, Open…, Open Example…, and the recent models with their folder and when each was last opened (double-click one to open it). Open Example… starts in the examples that come with Workbench (the examples folder beside nec-workbench.exe on Windows).

At launch Workbench reopens the last model you had open. Turn this off with File → Reopen Last Model at Startup, or hold Shift while it starts to skip it once. If that file is gone, or it did not finish opening the last time, Workbench starts with no model and says why in the status bar. Drag the thin handles between them to change the columns' widths, which are remembered; the left column is 460 px wide by default and between 360 and 600 px. Drag the results column shut, or use View → Results Column (Ctrl+Shift+R), to collapse it. The bottom panel spans the full width underneath.

The toolbar holds Open (its arrow lists recent models), Save, the calculation engine, Run (F5), Stop, Sweep, Check (F7), and Optimize. Choose Configure… in the engine list to set the engine's executable. F5 and F7 work from anywhere in the main window, including the model tree and the properties pane.

Every view shown in the center in place of the geometry has a ← Geometry bar across its top; it and Esc go back. Each view keeps its state while another is shown, so opening it again finds it as you left it. The optimizer, its candidate review and Historical Run Review are separate windows.

Bottom Panel and Status Bar

The bottom panel has four tabs: Problems, Run log, Runs, and Raw output. Collapsed, it is just its tab strip. Click a tab to open it, click the open tab to collapse it again, or use View → Bottom Panel (Ctrl+J). The panel opens inside the window; drag its top edge to change its height. It remembers its tab, height, and collapsed state.

The panel opens by itself when a model check finds errors (Problems) and when a solver run starts (Run log). After a successful run it collapses again if it was collapsed before the run; after a failure it stays open.

The status bar shows the model file, the solver backend, the selected frequency and the range of the loaded results, the run state (idle, running with elapsed time, done, or the failure), and the model check error and warning counts. Click the counts to open Problems.

The menu bar holds the complete command set. Important actions include:

  • File → Open Recent (Ctrl+Shift+O pops the list up at the mouse)
  • View → Results Column and Bottom Panel
  • View → Problems, Run Log, and Raw Output
  • View → Workspace Density and Reset Layout
  • Model → Geometry Editor, NEC Deck, and Automatic Segmentation
  • Validate → Check Model, Average Gain Test, Segmentation Convergence, and Average Gain Result
  • Run → Run Analysis, Quick Frequency Sweep, Stop, and Optimize
  • Run → Review Run History (the Runs tab), Run Log, and Open Run Folder

Workspace Density offers Compact, Standard, and Spacious spacing without changing the application font size. Use Compact on smaller displays.

Model Tree and Properties

The left column shows the model tree, the variables, and the properties pane.

The tree lists Frequency, Wires, Sources, Loads, Trans. lines, Networks, Ground, Requests, Z0, Other, Variables, Deck, and Validation. Frequency, Ground, Requests, and Z0 (the reference impedance SWR is measured against) show their values, such as "144–148 MHz · 41 pts" or "Free space"; the groups show their counts. Hover a row for the details. A group with nothing in it is one dim line. Right-click Wires, Sources, Loads, Trans. lines, or Networks, or any row in them, and choose Add to add one; its row opens selected in the group's table. Expand a group to see its wires, sources, loads, lines, or networks. Selecting a wire in the tree selects it in the geometry views, and selecting one in geometry selects it in the tree. Right-click Properties… in geometry selects the item and moves the keyboard into its table.

The properties pane holds one page at a time: a group's card table, a setup page, or the Parameters table for Variables. The tree is as tall as its groups and the two Validation studies, in whole rows, up to about 40% of the column. It keeps that height while you expand groups or select items, so the pane below never moves. The variables show all their rows when the pane's page leaves room for them, and otherwise keep at least about 25% and scroll; the pane takes the rest. With nothing in the pane, the variables sit right under the tree and the space below them stays empty. New and Open start with nothing selected and the pane empty; Revert to Saved keeps the selection when its item is still there.

Selecting the Wires, Sources, Loads, Trans. lines, Networks, or Other group shows that group's card table in the pane and folds the variables while it shows. Whenever the pane's page is wider than the column, such as a wide table or the Requests page, ⇔ in the pane header widens the column so the whole page fits, up to about 65% of the window, narrowing the results column first; the geometry stays on screen. Click ⇔ again, or select a page that fits the column, to put the column back.

The card tables are the only editors of their items. Clicking a table row selects its item in the tree and geometry; selecting an item in the tree or in geometry shows its group's table with its row selected and scrolled into view. An arc or helix is its GA or GH row in the Other table. Double-click a cell to edit it; Enter on a row opens nothing. Right-click a wire in geometry to add a source or a load, or pick a transmission line's two ends; the new item's row is selected in its table.

The line under each table explains the selected row: a wire's diameter (and AWG gauge), length, and the segments it shares; a source's volts as magnitude and phase; what shares a card's segment, such as "Wire tag 1, segment 11: EX 1 drives this gap". With a row selected, the Sources and Loads headers name that row's fields for its type: a type 5 load's R Ω column reads σ S/m, a plane-wave source's Real V reads θ °, and fields the type does not use read Unused. Editing a cell rewrites only that field; the others keep their symbols, exact values and spacing.

Variables

Each SY variable written as a plain number has a slider, a number box, and ⋯ to set the slider's range; a variable written as a formula shows its value. While you drag a slider, type a value, or step with the arrow keys, the wires in every geometry view follow the new value; the deck is not changed until you let go or commit the value, and then the SY card changes once, as one undoable step. The model is checked again and results are marked stale. The geometry keeps its zoom; only opening a model, New, Revert to Saved and Fit fit it.

Live (on by default, remembered) also solves each committed value at the selected frequency, or at the sweep point nearest the band centre before any run. The key numbers and the pattern and current thumbnails for that frequency update; the SWR sweep, the band minimum and peak, and other frequencies stay as the last full run and are marked stale. Picking a stale frequency in the strip with Live on solves that one too. A live solve works on a temporary copy of the deck with one frequency and the RP cards kept: it never changes your deck, never appears in Runs, and is display-only, so the full result views, their CSV and image exports, Run Review and overlays always use the last full run. A new value cancels a live solve still running; one taking over 2 s shows in the status bar. F5 always runs the whole sweep. With Live off, a committed value is only written and checked.

Click the VARIABLES header to fold the section to one line, keeping Live and Reset; click it again to unfold. The choice is remembered. When a form in the pane is too tall for the column, the variables fold while it shows and unfold when it closes, unless you folded them yourself.

Reset puts every variable back to its value when the model was opened, saved or not; one added since goes back to the value it was created with. It is one undoable step; its tooltip lists what would change.

A slider spans the optimizer's minimum and maximum for a variable ticked Use in Optimize, and otherwise ±25% around the value it had when first shown (−1 to 1 at zero). Setting a range with ⋯ also sets the optimizer's minimum and maximum for that variable. Ranges are kept for the session, not saved with the model.

Edits on a setup page stay pending, with the Apply button emphasized, until applied. Enter applies them and Esc reverts them. Selecting something else applies valid pending edits as one undoable step; only edits that cannot be applied ask whether to discard them. Undo returns to the page an edit was made on.

Deck opens the NEC Deck in the center. Validation opens Problems in the bottom panel; under it, the Average Gain Test and segmentation convergence each show their result and a Run button. Click a study's row or its result to open it in the center. Run starts the study without leaving the view you are in, and the row shows the result when it finishes; convergence opens its view instead the first time for a model, so its settings can be checked.

Model

The model is edited in the geometry editor (2D and 3D geometry) in the center of the main window, in the properties pane (forms and card tables) and variables, and in the NEC Deck (raw source). Model → NEC Deck, or Deck in the model tree, shows the deck in the center in place of the geometry; ← Geometry or Esc returns. Model → Geometry Editor brings the geometry back with the view focused.

Geometry

The XY, XZ, YZ, and 3D views share selection with the card tables and the model tree. When a model opens, the plane it spreads out most in takes the big 2D view (XZ for a loop standing at y = 0, XY for a horizontal yagi). Double-click a small view's title, or right-click it and choose Make Main View, to swap it in; the choice stays until another model is opened. A view stays fitted as the window is resized until you zoom or pan it. Ordinary GW wires can be selected and edited. The 2D views support endpoint and whole-wire dragging, snapping, fitting, panning, and zooming. Right-click a wire for properties, splitting, deletion, source creation, or AWG sizing.

Generated geometry—such as arcs, helices, transformations, and surface patches—is displayed when supported but remains graphically read-only. Edit its originating card in the Other table or in Raw Source.

Display units do not change model dimensions. Deck units and ordered GS scaling remain separate from display and snap settings.

Making Variables

A variable is an SY card, such as SY len=5.1; any card field can use it by name or in an expression such as len/2. Each one written as a number gets a slider under Variables, and the optimizer can search it. There are four ways to make one:

  • Type it into a cell. In any card table, type len, len/2 or 2*h + 0.1 over a number: a wire's segment count, coordinate or radius, a source voltage, a load's R or the segment it sits on, a line's Z0 or length, a network admittance, or a number in Other. If len is new, a box under the cell asks for its value, filled in, when it can be worked out, with the value that keeps the field as it is. Enter adds SY len=… after the other SY cards at the top of the deck; Esc changes nothing. As you type a name, the variables containing it are offered with their values (len offers len, dlen and rlen); choosing one replaces only the name being typed. In a tag, segment number or count the expression must come to a whole number, so LD 0 1 mid mid 50 with SY mid=6 loads segment 6, and mid=5.5 is refused. Type codes and other fields chosen from a list take plain numbers only, and a wire's tag stays a plain number.
  • Right-click a field in any card table and choose Make Variable…: create a new variable for its value, or pick an existing one. A field that already uses a variable offers Change Variable… and Replace With Current Numeric Value.
  • Add it in the Parameters table: select Variables in the model tree and choose Add Parameter, then use its name in a field.
  • Write the SY card in the NEC Deck.

The Parameters table lists every SY name with its expression; Resolved Value is the evaluated number, not an inferred physical unit.

Parameter-controlled cells are marked and retain their source expressions. Type codes and other fields chosen from a list take no variables, and a variable that sets a whole-number field can only be swept in whole steps (see Segment Counts and Segment Numbers). Parameterizing a negative numeric field creates a positive parameter magnitude and preserves the field sign in the reference. Linking an existing parameter similarly preserves an equal or opposite current value, which supports symmetric geometry such as -half_length and half_length without changing the model.

Segment Counts and Segment Numbers

A wire's segment count and the segment a source, load, line or network uses can be variables or expressions, like any other number:

SY segments=21, feed=(segments+1)/2
GW 1 segments 0 -5 0 0 5 0 .001
EX 0 1 feed 0 1 0
TL 1 feed 2 feed 50 0 0 0 0 0

segments and feed are names this deck defines, not NEC keywords; any valid name works. The tables show the value (21, 11) with the expression in the cell's tooltip and editor, and the solver gets the numbers. Change segments and everything that uses feed follows it: the EX source and the TL end above stay on the same segment.

These fields are NEC integers, so an expression there must come to a whole number:

  • Rounding error in the arithmetic is allowed: (a+b)*10 with a=0.1, b=0.2 is 3, although the computer gets 3.0000000000000004.
  • A fractional value is an error at that field, and is never rounded: with segments=20, feed is 10.5 and Model Check reports EX field 3, feed = 10.5, must be a whole number. A count too large for a NEC integer, or an expression that does not give a finite number, is an error too. NEC Workbench has no int() or fix() function: 4nec2 lists both, but its help does not say how they round, so they are not guessed at.
  • NEC's special values keep their meaning: tag 0 with segments 0 on an LD loads every segment, and segment -1 on the first TL or NT of a group clears earlier ones, however they are written.
  • A segment past the end of its wire is reported, not moved to the last segment.

The same checks apply to a deck opened from a file. It still opens with all of its cards, so it can be corrected; it cannot be solved until the error is fixed.

To keep feed in the middle as segments changes, keep segments odd. In Optimize, only a Parameter Sweep in whole steps can vary it: see Variables and Bounds.

NEC Deck and Cards

The NEC Deck's raw source and the card tables operate on the same document.

  • Use Raw Source for unrestricted deck editing and unsupported extensions.
  • Use the card tables (Wires, Sources, Loads, Transmission lines, Networks, Other) for labels, choices, validation, and source mapping. The EX and LD type cells are lists such as "0 — Series RLC"; column headers carry units (R Ω, L H, C F, Z0 Ω, Y11 G S).
  • Double-click an editable cell to change it; each cell edit is one undoable step. Fields written as symbols keep their text.
  • Long numbers, such as those written by geometry drags or the optimizer, are shown at 6 significant figures to keep columns narrow. The deck keeps the exact value: hover a cell to see it, and editing starts from it.
  • Type a name or an expression into a number cell of any table to use a variable; see Making Variables. A cell written as an expression shows its value and ƒx; hover it to see the expression, and type over it to change it. Typing a number there replaces the expression. A new name asks for its value under the cell; an expression that cannot be worked out is refused with a message, and the deck is unchanged.
  • Right-click a numeric cell and choose Make Variable… to give it a variable.
  • Wire lengths in the Wires table are in the deck's unit (its GS scale); the unit is in each label, such as X1 m. The Geometry display unit only changes the 2D and 3D views, their grid and rulers.
  • Selecting a row selects its source, load, line, or network everywhere, or moves the raw-source cursor to the card.

A ' starts a 4nec2 comment anywhere on a card, as in GW 1 21 0 0 0 0 0 5 .001 ' radiator. NEC Workbench keeps it as written, reads the card's fields up to it, and leaves it out of the deck it gives the solver; a line that is only a comment is not a card. In CM and CE cards an apostrophe is ordinary text.

Unknown cards and formatting are preserved. Recognition does not imply that every card has a dedicated editor or graphical representation; see NEC Card Support.

For the exact backend profiles, card checks, severity rules, and current audit boundaries, see the NEC Validation Reference.

Undo, Redo and Revert to Saved

Source-backed model changes share one history. The toolbar's Undo and Redo say what they would undo or redo. Ctrl+Z, and Ctrl+Y or Ctrl+Shift+Z, work anywhere in the main window, including the variables' number boxes and the model tree; in a box with a value typed but not applied, the first Ctrl+Z puts the value back. While typing in Raw Source the editor keeps its own undo. Undo may reverse a change made in another workspace and may navigate to that context. Solver runs, result selection, window layout, and historical review are not model edits.

File → Revert to Saved (also on the toolbar) reloads the model's file after asking, discarding every change since the last save. It is one undoable step, so Undo brings the changes back. It is unavailable when nothing has changed or the model was never saved.

Model Checking and Adequacy

Check Model parses source, resolves symbols, rebuilds semantic views, and reports errors and warnings. Errors block analysis and optimization. Warnings identify conditions requiring engineering judgment.

The Validate menu groups the static Model Check, Average Gain Test, and segmentation convergence commands; running either study from the menu opens it in the center. The static findings are listed in the bottom panel's Problems tab under a note on what the check covers and the solver it checks against, one row per finding with its severity, location (L12 is deck line 12, W3 · L12 also names wire 3), and message; hover a message for its category. Double-click a finding on a wire, source, load, transmission line, or network to select it, keeping the geometry in view; any other finding opens the NEC Deck at its line.

Static checks include card ordering, geometry completeness, field types, references, segment length, thin-wire ratios, source placement, adjoining segment consistency, and large junctions. Static checks do not prove model accuracy.

Control-sequence checks follow the NEC-2 execution model rather than imposing one fixed control-card order. Parameter cards must precede the execution request they are intended to affect. After a multi-frequency request executes, repeat FR before another execution group if that later request must traverse the full sweep. During automatic frequency stepping, NE and NH require a following XQ or RP. Workbench reports unused or ambiguous sequences but never silently reorders the authored deck. See the NEC-2 control-card documentation.

Leading CM comment cards must be terminated by CE before geometry begins. Every complete deck must contain one final EN card; blank lines may follow it, but no additional NEC cards may appear afterward.

Automatic Segmentation

Automatic Segmentation previews proposed segment counts using the highest modeled frequency and selected segments per wavelength. Applying the preview is one undoable model edit, and it writes exactly the deck the preview describes. Supported source, load, transmission-line and network references are remapped by relative position; unsupported references block the operation. Decks that use one tag number on more than one wire, or that refer to segments by absolute number (tag 0), are also blocked for now, as is segmentation convergence testing.

Fields written with a variable or an expression are never overwritten, and SY definitions are never changed. A wire is skipped, and keeps its segments, when its GW segment count is symbolic, or when one of its EX, LD, TL or NT segment references would have to move and that field is symbolic. For a TL or NT card each end protects only its own wire, so the other wire can still change. The Changes column says why each skipped wire was skipped, for example Skipped: its segment count is nseg on line 3; to change such a wire, change the variable under Variables.

A source placed along its wire (see Placing a Source on Its Wire) follows its position rather than being remapped: a 25% source on a wire going from 11 to 21 segments moves from segment 3 to segment 6, shown as EX at 25%: 3 → 6, and keeps its mark. Its segment field never causes a skip, since the mark decides where it goes.

Average Gain Test

Average Gain Test creates a temporary one-frequency, lossless deck in free space or over perfect ground. It does not modify the authored model. Its result opens in the center from its row in the model tree or Validate → Average Gain Result, and like convergence studies, completed tests are also archived in the Runs tab.

Segmentation Convergence

Convergence runs progressively refined versions of the same model and compares successive impedance and available gain results. A source placed along its wire takes its position on each refined wire; it cannot be placed along a tapered, arc or helix wire in a convergence study yet. Tolerances describe numerical stability between levels, not universal model correctness.

Setup

Frequency, Ground, Requests, and the reference impedance (Z0) open in the properties pane from their rows in the model tree, and Solver from Configure… in the engine list beside Run; sources, loads, transmission lines, and networks are tables and forms in the pane, opened from the model tree.

Sources, Loads, Networks, and Environment

Each two-port network (NT) is given by its ports and its short-circuit admittances Y11, Y12, and Y22 in siemens. Add NT Card writes a 50 Ω series connection between two segments, since an NT port whose admittances are all zero carries no current and opens the wire at that segment. New TL and NT cards are added next to the deck's existing ones, since NEC-2 discards earlier networks and lines when other cards separate them.

References are validated against available wire tags and segments. Units shown in the interface are converted to the NEC values stored in source.

Placing a Source on Its Wire

A voltage source (EX type 0 or 5) can sit on an exact segment, or at a position along its wire that holds as the wire's segmentation changes:

  • Exact segment: type a segment number, or a variable or expression such as feed, in the Sources table's Seg cell. This is how every source starts, and how existing decks stay. NEC Workbench never turns one into a position by itself.
  • Along wire: type a percentage from End 1, such as 30%, in the Seg cell, or right-click it and choose Along Wire…, which opens the cell on the percentage.
  • Center: right-click the Seg cell and choose Center of Wire (50%).

A source placed along its wire shows the segment it is on, styled like an expression, with the percentage in its tooltip and editor. Right-click it and choose Exact Segment to fix it on that segment, or type a segment number. The line under the table says what was asked for and what it gives, for example 50% along wire 1 → segment 11 of 21, its middle 50% from End 1; for an exact segment it reads Segment 6 of 11, its middle 50% from End 1.

How the segment is chosen:

  • The position is measured along the wire from End 1, by length, so arcs, helices and tapered segments are placed by where their segments really are.
  • The source goes on the segment that contains that point. With equal segments this is also the segment whose middle is nearest. 0% gives the first segment and 100% the last.
  • A point exactly on the joint between two segments goes to the one nearer End 1.
  • With an even number of equal segments, no segment is centered: 50% falls on a joint, so 10 segments give segment 5, whose middle is at 45%. The line under the table says so. Use an odd count to put the source in the middle.

The position is kept in the EX card as a 4nec2 comment, after the segment it gives:

EX 0 1 11 0 1 0 ' necwb:at=50%

necwb:at is a NEC Workbench extension. Each time the deck changes, NEC Workbench puts the source on the segment at that point and writes the segment number in the field. A variable, Undo, Auto Segmentation, the optimizer and convergence studies all move it. The solver gets the number without the comment. 4nec2 and other programs read the comment as a comment and use the segment written there; that number is updated with any edit made in NEC Workbench, though not while you type in the NEC Deck. The comment is kept through save and reopen and through Undo and Redo.

A position is refused, with the reason in Problems, for a tag carried by more than one wire or tag 0 (NEC counts those segments across wires), a flat spiral (not drawn), and EX types that do not sit on a segment.

When one segment carries more than one source, load, transmission-line end, or network port, Workbench explains how NEC connects them. NEC-2 puts EX sources, TL ends, and NT ports across the segment's gap, in parallel with one another, but an LD load sits in series inside the segment. A load on a line end therefore acts in series with the line, which is rarely what is meant; on a short stub wire it has almost no effect. When the selected row of the Sources, Loads, Trans. lines or Networks table is affected, the explanation shows in the line under the table. Hovering the segment in a Geometry view shows the same text. Model Check warns about loads on a line end or network port, and suggests the TL shunt admittance, an NT network, or a short parallel wire to put the load across the port instead.

Frequency

Edit the model's supported FR definition here. A sweep is represented by start, spacing, and point count; the displayed final frequency is derived from those values.

Quick Frequency Sweep runs a temporary linear or logarithmic sweep without rewriting the authored FR card.

Solver

Select the engine and, if you want one other than the one found, its executable. Each engine remembers the path you chose; leave it empty to use the bundled nec2c or OpenNEC, or the engine found on the PATH, shown greyed in the field. The engine selection controls command-line or standard-input behavior; Workbench does not infer protocol from the executable filename.

The Run menu opens the Run log and the Runs tab. Run → Open Run Folder opens the folder of the run started in this session, or the newest stored run, in the system file browser. The Run log is transient execution feedback; durable inputs, complete raw output, notes, and read-only review remain in Run Review.

Model Check

Choosing Check Model always opens Problems, including successful automatic conversions such as SY expansion. Automatic checks after edits update Problems silently unless they find errors; warnings are counted in the status bar.

Requests

Manage XQ and supported normal-mode RP requests. Pattern presets populate a known theta/phi grid; changing a populated field creates a visible draft that is committed with Apply Pattern Changes. Deleting a pattern first dims and marks its row; Apply commits the deletion, while Restore or discarding page edits keeps it.

Preset What it computes
Full 3D pattern Every elevation and azimuth on a 5° grid. Add Pattern starts here.
Azimuth cut A top view: every azimuth, 1° apart, at one elevation. Enter it in At elevation.
Elevation cut A side view: every elevation, 1° apart, through one azimuth and the azimuth behind it. Enter it in At azimuth.
Custom RP grid Any other theta/phi range, edited directly.

When the model has ground, the presets stop at the horizon, since nothing radiates below it. Next to At elevation the editor shows the NEC angle it writes: NEC θ is measured down from straight up, so El 10° is θ 80°. The Theta and Phi fields below always show the NEC values.

Choosing the elevation for an azimuth cut. In free space the main beam is usually at the horizon (El 0°). Over ground it lifts off: the lowest lobe of a horizontal antenna sits at about sin(El) ≈ λ / (4 × height), roughly 30° at ½ λ up, 14° at 1 λ and 7° at 2 λ. You can't know the exact takeoff angle before running, so the usual workflow is two steps:

  1. Run the Full 3D pattern (or an elevation cut) and read its sampled peak, for example "12.960 dBi @ El 10°, Az 0° (5° grid)" in the results column.
  2. Click Add Cuts Through Peak. It adds a 1° azimuth cut at the peak's elevation and a 1° elevation cut at the peak's azimuth, crossing at the peak. Run again for smooth, finely sampled cuts.

After a run, the Azimuth cut preset also starts at the last sampled peak's elevation. Before any run it starts at El 10° over ground and El 0° in free space. Add Cuts Through Peak waits until a pending pattern edit is applied or discarded, and skips a cut that already exists.

Pattern frequencies may follow the model sweep, use one frequency, use an explicit list, or use a custom continuous range. Explicit pattern frequencies do not replace the model sweep used for impedance and currents. Workbench generates the necessary temporary solver sequence and archives it as model.nec.

Opening a model initializes this section from its FR card and selects Use Model FR Frequencies. Changes remain in place while that model is open, including across tab changes and model rechecks, but are reset from FR when another model is opened. Use Reset from Model FR to restore this behavior without reopening the model.

For a single-frequency FR card, the increment may be omitted. Workbench treats it as zero without reporting a finding and writes an explicit zero only in the generated solver deck. Multi-frequency sweeps still require a positive increment.

Workbench also accepts original NEC free-format conventions, including comma field separators, leading + signs, two-character card mnemonics followed immediately by text, a leading UTF-8 byte-order mark, and an FR frequency count of zero as the single-frequency default. Authored formatting is preserved when the source is not explicitly edited.

Radiation calculations can dominate run time. Request only the angular and frequency coverage needed for the intended result.

Optimization candidates retain their generated deck and solver artifacts. If a candidate backend fails, its status and tooltip show the first solver message and the complete merged solver output is saved as solver.log in that candidate's run folder.

Running

Run Analysis validates the current source, generates a numeric solver deck, creates a unique run directory, and starts the solver asynchronously. The Run log shows the command, output, elapsed time, and final status; Copy Command, Open Run Folder, and Stop sit on its header line.

Stopping a run requests process termination. Partial output may remain for diagnosis, but an interrupted run is not treated as a completed result.

Results

Results remain associated with the exact archived solver deck that produced them. If the active model changes, existing results are marked stale rather than silently reinterpreted.

Results Column

When a run finishes, the results column on the right of the main window updates; no windows open. From top to bottom it shows:

  • At: — the selected frequency. It is the only frequency selector: the key numbers, the thumbnails, the full view in the center, and the status bar all follow it. Double-click a point on a sweep plot or the Performance plot, or click a row of the impedance table, to select that frequency there. A new run keeps the selected frequency when it has it; the first run of a model starts at its minimum SWR.
  • R, X, SWR with its Z0, Gain with its direction, F/B, and F/R at the selected frequency, then the band's minimum SWR and peak gain. Gain and F/B use the peak at the selected frequency as forward. F/R is the strongest sample more than 90° behind that peak at the same elevation; it reads — when the run has no azimuth samples behind the peak, and its tooltip says why. Click a number to open the view it comes from. STALE appears, and the numbers grey out, when the model has changed since the run.
  • Overlay — the historical overlay (see below).
  • Four live thumbnails: SWR against frequency, the azimuth pattern, the elevation pattern, and the currents on the antenna. A thumbnail shrinks to a one-line note when the run has no data for it at the selected frequency. With no results yet, the column shows Run analysis to see results instead.
  • MORE VIEWS — the impedance table, currents along the wire, the currents table, the 3D pattern, and performance against frequency. Smith chart is listed but not available yet.

Click a thumbnail or a More Views entry to show that view, with all its controls, in the center in place of the geometry. ← Geometry or Esc returns to the geometry editor with its tab and zoom unchanged. When the window is narrow, collapse a column to give the center view more room.

Summary and Numerical Results

Summary identifies model, run, backend, and reference impedance. Numerical views show feedpoint impedance, SWR, current data, and available directional metrics by frequency. Plot hover readouts expose exact sampled values.

After a completed analysis, Workbench automatically selects the previous completed run of the same saved model as a historical overlay, but the overlay starts hidden. The results column has one Overlay checkbox, which draws it dashed on the SWR and impedance plots and the 2D, 3D, and performance views, and a Choose Overlay… menu. The line beneath says whether the overlay is Compatible, Partial, or has No matching data for the impedance and pattern data. Manual choices may come from another antenna; Workbench only draws genuinely matching frequencies, feedpoints, cuts, and sample grids. Use Clear Historical Overlay to remove the selection.

Currents

The full Currents view has three tabs. Antenna draws the segment currents on a 2D view of the solved antenna; Along Wire plots magnitude along connected wire paths; Table lists every segment.

On the Antenna tab, Show selects:

  • Magnitude — a curve beside each wire whose distance from the wire shows how strong the current gets.
  • Phase — wire color shows phase relative to the feed current on a circular scale, so −180° and +180° share a color. Segments carrying under 5% of the peak current are grey, because their phase is mostly numerical noise.
  • Instantaneous — the actual current at one moment of the RF cycle. The side of the wire shows which way the current flows at that moment. Drag Cycle or press Play to watch it change; the magnitude envelope stays faintly visible. At 0° the feed current is at its positive peak.

View chooses the plane; Auto picks the one the antenna mostly lies in. Scroll to zoom, drag to pan, and double-click to fit. Scale enlarges the curves, which are otherwise sized so neighboring elements do not overlap. Hover a segment for its wire, segment, current, and phase.

NEC reports current flowing from wire end 1 to end 2, so two parallel elements entered in opposite directions appear 180° apart even when their physical currents agree. The Antenna tab and the table's Phase vs. feed column therefore treat straight wires as flowing toward +X, +Y, or +Z, and measure phase from the feed current, so the feed segment reads 0° and other elements read as leading or lagging it. The table's NEC phase column keeps the solver's own convention: current from end 1 to end 2, measured against the source voltage. With several sources, the first source NEC reports is the reference; with none, the column is labeled Phase, common direction and only the direction rule applies. Curved wires keep NEC's direction.

Several wires may share a tag number; tag 0 is common in imported decks. The table's Segment column counts within each wire, and NEC segment is the solver's own number, counted through all wires, which tells such wires apart. The Antenna tab, Along Wire, and the hover readout place every segment on its own wire. Model Check follows NEC's rule for EX, LD, TL, and NT references: a segment number counts through every wire with that tag in deck order, and tag 0 means an absolute segment number.

Radiation

The radiation frequency selector includes only frequencies with pattern data.

  • 2D Pattern switches between elevation cuts (a side view at one azimuth) and azimuth cuts (a top view at one elevation) with Show Azimuth Cut / Show Elevation Cut, cycles available angles, reports peak and interpolated 3 dB beamwidth when computable, and probes nearby samples under the pointer. Each RP request is a separate Pattern dataset. The Show … Cut button moves to the cut that crosses the current one at its maximum. When the current dataset holds only one kind of cut, such as a 1° azimuth cut, it switches to the dataset whose crossing cut has the most samples, so the two cuts from Add Cuts Through Peak flip back and forth as a pair. The button's tooltip names the dataset it will use, or says why none qualifies, and after a switch the summary starts with "Switched to RP 3 …, crossing the previous cut's peak" until the next change. An azimuth cut needs at least three azimuths, so an elevation-cut dataset (just 0° and 180° at each elevation) offers no azimuth cuts of its own. Go to Peak moves the current cut to the dataset peak, keeping the kind of cut: an azimuth cut moves to the peak's elevation, an elevation cut to its azimuth. Every cut says which cut it is ("Elevation cut at Az 0°", "Azimuth cut at El 10°") and labels its strongest sample "Peak in this cut". When other RP data at the same frequency has a stronger sample, the summary adds "Sampled peak (all RP data) …, outside this cut". In Normalized mode the plot and the hover readout state the reference level, for example "0 dB = 7.410 dBi". Elevation cuts are labelled in elevation, with the horizon level and the cut's two azimuths marked at each side; when the pattern has nothing below the horizon (a model over ground) the plot is the upper semicircle. Azimuth cuts are seen from above, with Az 0° (+X) on the right and azimuth increasing counterclockwise toward +Y, as in EZNEC. A compatible historical overlay is drawn as a muted dashed trace. Workbench requires the same frequency, cut orientation/plane, and angular sample grid; it reports the historical overlay as unavailable rather than interpolating. Normalized mode normalizes each trace to its own peak for shape comparison; Absolute mode places both traces on the same dBi scale.
  • 3D Pattern renders the available theta/phi mesh as a lit surface colored by gain (dark blue at the floor to dark red at the peak), with antenna and current overlays. Surface chooses Shaded + grid, Shaded or Wireframe; See-through shows the antenna and the far side through a shaded surface. A solid surface hides the parts of the antenna inside or behind it; wire ends that stick out stay visible. Dragging turns the view about the middle of the pattern. The view fits the whole pattern below the legends until you drag, zoom or pan; Reset View returns to the starting angle and fits again. A dense pattern is drawn coarser while you drag. The controls wrap to fit a narrow centre. A compatible historical grid appears as a muted dashed wireframe. It does not invent missing angular coverage.
  • Performance vs Frequency shows available forward gain, F/B, and F/R metrics, with compatible historical curves shown dashed. The line above the plot reads "Gain toward El 15°, Az 45°: 5.900 dBi" for the selected frequency. Right-click a sample on the 2D or 3D pattern and choose Use This Sample as Forward Direction to set the forward elevation and azimuth from it.

Gains are shown as "6.670 dBi @ El 0°, Az 0°": elevation is measured above the horizon (NEC θ = 90° − El) and azimuth is NEC φ. Tooltips give the NEC θ/φ, frequency, and component, and a component other than Total is named ("dBi vertical").

Every peak is a calculated sample, so its precision depends on the RP step around it:

RP step around the peak Shown as Meaning
2° or finer 12.960 dBi @ El 10°, Az 0° Close to the true peak.
over 2°, up to 5° … @ El 10°, Az 0° (5° grid) Good for locating the lobe; the true peak may be a degree or two away and a few tenths of a dB higher.
over 5° … (sampled, RP step 10°) The true peak may sit well between samples; request a finer RP.

Azimuth steps are judged by their true spacing, which shrinks toward the zenith: a 10° azimuth step at El 80° is only about 1.7° apart, so a high-angle peak is not flagged for it. The note still quotes the RP step as entered.

Add Cuts Through Peak (Analysis › Requests) adds 1° cuts through the peak. After the next run the finer sample wins and the note disappears.

Which peak is which? Each label says how much of the pattern it searched:

Label Where Searches
Peak in this cut 2D Pattern the cut on screen
Dataset peak 3D Pattern; Go to Peak the selected RP dataset
Sampled peak (all RP data) 2D Pattern note; Use Sampled Peak every RP dataset at the selected frequency
Peak at this frequency Results column every RP dataset at the selected frequency
Peak across the band Results column every frequency
Sampled peak (5° grid) Optimizer Find Sampled Peak a temporary 5° grid at one frequency

F/B compares the peak with the same elevation angle turned 180° in azimuth, as other amateur modeling programs do, so an elevated beam over ground still has an F/B. If the pattern does not contain that sample, F/B is unavailable rather than substituted with minimum gain. F/R compares the front with the strongest sample at the same elevation and more than 90° away in azimuth; it is not a full rear-hemisphere search.

Runs and Historical Review

The Runs tab lists the durable run directories. Review, or double-clicking a row, opens one reusable read-only Run Review window. Neither replaces the active editor.

Use Use as Overlay to select a completed analysis or quick sweep for comparison. Then turn on Overlay in the results column. The overlay remains labeled and never becomes the active result or model.

The results column compares one historical overlay at a time. Comparing several runs belongs in a separate comparison workflow and is not performed implicitly.

Use Note…, or double-click the Note cell, to record what changed or why a run matters. Notes are stored only in run metadata; they do not alter archived NEC input or solver output. Overlay labels use the note when one is available.

Run Review can display the authored source and generated solver deck. Use Open as New Model only when you intentionally want an archived deck in the editor.

Optimization candidates and validation steps are grouped under their parent session instead of appearing as unrelated ordinary runs.

Run Artifacts

A normal run directory contains at least:

  • model.source.nec — authored source
  • model.nec — generated numeric solver input
  • model.out — solver output
  • run.log and JSON metadata

These files provide reproducibility and should not be confused with the currently open model.

Optimize

Optimize on the toolbar or in the Run menu opens the optimizer in a window of its own, or brings it to the front. The first time it opens at about 80% of the main window's size, on another monitor if there is one, else beside the main window or over its right-hand side, so the geometry stays in view where the screen allows; after that it reopens where you left it. Either window comes to the front when clicked, and closing the main window closes the optimizer. The setup and the results sit side by side; in a narrow window the setup stacks above the results and the window scrolls vertically. Save, Undo and Redo work from it too.

Closing the optimizer only hides it: it keeps its variables, objective, method, candidates and progress, and a running optimization continues, with the toolbar button reading Optimizing… until it finishes. Editing the model keeps the candidates too; opening or starting another model stops a running optimization and clears them.

A study runs on the model as it was when it started. Applying a candidate after the model changed asks first, listing the variables and card fields that differ; the optimized variables' own values do not count as a change.

Optimization consumes existing parameters. It does not decide which NEC fields a parameter controls. When another field needs one, Make Variable… brings the main window forward with the wire table open: right-click a cell and choose Make Variable….

Search Methods

  • Parameter Sweep evaluates evenly spaced values for one parameter. Use it to inspect the full response across a known range.
  • Adaptive Optimize performs bounded coordinate refinements around the current best result. It is transparent and efficient for localized improvement.
  • Nelder–Mead moves a bounded simplex and can adjust interacting continuous parameters together.
  • Differential Evolution uses a seeded bounded population to explore broader, multi-modal search spaces.

All methods use the same variables, frequency plan, objective, candidate evaluator, artifacts, cancellation, and Apply actions. They differ only in candidate proposal and stopping rules.

Variables and Bounds

Choose the search Method at the top of the Search section, then check the parameters to search and set Min, Max, and Tol. (parameter tolerance) in the same table for every method. The table shows up to eight parameters before it scrolls. Bounds constrain proposed candidates. Parameter tolerance describes spatial convergence; score tolerance describes objective improvement. They are different quantities.

Parameter Sweep varies exactly one parameter: checking a row in Sweep mode replaces the previous choice. The other methods change every checked parameter together.

A variable that sets a whole-number field, such as a segment count, or a segment through another variable, is not checked to start with. Its Use tooltip names the field. Adaptive Optimize, Nelder–Mead and Differential Evolution try fractional values, so they refuse it. A Parameter Sweep can vary it if every value it tries keeps those fields whole: Min 5, Max 21 and 9 evaluations try 5, 7, … 21, the odd counts that keep a centered feed. 8 evaluations would try 7.29 and are refused. A variable that only reaches decimal fields, such as a length, is unaffected, even when other expressions use it.

When the run button is unavailable, the status line under the progress bar states the first thing that must be fixed. An incomplete objective, such as a directional goal whose direction has not been set up, is also flagged in red under the Objective summary.

Frequencies

Every candidate uses the selected frequency plan:

  • the model FR sweep
  • an explicit editable list
  • a custom continuous sweep
  • amateur-band convenience values

Explicit lists can cover separated bands without calculating every frequency between them. The workload summary shows the number of candidate-frequency calculations.

Objectives

Available criteria include SWR, resistance, reactance, forward gain, F/B, and F/R. A zero weight disables a criterion. Each enabled criterion selects:

  • Goal — Minimize, Maximize, Target, Good Enough ≤, or Good Enough ≥
  • Value — used by Target or Good Enough
  • Band Evaluation — worst point, average, or best point across the frequency plan
  • Weight — relative influence on the combined score

The Objective Summary translates the configured rows into plain-language bullets. Lower combined scores are always better. Contributions are normalized before weighting so ohms and decibels are not combined as raw, incompatible numbers.

Use Minimize Worst-Case SWR when every reduction in the highest SWR should improve the score. Use Keep SWR Below Limit when meeting the limit is sufficient; all candidates at or below that limit receive zero SWR penalty, allowing other enabled criteria to decide among them.

Examples:

  • Minimize SWR with Worst Point protects the highest SWR in the plan.
  • Maximize gain with Worst Point protects the lowest gain in the plan.
  • Good Enough SWR ≤ 2 contributes no penalty where the threshold is satisfied.

Directional objectives select a radiation component and one 2D pattern slice:

  • Azimuth measures around the antenna at a selected elevation.
  • Elevation measures above the ground at a selected azimuth.
  • Strongest gain in this slice is the default and follows the strongest sampled lobe for every candidate and frequency.
  • Gain at a specific angle evaluates one direction and prevents the optimizer from switching between lobes.

Use Choose… beside Directional setup to open the temporary direction dialog. It shows one selected pattern preview without adding another permanent panel to the optimization workspace. If a prior multi-angle pattern is available, Workbench initially fills the slice from its maximum-gain direction.

Tracked cuts use 5-degree samples. They can follow a lobe as geometry changes, but are more expensive than a specified direction and may switch between competing lobes. Candidate frequency details show the elevation and azimuth actually selected (NEC θ/φ in the cell tooltip). F/B compares the front with the same elevation turned 180° in azimuth; F/R uses the strongest sample at the lobe's elevation more than 90° away in azimuth, the same rule as the results column and the pattern views. An elevation cut has no azimuth spread, so there F/R uses the back half of the cut. F/R rear region can switch to F/R (3D rear hemisphere), which takes the strongest sample more than 90° from the front at any elevation and adds a 5° grid to every candidate run so those samples exist. Radiation defines forward gain, F/B and F/R as the results column measures them.

Find Sampled Peak (5° grid)… runs a temporary one-frequency, 5-degree radiation grid at the first optimization frequency and uses its sampled peak to seed the default slice. The true peak may lie between grid points; tracked cuts still find the strongest sample in every candidate. It does not start optimization or modify the authored NEC model. Over ground it searches the upper hemisphere; in free space it searches the full sphere. The button changes to Update Sampled Peak… after a usable result and reports when that direction becomes stale after a model change.

An ordinary active-model run with a multi-angle radiation pattern can provide the same seed. Use Latest Sampled Peak then copies the peak direction from the latest active-model pattern nearest the first optimization frequency. When a valid latest pattern exists, enabling a tracked directional objective or selecting a tracked strategy automatically seeds the cut from that pattern's peak. Use Latest Peak to Set Cut manually reseeds it. A prior run is therefore useful for setup, but tracked-cut modes recalculate the strongest direction for every candidate rather than locking to that initial peak. NEC theta is measured down from the +Z axis, so theta 90 degrees is the horizon and may be a pattern null over ground.

Starting Model and Candidate Results

Optimization starts from a solver result for the actual current model. This is the starting model shown in Candidate Results and is called the optimization baseline internally. If no compatible result is available, the run button reads Build Baseline & Optimize. Workbench first runs only the study frequencies and focused outputs required by the enabled objective, then starts the selected search after that baseline succeeds. This internal optimization run leaves the results column unchanged and keeps Optimize in front. Use Run Analysis—or Apply This Candidate and Run—to run the authored deck requests and update the results column.

A baseline is compatible only when its solver-effective model, backend, reference impedance, required frequencies, and radiation coverage match the study. Directional objectives require the same theta/phi cut grid used by their candidates; a broader but different authored pattern is not silently substituted. Comment, formatting, and temporary request changes do not by themselves stale the model fingerprint. The baseline status explains when another run is required.

The candidate table and objective plot retain the evaluated values and score breakdown. The winning row is selected and centered when a study completes. Double-click a candidate to open Candidate Results. Candidate-only SWR/impedance plots are shown first. The Results view also contains the 2D pattern, Directional vs Frequency for Gain/F/B/F/R when available, and Objective Details; the numeric frequency table remains beside Results. This is temporary optimization data, not the active model's live results.

Enable Compare with starting model only when a comparison is wanted. Candidate traces remain solid and starting-model traces are dashed on SWR/impedance, 2D pattern, and Directional vs Frequency views; Objective Details then adds candidate-minus-starting-model deltas for enabled criteria. This compares one candidate with the model recorded before the search, not multiple candidates. The results column remains reserved for normal analysis runs and manually selected historical overlays.

The candidate menu can apply a scored candidate directly to the model or apply it and start a normal analysis. The existing Apply Best to Model action remains the shortcut for the winning row. After evaluation stops, click any numeric column heading from Value through F/R to sort the table; Status and Run remain informational. Gain, F/B, and F/R initially sort highest-first, while the other numeric columns sort lowest-first. Row tooltips retain the full objective score to six decimal places when several displayed three-decimal scores appear tied.

If a required directional result is missing, the candidate remains unscored and the status identifies the affected frequency and direction. Valid impedance measurements remain available for inspection. Workbench distinguishes absent pattern coverage from a solver-reported pattern null (-999.99 dBi).

Candidate measurements remain optimization data until explicitly promoted:

  • Apply Best to Model writes the winning values into active SY definitions.
  • Apply This Candidate to Model applies a manually selected candidate.
  • Apply This Candidate and Run applies it and starts a normal analysis.

Apply is one undoable source edit and leaves the optimizer in front; Undo brings it back. It does not alter archived candidate artifacts.

Choosing a Method

  • Start with Parameter Sweep for one variable or to understand a range.
  • Use Nelder–Mead for a small, smooth, interacting parameter set.
  • Use Differential Evolution when local minima are likely or the initial region is uncertain.
  • Use Adaptive Optimize when you want a simple, inspectable coarse-to-fine search.

Always inspect the winning model, candidate curves, bounds, validation findings, and solver output. An optimizer finds a better score under the stated model and objective; it does not establish physical validity or construction tolerance.

Parameterized Source Example

SY frequency=7.1, halfLength=10.03
SY segments=41, feedSegment=(segments+1)/2
GW 1 segments -halfLength 0 10 halfLength 0 10 0.001
FR 0 1 0 0 frequency 0

Names are case-insensitive and must be declared before use. Expressions support parentheses and +, -, *, /, and ^. Check Model reports expression errors on their source lines. See examples/40m-symbolic-dipole.nec for a complete model.

Practical Guidance

  • Save the authored model before major edits or long studies.
  • Treat warnings as review prompts, not automatic pass/fail judgments.
  • Keep pattern requests no larger than needed.
  • Confirm that optimization bounds are physically meaningful.
  • Re-run the applied finalist as an ordinary analysis.
  • Use AGT and segmentation convergence before trusting small performance differences.

This page on GitHub