GasPartition Process¶
- class opgee.processes.gas_partition.GasPartition(name, **kwargs)¶
Gas partition is to check the reasonable amount of gas goes to gas lifting and gas reinjection
- gas_flooding_setup(import_product, reinjected_gas_stream, exported_gas_stream)¶
Set up the gas flooding system for this field.
The method first checks the type of flooding gas used (either “N2”, “NG”, or “CO2”). If the type is not recognized, an exception is raised.
For each type of gas, the method calculates the mass flow rate, adjusts the reinjected gas stream, and updates process data for the field. It also takes care of different scenarios for each type of gas flooding (like source of CO2, required imported natural gas etc.).
If the reinjected gas stream has a non-zero total flow rate, the flow rates are copied to the gas for gas reinjection compressor.
- Parameters:
import_product – (ImportProduct) import product object
reinjected_gas_stream – (Stream) gas stream being reinjected into the reservoir
exported_gas_stream – (Stream) gas stream being exported from the field
- Raises:
OpgeeException if flood_gas_type is not in known gas types (“N2”, “NG”, “CO2”)
- 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