Increasing energy efficiency of textile industry