Sie sind auf Seite 1von 11

THERMODYNAMICS-I (PR)

EES (ENGINEERING EQUATION SOLVER)


SESSION # 2
Outlines
 Review
 Unit conversion details
 Diagram
 Parametric table
 Solving problems on EES
 Assignment
What is EES
 Engineering Equation Solver. (Software)

 Solves large sets of equations.

 Built-in functions for thermodynamic properties etc.

 Highly popular software in teaching courses like


Thermodynamics, Heat Transfer and Fluid Mechanics.
Basic instructions before solving a
problem on EES
1. Unit system selected in EES and units defined in input data must
be same.
2. Number of equations must be equal to the number of variables.
3. All variables must be defined in same format for example: T_1
(T with subscript 1) and T1 are not considered same in EES
4. Any theoretical description or data you do not want to make it
part of your system of equations must be enclosed with curly
brackets or inverted comma or two slashes {}/’’,//(comment)
5. For parametric study independent equation/variable must be
enclosed with curly brackets or inverted comma (comment) so
that the desired variation in values of independent variable can
be given to observe effects on the values of dependent variable.
Unit conversion codes
Unit Conversion of temperature:
 T=convertTemp(From,To, given magnitude)
Example: T=100[C] “Celsius”
To Convert temperature in kelvin

T=ConvertTemp(C,K,100)

 Unit Conversion of temperature difference (∆T)

DeltaT=magnitude[unit]*convert(from,To)
Unit conversion codes
For all parameters except temperature:
EES code:
A=magnitude[unit]*Convert(from,to)

For example:
P=100[Kpa] “pressure”
To convert “pressure” in “bar”
P=100[KPa]*convert(KPa, bar)
Diagram
 EES equation window---> window--->diagram window
Or press Ctrl+D in EES equation window
Parametric table
 EES equation window---> tables—>new parametric tables-
--> Select/choose the variables of interest(one dependent
and one independent variable is mandatory)
 comment the independent variable/quantity and
define the range values of independent variable or
quantity
 ---> click green play button on the table for getting results
(values of dependent variable/quantity)
Solving a problem
 Q#1 What is the maximum possible thermal efficiency of
a gas power cycle when using thermal energy reservoirs at
500⁰C and 5⁰C?
To find:
a. Max. thermal efficiency
b. Draw the diagram in EES
c. parametric table between:
1. T_source and efficiency
2. T_sink and efficiency
Solving a problem
Q#2

A 3kg rock is thrown upward with the force of 200N at a


location where a local gravitational acceleration is
9.79m/s^2. Determine the acceleration of the rock in m/s^2
Assignment
Q#1
Determine the mass and the weight of the air contained in a room
whose dimensions are 6 m *6 m *8 m. Assume the density of the air is
1.16 kg/m3.
NOTE: each student has to add its roll number with the given
volume

Q#2
Specific heat is defined as the amount of energy needed to increase the
temperature of a unit mass of a substance by one degree. The specific
heat of water at room temperature is 4.18 kJ/kg°C in SI unit system.
Using the unit conversion function capability of EES, express the
specific heat of water in
(a) kJ/kg*K, (b) Btu/lbm*F, (c) Btu/lbm*R, and (d) kCal/kg°C
units.
Continue…
 Q#3 What is the maximum possible thermal efficiency of
a gas power cycle when using thermal energy reservoirs at
(500+Roll no.)⁰C and 5⁰C?
 Note: Each student has to add Roll number to source
temperature
To find:
a. Max. thermal efficiency
b. Draw the diagram in EES
c. parametric table between:
1. T_source and efficiency
2. T_sink and efficiency

Das könnte Ihnen auch gefallen