The gyrator-capacitor approach can accommodate leakage inductance and air gaps in the magnetic circuit. Gaps and leakage flux have a permeance which can be added to the equivalent circuit as capacitors. The permeance of the gap is computed in the same way as the substantive elements, except a relative permeability of unity is used. The permeance of the leakage flux may be difficult to compute due to complex geometry. It may be computed from other considerations such as measurements or specifications.