HarmoLab#

A Method of Moments solver for antennas on triangular meshes, written in Python. RWG basis functions, an EFIE impedance matrix with singularity treatment, radiation and scattering, frequency sweeps, characteristic modes and load optimisation.

The solver began as a translation of the MATLAB code of S. N. Makarov’s Antenna and EM Modeling with MATLAB [1] and has since been extended: higher-order and singular quadrature for the impedance matrix, GPU assembly, multi-port gap sources, lossy conductors, characteristic mode analysis and a reduced multiport model for optimisation.

How a simulation flows#

Every stage writes its result to disk, so a later stage can be re-run without recomputing the earlier ones. Click a box to open its page.

Find your way#

Understand

How the solver works: from Maxwell’s equations to the EFIE, RWG basis functions, the impedance matrix and its singular integrals, characteristic modes.

Theory
Use

Install, run a first antenna, then the user guide: meshing, feeds, frequency sweeps, port impedance, patterns, characteristic modes, GPU.

Getting started
Develop

Architecture, data flow, which file to change for which evolution, the tests to run, and the API reference generated from the code.

Developer guide

What the solver computes#

Radiation

Feed one or several ports (enhanced gap or delta gaps, a complex voltage per port, see the ports) and get the currents, the input impedance and the input power. Lumped R, L, C loads and lossy conductors are supported.

Radiation: feeding an antenna
Scattering

Illuminate a structure with a plane wave of given direction and polarisation and get the induced currents.

Scattering: illuminating a structure
Frequency sweeps

Impedance matrices for a whole band assembled in one pass (CPU or CUDA GPU); input impedance and reflection coefficient of every port (all ports driven together), Smith charts, bandwidth.

Frequency sweeps and port parameters
Fields and patterns

Near and far fields, 3D directivity patterns, polar cuts, circular polarisation (RHCP/LHCP).

Fields and radiation patterns
Characteristic modes

Eigenvalues, characteristic angles, modal significance, modal currents and far fields, mode tracking across frequency, numerical health reports.

Characteristic mode analysis
Optimisation

Exact reduction of the MoM system to its ports, gain bounds, optimal reactive loads, Bayesian search, matching networks with real components.

Load and matching optimisation

About this documentation

This is version 0.1 of the site: the structure is in place and pages are being written one by one. Each page shows its status at the top, Planned pages contain the outline of what they will cover. The state of every solver feature, including the known issues, is listed in Feature status.