OPTIMIZING ENERGY STORAGE SOLUTIONS FOR GRID RESILIENCE A