A power management and control strategy with grid-ancillary services for a microgrid based on DC bus