The subject at hand is the technology of integrated use of secondary combustible and thermal energy resources of oil refining and petrochemicals for power supply and heat supply of industrial and residential urban areas. Currently, combustible secondary energy resources in petrochemicals in through hydrocarbon gases are burned in smokeless flares and technological candles without practical use in the electric and thermal energy industry. In the production of polyethylene, an average of 230 t/h of spent combustible gases is burned in a smokeless flare at an altitude of 105 m with useless dispersion of the resulting heat in the atmosphere. The heat of heated process water during cooling in cooling towers is uselessly dispersed in the atmosphere or leaves with contaminated spillways and non-return condensate into settling tanks without practical useful application. In the construction of new and the energy supply of existing industrial and residential facilities, there is a problem providing them with electric and thermal energy at low prices. The purpose of this study is to develop a technical solution on the technology of integrated use of secondary combustible and thermal energy resources of oil refining and petrochemicals for the electrical and thermal supply of industrial and residential urban areas.