Week 4.2 - Combustion Efficiency Calculation after Preheating
1:What is the effect of preheating temperature on the adiabatic flame temperature?
Adiabatic flame temperature varies linearly with the preheating temperature.

python file
# heat recuparator efficieny calculation
"""
A furnace is used to burn methane and air mixture. A recuperator is connected to this
furnace to recover some of the energy from the exhaust gases
"""
# calulation for the mixing valve
# here preheated air and fresh air get mixed
# fresh air temperature and pressure is 298.15K and one atm pressure
# so the energy balance
# m_pre*h_pre + m_fresh*h_fresh = m_air*h_air
# mass flow rate balance
# m_pre + m_fresh = m_air
# here we assume that 1 mole of preheated air is mixed with one mole of fresh air
from operator import imod
import cantera as ct
import matplotlib.pyplot as plt
import numpy as np
gas=ct.Solution('gri30.yaml')
inlet_Air=ct.Quantity(gas)
T=[]
T_pre=np.linspace(298,500,200)
for i in T_pre:
inlet_Air=ct.Quantity(gas)
inlet_Air.TPX=i,ct.one_atm,{'O2':0.21,'N2':0.79}
inlet_Air.moles=2
# if the chamber is adiabatic then the temperture is adiabatic flame temperature
fuel_CH4=ct.Quantity(gas)
fuel_CH4.TPX=298.15,ct.one_atm,'CH4:1'
fuel_CH4.moles=1
combustion_pr=fuel_CH4+inlet_Air
combustion_pr.equilibrate('HP')
T.append(combustion_pr.T)
plt.plot(T_pre,T,color='red')
plt.xlabel("pre heating temperature")
plt.ylabel("adiabatice flame temperature")
plt.show()