A unique cogeneration system integrating a biogas fed Solid Oxide Fuel Cell (SOFC) and a Concentrating Solar Thermal (CST) system for a reference Waste Water Treatment Plant (WWTP) in Italy is proposed. Biogas which is locally in the WWTP from the anaerobic digestion (AD) of the collected sludge can be used to produce electricity using SOFC power modules. The thermal power recovered from the SOFC exhaust stream is used to meet part of the digester thermal load. However, the rest heat loads are provided by using the integration with the CST system and an auxiliary boiler. Energy analysis is performed to determine the effect of using the solar heating system on the system performance. Also, the economic performance is evaluated through a cash-flow analysis and the calculation of the Levelized cost of electricity (LCOE). It is observed that installing 300 m(2), 700 m(2), 1100 m(2) of solar collectors could cover 8%, 18% and 30% of total digester heat load, respectively. Results show an overall beneficial effect of the solar installation, both from an energy and economic standpoint of view. For all the scenarios analyzed, the LCOE is lower than the grid electricity price and, with increasing solar integration, the value is further reduced showing that, despite the investment return time, the electricity production during the entire system lifetime is competitive against grid electricity prices. (C) 2017 Elsevier Ltd. All rights reserved.