Separation Process

class opgee.processes.separation.Separation(name, **kwargs)
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

compressor_brake_horsepower_of_stages(field, gas_stream, gas_compression_volume_stages)

Get the compressor horsepower of all stages in the separator

Parameters:
  • field

  • gas_stream

  • gas_compression_volume_stages – (float) a list contains gas compression volume for each stages

Returns:

(float) compresssor brake horsepower for each stages

impute()

Called for Process instances upstream of Stream with exogenous input data, allowing those nodes to impute their own inputs from the output Stream.

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

water_in_oil_mass_rate(oil_mass_rate)
Parameters:
  • field

  • oil_mass_rate – (float) oil mass rate

Returns:

(float) water mass rate in the oil stream after separation (unit = tonne/day)