blob: 9f9a18bb2c4ad47d5b34b6966d6e251fd91d0eda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
// Since vacuum has zero mass
U = 0 // Initial internal energy in kJ/kg
H0 = 0 // Initial enthalpy in kJ/kg
S = 0 // Initial entropy in kJ/kgK
// If the vacuum has reduced to dead state
U0 = 0 // Final internal energy in kJ/kg
H0 = 0 // Final enthalpy in kJ/kg
S0 = 0 // Final entropy in kJ/kgK
V0 = 0 // Final volume in m^3
P0 = 1 // Pressure in bar
V = 1 // Volume of space in m^3
fi = P0*1e5*V
printf("\n Example 8.15")
printf("\n The exergy of the complete vacuum is %d kJ",fi/1e3)
|