The study deals with the energetic and exergetic analyses of a cogeneration (combined heat and power, CHP) system installed in a ceramic factory, located in Izmir, Turkey. This system has three gas turbines with a total capacity of 13 MW, six spray dryers and two heat exchangers. In the analysis, actual operational data over one-month period are utilized. The so-called CogeNNexT code is written in C++ and developed to analyze energetic and exergetic data from a database. This code is also used to analyze turbines, spray dryers and heat exchangers in this factory. Specifications of some parts of system components have been collected from the factory. Based on the 720 h data pattern (including 43 200 data), the mean energetic and exergetic efficiency values of the cogeneration system are found to be 82.3 and 34.7%, respectively. Copyright (C) 2009 John Wiley & Sons, Ltd.