Resumen: The development of high-efficiency energy systems is a pressing issue nowadays, motivated by economic, environmental, and social aspects. Trigeneration systems allow for the rational use of energy by means of appropriate energy integration and provide greater operational flexibility, which is particularly interesting for buildings, often characterized by variable electricity, heating, and cooling demands. The benefits of trigeneration systems can be enhanced by the incorporation of thermal energy storage (TES), which decouples production and consumption. This paper analyses the operation of a simple trigeneration system including TES. The optimal operation is obtained by a linear programming model that minimizes the total variable cost. A thermoeconomic analysis based on marginal cost assessment of the internal flows and final products of the system is carried out, allowing to explain the optimal operation of the system and the role of the TES in achieving the optimal solution. The analysis unravels the marginal cost formation process, presenting a clear route from the final products obtained to the resources consumed. This information can aid the design of new plants, the retrofit of existing ones, and the operational management to achieve the minimum operational cost. Idioma: Inglés DOI: 10.1016/j.energy.2017.06.101 Año: 2017 Publicado en: Energy 135 (2017), 788-798 ISSN: 0360-5442 Factor impacto JCR: 4.968 (2017) Categ. JCR: THERMODYNAMICS rank: 4 / 59 = 0.068 (2017) - Q1 - T1 Categ. JCR: ENERGY & FUELS rank: 18 / 97 = 0.186 (2017) - Q1 - T1 Factor impacto SCIMAGO: 1.99 - Building and Construction (Q1) - Civil and Structural Engineering (Q1) - Electrical and Electronic Engineering (Q1) - Pollution (Q1) - Industrial and Manufacturing Engineering (Q1) - Mechanical Engineering (Q1) - Energy (miscellaneous) (Q1)