Escolar Documentos
Profissional Documentos
Cultura Documentos
This Excel workbook includes Visual Basic for Application function subroutines.
Macros must be enabled for them to work.
The following Text Boxes contain the syntax for the functions.
Copy them to the worksheet where you want to use the functions for ready reference.
Function ZSI(P, T, Pc, Tc)
' calculates compressibility factor, Z, using SI units
' P = gas pressure, kPa
' T = gas temperature, C
' Pc = gas pseudo-critical pressure, atm
' Tc = gas pseudo-critical temperature, C
Problem Statement:
Calculate the shaft (brake) power of a reciprocating compressor
Inputs
Fluid
flow rate
Inlet pressure
Inlet temperature
Discharge pressure
Number of stages
Air
m3/h at inlet conditions
kPa-absolute
C
kPa-absolute
52.9
100.0
25.0
103.0
1
R
k
kg/m3
kg/s
1.03
1.03
8,314.47
29.0
1.4
1.17
0.02
Outputs
Reciprocating Compressor - GPSA Shortcut Formula
C
See Text for values
F
R
N
Q
m3/h at 100 kPa
Adjustment for high speed compressor (see text)
Brake Power (shaft power)
kW
0.013
1.00
1.03
1
52.9
0.1
0.8
lb/ft3
lb/s
hp
kw
Air
294.0
14.7
77.0
130.5
2
Air
8.88
2.98
10.73
29.0
1.4
0.074
0.36
9.52
3.09
10.73
29.0
1.4
0.074 density = (P M) / (R T)
0.52
0.030
1.08
2.98
2
298.1
0.1
0.030
1.08
3.09
2
427.8
0.2
63
47.22
103
76.59
422
14.7
77
140
2
motor efficiency
0.949
80.70
p
p
2
1
Problem Statement:
Calculate the hydraulic and shaft (brake) power of a compressor
Inputs
Fluid
flow rate
m3/h at inlet conditions
Inlet pressure
kPa-absolute
Inlet temperature
C
Discharge pressure
kPa-absolute
Number of stages
Intercooler temperature approach
C
Polytropic Efficiency
Air
52.6
101.3
25.0
125.0
2
5
0.70
52.6
206.8
40.2
125.0
3
5
0.70
R
atm
C
k
kg/m3
kg/s
1.23
1.11
8,314.47
29.0
39.0
(140.0)
1.4
1.19
0.02
0.60
0.85
8,314.47
45.5
41.5
101.9
1.4
3.61
0.05
Outputs
Stage 1
Compressibility factor using Redlich-Kwong EOS
Inlet compressibility
Z
Discharge compressibility
Average compressibility
0.9995
0.9996
0.9996
0.9716
0.9709
0.9712
Polytropic compression
Polytropic exponent
Stage discharge pressure
Discharge temperature
Polytropic head
Polytropic gas power
1.69
112.53
38
9.18
0.23
1.69
174.85
19
(9.29)
(0.70)
0.9995
0.9996
0.9996
0.9771
0.9766
0.9768
1.69
30.00
1.29
1.69
45.18
3.01
n
kPa-absolute
C
kN-m/kg
kW
Stage 2
Compressibility factor using Redlich-Kwong EOS
Inlet compressibility
Z
Discharge compressibility
Average compressibility
Polytropic compression
Polytropic exponent
Stage inlet temperature
Stage inlet density
n
C
kg/m3
kPa-absolute
C
kN-m/kg
kW
125.00
43
9.33
0.23
147.84
24
(9.44)
(0.71)
Stage 3
Compressibility factor using Redlich-Kwong EOS
Inlet compressibility
Z
Discharge compressibility
Average compressibility
0.9995
0.9996
0.9995
0.9807
0.9802
0.9805
Polytropic compression
Polytropic exponent
Stage inlet temperature
Stage inlet density
Stage discharge pressure
Discharge temperature
Polytropic head
Polytropic gas power
1.69
30.00
1.44
138.85
43
9.33
-
1.69
45.18
2.54
125.00
24
(9.44)
(0.71)
n
C
kg/m3
kPa-absolute
C
kN-m/kg
kW
kW
kW
0.46
0.73
#NUM!
(2.12)
kW
1.19
#NUM!
psia
F
lb/ft3
lb/s
Air
294.0
14.7
77.0
130.5
2
10
0.70
8.88
2.98
10.73
29.0
573.0
(220.0)
1.4
0.074
0.36
B
r
0.9995
1.0005
1.0000
n
psia
F
ft-lbf/lbm
hp
1.69
43.80
379
39,349
37.06
0.9988
1.0015
1.0001
n
F
lb/ft3
1.69
87.00
0.22
a
ke
P
o
w
er
psia
F
ft-lbf/lbm
hp
130.50
394
40,088
37.75
0.9964
1.0048
1.0006
n
F
lb/ft3
psia
F
ft-lbf/lbm
hp
1.69
87.00
0.64
388.83
394
40,108
-
hp
hp
74.81
5.62
hp
80.43
Problem Statement:
Calculate the shaft (brake) power of a compressor by interpolating the Pressure-Enthalpy data table
Inputs
Fluid
flow rate
m3/h at inlet conditions
Inlet pressure
kPa-absolute
Inlet temperature
C
Discharge pressure
kPa-absolute
Number of stages
Intercooler temperatureCapproach
Isentropic Efficiency
Intermediate Calculation
Overall compression ratio
Compression ratio per stage
Density
kg/m3
Air
52.9
101.5
25.0
125.0
2
5
0.80
1.23
1.11
1.19
Results
Enthalpy of Compression
kJ/kg
Work
kJ/h
kW
Mechanical losses in the compressor
Shaft power
kW
31.58
1,984
0.55
0.79
1.34
Result
Comment
Inlet conditions
Compress with constant entropy
Apply isentropic compression efficiency
Cool with intercooler
Compress with constant entropy
Apply isentropic compression efficiency
Cool with intercooler
Compress with constant entropy
Apply isentropic compression efficiency
Cool with aftercooler
Data
Fluid:
Air
Temperature
deg K
200
220
240
260
280
Pressure Enthalpy Enthalpy Enthalpy Enthalpy Enthalpy
bar
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
1
199.7
219.8
239.9
260.0
280.2
5
197.7
218.1
238.5
258.8
279.1
300
350
Enthalpy
Enthalpy
kJ/kg
kJ/kg
300.3
350.7
299.4
350.0
10
20
40
60
80
100
150
200
250
300
400
500
600
800
1000
195.2
190.1
179.7
163.9
158.7
148.8
129.2
117.6
111.7
109.0
108.5
111.4
116.0
216.1
211.9
203.5
191.1
187.1
179.4
163.2
152.2
145.6
142.0
140.1
142.0
146.1
157.4
236.7
233.2
226.3
216.1
212.9
206.7
193.4
183.6
177.1
173.2
170.5
171.7
175.3
185.9
257.3
254.3
248.5
240.0
237.3
232.2
221.0
212.5
206.6
202.7
199.7
200.5
203.6
213.7
226.4
277.8
275.2
270.2
263.1
260.8
256.4
247.0
239.6
234.3
230.8
227.8
228.4
231.2
240.3
253.2
298.3
296.0
291.7
285.6
283.7
279.9
271.8
265.5
260.8
257.7
254.8
255.4
258.1
267.3
279.5
349.2
347.7
344.6
340.4
339.0
336.5
330.9
326.5
323.2
320.9
319.1
319.9
322.6
331.6
343.4
Entropy
Entropy
kJ/(kg-C) kJ/(kg-C)
6.871
7.026
6.406
6.563
6.204
6.361
5.998
6.158
5.786
5.95
5.657
5.824
5.562
5.733
5.486
5.661
5.343
5.525
5.238
5.426
5.155
5.348
5.088
5.283
4.983
5.181
4.905
5.103
4.842
5.041
4.745
4.943
4.672
4.869
ables give enthalpy and entropy at pressure and temperature combinations. Values are in RED text; these are
to change to enter data for a different ccompound.
with the compressor inlet pressure and temperature, the P-E tables are interpolated to:
constant entropy path from inlet conditions to the stage discharge pressure
e the temperature, at constant pressure, by applying the isentropic efficiency to the amount of enthalpy gain in
y scales on the chart adjust automatically to fit the pressure range entered in the Input section. To see the chart
to encompass the full range of enthalpy data, click the "Reset Chart Area" button.
400
500
600
800
1000
Enthalpy Enthalpy Enthalpy Enthalpy Enthalpy
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
401.2
503.4
607.5
822.5
1,046.8
400.8
503.2
607.4
822.6
1,046.9
14.56
17.02
1200
1400
1600
1800
Enthalpy
Enthalpy Enthalpy Enthalpy
kJ/kg
kJ/kg
kJ/kg
kJ/kg
1,278.0
1,515.0
1,764.0
2,017.0
1,279.0
1,516.0
1,764.0
2,017.0
400.2
399.1
397.0
394.0
393.1
391.3
387.5
384.5
382.3
380.9
380.0
381.3
384.2
393.8
405.1
502.9
502.4
501.5
500.6
499.8
499.0
497.5
496.6
496.0
495.9
496.8
499.1
502.6
512.3
524.4
607.3
607.2
606.9
606.8
606.7
606.6
606.6
607.0
607.6
608.5
611.0
614.3
618.5
625.8
641.2
822.7
823.0
823.7
824.3
825.1
825.8
827.8
829.9
832.2
834.5
839.4
844.6
850.1
862.0
875.1
1,047.2
1,047.7
1,048.8
1,050.0
1,051.1
1,052.4
1,055.5
1,058.7
1,062.0
1,065.3
1,072.0
1,078.8
1,085.5
1,099.3
1,113.3
1,279.0
1,280.0
1,281.0
1,283.0
1,284.0
1,286.0
1,290.0
1,294.0
1,298.0
1,302.0
1,310.0
1,318.0
1,326.0
1,341.0
1,356.0
1,516.0
1,517.0
1,519.0
1,521.0
1,522.0
1,524.0
1,529.0
1,533.0
1,538.0
1,542.0
1,552.0
1,561.0
1,570.0
1,588.0
1,606.0
1,765.0
1,766.0
1,768.0
1,770.0
1,772.0
1,774.0
1,779.0
1,783.0
1,789.0
1,794.0
1,804.0
1,814.0
1,824.0
1,844.0
1,863.0
1764
1764
1764
2,018.0
2,019.0
2,021.0
2,023.0
2,025.0
2,027.0
2,033.0
2,038.0
2,043.0
2,049.0
2,059.0
2,070.0
2,080.0
2,101.0
2,121.0
2017
2017
2017
Entropy
Entropy
Entropy
Entropy
kJ/(kg-C)
kJ/(kg-C) kJ/(kg-C) kJ/(kg-C)
8.349
8.531
8.695
8.695
7.887
8.069
8.233
8.233
7.688
7.87
8.034
8.034
7.489
7.671
7.835
7.835
7.289
7.473
7.636
7.636
7.172
7.355
7.52
7.52
7.089
7.273
7.437
7.437
7.024
7.208
7.373
7.373
6.906
7.092
7.256
7.256
6.822
7.009
7.173
7.173
6.757
6.944
7.108
7.108
6.703
6.891
7.056
7.206
6.618
6.808
6.972
7.123
6.55
6.743
6.907
7.058
6.495
6.69
6.854
7.005
6.407
6.605
6.769
6.921
6.337
6.539
6.703
6.856
1000
100
10
1
0
500
1000
1500
2000
2500
Enthalpy, kJ/kg
Interpolation
2000
2500
Enthalpy Enthalpy
kJ/kg
kJ/kg
2,279.0
3,011.0
2,278.0
2,981.0
Constant Temperature
298.15 309.7686
303.15
Enthalpy
Enthalpy Enthalpy
kJ/kg
kJ/kg
kJ/kg
298.4
310.1
303.5
297.5
309.3
302.6
316.704
303.15
Enthalpy Enthalpy
kJ/kg
kJ/kg
317.1
303.5
316.3
302.6
318.21
Enthalpy
kJ/kg
318.7
317.8
2,279.0
2,279.0
2,281.0
2,284.0
2,285.0
2,288.0
2,294.0
2,299.0
2,304.0
2,310.0
2,321.0
2,332.0
2,343.0
2,365.0
2,386.0
2,974.0
2,970.0
2,969.0
2,969.0
2,971.0
2,972.0
2,977.0
2,982.0
2,988.0
2,993.0
3,004.0
3,015.0
3,026.0
3,049.0
3,071.0
296.4
294.1
289.7
283.5
281.6
277.7
269.5
263.1
258.3
255.2
252.3
252.9
255.6
264.8
277.1
308.2
306.1
302.0
296.3
294.5
291.0
283.3
277.4
273.0
270.0
267.4
268.0
270.7
279.9
292.0
301.5
299.3
295.0
289.1
287.2
283.5
275.5
269.3
264.7
261.7
258.9
259.5
262.2
271.4
283.5
315.3
313.3
309.4
303.9
302.2
298.8
291.5
285.9
281.6
278.8
276.3
276.9
279.6
288.8
300.8
301.5
299.3
295.0
289.1
287.2
283.5
275.5
269.3
264.7
261.7
258.9
259.5
262.2
271.4
283.5
316.8
314.8
311.0
305.6
303.8
300.5
293.3
287.7
283.5
280.7
278.2
278.9
281.6
290.7
302.8
2278.926 3008.782
2278.861 3006.841
2278.797
3004.9
Entropy
Entropy
kJ/(kg-C) kJ/(kg-C)
8.983
9.308
8.52
8.832
8.321
8.63
8.121
8.428
7.922
8.229
7.806
8.112
7.723
8.029
7.659
7.964
7.543
7.848
7.46
7.765
7.396
7.701
7.344
7.648
7.261
7.566
7.196
7.501
7.144
7.449
7.06
7.366
6.995
7.302
Temperature
Interpolation
Entropy
kJ/(kg-C)
6.865
6.400
6.198
5.991
5.779
5.650
5.555
5.479
5.335
5.230
5.147
5.079
4.974
4.896
4.833
4.736
4.664
Entropy
Entropy
Entropy
Entropy
Entropy
kJ/(kg-C) kJ/(kg-C) kJ/(kg-C) kJ/(kg-C) kJ/(kg-C)
6.901
6.881
6.923
6.881
6.927
6.437
6.416
6.458
6.416
6.463
6.235
6.214
6.256
6.214
6.261
6.029
6.008
6.051
6.008
6.056
5.818
5.796
5.841
5.796
5.846
5.690
5.668
5.713
5.668
5.718
5.595
5.573
5.619
5.573
5.624
5.520
5.497
5.544
5.497
5.550
5.379
5.354
5.404
5.354
5.409
5.275
5.250
5.301
5.250
5.306
5.193
5.167
5.219
5.167
5.225
5.126
5.100
5.153
5.100
5.159
5.022
4.995
5.049
4.995
5.055
4.944
4.917
4.971
4.917
4.977
4.881
4.855
4.908
4.855
4.914
4.784
4.757
4.811
4.757
4.817
4.710
4.684
4.738
4.684
4.744
5
6
0.9075 0.195371
6
0.063
6
0.33408
6
6
0.063 0.364237
2500
3000
3500
Interpolation
303.15
Enthalpy
kJ/kg
303.5
302.6
Constant Entropy
6.860
6.867
6.846
6.858
6.816
6.83
Enthalpy Enthalpy Enthalpy Enthalpy Enthalpy Enthalpy
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
kJ/kg
297.2
299.1
293.1
296.6
284.4
289.2
473.4
476.3
467.2
472.5
453.7
461.2
301.5
299.3
295.0
289.1
287.2
283.5
275.5
269.3
264.7
261.7
258.9
259.5
262.2
271.4
283.5
Entropy
kJ/(kg-C)
6.881
6.416
6.214
6.008
5.796
5.668
5.573
5.497
5.354
5.250
5.167
5.100
4.995
4.917
4.855
4.757
4.684
6
0.063
576.2
707.3
854.5
960.7
1036.2
1105.6
1239.7
1343.0
1430.6
1502.8
1632.4
1742.0
1834.7
1998.4
2129.2
deg K
296.90
470.88
570.17
692.81
827.34
920.89
986.81
1,045.58
1,157.10
1,240.98
1,310.50
1,367.36
1,463.80
1,543.07
1,608.37
1,720.15
1,806.21
579.8
711.9
860.4
966.6
1042.1
1112.9
1247.0
1351.4
1439.1
1511.3
1642.5
1752.2
1845.9
2009.6
2141.8
568.5
697.7
842.0
948.2
1023.8
1090.3
1224.4
1325.2
1412.7
1485.0
1611.0
1720.5
1812.2
1974.8
2104.8
Temperature
deg K
deg K
298.82
292.87
473.77
464.80
573.64
562.84
697.06
683.85
832.61
816.25
926.13
909.83
992.04
975.80
1,051.82 1,032.44
1,163.31 1,144.03
1,248.05 1,226.08
1,317.57 1,295.60
1,374.39 1,352.54
1,471.86 1,446.81
1,551.13 1,526.08
1,617.12 1,590.72
1,728.85 1,701.83
1,815.72 1,787.44
575.1
706.0
852.8
959.0
1034.5
1103.5
1237.6
1340.5
1428.1
1500.4
1629.5
1739.0
1831.5
1995.2
2125.6
deg K
296.35
470.05
569.16
691.58
825.82
919.37
985.30
1,043.78
1,155.31
1,238.93
1,308.45
1,365.32
1,461.47
1,540.74
1,605.83
1,717.64
1,803.46
552.0
676.8
816.9
921.3
996.9
1057.2
1191.3
1287.7
1374.1
1446.7
1564.8
1674.1
1765.6
1924.0
2054.1
deg K
284.15
451.66
547.01
664.51
793.77
885.96
952.03
1,004.07
1,115.79
1,194.68
1,263.43
1,320.54
1,410.14
1,489.40
1,554.04
1,662.25
1,748.12
561.2
688.4
830.0
936.3
1011.8
1075.6
1209.7
1308.1
1395.6
1468.0
1590.5
1699.9
1791.6
1952.3
2082.3
deg K
289.00
458.97
555.82
675.27
805.62
899.25
965.26
1,019.86
1,131.50
1,211.82
1,281.34
1,338.35
1,430.55
1,509.82
1,574.45
1,684.28
1,770.00