Energy storage system (ESS) plays a key role in peak load shaving to minimize power consumption of buildings in peak hours. This paper proposes a novel energy management unit (EMU) to define an optimal operation schedule of ESSs by employing metaheuristic and mathematical optimization approaches. The proposed …