Power Schedule Optimization and Dynamics Analysis for Prospective Islanded Microgrids