Power quality refers to maintaining the electric power within acceptable tolerances to allow devices to function properly without loss of performance. It is defined by parameters such as voltage, frequency and purity of waveform. Poor power quality can be caused by issues like sags, swells, transients, harmonics and grounding problems. The susceptibility of electrical equipment depends on the weakest component. While all devices are susceptible to some degree, the goal is to balance maintaining adequate power quality with designing equipment to have sufficient immunity to power quality issues.