equipment.Ciclon module¶
- class equipment.Ciclon(**kwargs)[source]¶
Bases:
Separador_SolidGasClass to model a cyclone equipment
- Parameters:
Entrada: Corriente instance to define the input stream to equipment tipo_calculo:
0 - Rating 1 - Design
- modelo_rendimiento: Model to simulate the equipment:
0 - Rosin-Rammler-Intelmann 1 - Leith-Licht
- modelo_DeltaP: Method to calculate the pressure loss:
0 - Simple, only cinetic loss 1 - Casal-Martinez-Benet 2 - Leith-Licht 3 - Sheferd, Lapple y Ter Linden
- modelo_ciclón: Use a standard model to dimension the equipment
0 - Stairmand (High η) 1 - Swift (High η) 2 - Lapple (Low η) 3 - Swift (Low η) 4 - Peterson/Whitby (Low η) 5 - Lorenz I 6 - Lorenz II 7 - Lorenz III 8 - Custom
diametro: Cyclone diameter num_ciclones: Cyclone count working in parallel dimensiones: If use a custom cyclone model, it can be defined here with
- array with the custom dimension in the order:
Inlet Height, Hc Inlet Width, Bc Solid Output Diameter, Jc Cylinder Cyclone Section Length, Lc Conical Cyclone Section Length, Zc Clean Gas Output Diameter, De Clean Gas Inlet Orifice Length, Sc
rendimientoAdmisible: Required efficiency orcyclone (design) DeltaPAdmisible: Maximum pressure loss permisible of cyclone velocidadAdmisible: Input gas speed to equipment
- Coste
- tipo_costo:
0 - Heavy duty 1 - Standart duty 2 - Multiciclone
>>> from lib.corriente import Corriente >>> from lib.solids import Solid >>> dm = [17.5e-6, 22.4e-6, 26.2e-6, 31.8e-6, 37e-6, 42.4e-6, 48e-6, 54e-6, 60e-6, 69e-6, 81.3e-6, 96.5e-6, 109e-6, 127e-6] >>> fracciones = [0.02, 0.03, 0.05, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.05, 0.03, 0.02] >>> sol = Solid(caudalSolido=[0.1], distribucion_diametro=dm, distribucion_fraccion=fracciones, solids=[638]) >>> kw = {"ids": [475], "fraccionMolar": [1.], "MEoS": True} >>> entrada = Corriente(T=300, P=1e5, caudalMasico=1, solido=sol, **kw) >>> ciclon = Ciclon(entrada=entrada, tipo_calculo=1, rendimientoAdmisible=0.95, velocidadAdmisible=5) >>> print("%0.2f %0.2f" % (ciclon.C_instTotal, ciclon.C_adqTotal)) 7597.86 5427.04
- 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)
readStatefromJSON(state)Load instance parameter from saved file
writeStatetoJSON(state)Write instance parameter to file
Pdf
PerdidaPresion
calcularRendimientos_parciales
coste
dimensionado
velocidad_f_presion
- title = 'Cyclone'¶
- help = '/home/docs/checkouts/readthedocs.org/user_builds/pychemqt/checkouts/latestdocs/_build/html/help.equipment.Ciclon.html'¶
- kwargs = {'Base_index': 0.0, 'Current_index': 0.0, 'Dc': 0.0, 'DeltaPAdmisible': 0.0, 'dimensiones': [], 'entrada': None, 'f_install': 1.4, 'modelo_DeltaP': 0, 'modelo_ciclon': 0, 'modelo_rendimiento': 0, 'num_ciclones': 0, 'rendimientoAdmisible': 0.0, 'tipo_calculo': 0, 'tipo_costo': 0, 'velocidadAdmisible': 0.0}¶
- kwargsInput = ('entrada',)¶
- kwargsValue = ('Dc', 'num_ciclones', 'rendimientoAdmisible', 'velocidadAdmisible', 'DeltaPAdmisible')¶
- kwargsList = ('tipo_calculo', 'modelo_rendimiento', 'modelo_DeltaP', 'modelo_ciclon', 'tipo_costo')¶
- calculateValue = ('deltaP', 'V', 'rendimiento', 'NCalc', 'Dcc', 'Hc', 'Bc', 'Jc', 'Lc', 'Zc', 'De', 'Sc')¶
- calculateCostos = ('C_adq', 'C_inst', 'num_ciclonesCoste', 'Q')¶
- indiceCostos = 2¶
- TEXT_TIPO = ['Rating', 'Design']¶
- TEXT_MODEL = ['Rossin, Rammler & Intelmann', 'Leith & Licht']¶
- TEXT_MODEL_DELTAP = ['Standart', 'Casal & Martinez-Benet', 'Leith & Licht', 'Sheferd, Lapple & Ter Linden']¶
- TEXT_MODEL_CICLON = ['Stairmand (High η)', 'Swift (High η)', 'Lapple (Low η)', 'Swift (Low η)', 'Peterson/Whitby (Low η)', 'Lorenz I', 'Lorenz II', 'Lorenz III', 'Custom']¶
- TEXT_COST = ['Heavy duty', 'Standard dury', 'Multicyclone']¶
- property isCalculable¶
Each child class must define if its calculable for input kwargs