没有合适的资源?快使用搜索试试~ 我知道了~
15设计一个板翅式换热器.pdf
需积分: 5 0 下载量 186 浏览量
2023-11-06
08:59:04
上传
评论
收藏 74KB PDF 举报
温馨提示
试读
12页
15设计一个板翅式换热器
资源推荐
资源详情
资源评论
end
Example 5.2 Design a plate-fin heat exchanger
(MatLab code)
% Example 5.2 Design a plate-fin heat exchanger
% Design an aluminum gas-to-air crossflow plate-fin heat exchanger using
% offset-strip fins. The molar components of the flue gas are:
% 77% N2, 12% CO2, 7% O2 and 4% H2O. The design parameters and their
% ranges are shown in Table 5.2 except the fluid properties that shall be
% calculated according to the fluid temperature. The heat loss to the
% surrounding and the effect of heat conduction in fins and plates in the
% flow direction are neglected. The exchanger shall have the minimum total
% annual cost evaluated by Eqs. (5.97)-(5.99) with C_A = 100 $/m2,
% n_A = 0.6, C_el = 30 $/MWh, tau = 6500 h/yr, and eta_p = 0.5. The area
% reservation is not considered.
% Table 5.2 Design parameters and their ranges (Mishra et al., 2009)
% Parameters Hot fluid Cold fluid
% Mass flow rate, m(kg/s) 0.8962 0.8296
% Inlet temperature, T_in(K) 513 277
534 Appendix
% Inlet pressure, p_in(Pa) 1E5 1E5
% Plate thickness, delta_p(m) 0.0008
% Thermal conductivity of fin material, lambda_f(W/mK) 150
% Heat duty of the exchanger, Q(W) 160000
% Parameters to be optimized
% Number of fin layer apirss, N_fl 1 10 N_fl_h + 1
% Exchanger length in flow direction, L(m) 0.1 1.0 0.1 1.0
% Fin height, h_f(m) 0.002 0.01
% Fin thickness, delta_f(m) 0.0001 0.0002
% Fin strip length, l_s(m) 0.001 0.01
% Number of fins per meter, FPM(1/m) 100 1000
clear
% n_opt = 0: rating
% 1: fmincon
% 2: partical swarming optimization
% 3: genetic algorithm with integer variables, round to mm
n_opt = 0;
C_RF = 1; % heat transfer area enlargement factor
file = 'PFHE_ga.txt';
x =[8 0.994 0.887 0.00953 0.00953 0.000146 0.000146 0.0063 0.0063 534.9 534.9];
% N_fl L_h L_c h_f_h h_f_c delta_f_h delta_f_c l_s_h l_s_c FPM_h FPM_c
lb =[1 0.1 0.1 0.002 0.002 0.0001 0.0001 0.001 0.001 100 100];
ub =[10 1.01.0 0.01 0.01 0.0002 0.0002 0.01 0.01 1000 1000];
nvars = 11;
% subject to the linear inequalities A∗x <= b. If no inequalities exist,
% set A = [] and b = [].
A = [];
b = [];
% subject to the linear equalities Aeq∗x = beq. If no equalities exist,
% set Aeq = [] and beq = [].
Aeq = [];
beq = [];
nonlcon = [];
IntCon = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
% rng default; % For reproducibility
535Appendix
switch n_opt
case 1
scale = [1 1111111111];
rlb = lb ./ scale;
rub = ub ./ scale;
x=x./scale;
x = fmincon(@(x)opt_plate_fin_heat_exchanger ...
(x, C_RF, scale, nvars, file), x, A, b, Aeq, beq, rlb, rub);
x=x.∗ scale;
case 2
scale = [1 1111111111];
nlb = lb ./ scale;
nub = ub ./ scale;
options = optimoptions('particleswarm', 'SwarmSize', 500, ...
'HybridFcn', @fmincon);
[x, fval, exitflag, output] = ...
particleswarm(@(x)opt_plate_fin_heat_exchanger ...
(x, C_RF, scale, nvars, file), nvars, nlb, nub, options);
x=x.∗ scale;
case 3
% N_fl L_h L_c h_f_h h_f_c delta_f_h delta_f_c l_s_h
% l_s_c FPM_h FPM_c
scale = [1 0.001 0.001 0.0001 0.0001 0.00001 0.00001 0.0001
0.0001 0.1 0.1];
nlb = round(lb ./ scale, 0);
nub = round(ub ./ scale, 0);
options = optimoptions('ga','PopulationSize',250, ...
'MaxGenerations', 5000, 'MaxStallGenerations', 500);
x = ga(@(x)opt_plate_fin_heat_exchanger(x, C_RF, scale,
nvars, file), ...
nvars, A, b, Aeq, beq, nlb, nub, nonlcon, IntCon, options);
x=x.∗ scale;
otherwise
scale = [1 1111111111];
n_output = 2; % output calculation results and more information
plate_fin_heat_exchanger(x ./ scale, C_RF, scale, nvars, file,
n_output);
plate_fin_heat_exchanger(x ./ scale, 1, scale, nvars, file,
n_output);
end
536 Appendix
剩余11页未读,继续阅读
资源评论
温柔-的-女汉子
- 粉丝: 931
- 资源: 4012
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功