Demethanizer Process

class opgee.processes.demethanizer.Demethanizer(name, **kwargs)

A class to represent the Demethanizer process, which is responsible for separating methane from heavier hydrocarbons (NGL) and producing a methane-rich gas stream and a heavier hydrocarbon stream (LPG).

Attributes
feed_press_demethanizerpint.Quantity

The pressure of the feed gas entering the demethanizer column.

column_pressurepint.Quantity

The pressure inside the demethanizer column.

methane_to_LPG_ratiopint.Quantity

The desired ratio of methane to LPG in the product streams.

demethanizer_tblpd.DataFrame

The demethanizer table containing correlation equations for the process.

mol_per_scfpint.Quantity

The conversion factor for moles to standard cubic feet.

eta_reboiler_demethanizerpint.Quantity

The efficiency of the reboiler in the demethanizer column.

air_cooler_speed_reducer_effpint.Quantity

The efficiency of the speed reducer in the air cooler.

air_cooler_delta_Tpint.Quantity

The temperature difference across the air cooler.

air_cooler_fan_effpint.Quantity

The efficiency of the air cooler fan.

air_cooler_press_droppint.Quantity

The pressure drop across the air cooler.

water_presspint.Quantity

The water pressure associated with the air cooler pressure drop.

eta_compressorpint.Quantity

The efficiency of the compressor in the demethanizer process.

prime_mover_typestr

The type of prime mover used in the process.

Methods
run(analysis)

Simulates the Demethanizer process to separate the incoming gas stream into a methane-rich stream and a heavier hydrocarbon stream.

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