Solution to the shortcomings of solar photovoltaic power generation