CrudeOilStorage Process¶
- class opgee.processes.crude_oil_storage.CrudeOilStorage(name, **kwargs)¶
A process that represents the storage of crude oil in a field.
This process takes crude oil as an input and produces three output streams: - gas for partition: gas that is flared - gas for VRU: gas that is sent to a vapor recovery unit - oil: crude oil that is transported out of the storage facility
The process calculates the mass rate of crude oil input, as well as the amount of gas that is exsolved upon flashing. It then calculates the rates of gas that are sent to the flare, vapor recovery unit, and fugitives, based on the exsolved gas and user-defined factors. Finally, it calculates the mass rate of crude oil that is transported out of the storage facility, and sets the output streams accordingly.
This process does not use any energy, and only produces emissions from the gas fugitives stream.
- Attributes:
field: The Field object that this process belongs to. oil: The Oil object representing the type of crude oil being stored. oil_sands_mine: A string representing the name of the oil sands mine, or “None” if there is no mine. API: The API gravity of the crude oil being stored. storage_gas_comp: The composition of the storage gas. CH4_comp: The methane component of the storage gas composition. f_FG_CS_VRU: The fraction of exsolved gas that is sent to the vapor recovery unit. f_FG_CS_FL: The fraction of exsolved gas that is flared.
- 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