#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
C=86#percent
h=4.2#percent
w=20#lb
a=w+0.902#lb
C2=44/12#lb
N=0.77#lb
CO2=3.15
H2O=0.042*9#lb
N2=w*N#lb
Ox=a-CO2-H2O-N2#lb
#CALCULATIONS
Co2=CO2/a*100#percent
H2o=H2O/a*100#percent
n2=N2/a#percent
o2=Ox/a*100#percent
#RESULTS
print"The composition of the products of combutions by weight is",round(o2,3),"%"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
g=0.05#percent
n=0.35#percent
c=0.5#percent
h=10#percent
m=167#C H U
h1=162#C H U
v=1#ft^3
H2=0.5#ft^3
Co=0.05#ft^3
v2=3#ft
#CALCULATIONS
G=(g*c)+(n*H2)#ft^3
Tv=(g*h1)+(n*m)#C H U
M=Tv/v2#C H U/ft^3
#RESULTS
print"The gas with twice its volume of air is",round(M,3),"C.H.U/ft^3"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
g=8#percent
f=88#percent
C=12#percent
w=20#lb
C1=11/3#lb
CO2=3/11#lb
e=0.08#lb
D=0.0218#lb C
w1=0.88#lb
#CALCULATIONS
W1=w1/D#lb lb fuel
T=w1/D*w#lb/hr
#RESULTS
print"the total weight of exaust gas leaving the engine per hour is",round(T,3),"lb/hr"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
a=30#percent
b=20#percent
c=8#percent
h=42#percent
t1=20#degree C
g=0.24#in
t2=320#degree c
M=7.654#lb/lb fuel
A=3*M#lb/lb fuel
W=0.08+0.04#lb
T=A+0.8#lb
w1=0.72+0.3#lb
w=T-w1#lb
d=w*0.24*(t2-b)#C H U/lb fuel
H=1.02*(639+0.49*220-t1)#C H U/lb fuel
#CALCULATIONS
T1=d+H#C H U/lb fuel
#RESULTS
print"total heat carried away by flue gases is",round(T1,3),"C H U/lb fuel"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
h=40#percent
g=30#percent
c=8#percent
n=10#percent
w=6#percent
g1=10#percent
g2=4.14#ft^3
Ch4=4.562#ft^3 of air
Co2=0.44#ft
H2o=1.18#ft^3
N2=3.7#ft63
x=41.4/11#ft63
#CALCULATIONS
T=Ch4+x#ft^3
v=1+T#ft^3
V=x+g2#ft^3
D=v-V#ft^3
P=D/v*100#percent
#RESULTS
print"the volueme of air suplied per is",round(P,3),"%"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
Ox=2.679#lb
O2=Ox-0.03#lb O2/lb fuel
o2=O2*100.0/23.0#lb air lb fuel
E=o2/2.0#lb
a=17.325#lb /lb fuel
Co2=3.294#lb
H2o=0.315#lb
N2o=13.34#lb
O2=23.0/100.0*E#lb
So2=0.005*2#lb
#CALCULATIONS
W=Co2+N2o+O2+So2#lb /lb fuel
#RESULTS
print"the total weight of dry products is",round(W,3),"lb /lb fuel"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
l=8.7#percent
Co2=42.0#percent
N=28.0#percent
O2=32.0#percent
x=27.65#lb air
W=(O2/12.0)*(100.0/23.0)#lb
#CALCULATIONS
A=x-W#lb
#RESULTS
print"the air to flues /lb carbon is",round(A,3),"lb"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
Co=2420#C H U
a=3400/6#C H U
R=Co/3246#C H U
T=1+0.745#lb
n=1.12 #lb
O2=1.33/1.745#lb
C=O2*100/23#lb
CB=n/T#lb
m=1.74#lb
k=2.33#lb
l=1.33#lb
c=77#lb
d=23#lb
#CALCULATIONS
Y=l*c/d#N2
#RESULTS
print"the weight of air and steam is",round(Y,3),"N2"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
w=20#lb
t=320#degree C
t1=22#Degree C
w1=0.0807#lb
A=0.03901#AH
W=0.07469#AH
g=5.2#A
Q=W-A#A
#CALCULATIONS
H=(g*0.625)/(Q)#ft
#RESULTS
print"weight of equal column of external air is",round(H,3),"ft"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
p=120#lb/in^2
h=30#in
t=48#degree C
C=1000#lb
t1=26#degree C
m=2.2#percent
g=18#lb
f=127#lb
j=33000#in
q=1400#in
L=0.978*8000#C.H.U
b=50#in
t2=320#degree C
g1=0.24#in
d=0.90#in
a=0.4912*30#lb/in^2
P=p+a#lb/in^2 abs
T=178.62+d*483.45#C.H.U/lb
#CALCULATIONS
Wt=C/f#lb
H=Wt*(T-t)#C.H.U
F=0.022*(638.9+0.48*220-t1)#C.H.U
G=g*0.24*(t2-t1)#C.H.U
E=H/L*100#percent
E1=b*j*60/(L*f*q)*100#percent
#RESULTS
print"the heat balance for the boiler and find its efficiency and the overall efficiency of the plant is",round(E1,3),"%"
#initialisation of variable
from math import pi,sqrt,acos,asin,atan,cos,sin,tan
v=7950#lb C.H.U /lb
w=15#percent
c=0.85#lb
w1=14#percent
w2=9#percent
t1=15#degree C
t2=325#degree C
g=0.25#lb
#CALCULATIONS
H=c*v#C.H.U
H1=0.15*(638.9+0.48*225-15)#C.H.U
C=c*c#lb
A=19.2#lb
Wt=A+C#lb
P=Wt*g*(t2-t1)#C.H.U/lb coal
R=0.14*H#C.H.U
R1=H-H1-P-R#C.H.U
B=R1/H*100#percent
#RESULTS
print"the efficiency of a boiler is",round(B,3),"%"