Power factor, what it is and how to calculate it