Resumen: Thermoelectric generators (TEGs) are based on Seebeck effect and produce electricity from a heat flow. They require low maintenance and provide quiet operation. However, they have low efficiency and need suitable temperature values. Accordingly, the integration of TEGs in boilers is a promising approach, since these equipment present high temperature differences between hot gases and water and allows the use of waste heat for water heating. There are experiences of the integration of TEGs in biomass boilers, but almost none with unconventional biomass with a high tendency to ash deposition. The integration of TEG modules in a commercial pellet-fired 25 kWth boiler is described and experimental results, working with pine pellets and with an agropellet (70% of vineyard pruning and 30% of barley straw), are presented. Power produced with only 6 modules can reach 60 W. After quantifying the effect of the temperature on both gas and water sides, the study focuses on analyzing the ash deposition on the exchange surfaces and their effect on TEG modules operation (e.g. power reduction of 0.24 W per hour with pine and 0.78 with agropellet). This effect can be minimized by working with high excess of air or by integrating a cleaning system. Idioma: Inglés DOI: 10.1016/j.renene.2023.05.100 Año: 2023 Publicado en: Renewable Energy 214 (2023), 395-406 ISSN: 0960-1481 Financiación: info:eu-repo/grantAgreement/ES/MICIU/RTI2018-098886-A-I00 Tipo y forma: Artículo (Versión definitiva) Área (Departamento): Área Ingeniería Mecánica (Dpto. Ingeniería Mecánica) Área (Departamento): Área Máquinas y Motores Térmi. (Dpto. Ingeniería Mecánica)