A hybrid AC/DC Smart Grid to improve power quality and reliability