Innovative teaching on photovoltaic generation