OPTIMAL CAPACITY CONFIGURATION OF COUPLED PHOTOVOLTAIC AND ENERGY