Survey on microgrids with flexible boundaries: Strategies, applications, and future trends