Text this: Investigation and optimization of the performance of energy systems in the textile industry by using chp systems