The following is an abbreviated description of the derivation of the equations solved for by the wire solver. For more detailed information, see [1].

For PEC (Perfect electrically conducting) wires, the boundary conditions require the tangential component of the total electric field on the wire surface to be zero:

$${(E+{E}_{i})}_{\mathrm{tan}}=0\text{(1)}\text{\hspace{0.17em}}$$

You can also express the equation in terms of the surface current density, $${\overrightarrow{J}}_{s}$$, on the PEC wire and its spatial derivative. This is done by integrating the effect of the surface current density using a Green's function, $$g(\left|\overrightarrow{r}-{\overrightarrow{r}}^{\text{'}}\right|)$$. The Green's function abstractly represents the effect of an infinitesimal surface-current density source located at $${\overrightarrow{r}}^{\text{'}}$$ on the electric and magnetic fields at an observation point $$\overrightarrow{r}$$. The Green's function for free space propagation is:

$$g(\left|\overrightarrow{r}-{\overrightarrow{r}}^{\text{'}}\right|)=\frac{\mathrm{exp}(-jk\left|\overrightarrow{r}-{\overrightarrow{r}}^{\text{'}}\right|)}{4\pi \left|\overrightarrow{r}-{\overrightarrow{r}}^{\text{'}}\right|}\text{(2)}$$

where $$k=\omega \sqrt{{\epsilon}_{0}{\mu}_{0}}$$ is the wave number and ω is the angular frequency. In general, the following steps are needed to solve the electromagnetic (EM) problem and obtain the EM fields in the medium. To represent the EM problem accurately, both longitudinal and transverse components of integrated current are taken into consideration on the wire surface and require that Eq. (1) holds over the entire wire surface. Discretize Eq.(1) over a finite set of points or basis functions to obtain a set of equations. Discretize the surface current-density into a finite set of basis functions to obtain a set of unknowns. Solve the set of equations of unknowns to yield a discrete approximation to the surface currents-densities on the wire. These current densities enables calculation of the electromagnetic fields at any desired point. For thin wires the above steps are exhaustive and, simplify the Green's function to :

$$g({r}_{a})=\frac{\mathrm{exp}(-jk{r}_{a})}{4\pi {r}_{a}}\text{(3)}$$

also referred to as the thin-wire kernel approximation, where $${r}_{a}=\sqrt{{r}^{2}+{a}^{2}}$$ is an approximate average of the distance $$\left|\overrightarrow{r}-{\overrightarrow{r}}^{\text{'}}\right|$$, *r* is the distance between the infinitesimal
surface current-density source and the wire axis, and *a* is the wire
radius. In addition, the current density on the wire is replaced by the wire current $$I=2\pi a\left|{\overrightarrow{J}}_{s}\right|$$|. Using the above approximation, write Eq. (1) as:

$${\left(-j\omega {\mu}_{0}{\displaystyle \underset{s}{\int}\left[(Is)\overrightarrow{e}(s)g({r}_{a})+\frac{1}{{k}^{2}}\frac{dI(s)}{ds}\overrightarrow{\nabla}g({r}_{a})\right]ds+{\overrightarrow{E}}_{i}}\right)}_{\mathrm{tan}}=0\text{(4)}$$

where *s* is the longitudinal location along the wire and $$\overrightarrow{e}(s)$$ is the unit vector representing the wire orientation at that location.
Discretize the wire into a finite number of segments *s(m)* where
*m* = `1....`

, and then
further discretize Eq.(4) into a finite set of equations imposed at points matching
*N**p* = `1....`

to
obtain:*N*

$$\sum _{m=1}^{N}{\displaystyle {\int}_{0}^{{h}_{m}}\left[{\overrightarrow{e}}_{p}{\overrightarrow{e}}_{m}{I}_{m}({s}_{m})+\frac{{\overrightarrow{e}}_{p}}{{k}^{2}}\frac{d{I}_{m}({s}_{m})}{d{s}_{m}}\nabla \right]}}g({r}_{a})d{s}_{m}=\frac{{\overrightarrow{e}}_{p}{\overrightarrow{E}}_{i}}{j\omega {\mu}_{0}}\text{(5)$$

where *I _{m}(s_{m})* is the
current distribution along the segment

$${I}_{m}({s}_{m})={{\displaystyle \sum _{i=0}^{{n}_{m}}{I}_{m,i}\left(\frac{{s}_{m}-\frac{{h}_{m}}{2}}{{h}_{m}}\right)}}^{i},\text{\hspace{0.17em}}0\le {s}_{m}\le {h}_{m},\text{\hspace{0.17em}}m=1,\mathrm{....},N\text{(6)}$$

with *h _{m}* being the length of the segment and

$$\left[{Z}_{p,mi}\right]\left[{I}_{mi}\right]=\left[{V}_{ex,p}\right]\text{(7)}$$

where [*Z _{p,mi}*] is the impedance matrix,
[

[1] Popovic,B.C, M.B. Dragovic
and A.R. Djordjevic. *Analysis and Synthesis of Wire Antennas*
Research Studies Press, 1982