Generator Power Factor Calculation