equipment.ColumnFUG module

class equipment.ColumnFUG(**kwargs)[source]

Bases: Tower

Simple distillation equipment using the simplified method of Fenske-Underwood-Gilliland

Parameters:

entrada: Corriente instance to define the input to equipment feed: Method to calculate the feed tray

0 - Kirkbride 1 - Fenske

LK: Index with light key component LKsplit: Light key component required separation at top of equipment HK: Index with heavy key component HKsplit: Heavy key component required separation at bootom of equipment condenser: Condenser type

0 - Total 1 - Partial

R: Reflux ratio R_Rmin: Reflux ratio over the minimum ratio Pd: Design presure for column, default pressure of input stream DeltaP: Pressure loss in equipment

Cost:
proceso: Process type

0 - Absortion 1 - Distillation

tipo: Column type

0 - Tray column 1 - Torre de relleno

tipo_pisos: Tray type

0 - De válvula 1 - De rejilla 2 - De borboteo 3 - De tamiz

material_columna

0 - carbon steel 1 - Stainless steel 304 2 - Stainless steel 316 3 - Carpenter 20CB-3 4 - Nickel 200 5 - Monel 400 6 - Inconel 600 7 - Incoloy 825 8 - Titanium

material_pisos

0 - carbon steel 1 - Stainless steel 304 2 - Stainless steel 316 3 - Carpenter 20CB-3 4 - Nickel 200 5 - Monel 400 6 - Inconel 600 7 - Incoloy 825 8 - Titanium

C_unitario: Unitary cost of filler material, $/m³ Di: Internal diameter h: Height W: Cover width Wb: Cover width at botom head

Attributes:
isCalculable

Each child class must define if its calculable for input kwargs

Methods

calculo()

Procedure to calcute equipment, defined in child class

cleanOldValues(**kwargs)

Update kwargs with new input kwargs, defined in child class, here can be implemented kwarg incompatibiity input and more

propTxt()

txt equivalent to output properties of equipment

propertiesEquipment()

procedure to define output values in a list with format: (Name, kwargs name, units), if kwargs name if a combobox element the index isn't useful so use a tuple (Txt_Values kwargs_name)

propertiesListTitle(index)

Define los titulos para los popup de listas

McCabe

title = 'Column (Shortcut method)'
kwargs = {'Base_index': 0.0, 'C_unitario': 0.0, 'Current_index': 0.0, 'DeltaP': 0.0, 'Di': 0.0, 'HK': 0, 'HKsplit': 0.0, 'LK': 0, 'LKsplit': 0.0, 'Pd': 0.0, 'R': 0.0, 'R_Rmin': 0.0, 'W': 0.0, 'Wb': 0.0, 'condenser': 0, 'entrada': None, 'f_install': 3, 'feed': 0, 'h': 0.0, 'material_columna': 0, 'material_pisos': 0, 'proceso': 0, 'tipo': 0, 'tipo_pisos': 0}
kwargsInput = ('entrada',)
kwargsValue = ('LKsplit', 'HKsplit', 'R', 'R_Rmin', 'Pd', 'DeltaP')
kwargsList = ('feed', 'LK', 'HK', 'condenser')
calculateValue = ('DutyCondenser', 'DutyReboiler', 'Rmin', 'RCalculada', 'Nmin', 'NTray', 'N_feed')
indiceCostos = 3
TEXT_FEED = ['Kirkbride', 'Fenske']
TEXT_CONDENSER = ['Total', 'Partial']
cleanOldValues(**kwargs)[source]

Update kwargs with new input kwargs, defined in child class, here can be implemented kwarg incompatibiity input and more

property isCalculable

Each child class must define if its calculable for input kwargs

calculo()[source]

Procedure to calcute equipment, defined in child class

McCabe()[source]
propTxt()[source]

txt equivalent to output properties of equipment

classmethod propertiesEquipment()[source]

procedure to define output values in a list with format: (Name, kwargs name, units), if kwargs name if a combobox element the index isn’t useful so use a tuple (Txt_Values kwargs_name)

propertiesListTitle(index)[source]

Define los titulos para los popup de listas