CrudeOilStabilization Process

class opgee.processes.crude_oil_stabilization.CrudeOilStabilization(name, **kwargs)

CrudeOilStabilization is a subclass of the Process class that represents a crude oil stabilization process in an oil and gas production system. This class handles the stabilization of oil by removing gas, managing energy use, and calculating emissions associated with the stabilization process.

Attributes:

field (Field): The field associated with the stabilization process. stab_tp (TemperaturePressure): The temperature and pressure of the stabilizer column. mol_per_scf (float): The number of moles per standard cubic feet. stab_gas_press (Quantity): The pressure of the stabilized gas. eps_stab (Quantity): Stabilization heat duty multiplier. eta_gas (Quantity): Efficiency of natural gas engine. eta_electricity (Quantity): Efficiency of electricity. prime_mover_type (str): Type of prime mover used for energy consumption. eta_compressor (Quantity): Efficiency of the compressor.

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

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