CrudeOilDewatering Process

class opgee.processes.crude_oil_dewatering.CrudeOilDewatering(name, **kwargs)

A subclass of the Process class that represents a crude oil dewatering process in an oil and gas production system.

Attributes:

field (Field): The field associated with the dewatering process. heater_treater (bool): Whether a heater treater is used in the process. temperature_heater_treater (Quantity): Temperature of the heater treater. heat_loss (Quantity): Heat loss in the process. prime_mover_type (str): Type of prime mover used for energy consumption. eta_gas (Quantity): Efficiency of natural gas engine. eta_electricity (Quantity): Efficiency of electricity. oil_path (str): The oil path in the process. oil_path_dict (dict): Dictionary mapping oil paths to their descriptions.

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