Method of TDIE for combination problems of electromagnetic field and circuit