附:汽轮机课程设计 MATLAB 计算程序代码:一、汽轮机流量计算的代码:%-—-—----—--————-—--—-————--——--——----—-—--——-—-—-——--——---——--—--———-----%汽轮机流量的计算P_el=2
25;%汽轮机的的设计功率deltah_n=200; %汽轮机调节级的比焓降h0=3224
5;h_l=h0—deltah_n; %调节级后的比焓h_e1=2711
4;h_e2=2637
6;h_z=2429
74;h_ed=437;h_cw=316
6;h_w2=304
03;h_w1=171
73;deltahmac=h0—h_z ; %通流部分的理想比焓降eta_ri=0
775;eta_m=0
97;eta_g=0
97;eta_h=0
98;m=1
026D_0=(3
6*P_el*1000/(deltahmac*eta_g*eta_m)*m)/0
97 %汽轮机的总进气量deltaD_1=0
03*D_0D_fw=D_0-deltaD_1deltaD_e1=—D_fw*(-h_ed+h_cw)/(h_e1—h_cw)deltaD_cw=D_fw*(h_e1-h_ed)/(h_e1—h_cw)deltaD_e2=deltaD_cw*(h_w2-h_w1)/((h_e2-h_cw)*eta_h)%调节级P_i0=D_0*deltah_n/3
6%第一级组D_1=D_0-deltaD_1P_i1=D_1*(h_l—h_e1)/3
6%第二级组D_2=D_1—deltaD_e1P_i2=D_2*(h_e1-h_e2)/3
6%第三级组D_3=D_2-deltaD_e2P_i3=D_3*(h_e2—h_z)/3
6%整机功率P_i=P_i0+P_i1+P_i2+P_i3%机械损失deltaP_m=P_i*(1—eta_m