Analysis of a Photovoltaic System: AC and DC Power Quality