Design and optimization of a standalone Photovoltaic system Design and optimization of a standalone Photovoltaic system