Anda di halaman 1dari 11

Commbustion Toolbox

J. Terp
ak
Technical University of Kosice
B.E.R.G. Faculty, Institute of Control and Informatization of Production
Processes
Kosice, Slovak Republic

1 Introduction
The Combustion Toolbox for Matlab provides computing basic parameter of gas
fuel (density, Wobbe number, combustion velocity, gas mixture etc.) and gas
fuel combustion (combustion air volume, composition, volume and temperature
of waste gas etc.)

2 Installation Instructions
Unzip the files from the Combustion.zip file. This creates a subfolder named
Combustion. This new directory containing .m files should be added to the
Matlab search path. If using the Matlab desktop, navigate to the Set Path
dialog (File > Set Path). Click the Add Folder button and browse to the
directory containing the Combustion Toolbox, select OK to confirm. You may
wish to click the Save button to preserve the configuration between sessions.
Click Close to dismiss the dialog.

3 Functions of Commbustions toolbox


Toolbox consist from 14 functions. Test of the Combustion toolbox is presented
in file TEST.m

3.1 Air Damp


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function return conversion dry air to damp air.

function [PH2OSAT, DAMP, RATIO, V_AIR]= AIR_DAMP (S_AIR, T_AIR, FI, P_AIR)

PH2OSAT = A0 + A1*T_AIR + A2*T_AIR^2 + A3*T_AIR^3 + A4*T_AIR^4

1
FI*PH2OSYT
V_AIR = 1.0 + ------------------------- [m3]
100.0*P_AIR - FI*PH2OSYT

DAMP = V_AIR - 1.0 [%]

1.0
RATIO = ---------
V_AIR

N2 = N2 *RATIO;
O2 = O2 *RATIO;
CO2 = CO2 *RATIO;
H2O = 100.0 *DAMP/V_AIR;
SO2 = SO2 *RATIO;
CO = CO *RATIO;
H2 = H2 *RATIO;
CH4 = CH4 *RATIO;
C2H4 = C2H4 *RATIO;
C2H6 = C2H6 *RATIO;
C3H8 = C3H8 *RATIO;
C4H10= C4H10*RATIO;
H2S = H2S *RATIO;

INPUTS
S_AIR - AIR structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
T_AIR - AIR temperature [K]
P_AIR - AIR pressure [Pa]
FI - relative air damp [%]

OUTPUTS
PH2OSAT - partial pressure of saturated steam [Pa]
DAMP - air damp [%]
RATIO -
V_AIR - AIR volume [m3]

3.2 Air Min


Contents
DESCRIPTION
INPUTS
OUTPUTS

2
DESCRIPTION
Function return minimum air volume for fuel combustion.
function [O2MIN1,AIRMIN1] = AIR_MIN (S_FUEL,S_AIR)
CO + 1/2 O2 --> 1 CO2
H2 + 1/2 O2 --> 1 H2O
CH4 + 2 O2 --> 1 CO2 + 2 H2O
C2H4 + 3 O2 --> 2 CO2 + 2 H2O
C2H6 + 7/2 O2 --> 2 CO2 + 3 H2O
C3H8 + 5 O2 --> 3 CO2 + 4 H2O
C4H10 + 13/2 O2 --> 4 CO2 + 5 H2O
H2S + 3/2 O2 --> 1 SO2 + 1 H2O

INPUTS
S_FUEL - fuel structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
S_AIR - air structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

OUTPUTS
O2MIN1 - minimum oxygen volume necessary for 1 m3 of fuel [m3/m3]
AIRMIN1 - minimum air volume necessary for 1 m3 of fuel [m3/m3]

3.3 Calorific Value


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function return fuel calorific value.
function [CV] = CALORIFIC_VALUE (S_FUEL);
CO + 1/2 O2 --> CO2 + 12645 J/m3
H2 + 1/2 O2 --> H2O + 10760 J/m3
CH4 + 2 O2 --> CO2 + 2 H2O + 35860 J/m3
C2H4 + 3 O2 --> 2 CO2 + 2 H2O + 59079 J/m3
C2H6 + 7/2 O2 --> 2 CO2 + 3 H2O + 63768 J/m3
C3H8 + 5 O2 --> 3 CO2 + 4 H2O + 91277 J/m3
C4H10 + 13/2 O2 --> 4 CO2 + 5 H2O + 118680 J/m3
H2S + 3/2 O2 --> SO2 + H2O + 23689 J/m3

3
INPUTS
S_FUEL - fuel structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

OUTPUTS
CV - fuel calorific value [kJ/m3]

3.4 Complete Combustion


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function represent complete combustions of fuel with certain composition and
temperature. Output is waste gas with composition, temperature and volume.
function [S_WG,V1_WG,TAD,TRE]=
COMPLET_COMB(S_FUEL,V_FUEL,T_FUEL,ETAP,S_AIR,V_AIR,T_AIR,FI,P_AIR);

INPUTS
S_FUEL - FUEL structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V_FUEL - FUEL volume [m3]
T_FUEL - FUEL temperature [K]
ETAP - pyrometrical effectiveness [-]
S_AIR - AIR structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V_AIR - AIR volume [m3]
T_AIR - AIR temperature [K]
FI - relative air damp [%]
P_AIR - AIR pressure [Pa]

OUTPUTS
S_WG - structure of wastegas
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V1_WG - volume of wastegas for 1m3 fuel [m3]
TAD - adiabatic temperature of combustion [K]
TRE - real temperature of combustion [K]

4
3.5 Incomplete Combustions
Contents
DECRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function represent incomplete combustion what is combustion by deficiency of
air. Definition of function is defined bellow.

function [S_WG,V1_WG,TAD,TRE]=
INCOMPLET_COMB(S_FUEL,V_FUEL,T_FUEL,ETAP,S_AIR,V_AIR,T_AIR,FI,P_AIR);

INPUTS
S_FUEL - FUEL structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V_FUEL - FUEL volume [m3]
T_FUEL - FUEL temperature [K]
ETAP - pyrometrical effectiveness [-]
S_AIR - AIR structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V_AIR - AIR volume [m3]
T_AIR - AIR temperature [K]
FI - relative air damp [%]
P_AIR - AIR pressure [Pa]

OUTPUTS
S_WG - structure of wastegas
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V1_WG - volume of wastegas for 1m3 fuel [m3]
TAD - adiabatic temperature of combustion [K]
TRE - real temperature of combustion [K]

3.6 Mixture of Gas


Contents
DESCRIPTION
INPUTS
OUTPUTS

5
DESCRIPTION
Function return structure, volume and temperature of mixture two gases.
function [S_GAS,V_GAS,T_GAS]=MIXTURE_GAS(S_GAS1,V_GAS1,T_GAS1,S_GAS2,V_GAS2,T_GAS2)

heat balance:
Q_GAS1 + Q_GAS2 = Q_GAS [J]
where
Q_GAS1 = V_GAS1*CP_GAS(T_GAS1,S_GAS1)*T_GAS1 [J]
Q_GAS2 = V_GAS2*CP_GAS(T_GAS2,S_GAS2)*T_GAS2 [J]
Q_GAS = V_GAS *CP_GAS(T_GAS1,S_GAS1)*T_GAS [J]
T_GAS = Q_GAS/(V_GAS *CP_GAS(T_GAS1,S_GAS1)) [K]

V_GAS = V_GAS1 + V_GAS2

RATIO1 = V_GAS1/(V_GAS1 + V_GAS2);


S_GAS.XY = S_GAS1.XY*RATIO1 + S_GAS2.XY*(1-RATIO1);

INPUTS
S_GAS1, S_GAS2 - gas structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

V_GAS1, V_GAS2 - gas volume [m3]

T_GAS1, T_GAS2 - gas temperature [K]

OUTPUTS
S_GAS - result gas structure
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

V_GAS - result gas volume [m3]

T_GAS - result gas temperature [K]

3.7 Speed of Combastion


Contents
DESCRIPTION
INPUTS
OUTPUTS

6
DESCRIPTION
Function return flame spread rate.
function [Un, Uni] = SPEED_COMB (S_FUEL);
%CO*Un_CO + %H2*Un_H2 + ... + %CH4*Un_CH4
Un= ------------------------------------------- [m/s]
%CO + %H2 + ... + %CH4

100 - %N2 - 1,2*%CO2


Uni =----------------------- * Un [m/s]
100

INPUTS
S_FUEL - fuel structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

OUTPUTS
Un - flame spread rate [m/s]
Uni - flame spread rate with inert gas [m/s]

3.8 Adiabatic Temperature


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function return adiabatic and real combustion temperature.
heat balance: Q_FUEL + Q_AIR + Q_CHEM = Q_WG [J]
where
Q_FUEL = CP_GAS(T_FUEL,S_FUEL)*T_FUEL [J]
Q_AIR = (V_AIR*CP_GAS(T_AIR, S_AIR)*T_AIR)/V_FUEL [J]
Q_CHEM = CALORIFIC_VALUE(S_FUEL) [J]
Q_WG = V1_WG*CP_GAS(TAD,S_WG)*TAD [J]
Q_WG
TAD = ---------------------------------- [K]
V1_WG*CP_GAS(TAD,S_WG)
TRE = TAD * ETAP / 100 [K]

7
INPUTS
ETAP - efficiency of combustion [%]

T_AIR - air temperature [K]


V_AIR - air volume [m3]
S_AIR - air structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
T_FUEL - fuel temperature [K]
V_FUEL - fuel volume [m3]
S_FUEL - fuel structure
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]
V1_WG - wastegas volume from 1m3 of fuel [m3]
S_WG - wastegas structure
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

OUTPUTS
TAD - adiabatic temperature of combustion [K]
TRE - real temperature of combustion [K]

3.9 Waste Gas


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION:
Function return volume and structure of waste gas.

function [S_WG,S_WG_DRY,V1_WG,V1_WG_DRY]=WASTE_GAS(FUEL,V_FUEL,AIR,V_AIR,AIRMIN1);

CO + 1/2 O2 --> 1 CO2


H2 + 1/2 O2 --> 1 H2O
CH4 + 2 O2 --> 1 CO2 + 2 H2O
C2H4 + 3 O2 --> 2 CO2 + 2 H2O
C2H6 + 7/2 O2 --> 2 CO2 + 3 H2O
C3H8 + 5 O2 --> 3 CO2 + 4 H2O
C4H10 + 13/2 O2 --> 4 CO2 + 5 H2O
H2S + 3/2 O2 --> 1 SO2 + 1 H2O

INPUTS
FUEL - fuel structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

8
V_FUEL - fuel volume [m3]

AIR - air structure:


N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

V_AIR - air volume [m3]

AIRMIN1 - minimum air volume necessary for fuel combustion [m3]

OUTPUTS
S_WG - waste gas structure
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

S_WG_DRY - dry waste gas structure


N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

V1_WG - waste gas volume for 1m3 fuel [m3/m3]

V1_WG_DRY - dry waste gas volume for 1m3 fuel [m3/m3]

3.10 Wobbes Fuel Number


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function return Wobbes fuel number

function [WN] = WOBBE_No (FUEL)

INPUTS
FUEL - FUEL structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

OUTPUTS
WN - Wobbes fuel number [kJ/m3]

9
3.11 Equilibrium Constant of Reaction
Contents
DESCRIPTION: equilibrium constant of reaction
INPUTS:
OUTPUTS:
AUXILIARY VARIABLES:

function [EC]= f(T);

DESCRIPTION
Function for equlibrium constant of reaction.

CO + H2O = CO2 + H2

INPUTS
T - temperature [K]

OUTPUTS
EC - equilibrium constant [-]

3.12 Specific Thermal Capacity


Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function return gas specific thermal capacity accordin to composition and tem-
perature of gas.

function [CP] = CP_GAS (TEMPERATURE,GAS);

INPUTS
GAS - gas structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

TEMPERATURE - gas temperature [K]

OUTPUTS
CP - gas specific heat by constant pressure [kJ/m3/K]

10
3.13 Temperature Conversion Constant
Contents
DESCRIPTION

DESCRIPTION
Function return conversion constant between Kelvin and Celsius scale.
function [TK]=TK()

T = t + 273,15 [K] [C]

TK = 273.15;

3.14 Density
Contents
DESCRIPTION
INPUTS
OUTPUTS

DESCRIPTION
Function return FUEL density

function [ro] = RO (S_FUEL);

INPUTS
S_FUEL - fuel structure:
N2,O2,CO2,H2O,SO2,CO,H2,CH4,C2H4,C2H6,C3H8,C4H10,H2S [%]

OUTPUTS
ro - gas density [kg/m3]

11

Anda mungkin juga menyukai