Energy storage replaces diesel generation