A power flow program is developed to analyze the harmonic distortion o
f a power system with various types of harmonic loads. The proposed pr
ogram can be applied to solve the harmonic current flow, voltage harmo
nic distortion factor, resonance frequency, and current amplification
factor at every bus in the system. In this study, a large metal factor
y is selected for the harmonic power flow analysis. The current wavefo
rms at every bus are measured and analyzed to determine various orders
of harmonic components. These harmonic currents are used in the compu
ter simulation to determine the harmonic voltage distortion factor at
the buses of the system, and the variations of resonance impedance and
amplification factor with frequencies are investigated. Finally, the
program is used to calculate the harmonic load flow when the metal fac
tory is expanded by including a new plant in the power system, and pro
per filters are designed to alleviate the harmonic problems.