← Back to Sommerwire

Sommerwire help

Sommerwire calculates wire antennas with the method of moments: feed impedance, SWR, gain and radiation pattern, over free space, perfect ground or real soil. It reads and writes MMANA-GAL .maa files. This page explains how to use every part of it, which physical models sit underneath, where they come from, and what is known, uncertain or still untested.

This RF.Guru edition of Sommerwire was made by ON9PK Koen Van den Heuvel and ON6URE Joeri Van Dooren (RF.Guru).

Quick start

  1. The first time you open Sommerwire it shows the 3-element Yagi, already calculated, turning in the 3D editor; after that it reopens the tab you used last.
  2. Pick a model from Antennas… at the top, open your own .maa file with Open .maa, or start from scratch with New.
  3. Press Calculate. The readout strip shows impedance, SWR, gain and the main-lobe angle at the calculation frequency.
  4. Look at the antenna and its currents on the 3D editor tab; drag a wire end and watch the pattern change.
  5. Run a Frequency sweep to see SWR, impedance, gain and the Smith chart over a band or the whole HF range.
  6. Use Optimize to let Sommerwire adjust lengths or positions toward an SWR, gain or F/B goal.
Units: coordinates in metres, wire radius in millimetres, frequency in MHz. Azimuth 0° is the +X axis, counting counter-clockwise seen from above; Z is height.

Approaching a model

A result from Sommerwire answers the question you entered, not the antenna in your garden. Joeri Van Dooren (ON6URE) of RF.Guru has written a series of articles on how to use modelling tools well. In short:

The Limitations section lists what Sommerwire itself leaves out.

Using Sommerwire

Examples, opening and exporting

The RF.Guru EFHW16080 preset uses a user-selected 26.00 m mast. The bend and horizontal wire are 26.00 m above ground, and the feedpoint is 3.70 m above ground. The 82 m radiator consists of a 22.30 m vertical and a 59.70 m horizontal. For these fixed dimensions, the model gives 50 Ω SWRs of 3.87 at 1.85 MHz and 1.47 at 3.65 MHz.

The EFOC8040 centre-stub sloper opens at 3.6 MHz and keeps the current polarization view. Feed and top height are both 10 m. With an ideal 4:1 unun, the simulated 50 Ω SWR is 1.46 at 3.6 MHz and 1.64 at 7.1 MHz.

The RF.Guru EFOC17 flat top in RF.Guru Multiband uses the supplied share geometry. Its 16.8 m horizontal radiator has an 8 m feed and top. The coax shield exterior runs about 4.2 m from the feedpoint to the ideal choke at 5.9 m. The preset opens at 7.1 MHz in Horizontal + vertical. Its five default frequencies are 7.1, 14.175, 18.118, 21.225 and 28.5 MHz (40, 20, 17, 15 and 10 m). The respective simulated SWRs on the 50 Ω side of the ideal 4:1 unun are 2.113, 2.435, 11.827, 2.232 and 2.089.

The first three RF.Guru VertX presets in RF.Guru Rigid Multiband Verticals are three supplied Sommerwire share links, kept as they are under new names: RF.Guru VertX A, original layout (ID 57), RF.Guru VertX B, 10 m wire sloped out (58) and RF.Guru VertX C, no 40/80 m wires, 15 and 10 m wires sloped out (59). A 35 mm tube is the radiator and the mast. A lead from the radial plate feeds it at a clamp 0.30 m up, with the source at the plate, and the wire elements leave the clamp through holes 108.2 mm from the tube axis. A and B have wires for 80, 40, 15 and 10 m. The 80 and 40 m wires run up beside the tube and then slope toward a 16 m mast, and B slopes its 10 m wire out. C has only the 15 and 10 m wires, both sloped out. There are 64 radials of 10 m, 5 cm above average soil. The links model every wire as copper, the tube included, although their descriptions call the tube aluminium; the presets keep that. Wires join at their ends only (Junctions: wire ends only), as in the links. Each preset opens at 14.175 MHz, as its link does, and calculates 3.65, 7.1, 10.125, 14.175, 18.118, 21.225, 24.94 and 28.5 MHz (C from 10.125 MHz). The 30, 17 and 12 m bands have no element of their own; they show what an external tuner has to match. Like their links, the presets store no pattern view, so the view on screen stays. With about 1,400 segments, each band takes longer than in most examples. The lengths were tuned in Sommerwire, and the results are simulated, not measured (links, per-band results and limits).

RF.Guru VertX D, 20–10 m (ID 60) follows C. It is not a supplied link: it was designed in Sommerwire for this edition. It keeps VertX C’s tube, feed clamp, feed lead with the source at the plate, 64 radials, soil, copper and junction rule. The tube is the 20 m radiator, 4.22 m above the clamp. The 17 and 15 m wires (4.092 and 3.432 m) run straight up beside it from two of the clamp holes, their tips below the tube top, and the 12 and 10 m wires (2.98 and 2.517 m) slope up and out from their own holes, opposite each other, their tops 0.75 m out. There is no 30, 40 or 80 m element. The tube height, the four lengths and the two slopes were tuned on the whole model for the lowest worst SWR at the band centres, with no tuner or matching device. D opens at 14.175 MHz and calculates 14.175, 18.118, 21.225, 24.94 and 28.5 MHz, where the model gives SWR 1.85, 2.17, 1.88, 2.71 and 1.96. 12 m and 17 m stay above 2: within the agreed geometry nothing brought 12 m lower, and a taller tube that helps 17 m hurts 12 m. The aluminium tube is modelled as copper, as in C, because a model has one material. Like A, B and C, D stores no pattern view. The results are simulated, not measured (design, search, sweeps and limits).

The DX Commander presets are starting models of the manufacturer’s multi-element verticals, built from the cut lengths in its public guides: DX Commander Classic, 40–10 m (ID 51), DX Commander Signature 9, 40–10 m (52), DX Commander Expedition, 40–10 m (53), DX Commander Expedition speed build, 40/20/15/10 m (54, three elements), DX Commander Rapide, 30–10 m (55) and DX Commander Nebula 18 m, 80–17 m (56). Each element’s wire is the guide’s cut length, foldback included. A foldback, or the return of an element taken over the pole top and down the other side (the 40 m element of the Classic, Signature 9 and Expedition, 30 m on the Rapide, 80 m on the Nebula), is a wire of its own beside the element, so folded wire is not counted as height. Every element, fold, the driven plate and the radials are solved together, so each result includes the coupling between the elements; nothing is added for it. Each preset opens on its lowest band and calculates all of them. The circle the elements stand on (60 mm radius, 75 mm on the Nebula), the feed at the plate centre, the plate and radial heights (0.10 and 0.05 m above the soil), the 6 mm between a fold and its element, the side of the 40 m return on the Classic and Expedition (their guides do not give it), the PVC properties, 24 radials of 3 m on all but the Nebula (which has the guide’s 30 of 10 m) and the soil are assumptions; no coax or choke is modelled. The guides tell the builder to tune each element on site, by its foldback or its length, and nothing here is tuned, so several bands show a high SWR. The results are simulated, not measured. The hosted MCP service refuses all bands of a preset in one call and the Nebula from 7.1 MHz up, and its 15 s limit can stop a single solve on the higher bands; the local MCP server solves them all. Sources, pages, coverage, results and what was left out: validation/dx-commander.

The readout strip

After every calculation the strip at the top shows the frequency, the Feed height beside it (metres above the ground of the first source the solve used, the one the impedance and SWR come from, at its position on its wire: begin, end or centre, on a sloping wire too, including the ground height offset; with several sources the line under it says which one; n/a in free space or when no source could be placed, never a guessed 0; it appears with the impedance, before the far field), the Top height beside that (metres above the ground of the highest point of the modelled wires, the largest wire-end height of the solved model on show, with the same ground height offset and the wire named under it; it is not the feed height, a preset's nominal height or an elevation angle; n/a in free space or when no wire point could be placed), feed impedance R + jX of the first source (after its balun, if it has one), SWR against the reference impedance (computed from that feed impedance, not from the far field), maximum gain (dBi; the largest total-field gain over all directions), F/B (that maximum against the direction 180° away in azimuth at the same elevation), RDF all-sky (a separate figure beside F/B: gain toward the total-field maximum minus the mean gain over the whole visible sky, with the low-angle-noise figure in small print under it; assumptions), the elevation of the maximum and the polarization (what the label means). Four more tiles give component peaks, each searched on its own over the pattern: H peak and V peak (the largest H (φ) and V (θ) gain anywhere: horizon to zenith over ground, the full sphere in free space, each with its own elevation and azimuth), Low-angle 5–30° · DX (the largest H gain and the largest V gain between 5° and 30° elevation, side by side) and High-angle 60–90° (the same two between 60° and 90°), all azimuths. In the two window tiles the component that matches the polarization of this antenna at this frequency is highlighted: H for a result named Mostly H or Horizontal, V for Mostly V or Vertical, and neither for Mixed H+V, which the small print states; the other component always stays on show (how the windows are named and highlighted). The high-angle tile is called NVIS, with the band, only when the frequency lies inside an amateur band from 160 m to 30 m. None of them is derived from Max gain, which stays the total field (H and V power together) toward its own maximum. “DX” and “NVIS” only name the windows: the figures are antenna figures that say how strongly the pattern radiates each component at those elevations, not that a path exists there (the ionosphere is not modelled). A peak on the edge of its window means the component is still larger outside it; a peak at the zenith has no meaningful azimuth. The window tiles read n/a in free space; all four are marked ≈ when the pattern is approximate and dim with the rest of the strip after a model edit. RDF and polarization are marked ≈ when the pattern is approximate and read n/a when no figure could be made; F/B stays as it is. After a model edit the strip is dimmed until the next result, because it still shows the previous model. For a maximum near the zenith, F/B compares two almost overhead directions and stays near 0 dB; the Far field tab has an angle summary for such antennas. For an example that lists several band frequencies (the RF.Guru EFHW16080, EFHW8040, EFOC17, EFOC29, EFOC8, EFOC8040 centre-stub sloper and the TermiLoop models), a Bands row under the strip shows the SWR, R + jX, F/B and RDF all-sky at each of them (F/B and RDF toward that band's own maximum; the selected band is outlined), all solved for the model as it is now. The selected band comes first; the others follow, each as soon as it is solved (“…” while on its way; “–” with the reason in its tooltip and among the warnings when a band could not be calculated). On a computer with cores to spare a few extra browser workers solve them side by side; ?workers=1 in the address keeps them on one worker, one after another. Any model edit blanks the row until the next full calculation, and clicking a band makes it the calculation frequency. On the Geometry tab the row stays pinned at the top of the window while you scroll. The status line underneath gives the number of segments and unknowns, the time taken and how many warnings were raised; warnings are listed on the Calculate tab and should be read, because they flag situations where the numbers are not trustworthy.

Geometry box under the readout

Directly under the readout strip, a compact box gives what the wires of the calculated model measure, in metres. It uses the same solved model as the readout for examples, opened .maa files, share links and your own edits. After an edit it is dimmed with the readout and keeps the solved figures until you calculate again. It is not in the embedded presentation.

Power box under the geometry box

Under the geometry box, one more compact box says where the power that the sources accept goes in the calculated model, as shares of that accepted power. It belongs to the same solve as the readout, is dimmed with it after an edit, and is not in the embedded presentation. These are figures of the simulation, not measurements: they are as good as the model and no better.

A balance that adds up shows that the currents and their far field agree. It does not show that the segmentation is fine enough: a coarse mesh can close within 0.02 % while its feed resistance is 15 % off (how it was checked).

Radio side: from the antenna to the radio

Koen’s model of what lies between the antenna and the radio: a real unun or balun, a feed line, a tuner, and the heat in every ferrite core. You set it up in the Radio side card on the Calculate tab; a part you leave unset is not modelled, so a model without a radio side gives exactly the figures it always gave. With one, the page keeps each reference plane apart:

Under the power box a third box lists the planes, the tuner’s parts, and From the radio: where the radio’s power goes, as shares and in watts at the transmit power. The rows are the power reflected at the radio, the tuner, the feed line (its loss inside the coax, between its conductors; a current on the outside of a shield is a wire of the model when you draw one, and its loss is then the antenna’s), the unun or balun (core, winding and line), ferrite chokes, other loads, the wires, the radiated share, and the remainder, which keeps its name from the power box: Ground and unresolved over real ground, Unresolved otherwise. A mismatch is taken once, at the radio, and only when a tuner is set: None is a radio of the SWR reference impedance (Conditions, 50 Ω unless you set it) without a tuner, which reflects |Γ|² of what it would deliver into a match; a tuner that cannot match is left out of circuit and the mismatch is taken the same way. With no tuner set, the shares are of the power the radio delivers and nothing is called reflected. The toolbar’s No tuner / Internal tuner choice stays what it was: it only colours the SWR figures and models nothing.

Heat in the ferrite follows: for the unun or balun and each ferrite choke, the average power in the core at the transmit power and mode, its temperature at the air temperature you set, its Curie temperature, the flux, and the transmit power at which it would reach its Curie temperature, marked OK, Warm or Too hot. The transmit power is taken as you set it, 0 W too: at 0 W nothing heats and every core is at the air temperature. Notes give the voltage at the unun’s input and, for a tuner, the coil current and the peak voltage on each part. All of it is modelled with the methods below, not measured (feed line, ununs, baluns and chokes, tuner).

Geometry tab

The top section holds the antenna name, the design frequency and an editable comment: the comment section of a .maa file is shown there when you open it, and whatever you type is written back on Save .maa.

The Bands row of a multiband model stays pinned at the top of the window while you scroll through the tables or the 3D editor. Updated band results appear there when a wire edit is recalculated. On a phone, Bands pins under the tab bar as one row that scrolls sideways. In the other tabs it scrolls with the page. In ?embed=1, the pickers and the selected band's result sit above the 3D view.

In the embed, Feedpoint height and Top height sit between Bands and the Sommerwire link, above the pickers. They use the same solved result as the selected band and include the ground height offset. Both are in metres above ground. The heights can wrap in a narrow frame. A pending or failed calculation shows dashes, and a solved height with no ground reference or usable point reads n/a. The default flat top reads 8 m for both heights, and the shared EFOC29 inverted U reads 6 m at the feedpoint and 12 m at the top.

The model as tables. Every cell accepts an expression with + − * / ( ) and the constants R (one wavelength at the design frequency), I (inch) and F (foot), for example R/4 or 33*F.

3D editor

In a multiband model, Bands stays pinned while you scroll through the 3D editor and its wire inspector.

Calculate tab

Far field tab

Frequency sweep

Optimize

Add MCP to your AI agent

Sommerwire has a small Model Context Protocol (MCP) server. With it, an AI agent can check and calculate Sommerwire models and give you links that open them in this app. The agent gets the same engine and the same examples as this page, so it gets the same figures.

Hosted server: copy this address

https://mcp.sommerwire.app/mcp

Paste this address into your agent's MCP settings. It uses Streamable HTTP and needs no login, account or key. It is an MCP address, not a web page. A browser that opens it gets an error, because MCP clients send their requests with POST. You can also run the same server on your own computer, offline and private.

What the hosted server receives. Your agent sends each tool call to the hosted server over HTTPS. That includes the whole model, any .maa text and any share link with the model in it. The server processes it in memory and answers. It keeps no copy, does not log request contents and fetches no links. Google Cloud, which runs it, can record request details such as the time, the address it came from and the status. Your AI provider also sees the tool calls and results. Do not send models you want to keep private. Use local stdio for those.

Public usage limits

The hosted server is a single small public instance, and all users share it. It is free and has no guaranteed availability. It can be limited or switched off at any time.

A model over these limits gets an error that says so. Solve fewer frequencies (include_bands: false), use coarser segmentation, or use local stdio, which has more generous limits. The MCP server README has the full list.

Where it works

AgentHosted serverLocal stdio
Claude Code (terminal, IDE)YesYes. It starts local stdio servers.
Claude on the web (claude.ai), Claude Desktop and mobileYes, as a custom connector. Claude connects to it from Anthropic's cloud, not from your device. Free plans can add one custom connector. On Team and Enterprise plans an owner adds it first.Claude Desktop only, through its local configuration file.
OpenAI Codex (CLI, IDE extension)YesYes. Codex starts local stdio servers.
ChatGPTIt depends on your plan and workspace settings. Sommerwire has not been tested with ChatGPT. See ChatGPT.No. ChatGPT does not connect to localhost.

What the agent can do

Four tools. All of them are read-only. They write no files, run no commands, publish nothing and never fetch a URL, not even a share link you pass them. Each takes one model: Sommerwire model JSON, a Sommerwire share link, the text of a .maa file, or a built-in example by its menu name.

Every solve result is a simulation, not a measurement. It lists the model's assumptions, every solver warning and flags for uncertain figures. Ask your agent to pass these on with the numbers.

A model may carry a load with a measured Z(f) table (Measured loads). The tools use it as given, name it in the assumptions as unverified data, and refuse a frequency outside its rows: measured data is never extrapolated.

Claude Code

claude mcp add --transport http --scope user sommerwire https://mcp.sommerwire.app/mcp

--scope user makes it available in every project. Leave it out to add it to the current project only. Check it with claude mcp list in the terminal or /mcp inside Claude Code. To share it with a project, put it in a .mcp.json at the project root:

{
  "mcpServers": {
    "sommerwire": { "type": "http", "url": "https://mcp.sommerwire.app/mcp" }
  }
}

Claude on the web, Desktop and mobile

  1. Open Customize, then Connectors. Click + Add, then Add custom connector.
  2. Enter the name Sommerwire and the address https://mcp.sommerwire.app/mcp, then click Continue.
  3. Under Authentication, choose No sign in, then click Add.

On Team and Enterprise plans, an owner first adds the connector under Organization settings, then Connectors. Members then connect it from Customize, then Connectors. Anthropic changes these menus from time to time. The Claude help article has the current steps.

OpenAI Codex

codex mcp add sommerwire --url https://mcp.sommerwire.app/mcp

This writes the server into ~/.codex/config.toml, which the Codex CLI and the Codex IDE extension share. You can also write it there yourself:

[mcp_servers.sommerwire]
url = "https://mcp.sommerwire.app/mcp"

Check it with codex mcp list, or /mcp inside Codex.

ChatGPT

Custom MCP servers in ChatGPT depend on the plan and the workspace. According to OpenAI, full MCP is available on Business, Enterprise and Edu, where an admin may need to allow it first. Pro users can connect custom MCP servers with read and fetch permissions. The menus and plans change. Check OpenAI's help article for your account. Sommerwire has not been tested with ChatGPT. If your plan allows custom MCP servers, use the hosted address above with no authentication. Otherwise:

A chat without the Sommerwire tools cannot calculate Sommerwire figures or make working Sommerwire links. Do not use a sommerwire.app/#sw=… link that a chat wrote itself. Only links from the share_link tool or the Share link button are generated from the model.

Local stdio: offline and private

The same server also runs on your own computer. Your agent starts it as a program and talks to it over standard input and output (stdio). Models then stay on your computer and are calculated there, with the local limits. A cloud-based agent still sends tool calls and results to its AI provider. Claude on the web and mobile and ChatGPT cannot start local programs. localhost and a path on your disk are not addresses for them.

  1. Node.js 20 or newer, and git.
  2. A copy of the repository and its pinned packages:
    git clone https://github.com/Guru-RF/sommerwire.git
    cd sommerwire/mcp
    npm ci
  3. The absolute path of mcp/src/server.js in that copy. Below, replace /path/to/sommerwire with the folder you cloned into. On Windows, write the path with forward slashes or doubled backslashes inside JSON.

No account, key or other setting is needed. Full details, limits and a worked example are in the MCP server README.

Claude Code:

claude mcp add --scope user sommerwire -- node /path/to/sommerwire/mcp/src/server.js

Or in a project's .mcp.json:

{
  "mcpServers": {
    "sommerwire": { "command": "node", "args": ["/path/to/sommerwire/mcp/src/server.js"] }
  }
}

Claude Desktop: open Settings, then Developer, then Edit Config. That opens claude_desktop_config.json (on macOS in ~/Library/Application Support/Claude/, on Windows in %APPDATA%\Claude\). Add:

{
  "mcpServers": {
    "sommerwire": { "command": "node", "args": ["/path/to/sommerwire/mcp/src/server.js"] }
  }
}

If the file already has an mcpServers section, add the sommerwire entry inside it. Save, quit Claude Desktop completely and start it again. Use a different name, such as sommerwire-local, if you also add the hosted connector.

OpenAI Codex:

codex mcp add sommerwire -- node /path/to/sommerwire/mcp/src/server.js

Or in ~/.codex/config.toml:

[mcp_servers.sommerwire]
command = "node"
args = ["/path/to/sommerwire/mcp/src/server.js"]

Each client keeps one entry per name, so choose the hosted or the local sommerwire, or give the second one another name.

Example request

After setup, start a new conversation in your agent and paste:

Use the sommerwire MCP tools. For the built-in examples
"RF.Guru EFOC29 end-fed off-centre, 80–10 m, 4:1, flat top" and
"RF.Guru EFOC29 end-fed off-centre, 80–10 m, 4:1, sloper", call solve
once per band, with include_bands: false and frequency set to 3.6,
7.1 and 14.175 MHz in turn.
Give the SWR per band for both, with the warnings, flags and assumptions,
and say clearly that these are simulations, not measurements.
For each model, call share_link and give me the exact url it returns,
unchanged. Do not write, shorten or edit a Sommerwire link yourself; if
share_link fails, tell me the error instead of giving a link.

Open each returned link to see the model here, and press Calculate to check the figures yourself. The request asks for one band per call so that each solve stays within the hosted server's 15 second limit. With local stdio you can ask for all bands at once.

Sources

Checked on 2026-11-29. These products change, and the official pages are authoritative.

The models inside

This section says what each part of the calculation does, why it was chosen and what it is based on. Sommerwire was written from the published descriptions of these methods; no code from MMANA-GAL, MININEC or NEC was copied. The sources are listed at the end.

Wires: method of moments (MININEC style)

Each wire is cut into segments. The unknowns are the currents at the nodes between segments, each spread as a pulse over the two half segments around its node; the charge on each segment follows from the change of current (continuity). The electric field along the wire must cancel the source field; that condition is imposed at each node by integrating along the path from the middle of one segment to the middle of the next (point matching). Vector and scalar potentials use the reduced thin-wire kernel: the current is taken on the wire axis and the field point on the wire surface.

Segmentation

Segment lengths follow MMANA-GAL's scheme. DM2 sets the longest segment (λ/DM2); DM1 with SC sets the shortest, λ/(SC·DM1), used near wire ends, corners and feed points where current changes fastest. Seg per wire: -1 tapers both ends (recommended), -2 and -3 taper one end only, 0 uses even segments, a positive number fixes the count. No segment is made shorter than two wire radii. Finer segmentation is usually more accurate (check it by comparing two segmentations) and always slower; the model is limited to 2500 unknowns.

Because segments scale with the wavelength, a long wire that is only there for its influence, such as a mast or a long boom, can need far more segments at VHF/UHF than the antenna itself. When a model would exceed the limit, Sommerwire cuts such long passive wires (longer than one wavelength, with no source, load or transmission line on them) into coarser segments, longest first: about λ/20, and λ/10 if needed. Their current usually changes slowly, so the result hardly moves (for a dual-band 2 m/70 cm Yagi pair on an 18 m mast, λ/20 and λ/10 on the mast gave identical impedance and gain), while the elements keep their fine segmentation. A passive wire close to the antenna does carry induced current, though, so check it: the warning names the wires and their segment counts. Set Seg on those wires to the counts given, then make one wire finer at a time (as far as the 2500-unknown limit allows) and compare impedance and gain; if they hardly change, the coarse segmentation is good enough. Setting Seg yourself overrides the automatic choice. Models that fit are never changed.

Junctions

Which wires are joined is decided in the mesh. Mesh nodes that fall on the same point, within 0.01 mm, become one node, and current passes from one wire to the other there. A wire end is always a mesh node, so wires whose end points coincide are always joined. A point inside a wire is a mesh node only where a segment boundary falls. A wire end that rests on the inside of another wire (a T drawn on an unbroken wire) and two wires that cross are therefore joined at one segment count and open at the next, and with automatic segmentation at one frequency and not at another. The calculation gives no warning of it. Example: a 10 m wire with a branch from its middle, in free space at 14.175 MHz, gives 708.8 − j2563.2 Ω with 20 segments on that wire, where the branch is joined, and 743.5 − j2517.8 Ω with 21, where it is open.

The Geometry box shows what the solver built: the junctions with the number of conductors on each, the open ends, and what looks like a slip. It never joins, moves or splits anything.

Wire ends only (Calculate tab, Junctions) is an optional rule: wires join where wire ends meet and nowhere else. The T on an unbroken wire is then open at every segmentation (743.9 − j2517.0 Ω with 20 segments, 743.5 − j2517.8 Ω with 21), a crossing is never joined, and junctions made of wire ends are calculated exactly as before. A wire end on another wire and a crossing are then listed as open, as notes. To make a branch, split the wire where the other one joins it; that includes the centre of a centre-fed wire. The setting travels in share links and, as a Sommerwire JUNCTIONS: explicit comment line, in .maa files. The default, Mesh nodes, is the rule Sommerwire has always used: models, links and files without the setting give the results they gave before.

A joint on the centre of a wire that has a source or load at its centre is always there, because such a wire gets an even segment count; it is listed as centre node and not warned about. House wires are counted, not listed. For a model with more than 2500 unknowns the list can be that of the mesh before the long passive wires are cut coarser; the box and the warning list then say so. Parallel wires that overlap along their length are seen only where a wire end rests on the other wire.

Mesh convergence check

A calculation uses one segmentation. The optional check at the end of the Calculate tab solves the same model three times in your browser: level 1 as modelled (exactly the mesh of a normal calculation), level 2 with segments half as long and level 3 with segments a quarter as long. DM1 and DM2 are multiplied and so is a fixed Seg count, so tapered wires stay tapered. The table names the solved source and its original wire. R and jX are at that source’s antenna terminals, before the ideal feed ratio or radio-side network. Expand a solved segment total to inspect the mesh by wire. Changes in impedance and peak gain compare adjacent levels only when the physical attachments, connections and results are comparable.

VerdictMeaning
ConvergedThe wires are connected the same way on all three levels. At the last refinement |Z| changed by less than 2 %, its phase by less than 2° and the gain by less than 0.15 dB, and the change is shrinking: at least a tenth smaller than at the refinement before. A change under a quarter of a limit is too small for its trend to be judged; it counts as well, and the reason says so.
Not convergedSame connections, but a limit is exceeded, or the change is inside the limits and does not shrink. An evenly divided 10 m dipole, for example, moves by 1.10 Ω and then by 1.07 Ω: both inside the limits, and not converged.
Topology changedRefinement changed how the wires connect, so the levels are different antennas. This is never called converged, whatever the numbers are, and no value is marked as passed. The usual cause is a wire that ends on another wire away from that wire's ends: it connects only where the other wire happens to have a node. Split the other wire at that point. With Junctions → Wire ends only such a point is open on every level, so the levels are one antenna.
UnstableA level is not physical (the antenna takes no net power from its sources), a feed resistance changes sign between levels, or a change over its limit grows with refinement.
UnavailableThe check could not be made: a level is over the budget or over the solver's 2500 unknowns, a level is no finer than the one before, a level failed, Targeted cannot keep junctions at wire ends only, the frequency is outside a measured table, or the check was cancelled. It is also unavailable when the levels cannot be compared: two sources share a position, a source, load or line sits at another point of its wire on another level (see Line ends at a wire centre), the peak gain of a level was limited to its input power, or a level has no usable peak gain. The reason is given.

The limits of 2 %, 2° and 0.15 dB are engineering limits that were tried on a few named models. They are not a guarantee for every antenna. The values of the last refinement are marked green or red against them only when the verdict is Converged or Not converged. A change over its limit that grows with refinement (Unstable), the change from level 1 to level 2 of a check that its time estimate stopped before level 3 (Unavailable) and a result of an earlier model are shown without marks. Otherwise the changes are not shown (–), and neither are R and jX of a level that is not physical or whose source cannot be identified.

Level 3 is a fine comparison, not ground truth. All three levels use the same thin-wire model, source model and ground model, so they can agree with each other and share the same error. Converged means the result no longer depends much on the segmentation in this solver. It does not mean the result is right. Thin-wire results also get less reliable as segments approach the wire radius, so a still finer mesh is not automatically better: the check says how many wire radii the shortest segments of level 3 are when that is under 8. On the DX Commander at 14.175 MHz, one more doubling of the targeted mesh moved the impedance by another 0.45 Ω. The controls and all figures are in validation/convergence.

Four-port drive study

For one model only, the bundled 4-square vertical array, 40 m at a calculation frequency of exactly 7.1 MHz, the Calculate tab offers an optional study of its four feeds together. Press Run the study: a background worker of your browser builds the impedance matrix of the model once, exactly as a normal calculation does, factors it once and solves it for four drives, +1 V across one feed and 0 V across the other three. That gives the raw terminal admittance Y, a 4 × 4 complex matrix. Any four drive voltages you then type give the four feed currents as I = YV, on the page, without solving again.

How it was checked: each column of Y is, bit for bit, the feed currents of a normal calculation with +1 V on that feed and 0 V on the others. For every drive tried (the bundled drive, one feed shifted by 15°, one halved, all at 0 V, one feed at 0 V, a drive with returned work, a current null at one feed, and other orders of the source rows) the currents and the work agree with a normal calculation within 10⁻¹² A + 10⁻¹⁰ of the largest current, and 10⁻¹² W + 10⁻¹⁰ of the largest port work. The checks are in tests/four-port.test.js and tests/four-port-browser.test.js.

Ground models

SettingWhat it doesUse it forBased on
Free spaceNo ground at all.Reference values, antennas far from the ground.—
Perfect groundInfinite perfect conductor at Z = 0: every wire has a mirror image.Ground planes over sea water or a large metal surface; comparisons with textbook values.Image theory.
Real ground, Sommerfeld (default)Exact field of a current element above a flat homogeneous lossy ground, from Sommerfeld integrals: ground loss, near-field coupling to the soil and the change of resonance are all included, at any height.Everything over real soil, especially radials, low dipoles and feed lines near the ground.Sommerfeld's half-space solution, organised as NEC-2 does (quasi-static image plus tabulated remainder).
Real ground, complex imageThe soil acts like a mirror buried at a complex depth d = 1/(jk₀√(εc − 1)).Quick work high above the ground. Closer to the soil it underestimates ground loss: for a 20 m dipole (14.05 MHz) over average ground the feed resistance comes out 76 Ω too low at 0.3 m and 36 Ω at 1 m, and the peak gain 5.9, 3.5, 0.7 and −0.1 dB off at 0.3, 1, 3 and 10 m (2.6 dB at 1 m over poor ground), all compared with Sommerfeld. Very close to the soil it can even give a negative feed resistance. Sommerwire warns below 0.2 λ; there is no sharp limit. Thanks to Joeri van Dooren for these comparisons.Complex image theory (Wait, Bannister).
Real ground, perfect mirrorImpedance over a perfect mirror; the pattern still uses real-ground reflection, so the gain is marked ≈ (approximate) and can be far too high for wires close to the ground.Reproducing MININEC or MMANA-GAL numbers.MININEC practice.

How the Sommerfeld ground is computed

For a current element above ground, the reflected field is written with Hertz potentials as integrals over the spectral variable λ of Bessel functions times reflection factors: Rv = (k₁²u₀ − k₀²u₁)/(k₁²u₀ + k₀²u₁) for vertical currents, Rh = (u₀ − u₁)/(u₀ + u₁) for horizontal currents, and a coupling term P = 2(u₀ − u₁)/(k₁²u₀ + k₀²u₁) that turns horizontal currents into vertical fields, with u = √(λ² − k²). Sommerwire splits the reflected field in two:

  1. a quasi-static image: the perfect mirror image scaled by Γ = (εc − 1)/(εc + 1). This part carries the near singularity and is integrated with the same reduced wire kernel as the wires themselves;
  2. a remainder that is only weakly singular. It is computed from the Sommerfeld integrals once per frequency on a grid of distance and angle around the image point (typically 600–2000 points, 20–70 ms), multiplied by R′ejkR′ so that it varies smoothly, and interpolated while the matrix is filled.

The integrals run along the real λ axis: substitutions remove the square-root singularity at λ = k₀, the subdivision is refined toward it, and the oscillating tail is summed per half period and accelerated with Wynn's ε-algorithm. The integrands are written in a form without cancellation (δ = u₀ − u₁ = (k₁² − k₀²)/(u₀ + u₁)), which matters for wires a few centimetres above the soil. This is the same organisation as NEC-2's ground routine; the formulas were derived here from the half-space boundary conditions, not taken from NEC code.

If any wire touches the ground (a ground-mounted vertical, a downpipe), the whole impedance is solved over the perfect mirror, even when that wire is far from the antenna or not connected to it (the status line names the wires), as MMANA-GAL does, and a warning says so: mixing ground models in one solution is not energy-consistent, and current cannot flow into the soil in the image models. The ground loss of such a connection is then only the load you put at the base. Buried wires are not supported.
Gain with the perfect mirror over real ground. In both cases above (and with Perfect mirror chosen), the currents come from the mirror but the pattern from real-ground reflection. These two do not conserve energy. For wires well above the ground the result is close, but a horizontal dipole at 1 m on 20 m, for example, shows 10.3 dBi while its pattern would hold 1.8 times the power fed in, which is impossible (Sommerfeld gives −0.8 dBi). Sommerwire therefore marks such gains with ≈ and checks the power in the pattern: if it exceeds the input power, every gain is lowered until the two are equal, and a warning gives the amount. The limited gain is still too high, because the soil absorbs power that the mirror does not. Ground-mounted verticals are less affected, but their gain is approximate too. Thanks to Joeri van Dooren for finding this.
Buried radials cannot be modelled. Sommerwire has no model for wires in the soil, so a vertical over buried radials, or over radials lying on the ground, is not calculated correctly: Two workable stand-ins: leave the radials out, put the vertical on the ground and add the ground loss as a resistance at its base (as in the 4-square example; roughly 2 Ω for about 120 quarter-wave radials, 5–15 Ω for 16–32, 30 Ω or more for a ground rod alone; these are rules of thumb, not calculations), Raising the radials a few centimetres above the ground is not a substitute: the Sommerfeld ground calculates that correctly, but it is a different antenna, an elevated radial system. For a 40 m quarter-wave vertical with radials 5 cm up, Sommerwire gives only 0.2–0.5 dB more gain for 64 radials than for 4, while Rudy Severns (N6LF) measured several dB (5.8 dB in his setup) between few and many radials lying on the ground (Experimental Determination of Ground System Performance for HF Verticals, QEX, 2009–2010). Use raised radials only to model radials that really are raised. Thanks to Joeri van Dooren for pointing this out.

Far field, gain and F/B

Low-angle (DX) and high-angle (NVIS) windows

The two window tiles of the readout are antenna figures: the largest H (φ) gain and the largest V (θ) gain inside a fixed range of elevations, all azimuths, each found on its own (the 1° × 4° sky grid of the angle summary, then refined on the pattern to 0.25° without leaving the window). They need a ground and read n/a in free space.

Polarization: H, V and Mixed H+V

Where SWR comes from

The tuner menu beside Calculate changes the SWR colours in the readout strip, band buttons and sweep’s Best SWR column. It uses the calculated SWR before rounding and leaves the values and optimization goals unchanged. The read-only embed always uses the Internal tuner colour profile, including for shared antennas.

These generic limits give no guarantee of a match. The range of a particular tuner depends on its design, frequency and the impedance it sees.

The impedance and the SWR come from the feedpoint of one coupled solution of every modelled wire: the vertical and horizontal legs, radials and the return path (for the RF.Guru EFHW and EFOC examples the outside of the coax shield up to the choke) are all in the same set of equations, and the source current of that solution gives R + jX. The far field is computed afterwards from the same currents. SWR is never derived from a pattern, a gain or a polarization component, and no polarization view changes it; changing the length of any leg or of the return path does (shortening the EFHW8040 vertical leg, horizontal leg or shield by a fraction of a metre moves the SWR on both 80 and 40 m).

Angle summary and RDF

Wire loss and loads

Feed line

The feed line is a lossy transmission line between the radio and the first source (each source of an array gets its own). Its matched loss is written as k₁√f + k₂·f (dB/100 m, f in MHz): the first term is conductor loss (skin effect), the second dielectric loss. From that split, Z0 and the velocity factor, the line’s resistance, inductance, conductance and capacitance per metre follow, so the characteristic impedance turns slightly complex at low frequencies, as in real coax, and the line is solved exactly: the impedance at the radio end and the share of the power that reaches the antenna. Each line of an array is solved from the current of its own source, so the power at both of its ends is known with its sign: a source that takes power from the array sends it down its line to the radio, which then gets the part the line does not lose; the line’s loss in dB is taken in the direction the power flows, and a line that gets power at both ends has none in dB, only the watts it dissipates. A line’s loss follows from that current, not from the power its antenna takes, so a source with no real power of its own (at 0 V, the array still driving a current through it) loads its line all the same: the line dissipates what its radio puts in, none of it reaches that antenna, and its loss in dB has no bound. All lines together pass on what reaches the antennas over what the radios put in. A mismatched line loses more than its matched loss: at 14 MHz, 30 m of RG-213 loses 0.75 dB into 50 Ω and 1.13 dB into 150 Ω (SWR 3). A long lossy line also makes the SWR at the radio look better than at the antenna, because the reflected power is partly lost on the way back.

CableZ0 ΩVF1.8 MHz3.6142850145 MHz
RG-58500.661.82.65.37.810.720.0
RG-8X500.781.62.24.46.38.515.0
RG-213500.660.91.22.53.64.98.8
H155500.791.21.73.44.96.511.2
Aircell 7500.830.91.22.53.54.78.1
LMR-400500.850.50.71.52.12.84.9
Ecoflex 10500.860.50.71.42.02.84.8
H2000 Flex500.830.50.71.42.02.74.7
Ecoflex 15500.860.40.51.01.52.03.4
RG-174500.664.26.011.716.622.237.8
RG-6750.820.91.22.43.44.67.9
RG-11750.780.60.91.82.63.56.2

Matched loss in dB/100 m from the fitted formula. Koen fitted the figures to published tables: W2VA (RG-58, RG-8X, RG-213, RG-174, RG-6, RG-11, converted from dB/100 ft), VK5BAR (LMR-400) and SV1BSX (Aircell 7, Ecoflex 10 and 15, H155, H2000 Flex, 50 MHz and up, so their HF figures are extrapolated with the √f law). From 10 MHz up the fit is within about 7 % of the tables. Velocity factors are typical datasheet values; real cables vary between makes, with age and with water in them, so enter your own figures if you have them. Limits: the feed line is the differential mode only, the loss inside the coax between its conductors. It does not radiate and has no outside: a common-mode current on the outside of a shield exists only when you draw that shield as a wire of the model (see Transmission lines), and its loss is then counted with the antenna’s wires and loads. Connectors are not included.

Ununs, baluns and ferrite chokes

Koen’s model is based on the work of Owen Duffy (VK1OD, owenduffy.net) on ferrite-cored transformers and chokes: a winding of N turns on a toroid of cross-section A and path length l has the impedance Zw = jωμ₀N²(A/l)(μ′ − jμ″), so a voltage V across it loses |V|²·Re(1/Zw) in the core. The complex permeability μ′ − jμ″ comes from Fair-Rite’s published data for 31, 43, 52 and 61 material (0.1–120 MHz); the toroids are Fair-Rite’s FT50, FT82, FT114, FT140 and FT240 sizes, one or more stacked.

Because the antenna’s own impedance is the load, the loss follows the antenna across the band: an EFHW unun loses most where the antenna is far from its nominal 2450 Ω, and its magnetising inductance and capacitors change the SWR the coax sees. A real unun or balun applies to a model with one source; with several, the page says it is left out. When its ratio is far from the Balun ratio of the source (more than a factor 1.25), the page warns: the antenna is the same, but the coax sees a very different impedance.

The core temperature follows natural convection from the whole surface of the core, ΔT = P / (h·A), with h = 10 W/m²K (Owen Duffy’s figure, as used by Martin Blustine, K1FQL, in his N1FD articles on ferrite losses; the US Army Research Laboratory measured up to about 14 W/m²K in moving air, report ARL-MR-595). P is the average power in the core for the chosen mode, and the ambient is the air around the cores, 50 °C unless you set it, because inside a closed box in the sun it easily gets that warm. The Curie temperatures are 130 °C for 31 and 43, 250 °C for 52 and 300 °C for 61; the status is Too hot above it and Warm within 20 °C of it. As a check this gives N1FD’s limits: an FT240 of 43 material can dissipate 6.17 W on average and an FT140 2.79 W between 50 °C and 130 °C. Not included: the core heats up over minutes, so a short transmission stays cooler than the steady state shown, and the loss itself rises with flux and temperature beyond the small-signal data.

Koen’s reference calculation of all twelve designs is part of the tests, so the results cannot drift unnoticed. Limits: Fair-Rite’s μ′ and μ″ are small-signal data (below 1 mT, 25 °C), and real loss at the flux of a 100 W EFHW (several mT) and at high temperature is higher, so treat the loss and heating as optimistic; part tolerance is about ±20–25 % on μ; leakage inductance and winding capacitance depend on how the transformer is wound, so measure yours. A choke is a lumped load: the coax wound on it takes no length in the model. Fair-Rite’s tables stop at 120 MHz; above that the 120 MHz values are used and the page warns, so ferrite results on 2 m and 70 cm are rough guesses.

Tuner

The tuner matches what it sees to the reference impedance (the SWR reference in Conditions, 50 Ω unless you set it), with lossy parts: a coil is ωL/Q + jωL, a capacitor 1/(ωC·QC) − j/(ωC).

Where the tuner sits matters. At the radio, the feed line runs at the antenna’s SWR and loses more than its matched loss. At the antenna, the line runs matched. In Koen’s EFOC29 example with 25 m of RG-58 on 3.6 MHz (SWR 3.05 at the radio), with the default parts (coil Q 120, capacitor Q 1000), this edition gives these shares of the radio’s power radiated: 23 % with no tuner (None, 26 % reflected), 27 % with a T network at the radio (which takes 13 %), 31 % with an L network at the radio (under 1 %), and 35 % with an L network at the antenna, where the coax loses its matched 0.65 dB instead of 1.13 dB. With no tuner set, nothing is reflected by definition: 31 % of the power the radio delivers is radiated.

Checked: lossless parts match exactly; an L network from 200 to 50 Ω loses about Qnet/Qcoil = √3/100 = 1.7 %, as the textbook approximation says; for the same inputs Koen’s own engine gives the same numbers for the networks, lines, transformers and core figures, and the same chain within 10⁻⁹ (How it was checked). Limits: the parts are ideal apart from their Q (no stray capacitance, no self-resonance of the coil, no switching steps), and a tuner at the antenna is fed through the coax from 50 Ω.

Measured loads: a Z(f) table

A load of the type Measured Z(f) table carries the impedance of a real part as it was measured, in place of ideal component values. It is optional. Every other load and every saved model works as before.

Nothing checks that the table is right, or that the part in the antenna is the part that was measured. A result with a measured table is still a simulation. How the table is placed in the model was checked against analytic controls (How it was checked). Whether a model agrees with a built antenna can only be shown by calibrated measurements. The repository holds a protocol, capture templates and registered holdouts for that in validation/field, and no measured data yet.

Insulated wire

A plastic jacket around a wire slows the wave along it, so an insulated dipole resonates lower than a bare one of the same length (or must be cut shorter). Sommerwire models the jacket as a series impedance per metre of wire, the thin-sheath approximation that NEC-4's insulated-wire option also uses:

Z′ = jωμ₀/(2π) · (1 − 1/ε*) · ln(b/a), ε* = εr(1 − j tan δ)

with a the wire radius and b = a + the insulation thickness. The real part of Z′ is the dielectric loss, from the loss tangent. For a 2 mm wire with 0.8 mm of PVC (εr 3.5) the 20 m dipole resonates 2.6 % lower, with polyethylene (εr 2.3) 2.0 % lower, in line with the 2–5 % usually measured. The approximation holds for a jacket thin compared with the wavelength, which is always the case for wire antennas. Typical values: PVC εr 3–3.5, tan δ 0.01–0.05; polyethylene 2.3 and PTFE 2.1, both with tan δ below 0.001.

Transmission lines

Lines are described by their admittance matrix: Y₁₁ = Y₂₂ = coth(γL)/Z0, Y₁₂ = ∓csch(γL)/Z0, with γ = α + jβ, β = k/VF and α the matched loss in nepers per metre (dB/100 m ÷ 868.6, scaled with √(f/floss)). Without loss this is −j cot(βL)/Z0 and ±j csc(βL)/Z0. Z0 is taken as real, which is accurate for HF coax and ladder line. The antenna is solved once with a unit voltage at each line end ("port"); the ports and lines then form a small network that is solved for the port voltages, and the currents follow by superposition. This is how NEC's TL card works. Checked against line theory within about 0.5%.

Tube elements: telescoping sections and the boom

Steps in diameter. A Yagi element made of telescoping tubes is a chain of wires with different radii. NEC-2 is known to be inaccurate there, and the error grows as the segments near the steps get shorter; programs built on NEC-2 therefore replace such an element with an equivalent one of uniform diameter (the method of D. Leeson, W6QHS, Physical Design of Yagi Antennas, ARRL 1992, used by EZNEC among others). Sommerwire's MININEC-style solution does not show that problem, so it calculates the steps directly and applies no such substitution. A 20 m element of 2 × 5.45 m with sections of 32, 25, 20 and 16 mm (centre outward, 1.2, 1.2, 1.5 and 1.55 m per side) gives:

Resonance as the segments get shorter
Sommerwire13.67 MHz (5 segments per wire), 13.64 (21), 13.63 (81), 13.64 MHz (161 per wire); default tapered segmentation 13.62 MHz
nec2c (NEC-2)13.38 MHz (2 segments per metre), 13.32 (4), 13.27 (8), 13.22 MHz (16 per metre)
Uniform 32 mm tube, same lengthSommerwire 13.11 MHz, nec2c 13.09 MHz

For a uniform tube the two programs agree; with steps, NEC-2 keeps drifting as the segments get shorter while Sommerwire settles. As a rough independent estimate, a transmission-line model of the stepped element with Schelkunoff's average characteristic impedance gives 13.49 MHz, 1% below Sommerwire, so treat stepped elements as accurate to about 1% in frequency until a measurement or NEC-4 says more. The tapered element resonates well above a uniform tube of the same length, which is why telescoping elements must be longer than a uniform-tube design.

The example 3-element Yagi, 20 m, telescoping aluminium tubes on a 50 mm boom uses both: three elements with the same taper (32, 25, 20 and 16 mm), bonded through a 50 mm boom, tuned for a direct 50 Ω feed (SWR 1.3–1.6 across the band, about 12.3 dBi at 15 m, F/B 21–27 dB).

Adding a tube element. On the Geometry tab, Add a tube element builds a straight element along Y from its sections (half-length in metres × diameter in mm, centre outward) at a chosen X position and height: the centre section as one wire across the middle, so the feed point is its centre (c), and every other section as one wire per side.

Elements through a metal boom. An element that passes through a metal boom behaves as if it were shorter, so it must be cut longer than its free-space length. Sommerwire uses DL6WU's measurements as curve-fitted by G3SEK: for a round boom bonded to the element, the total element length is corrected by BC × boom diameter, with

BC = 733·B·(0.055 − B) − 504·B·(0.03 − B), B = boom diameter in wavelengths

and half of that for an element insulated from the boom where it passes through; elements mounted on insulators above the boom need no correction. It depends on the boom diameter only, not on the element, and holds up to a boom of about 0.055 λ. A 20 mm boom at 144 MHz gives 4.4 mm bonded and 2.2 mm insulated; a 50 mm boom on 20 m about 3 mm. Choose Boom correction on the Calculate tab with the boom diameter and the axis it runs along (X in all the examples). The boom is then not drawn; the element lengths you enter are taken as built, through the boom, and every straight element square to the boom is solved shorter by the correction, half at each end. A warning gives the amount. To turn a free-space design into lengths to cut, add the correction to each element. A square boom counts as a round one of about 1.18 times its side.

Buildings

Objects near the antenna

A mast, a fence, a gutter, a feed line or another antenna nearby can change impedance and pattern, and how much is hard to guess: it depends on the object's length (close to a resonant length it matters most), its distance, its orientation, whether it is bonded or earthed, and the frequency. There is no general safe distance. To judge an object, calculate the antenna first without it and note the impedance and pattern; then add it and repeat the frequency sweep over the whole band, with a few distances and orientations (a symmetric placement can hide coupling that shows up when the object is turned), and compare the full azimuth pattern, not only one cut. Decide beforehand what change in SWR or gain you accept. Thanks to Joeri van Dooren for this advice.

Optimizer

A trial that makes a wire touch the ground switches the whole model to the approximate perfect mirror, which can make gain look much better without being so; when the start is a proper Sommerfeld calculation, such trials are ruled out, and the status says how many there were. Gains from the perfect mirror are marked ≈ in the optimizer table and the sweep summary.

A bounded Nelder–Mead simplex search: the variables are scaled to their min–max range, and the search restarts with smaller steps around the best point. It runs in its own background thread. Like every local search it can stop in a local optimum; try other start values or narrower ranges if the result is poor.

.maa files

The layout was reconstructed from MMANA-GAL basic files. Sommerwire reads and writes the name, frequency, wires, sources, loads, segmentation and the ground/height/material line. Transmission lines and houses are stored as comment lines starting with Sommerwire TL: and Sommerwire HOUSE:; baluns, the extra load values (Q C, Cp), insulation and the newer materials as Sommerwire SRC:, LOAD:, INS: and MAT: lines. MMANA-GAL ignores these lines, and gets steel and stainless steel as iron and brass as copper. The impedance ground model (Sommerfeld, complex image or perfect mirror) is a Sommerwire setting and is not stored in the file. A parallel trap is written as load type 2; MMANA-GAL may not read it the same way. A measured Z(f) table travels in Sommerwire ZF: comment lines, one row each, with its reference-plane text in a Sommerwire ZFPLANE: line. Sommerwire reads them back to the same table. MMANA-GAL gets a fixed R + jX in its place: the table's value at the design frequency, or its nearest end row when the design frequency is outside the table. That is right at one frequency only.

The radio side and the ferrite chokes are written as Koen’s upstream Sommerwire writes them, so files go both ways. A ferrite choke is a load row of type 1 with its impedance at the design frequency (R and X to three decimals), and a Sommerwire CHOKE: n, core, material, stack, turns, Cs line that names the row by its place in the load list. Opening a file, Sommerwire makes that row a ferrite choke (load type 4) only when the line has its six fields, names an existing load once, the row is an R + jX row without a measured table, the core and material are known, the numbers are in range, and the row still holds the choke’s own impedance. The file gives the design frequency to three decimals, while the row is the choke at the frequency as it was set: a 160 m choke designed at 1.8366 MHz is written with 1.837 and its impedance at 1.8366 MHz. So the row may differ from the choke at the written frequency by 0.1 % plus 2 mΩ, plus the most its R or X changes over the frequencies that are written that way (1.8365 to 1.8375 MHz for 1.837). Opened, the model has the written frequency, and saving it again writes the choke at that frequency, as Koen’s own Sommerwire does. Anything else is refused with the load named, never guessed: a row changed in another program keeps its fixed R + jX when you delete the line. A load row of a type other than 0 (series L/C), 1 (R + jX) or 2 (parallel L/C) is refused too, with the load named, rather than read as a coil. The unun or balun, the feed line, the tuner and the mode travel in Sommerwire XFMR:, FEED:, TUNER: and DUTY: lines, checked the same way. The transmit power is the last field of the FEED line, as Koen writes it; a model without a feed line has no such line, so this edition writes its power as a third field of the DUTY line (duty, air temperature, power), which Koen’s Sommerwire passes over. A file that gives the power in both is refused. MMANA-GAL ignores all of them and gets the choke as its fixed R + jX.

How it was checked

CheckResult
Half-wave dipole, free space, 14.05 MHz71.35 − j3.0 Ω against MMANA-GAL's 71.5 − j1.9 Ω.
λ/4 monopole over perfect ground36.5 Ω (theory about 36 Ω).
Transmission linesWithin about 0.5% of line theory.
Complex image limitsExact in the perfect-conductor and free-space limits.
Wire-grid roofWithin 1–2 Ω of a perfect plane.
Sommerfeld integrals, perfect-conductor limitEqual to the exact mirror-image field to 6 digits.
Sommerfeld integrals, far away (30 λ)Equal to Fresnel reflection: 0.1% (horizontal), 1% (vertical polarization).
Sommerfeld in the full solver, image testReproduces the perfect-ground solution (39.83 + j32.47 against 39.83 + j32.46 Ω).
Sommerfeld reciprocityCoupling between a horizontal and a vertical dipole near the ground agrees both ways within 1–5%, similar to the solver's own asymmetry.
Sommerfeld high above groundAgrees with the complex image (dipole at 10 m: 71.1 against 72.0 Ω).
Sommerfeld energy balanceRadials 5 cm above average ground: sky-wave efficiency below the lossless reference (the complex image gave an impossible 69%).
Interpolation tableWithin 3·10⁻⁴ of direct evaluation of the integrals in the spot checks made; not checked systematically over all frequencies, soils, distances and angles.
Measured Z(f) load (analytic controls)The loaded solve equals the two-port reduction of the unloaded wires to rounding (better than 10⁻¹²), and a table at one of its rows gives the same numbers as a fixed R + jX. A two-wire line ended in a complex table stays within 2 % of line theory up to 14.2 MHz (largest difference 1.86 %); above that the wires and the uniform-line formula part, by up to 13.8 % at 28.5 MHz, which is reported and not explained. Power entering a lossless dipole equals what the part dissipates plus what is radiated within 0.11 %. No part and no antenna was measured: the tables are formulas for ideal components. See validation/feed-network.

Comparison with NEC-2 (nec2c)

Same geometry and comparable segmentation in both programs (a centre feed needs an odd number of segments in NEC-2 and an even number in Sommerwire, which feeds at a node), average ground (εr 13, 5 mS/m) unless noted, Sommerfeld ground in both. nec2c is the C translation of the public-domain NEC-2. Values at the finer of two segmentations.

Casenec2cSommerwireComplex image (old default)
20 m dipole, free space71.8 − j1.8 Ω71.5 − j3.4 Ω—
20 m dipole at 3 m, perfect ground40.0 + j32.5 Ω, 8.61 dBi39.9 + j30.8 Ω, 8.60 dBi—
20 m dipole at 0.3 m100.3 + j55.0 Ω, −5.77 dBi100.1 + j53.4 Ω, −5.78 dBi23.9 − j27.7 Ω, +0.17 dBi
20 m dipole at 1 m63.9 + j8.5 Ω, −0.76 dBi63.7 + j7.0 Ω, −0.77 dBi28.1 − j11.7 Ω, +2.74 dBi
20 m dipole at 1 m, poor ground (εr 5, 1 mS/m)78.1 + j11.0 Ω, −0.69 dBi77.9 + j9.5 Ω, −0.69 dBi42.3 − j15.0 Ω, +1.90 dBi
20 m dipole at 3 m60.1 + j16.6 Ω, 5.36 dBi59.9 + j15.0 Ω, 5.36 dBi51.2 + j16.5 Ω, 6.06 dBi
20 m dipole at 10 m71.2 − j12.7 Ω, 7.06 dBi71.0 − j14.2 Ω, 7.06 dBi72.0 − j14.4 Ω, 7.00 dBi
Vertical dipole, bottom at 0.5 m89.6 − j2.9 Ω, 0.27 dBi89.3 − j4.6 Ω, 0.27 dBi80.2 + j0.6 Ω, 0.77 dBi
λ/4 vertical, 16 × 5 m radials at 5 cm, 7.1 MHz44.9 − j35.9 Ω, −1.21 dBi44.2 − j38.5 Ω, −1.18 dBi13.6 − j54.8 Ω, +3.86 dBi
Same, radials at 0.3 m42.2 − j45.0 Ω, −1.04 dBi41.3 − j48.6 Ω, −0.98 dBi15.5 − j56.8 Ω, +3.21 dBi
Same, radials at 2 m32.4 − j65.3 Ω, −0.45 dBi31.7 − j68.4 Ω, −0.40 dBi21.7 − j66.8 Ω, +1.26 dBi

Resistance agrees within 1–3% and gain within 0.1 dB; reactance differs by 1–4 Ω, the same offset the two codes show in free space (a known difference between the MININEC and NEC current expansions), and it shrinks with finer segmentation. It has not fully settled everywhere: for the vertical with radials at 0.3 m, Sommerwire's reactance moves from −52.9 to −48.6 Ω between the two segmentations while resistance and gain stay put, so two segmentations show the trend but not the final value. The gains are the peaks of one azimuth cut, and these are comparisons between two programs, not measurements of real antennas.

DX Commander with 16 radials is the exception. With lossless wires in both programs and 0.1 m segments, the feed resistance over average ground differs by 11 Ω on 40 m (nec2c 56.7, Sommerwire 45.6 Ω) and 19 Ω on 20 m (50.7 against 31.5 Ω), and the gain by about 1 dB. A large difference is there in free space (4 and 12 Ω) and over perfect ground (9 and 20 Ω) too, so the cause is the antenna's hub (0.8 mm wires, 6–12 cm long, many junctions), not the ground model. (An earlier version of this comparison gave Sommerwire copper wire and NEC-2 lossless wire, which made the gap look smaller, 10–16 Ω; Joeri van Dooren spotted this.) A power balance over perfect ground with lossless wires is a useful check: the gain integrated over the hemisphere must equal the input power. Sommerwire gives 1.000; nec2c gives 0.81 (40 m) and 0.78 (20 m), against 0.985 for a plain ground plane. This points to a numerical problem in NEC-2 at that junction (NEC-2 is known to be sensitive to short segments and many-wire junctions), but a power balance alone cannot prove that Sommerwire's currents are right, so treat the DX Commander's feed resistance in both programs as uncertain by about 10–20 Ω. The change that real ground adds compared with perfect ground agrees within about 2 Ω between the codes.

Power account

The power box rests on two independent sums: the power at the terminals of the sources and loads, and the far field added up over all directions. Where nothing else can absorb power the two must agree. The checks below are theory and comparisons between programs, not measurements.

The fixtures, the nec2c decks and their figures are in validation/power in the repository.

Radio side

Koen’s feed line, unun, choke, tuner and core models came over function for function, and are checked against his own engine at upstream commit eb1df17 and against cases with known answers. These are comparisons and theory, not measurements.

Limitations

Further reading. Every result is a model of an antenna, not the antenna itself. Joeri Van Dooren (ON6URE) explains how to tell a part left out of the model, a limit of the method and an uncertain input apart, and how to check a model against measurements, in The Limits of NEC: Model the System You Actually Built; it applies to Sommerwire as much as to NEC. G. J. Burke's NEC-5 Validation Manual (LLNL-SM-791163, Lawrence Livermore National Laboratory, 2019, part of NEC 5.0 from LLNL) shows, case by case, where the numerical errors of method-of-moments codes arise and how they shrink with finer segmentation.

Open questions and further investigation

Sources

These are the publications the methods come from. They were not re-read while Sommerwire was written; the formulas were worked out from the methods as published and checked numerically (see How it was checked). Please verify anything critical against the originals.

What changed

Changes in the RF.Guru edition, newest first. Older entries describe the labels and behavior as they were at the time. The contribution history lists who did what. The edition has no version numbers; the newest entry describes what you are running.

2026-12-03 · Four-port drive study of the 40 m four-square

2026-12-03 · Current phase of each source

2026-12-03 · Solved mesh readouts

Koen’s upstream changes and the MIT License

2026-12-01 · RF.Guru VertX D, 20–10 m

2026-12-01 · RF.Guru VertX rigid multiband verticals

2026-12-01 · Band results sooner, in the browser

2026-12-01 · DX Commander group and presets

2026-11-30 · Optional mesh convergence check

2026-11-29 · Measured Z(f) loads and field-validation templates

2026-11-29 · Power box: where the accepted power goes

2026-11-29 · Junction report and junctions at wire ends only

2026-11-29 · EFHW4020 and EFHW20 flat-top presets, 49:1

2026-11-29 · Hosted MCP server

2026-11-29 · Monoband EFHW inverted-L presets

2026-11-29 · EFOC1712 sloper preset

2026-11-29 · EFOC30 and EFOC1712 flat-top presets

2026-11-29 · EFOC17 and TermiLoop catalog labels

2026-11-29 · TermiLoop approximations at 12 m

2026-11-29 · EFOC17 sloper and inverted L presets

2026-11-29 · TermiLoop approximation preset

2026-11-29 · EFOC8 flat-top preset

2026-11-29 · EFOC29 inverted-U share geometry

2026-11-29 · Geometry box under the readout

2026-11-29 · EFOC29 inverted L with the vertical at the feed end

2026-11-28 · EFOC29 inverted L and inverted U, RF.Guru menu group, top height

2026-11-28 · RF.Guru logo in the footer

2026-11-28 · Bands stay in view while editing geometry

2026-11-28 · Add MCP to your AI agent

2026-11-28 · EFOC29 geometry, sloper and feed height

2026-11-28 · RF.Guru app footer

2026-11-28 · Callsign plates in the header

2026-11-28 · Phone layout

2026-11-28 · Embeddable 3D view, tidier band strip

2026-11-28 · One theme, EFOC29 first

2026-11-28 · Themes

2026-11-28 · Model sharing and staged results

2026-11-27

Authors and licence

ON9PK Koen Van den Heuvel created Sommerwire with Claude Opus 5.5 in November 2026 and maintains the upstream project. ON6URE Joeri Van Dooren (RF.Guru) co-developed this edition. Koen wrote the radio side (the coax library and feed line, ununs, baluns and ferrite chokes, tuner networks, core heating and the efficiency breakdown, after the sources below); Joeri fitted it to this edition: the ferrite choke as load type 4 beside the measured table, the checked reading of Koen’s .maa lines, the planes kept apart with one mismatch at the radio, and the tests against Koen’s own numbers. The contribution history links the antenna models, displays, fixes and validation work to their authors.

Sommerwire, this edition included, is free software under the MIT License: Copyright (c) 2026 ON9PK Koen Van den Heuvel, and Copyright (c) 2026 ON6URE Joeri Van Dooren (RF.Guru) for the RF.Guru edition. Anyone may use, copy, modify, merge, publish, distribute, sublicense or sell it, for any purpose, commercial or not, as long as the copyright notices and the licence text stay with every copy or substantial part. It comes without any warranty.

Copies published earlier keep the terms they came with. Koen released upstream versions up to 1.10.0 under the Unlicense and moved to the MIT License from 1.11.0 (8aed595). Earlier copies of this edition offered upstream material under the Unlicense and original RF.Guru contributions under Apache-2.0, after earlier Unlicense grants (last licence before MIT).

The site at koenvdh.github.io counts visits with GoatCounter: no cookies, no personal data and no tracking across sites, only the page, the referring site, the browser and the country. Copies run elsewhere, or locally, count nothing.

nec2c, used for the NEC-2 comparison in validation/nec2c, is not part of Sommerwire and is not included: it belongs to its authors and is licensed under the GPL-3.0.