Introducing bypass gas lines in a system consisting of coke batteries and units for the thermal processing of exhaust gases provides flexibility and reliable operation when system components must be repaired. To permit repair of the basic smokestack in coke battery 1 at OAO Zaporozhkoks, a temporary smokestack was developed, as well as a gate-valve design with vertical motion for the common horizontal flue. Various operating conditions of the system were considered.