Surface integral formulation for calculating conductor and dielectric losses of various transmission structures