A novel technique that uses the Simulation Program with Integrated Circuit Emphasis (SPICE) simulation program as a behavioral macromodeling language in solving high-voltage problems is presented. The proposed technique is based on using analog computation along with basic circuit components (resistors, capacitors, etc.) to solve practical problems encountered in the design and analysis of overhead transmission lines for engineering education. Two behavioral macromodels for medium length overhead transmission lines—namely, nominal T and nominal π—have been designed and implemented using the SPICE simulation program. Intensive computer simulations show that the proposed technique gives excellent agreement with practical measurements. © 1999 John Wiley & Sons, Inc. Comput Appl Eng Educ 7: 155–161, 1999