OPTIMUM SIZING OF PHOTOVOLTAIC AND ENERGY