Renewable-based microgrid energy management: A comprehensive exploration of techniques, strategies, and long-term viability