Sunteți pe pagina 1din 1

$Keyboard US

subprogram dh(a,b, c, d,T_i,T_f,MM:deltah)


cp=a+b*t+c*t^2+d*t^3
deltah_m=integral(cp,t,T_i,T_f)
deltah=deltah_m/MM
end
"(0.7*C2H6 + 0.3*CO) + a*(1+EA)*(0.21*O2 + 0.79*N2) ----> b*CO2 + c*H2O + d*O2 + e*N2"
"C:"0.7*2+0.3*1=b
"H"0.7*6=2*c
"O est" 0.3 + a*0.21*2=b*2+c
"O exceso"a*EA*0.21*2=d*2
"N2"a*(1+EA)*0.79=e
EA=0.1
m_dot_agua=102.3 [kg/s]
M_comb=0.7*molarmass(C2H6)+0.3*molarmass(CO)
T_ref=convertTemp(C,K,25[C])
T_N=convertTemp(C,K,0[C])
T_gc=convertTemp(C,K,860[C])
T_agua_in=convertTemp(C,K,10[C])
T_agua_out=convertTemp(C,K,65[C])
P_ref=101.325 [kPa]
PCI=0.7*molarmass(C2H6)/M_comb*
LowerHeatingValue(C2H6)+0.3*molarmass(CO)/M_comb*LowerHeatingValue(CO)
"Flujo másico del combustible:"
{m_dot_comb=V_dot_comb/v_comb
V_dot_comb=3085[m^3/h]*convert(m^3/h,m^3/s)
v_comb=R#*T_N/(P_ref*M_comb)}
"C) con m_dot_agua=102.3[kg/s] y EA=0.1"
m_dot_comb*PCI+m_dot_agua*h_in=m_dot_comb*(R_CO2*dh_CO2+R_H2O*dh_H2O+R_O2*dh_
O2+R_N2*dh_N2)+m_dot_agua*h_out "Balance de Energía"
h_in=Enthalpy(Water,T=T_agua_in,x=0)
h_out=Enthalpy(Water,T=T_agua_out,x=0)
x_c=(0.7*2 + 0.3)*12/M_comb "Fracciones másicas"
x_h=(0.7*6)*molarmass(H)/M_comb
x_o=0.3*molarmass(O)/M_comb
R_CO2=x_c*molarmass(CO2)/molarmass(C)
R_H2O=x_h*molarmass(H2O)/(2*molarmass(H))
R_O2=0.21*V_air_est*(EA)*molarmass(O2)/22.4
R_N2=0.79*V_air_est*(1+EA)*molarmass(N2)/22.4
v_air_est=22.4*(x_c/molarmass(C) + x_h/(4*molarmass(H)) - x_o/(2*molarmass(O)))/0.21
dh_CO2=Enthalpy(CO2,T=T_gc)-Enthalpy(CO2,T=T_ref)
dh_H2O=Enthalpy(H2O,T=T_gc)-Enthalpy(H2O,T=T_ref)
dh_O2=Enthalpy(O2,T=T_gc)-Enthalpy(O2,T=T_ref)
dh_N2=Enthalpy(N2,T=T_gc)-Enthalpy(N2,T=T_ref)
"d)Correlaciones NASA"
{call dh(22.26,5.981*10^(-2), -3.501*10^(-5), 7.469*10^(-9),T_ref,T_gc,molarmass(CO2):dh_CO2)
call dh(32.24,0.1923*10^(-2), 1.055*10^(-5), -3.595*10^(-9),T_ref,T_gc,molarmass(H2O):dh_H2O)
call dh(25.48,1.520*10^(-2), -0.7155*10^(-5), 1.312*10^(-9),T_ref,T_gc,molarmass(O2):dh_O2)
call dh(28.90,-0.1571*10^(-2), 0.081*10^(-5), -2.873*10^(-9),T_ref,T_gc,molarmass(N2):dh_N2)}
A_t=1.4^2 [m^2]
v_gas_est=R#*T_gc*(x_c/molarmass(C) + x_h/(2*molarmass(H)))/P_ref + 0.79*v_air_est/22.4
*(R#*T_gc)/P_ref
v_gc=v_gas_est + EA*v_air_est/22.4 * (R#*T_gc)/P_ref
v_gc*m_dot_comb=V_dot_gc
V_dot_gc=A_t*V"e) Velocidad de los gases de combustión"

S-ar putea să vă placă și