blob: 2b5ee56323b450bc372ada3aa7d68bf1b8e1b4df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//Chapter-5, Illustration 14, Page 264
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
V=0.2;//Air flow rate in (m^3)/s
P1=0.1;//Intake pressure in MN/(m^2)
P3=0.7;//Final pressure in MN/(m^2)
T1=289;//Intake temperature in K
n=1.25;//Adiabatic gas constant
N=10;//Compressor speed in rps
//CALCULATIONS
x=(n-1)/n;//Ratio
P2=sqrt(P1*P3);//Intermediate pressure in MN/(m^2)
V1=(V/N)*1000;//Total volume of LP cylinder in litres
V2=((P1*V1)/P2);//Total volume of HP cylinder in litres
W=((2*P1*V*(((P2/P1)^x)-1))/x)*1000;//Cycle power in kW
//OUTPUT
mprintf('Intermediate pressure is %3.3f MN/(m^2) \n Total volume of LP cylinder is %3.0f litres \n Total volume of HP cylinder is %3.1f litres \n Cycle power is %3.0f kW',P2,V1,V2,W)
//==============================END OF PROGRAM=================================
|