Optimization of the energy supply in the plastics industry to reduce the primary energy demand