Text this: Optimal control strategy for enhanced reliability and stability in hybrid energy storages in microgrid.