Integrating diesel power generation with a battery energy storage system optimizes load profiles, lowering fuel consumption, carbon emissions and operating expenses while stabilizing power supply to improve ROI for onshore drilling contractors. The oil and gas industry is going through several changes simultaneously.