Fundamentals of Partial Discharge Measurements