The function of solar photovoltaic components