AC/DC and hybrid microgrid comparison for a waterpump system