Introduction: In the realm of electrical power systems, maintaining a balance between reactive and active power is crucial for ensuring the stability and reliability of the grid. 300kw diesel generator , although not resulting in useful work output, plays a vital role in maintaining voltage levels, improving system efficiency, and ensuring