equipment.Scrubber module¶
- class equipment.Scrubber(**kwargs)[source]¶
Bases:
Separador_SolidGasClass to model a scrubber equipment
- Parameters:
entradaGas: Corriente instance for define the gas input to equipment entradaLiquido: Corriente instance for define the liquid input tipo_calculo:
0 - Rating, known dimensions 1 - Design, fixed efficiency, calculate dimensions
diametro: Scruber diameter rendimientoAdmisible: Efficiency admisible modelo_rendimiento: Scrubber calculate model:
0 - Johnstone (1954) 1 - Calvert (1972)
k: Empiric constant of scrubber for Johnstone Method, range 500-1000 f: Empiric constant of scrubber for Calvert Method, range from
0.2 (hydrophobic) to 0.7 (hydrophilic)
- modelo_DeltaP:
0 - Young (1977)
- Attributes:
isCalculableEach child class must define if its calculable for input kwargs
Methods
calculo()Procedure to calcute equipment, defined in child class
propTxt()i: index of common properties in equipment subclas list
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)
- title = 'Scrubber'¶
- help = ''¶
- kwargs = {'Lt': 0.0, 'diametro': 0.0, 'entradaGas': None, 'entradaLiquido': None, 'f': 0.0, 'k': 0.0, 'modelo_DeltaP': 0, 'modelo_rendimiento': 0, 'rendimientoAdmisible': 0.0, 'tipo_calculo': 0}¶
- kwargsInput = ('entradaGas', 'entradaLiquido')¶
- kwargsValue = ('diametro', 'rendimientoAdmisible', 'k', 'Lt')¶
- kwargsList = ('tipo_calculo', 'modelo_rendimiento', 'modelo_DeltaP')¶
- calculateValue = ('deltaP', 'rendimiento')¶
- TEXT_TIPO = ['Rating: Calculate efficiency', 'Design: Calculate diameter']¶
- TEXT_MODEL = ['Johnstone (1954)', 'Calvert (1972)']¶
- TEXT_MODEL_DELTAP = ['Calvert (1968)', 'Hesketh (1974)', 'Gleason (1971)', 'Volgin (1968)', 'Young (1977)']¶
- property isCalculable¶
Each child class must define if its calculable for input kwargs