NOVELTY - The production of ammonia, carbon dioxide, electric power and sulfur by gasification plant, comprises separating oxygen from nitrogen in an air separation unit, introducing a carbonaceous raw material, water and oxygen from the air separation unit into a synthesis gas generator (30) under synthesis gas forming operating conditions to form a synthesis gas (40), cooling the synthesis gas to condense and remove water, and removing sulfur compounds and carbon dioxide from the synthesis gas using an acid gas removal system by forming a cleaned synthesis gas.    USE - The method is useful for production of ammonia, carbon dioxide, electric power and sulfur by gasification plant.    ADVANTAGE - The method reduces the amount of greenhouse gases vented into the atmosphere, and produces substantial energy savings by balancing exothermic and endothermic reactors.    DETAILED DESCRIPTION - The production of ammonia, carbon dioxide, electric power and sulfur by gasification plant, comprises separating oxygen from nitrogen in an air separation unit, introducing a carbonaceous raw material, water and oxygen from the air separation unit into a synthesis gas generator (30) under synthesis gas forming operating conditions to form a synthesis gas (40), cooling the synthesis gas to condense and remove water, removing sulfur compounds and carbon dioxide from the synthesis gas using an acid gas removal system by forming a cleaned synthesis gas, introducing a portion of the cleaned synthesis gas into a Fischer-Tropsch reactor and forming primarily aliphatic hydrocarbons and carbon dioxide, separating liquid hydrocarbons from Fischer-Tropsch tail gas comprising unreacted carbon monoxide, carbon dioxide, and gaseous hydrocarbons, combining a portion of the cleaned synthesis gas with the Fischer-Tropsch tail gas to form a gas mixture, compressing the gas mixture to an elevated pressure by forming a compressed mixture, introducing the compressed mixture together with steam into shift reactors to convert a portion of the carbon monoxide and water to hydrogen and carbon dioxide, introducing the shifted gases into a hydrogen membrane separator to produce a stream of hydrogen-rich gases and a stream of hydrogen-lean gases, burning the hydrogen-lean gases in a gas turbine combustor of a combined cycle plant to drive a generator mechanically coupled to a gas turbine during a production of electricity, compressing the hydrogen-rich gases to an elevated pressure, introducing the compressed hydrogen-rich gases into a pressure swing adsorption unit to produce a stream of high purity hydrogen, and introducing the high-purity hydrogen together with nitrogen from the air separation unit into a reactor to produce ammonia for sale. The step of removing sulfur compounds and carbon dioxide from the synthesis gas further comprises introducing hydrogen sulfide into a sulfur recovery system to produce sulfur for export. The introducing step comprises introducing a portion of the high-purity hydrogen from the pressure adsorption unit into a reactor to upgrade the liquid hydrocarbons by hydrotreating. The method comprises removing carbon dioxide from the shifter effluent using an absorption system by forming a highly concentrated hydrogen stream comprising trace amounts of carbon and carbon dioxide, converting the carbon and carbon dioxide to methane using a methanator by forming a methanator effluent comprising high purity hydrogen, introducing the methanator effluent together with nitrogen from the air separation unit into a reactor to produce ammonia, introducing a stream of purge gases containing hydrogen from the ammonia reactor into a hydrogen membrane separator to produce a stream of hydrogen-rich gases and a stream of hydrogen-lean gases, feeding the hydrogen-lean gases to a heat recovery steam generator to drive a generator mechanically coupled to a steam turbine during a production of electricity, compressing the hydrogen-rich gases to an elevated pressure, introducing the compressed hydrogen-rich gases into a pressure swing adsorption unit to produce a stream of high purity hydrogen, introducing the high-purity hydrogen into a reactor to upgrade separated liquid hydrocarbons by hydrotreating, and exploiting the ammonia. Further comprises the step of pretreating the Fischer-Tropsch tail gas in an adiabatic pre-reformer. The steam methane reformer, the shift reactors, the carbon absorption system, the methanator, and the ammonia synthesis reactor are form an ammonia loop of an existing ammonia production plant.    DESCRIPTION OF DRAWING(S) - The diagram shows the process of producing ammonia and Fischer-Tropsch liquids.    Tank (15)    Slurry (20)    Synthesis gas generator (30)    Synthesis gas (40)    Syngas cleaning unit. (60)