An innovative approach to design cogeneration systems based on big data analysis and use of clustering methods