An integrated control algorithm of power distribution for islanded microgrid based on improved virtual synchronous generator