Introduction Power factor is a critical aspect of electrical systems that affects the efficiency, reliability, and cost of electricity generation and consumption. Maintaining a high power factor is essential for optimizing the use of electrical power and avoiding penalties from utility companies. Diesel generators are commonly used in various industries