Coordinated control of flywheel and battery energy storage systems for frequency regulation in diesel generator-based microgrid