Model of a Photovoltaic Fuel-Cell Generator