equipment.Heat_Exchanger module¶
- class equipment.Heat_Exchanger(**kwargs)[source]¶
Bases:
equipmentDefine a simple heat exchanger, only make energy balance
- Parameters:
entrada: Corriente instance to define input stream Heat: global heat value exchanged Tout: Output temperature DeltaT: Increase temperature in stream A: area for heat exchange U: Global coefficient of heat transmision Text: Ambient external temperature DeltaP: Opcional pressure losses of equipment
>>> from lib.corriente import Corriente >>> agua = Corriente(T=300, P=101325., caudalMasico=1., fraccionMolar=[1.]) >>> Cambiador = Heat_Exchanger(entrada=agua, Tout=350) >>> print("%6g" % Cambiador.HeatCalc.MJh) 753.063
- Attributes:
isCalculablemodo: unknown variable to calculate
Methods
calculo()Procedure to calcute equipment, defined in child class
cleanOldValues(**kwargs)Clean kwargs values for old heat exchanger definition
propTxt()txt equivalent to output properties of equipment
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
- title = 'Heat Exchanger'¶
- help = ''¶
- kwargs = {'A': 0.0, 'DeltaP': 0.0, 'DeltaT': 0.0, 'Heat': 0.0, 'Text': 0.0, 'Tout': 0.0, 'U': 0.0, 'entrada': None}¶
- kwargsInput = ('entrada',)¶
- kwargsValue = ('Heat', 'Tout', 'DeltaT', 'A', 'U', 'Text', 'DeltaP')¶
- calculateValue = ('HeatCalc', 'ToutCalc')¶
- property isCalculable¶
- modo: unknown variable to calculate
1 - Known output temperature, calculate other variables 2 - known heat exchange 3 - known heat exchanger characteristic, calculate output stream