An optimal power management system for automatic connection of DC and AC resources of hybrid-microgrid systems | IEEE Conference Publication | IEEE Xplore