Highlights: The evolution of energy grids, from centralized fossil fuel reliance to smart grids with distributed energy resources (DERs) and bidirectional energy flow, has transformed our ability to harness renewable energy sources and improve grid resilience....