An Investigation of Photovoltaic Power Optimization