AcidGasRemoval Process

class opgee.processes.acid_gas_removal.AcidGasRemoval(name, **kwargs)

A process class that removes acid gases (CO2 and H2S) from a natural gas stream.

Inputs:
  • gas for AGR: Gas stream containing CO2 and H2S to be removed.

Outputs:
  • gas for demethanizer: Gas stream with CO2 and H2S removed, and fed to the demethanizer.

  • gas for CO2 compressor: Gas stream containing CO2 to be compressed and injected back into the reservoir.

Attributes:
  • type_amine: The type of amine solution used for CO2 and H2S removal.

  • ratio_reflux_reboiler: The reflux-to-reboil ratio used in the process.

  • AGR_feedin_press: The feed-in pressure of the gas stream.

  • regeneration_temp: The temperature at which the amine solution is regenerated.

  • eta_reboiler: The efficiency of the reboiler in the process.

  • air_cooler_delta_T: The temperature difference across the air cooler.

  • air_cooler_press_drop: The pressure drop across the air cooler.

  • air_elevation_const: A constant used to calculate the air density ratio.

  • air_density_ratio: The ratio of air density at the air cooler elevation to sea level density.

  • water_press: The pressure drop across the air cooler due to water vapor.

  • air_cooler_fan_eff: The efficiency of the air cooler fan.

  • air_cooler_speed_reducer_eff: The efficiency of the air cooler speed reducer.

  • AGR_table: A lookup table for AGR calculations.

  • eta_compressor: The efficiency of the CO2 compressor.

  • prime_mover_type: The type of prime mover used in the process.

  • amine_solution_K_value: The K value of the amine solution used for CO2 and H2S removal.

Methods:
  • run(analysis): Runs the acid gas removal process.

  • calculate_energy_consumption_from_Aspen(input_stream, output_stream, mol_frac_CO2, mol_frac_H2S): Calculates energy consumption for the acid gas removal process using Aspen HYSYS simulation.

  • calculate_energy_consumption_from_textbook(input_stream, mol_frac_CO2, mol_frac_H2S): Calculates energy consumption for the acid gas removal process using a textbook method.

calculate_energy_consumption_from_Aspen(input, output_gas, mol_frac_CO2, mol_frac_H2S)

Calculates the energy consumption in the AGR gas processing unit using Aspen simulation.

Parameters:
  • input – (Stream) Input gas stream

  • output_gas – (Stream) Output gas stream

  • mol_frac_CO2 – (Quantity) Molar fraction of CO2 in the input gas stream

  • mol_frac_H2S – (Quantity) Molar fraction of H2S in the input gas stream

Returns:

(tuple) Compressor energy consumption (Quantity), Reboiler fuel use (Quantity), and Electricity consumption (Quantity)

calculate_energy_consumption_from_textbook(input, mol_frac_CO2, mol_frac_H2S)

Calculate energy consumption for the amine unit using the textbook method.

Parameters:
  • input – Stream object, input stream to the amine unit.

  • mol_frac_CO2 – (Quantity) Molar fraction of CO2 in the input gas stream

  • mol_frac_H2S – (Quantity) Molar fraction of H2S in the input gas stream

Returns:

(tuple) Compressor energy consumption (Quantity) == 0, Reboiler fuel use (Quantity), and Electricity consumption (Quantity)

run(analysis)

This method implements the behavior required of the Process subclass, when the Process is enabled. Subclasses of Process must implement this method.

Parameters:

analysis – (Analysis) the Analysis used to retrieve global settings

Returns:

None