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#
How the solver works: from Maxwell’s equations to the EFIE, RWG basis functions, the impedance matrix and its singular integrals, characteristic modes.
Install, run a first antenna, then the user guide: meshing, feeds, frequency sweeps, port impedance, patterns, characteristic modes, GPU.
Architecture, data flow, which file to change for which evolution, the tests to run, and the API reference generated from the code.
What the solver computes#
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.
Illuminate a structure with a plane wave of given direction and polarisation and get the induced currents.
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.
Near and far fields, 3D directivity patterns, polar cuts, circular polarisation (RHCP/LHCP).
Eigenvalues, characteristic angles, modal significance, modal currents and far fields, mode tracking across frequency, numerical health reports.
Exact reduction of the MoM system to its ports, gain bounds, optimal reactive loads, Bayesian search, matching networks with real components.
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.