GasDehydration Process

class opgee.processes.gas_dehydration.GasDehydration(name, **kwargs)

This class represents the gas dehydration process in an oil and gas field. It calculates the energy consumption and emissions related to the gas dehydration process.

Attributes:

gas_dehydration_tbl (DataFrame): A table containing gas dehydration correlations. mol_to_scf (float): Constant to convert moles to standard cubic feet. air_elevation_const (float): Constant used for air elevation correction. air_density_ratio (float): Constant used for air density ratio calculation. reflux_ratio (float): Reflux ratio used in the gas dehydration process. regeneration_feed_temp (float): Regeneration feed temperature used in the gas dehydration process. eta_reboiler_dehydrator (float): Efficiency of the reboiler in the dehydrator. air_cooler_delta_T (float): Temperature difference across the air cooler. air_cooler_press_drop (float): Pressure drop across the air cooler. air_cooler_fan_eff (float): Efficiency of the air cooler fan. air_cooler_speed_reducer_eff (float): Efficiency of the air cooler speed reducer. water_press (float): Pressure of the water in the process. gas_path (str): The path of the gas in the process. gas_path_dict (dict): Dictionary mapping gas path names to stream names.

cache_attributes()

Cache any attributes that are stored in model class instances. We break this out as a separate method to allow values set in the Monte Carlo simulation process to overwrite previously cached values. This method should be defined in all Process subclasses that cached attribute values.

Returns:

None

static pseudo_pressure(tau, Tc_over_T, critical_pressure)
Parameters:
  • Tc_over_T

  • tau

  • critical_pressure – water critical pressure (unit = “Pa”)

Returns:

(flaot) pseudo pressure (unit = “Pa”)

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