Hybrid energy management systems pairing batteries, controls, and software with diesel generators for industrial sites (oil/gas, mining)