Dynamic performance of a DC shunt motor connected to a photovoltaic array