EES Tutorial
EES Tutorial
Step 2
Step 3
• Q2. Refrigerant-134a expands in an adiabatic turbine from 1.2 MPa
and 100oC to 0.18 MPa and 50oC at a rate of 1.25 kg/s. Determine the
power output of the turbine.
• Step 1: Enter known values of pressure the type of material when using the
(P1 = 1.2 MPa in this example) and function); enter each parameter in new
temperature (T1 = 100oC in this line
example) at State-1 and of pressure (P2• Step 3: Use the energy equation to
= 0.18 MPa in this example) and determine the work out from the
temperature (T2 = 50oC in this example) turbine
State-2 and enter known value of mass• Note:
flow rate (1.25 kg/s in this example) • EES program is not explicitly aware of the
and heat in (Qin = 0 in this example) and unit of the parameters as they are not
heat out (Qout = 0 in this example); provided to the program but pressure
value entered in the program is in kPa,
enter each parameter in new line temperature value entered in the program
• Step 2: Use function to call for the value is in C, mass flow rate entered in the
program is in kg/s, and Q entered in the
of specific enthalpy (h1) at State-1 using program is in kJ/s ; answer of W is in kJ
pressure (P1) and temperature (T1) at based on unit used for other parameters
the same state and specific enthalpy • All information appearing between
(h2) at State-2 using pressure (P2) and opening (“) and closing (”) quotation marks
are comments and not executed by EES as
temperature (T2) (remember to specify can be noticed from this example
Step 1
Step 2
Step 3
• Q3. Refrigerant-134a is compressed by a compressor from the
saturated vapor state at 0.14 MPa to 0.9 MPa and 60oC at a rate of
0.108 kg/s. The refrigerant is cooled at a rate of 1.10 kJ/s during
compression. Determine the power input to the compressor.
• Step 1: Enter known values of pressure the type of material when using the
(P1 = 0.14 MPa in this example) and function); enter each parameter in new
quality (x1 = 1 in this example) at State- line
1 and known values of pressure (P2 =• Step 3: Use the energy equation to
0.9 MPa in this example) and determine the work in for the
temperature (T2 = 60oC in this example) compressor
State-2; also, enter known value of• Note:
mass flow rate (0.108 kg/s in this • EES program is not explicitly aware of the
example) and heat in (Qin = 0 in this unit of the parameters as they are not
example) and heat out (Qout = 1.1 kJ/s in provided to the program but pressure
value entered in the program is in kPa,
this example); enter each parameter in temperature value entered in the program
new line is in C, mass flow rate entered in the
• Step 2: Use function to call for the value program is in kg/s, and Q entered in the
program is in kJ/s; answer of W is in kJ
of specific enthalpy at State-1 using based on unit used for other parameters
pressure (P1) and quality (x1) at the • All information appearing between
same state and State-2 by using opening (“) and closing (”) quotation marks
pressure (P2) and temperature (T2) at are comments and not executed by EES as
can be noticed from this example
the same state (remember to specify
Step 1
Step 2
Step 3
• Q4. Steam is compressor by an adiabatic compressor from 0.2 MPa
and 150oC to 0.8 MPa and 350oC at a rate of 1.3 kg/s. Determine the
power input to the compressor.
• Step 1: Enter known values of pressure the type of material when using the
(P1 = 0.14 MPa in this example) and function); enter each parameter in new
quality (x1 = 1 in this example) at State- line
1 and known values of pressure (P2 =• Step 3: Use the energy equation to
0.9 MPa in this example) and determine the work in for the
temperature (T2 = 60oC in this example) compressor
State-2; also, enter known value of• Note:
mass flow rate (1.3 kg/s in this • EES program is not explicitly aware of the
example) and heat in (Qin = 0 in this unit of the parameters as they are not
example) and heat out (Qout = 0 in this provided to the program but pressure
value entered in the program is in kPa,
example); enter each parameter in new temperature value entered in the program
line is in C, mass flow rate entered in the
• Step 2: Use function to call for the value program is in kg/s, Q entered in the
program is in kJ/s; answer of W is in kJ
of specific enthalpy at State-1 using based on unit used for other parameters
pressure (P1) and temperature (T1) at • All information appearing between
the same state and State-2 by using opening (“) and closing (”) quotation marks
pressure (P2) and temperature (T2) at are comments and not executed by EES as
can be noticed from this example
the same state (remember to specify
Step 1
Step 2
Step 3
• Q5. An adiabatic heat exchanger is used to heat cold water at 5oC
entering at a rate of 5 kg/s by hot water at 90oC entering at a rate of 4
kg/s. If the exit temperature of hot water is 50oC, determine the exit
temperature of cold water.
• Step 1: Enter known values of pressure provided to the program but pressure
value entered in the program is in kPa,
(P1 = 0.14 MPa in this example) and temperature value entered in the program
quality (x1 = 1 in this example) at State- is in C, mass flow rate entered in the
1 and known values of pressure (P2 = program is in kg/s, Q entered in the
0.9 MPa in this example) and program is in kJ/s; answer of W is in kJ
based on unit used for other parameters
temperature (T2 = 60oC in this example) • All information appearing between
State-2; also, enter known value of opening (“) and closing (”) quotation marks
mass flow rate (1.3 kg/s in this are comments and not executed by EES as
example) and heat in (Qin = 0 in this can be noticed from this example
example) and heat out (Qout = 0 in this
example); enter each parameter in new
line
• Step 2: Use the energy equation to
determine the work in for the
compressor
• Note:
• EES program is not explicitly aware of the
unit of the parameters as they are not
Step 1
Step 2
• Q6. Steam enters a diffuser steadily at 0.5 MPa, 300oC, and 122 m/s at
a rate of3.5 kg/s. Determine the inlet area of the diffuser.
• Step 1: Enter known values of pressure• Note:
(P1 = 0.14 MPa in this example), • EES program is not explicitly aware of the
temperature (T1 = 300oC in this unit of the parameters as they are not
provided to the program but pressure
example), and velocity (Vel_1 = 122 m/s value entered in the program is in kPa,
in this example) at State-1; also, enter temperature value entered in the program
known value of mass flow rate (3.5 kg/s is in C, velocity entered in the program is in
in this example); enter each parameter m/s, mass flow rate entered in the program
in new line is in kg/s; answer of area is in m 2
based on
unit used for other parameters
• Step 2: Use function to call for the value • All information appearing between
of specific volume at State-1 using opening (“) and closing (”) quotation marks
pressure (P1) and temperature (T1) at are comments and not executed by EES as
can be noticed from this example
the same state (remember to specify
the type of material when using the
function); enter each parameter in new
line
• Step 3: Use the mass flow rate equation
to determine the area at the inlet of
the diffuser
Step 1
Step 2
Step 3
• Q7. Steam is accelerated by a nozzle steadily from a low velocity to
280 m/s at a rate of 2.5 kg/s. The temperature and pressure of the
steam at the nozzle exit are 400oC and 2 MPa, respectively. Determine
the exit area of the nozzle.
• Step 1: Enter known values of pressure• Note:
(P2 = 2 MPa in this example), • EES program is not explicitly aware of the
temperature (T2 = 400oC in this unit of the parameters as they are not
provided to the program but pressure
example), and velocity (Vel_2 = 280 m/s value entered in the program is in kPa,
in this example) at State-2; also, enter temperature value entered in the program
known value of mass flow rate (2.5 kg/s is in C, velocity entered in the program is in
in this example); enter each parameter m/s, mass flow rate entered in the program
in new line is in kg/s; answer of area is in m 2
based on
unit used for other parameters
• Step 2: Use function to call for the value • All information appearing between
of specific volume at State-2 using opening (“) and closing (”) quotation marks
pressure (P2) and temperature (T2) at are comments and not executed by EES as
can be noticed from this example
the same state (remember to specify
the type of material when using the
function); enter each parameter in new
line
• Step 3: Use the mass flow rate equation
to determine the area at the exit of the
nozzle
Step 1
Step 2
Step 3
• Q8. Air is to be heated steadily by an 8-kW electric heater as it flows
through an insulated duct. Determine the exit temperature of air if
the air enters at 50oC at a rate of 2 kg/s.
• Step 1: Enter known values of other parameters
temperature (T1 = 50oC in this example) • All information appearing between
opening (“) and closing (”) quotation marks
at State-1; also, enter known value of are comments and not executed by EES as
mass flow rate (2 kg/s in this example), can be noticed from this example
work addition (W_dot_e = 8 kW in this
example), and specific heat capacity of
water (Cp = 1.005 kJ/kgK in this
example); enter each parameter in new
line
• Step 2: Use the energy equation to
determine the exit temperature of air
• Note:
• EES program is not explicitly aware of the
unit of the parameters as they are not
provided to the program but temperature
value entered in the program is in C, mass
flow rate entered in the program is in kg/s
and work is added in kW; answer of
temperature is in oC based on unit used for
Step 1
Step 2
• Q9. In a shower, cold water at 10oC flowing at a rate of 5kg/min is
mixed with hot water at 60oC flowing at a rate of 2 kg/min. Determine
the exit temperature of the mixture.
• Step 1: Enter known values of provided to the program but temperature
value entered in the program is in oC, mass
temperature (Tcold = 10oC in this flow rate entered in the program is in kg/s;
example) and mass flow rate answer of temperature is in oC based on
(m_dot_cold = 5 kg/s in this example) unit used for other parameters
of cold water and known values of • All information appearing between
temperature (Thot = 60oC in this opening (“) and closing (”) quotation marks
example) and mass flow rate are comments and not executed by EES as
can be noticed from this example
(m_dot_hot = 2 kg/s in this example) of
hot water; also, enter specific heat
capacity of water (Cw = 4.18 kJ/kgK in
this example); enter each parameter in
new line
• Step 2: Use the energy equation to
determine the exit temperature of
water
• Note:
• EES program is not explicitly aware of the
unit of the parameters as they are not
Step 1
Step 2
• Q10. Steam flows steadily through an adiabatic turbine. The inlet
conditions of the steam at 10 MPa, 450oC, and 80 ms/ and exit
conditions are 200 kPa, 92 percent quality, and 50 m/s. The mass flow
rate of the steam is 12 kg/s. Determine the exit temperature and
power output of the turbine.
• Step 1: Enter known values of temperature• Step 3: Determine area at the inlet and exit
(T1 = 450oC in this example), pressure (P1 = using mass flow rate equation
10 MPa in this example), velocity (Vel1 = 80• Step 4: Determine work out from the
m/s in this example), and mass flow rate turbine using the energy equation
(m_dot1 = 12 kg/s in this example) at State-
1 of cold water and known values of• Note:
pressure (P2 = 200kPa in this example), • EES program is aware of the unit of the
quality (x2 = 0.92 in this example), and parameters as they are provided to the
velocity (Vel2 = 50 m/s in this example) at program using square brackets
State-2; enter each parameter in new line • All information appearing between
opening (“) and closing (”) quotation
• Step 2: Use functions to determine the marks are comments and not executed
value of specific enthalpy and specific by EES as can be noticed from this
volume at State-1 using known temperature example
(T1) and pressure (P1) and specific enthalpy • Unit of each parameter can be
and specific volume at State-2 using known converted using the ‘convert’ function;
pressure (P2) and quality (x2) (remember to unit of Vel^2/2 is converted from
specify the type of material when using the m^2/s^2 to kJ/kg so that the unit of
function) and also determine temperature Vel^2/2 is same as h and W_dot_turb
at State-2 using known pressure (P2) and are same
quality (x2); enter each parameter in new
Step 1
Step 2
Step 3
Step 4
• Q11. Hot water at 90oC enters a 15 m section of a cast iron pipe
whose inner pipe is 2.5 cm at an average velocity of 0.6 m/s. The
outer surface of the pipe is exposed to the cold air at 10oC in a
basement. If water leaves the basement at 88oC, determine the rate
of heat loss from the water.