Switching model photovoltaic pumping system