SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
EES FOR
THERMODYNAMICS
A hands-on training.
Naveed ur Rehman
http://www.naveedurrehman.com/
EES – A software
• EES (pronounced ’ease’): “Engineering Equation Solver”
• Licensed and distributed by F-Chart software
(http://fchart.com)
• Demo version can be acquired free from
http://fchart.com/ees/demo.php
• Licensing and ordering information can obtained from
http://fchart.com/ees/ and http://fchart.com/ees/order.php
• Single user license fee: $600-$1200
• Download software and presentation from
https://goo.gl/U9s8Ud (Disconnect internet while using EES)
2naveedurrehman.com
Environment
“Equations window”
“Menu”
“Toolbar”
Remember, EES is case-insensitive
i.e. ABC = abc = AbC = Abc…
3naveedurrehman.com
Solving linear equation
X + 3 = 5
Example:
To obtain solution:
[Menu] Calculate > Solve
or
Press “F2” key
4naveedurrehman.com
Solving linear equation
X + 3 = 5
Example:
Solution Window:
5naveedurrehman.com
Solving polynomial
3*H^2 - 4*H - 5 = 0
Example:
Solution Window:
6
3𝐻2
− 4𝐻 − 5 = 0
naveedurrehman.com
Solving system of equations
Example:
X + Y = 10
X - 2*Y = 5
7
X + Z = 10 - Y
X - 2*Y = 5
X = 4 - Z
X + Y + Z = 10
X + Y = 0
What about this?
Remember, number of variables = number of equations!
ERROR!
naveedurrehman.com
Solving system of equations
Example:
V = pi * (R^2) * H
R = 10
H = 12
8
Calculate volume of cylinder where radius is 10 m and
height = 12 m (using 𝑉 = 𝜋𝑅2 𝐻)
Calculate radius of cylinder where height is 10 m and
volume = 3000 m3 (using 𝑉 = 𝜋𝑅2 𝐻)
V = pi * (R^2) * H
H = 10
V = 3000
𝑅 = Τ𝑉 𝜋𝐻
naveedurrehman.com
Exercise
9
A piston cylinder device initially contains 0.4m3 of air at
100kPa and 80°C. The air is now compressed to 0.1m3 in
such a way that the temperature inside the cylinder
remains constant. Determine the work done during this
process.
𝑊𝑖𝑠𝑜𝑡ℎ𝑒𝑟𝑚𝑎𝑙 = 𝑃1 𝑉1 ln
𝑉2
𝑉1
V1 = 0.4
P1 = 100
T1 = 80
V2 = 0.1
Wb = (P1*V1)*ln(V2/V1)
naveedurrehman.com
Units and conversion
Try:
A = 30*Convert(ft,m)
B = 10*Convert(MJ, kJ)
C = 100*Convert(kJ/kg,BTU/lbm)
10
Solution:
Note: Unit to each variable is automatically assigned.
Convert statement is used to do unit conversion:
Convert ( from-unit , to-unit )
Right-click and
select “Units list”
naveedurrehman.com
Exercise
a = 3*convert(bar/kW,kPa/J)
11
Convert 3 bar/kW to kPa/J
Convert 3 bar/kW to kPa.s/J
a = 3*convert(bar/kW,kPa*s/J)
ERROR!
Remember, always convert into consistent units.
naveedurrehman.com
Units and conversion: Temperature
Try:
TheF = ConvertTEMP(C,F,30) "Convert 30 deg. C to deg. F"
TheC = ConvertTEMP(F,C,100) "Convert 100 deg. F to deg. C"
12
Solution:
ConvertTemp statement is used to do unit conversion
between degree centigrade (°C) and Fahrenheit (°F):
ConvertTEMP ( from-unit , to-unit, value)
naveedurrehman.com
Built-in Functions
13
To access built-in functions:
[Menu] Options > Function Info
naveedurrehman.com
Exercise
14
What is the
temperature of
water/steam at
11 MPa and
internal energy
of 2920 kJ/kg?
naveedurrehman.com
Exercise
15
What is the enthalpy of water/steam at 100 ⁰C and 50 kPa?
Solution:
ℎ 𝑤𝑎𝑡𝑒𝑟 = ℎ 𝑇=100℃,𝑃=50𝑘𝑃𝑎
Tw = 100
Pw = 50
hw = enthalpy(Steam,T=Tw,P=Pw)
hw = enthalpy(Steam,T=100,P=50)
naveedurrehman.com
Exercise
16
What is the specific volume of water/steam at 100 ⁰C and 50
kPa?
Solution:
𝑣 𝑤𝑎𝑡𝑒𝑟 = 𝑣 𝑇=100℃,𝑃=50𝑘𝑃𝑎
v = volume(Steam,T=100,P=50)
naveedurrehman.com
Exercise
17
A rigid tank contains 50 kg of saturated liquid water at 90
⁰C. Determine pressure in the tank and volume of tank.
Pw=Pressure(Steam,T=90,x=0)
Vw = 50*Volume(Steam, T=90,x=0)
naveedurrehman.com
Exercise
18
A mass of 200 gm of saturated liquid water is completely
vaporized at a constant pressure of 100 kPa. Determine
the volume change and the amount of energy added to
water.
m = 200/1000
x1 = 0
x2 = 1
Pw = 100
V1 = volume(Steam, P=Pw, x=x1)
V2 = volume(Steam, P=Pw, x=x2)
V = m*(V2-V1)
h1 = enthalpy(Steam, P=Pw, x=x1)
h2 = enthalpy(Steam, P=Pw, x=x2)
H = m*(h2-h1)
naveedurrehman.com
Exercise: Rankine Cycle
19
Consider a steam power plant operating on a simple ideal
Rankine cycle. Steam enters the turbine at 3 MPa and
350⁰C and is condensed in a condenser at a pressure of
75kPa. Determine the thermal efficiency of this cycle.
naveedurrehman.com
Exercise: Rankine Cycle
20
P1 = 75
T1 =TEMPERATURE(Steam,P=P1,x=0)
h1 = ENTHALPY(Steam,T=T1,P=P1)
v1 = VOLUME(Steam,P=P1,x=0)
P2 = 3*convert(MPa,kPa)
Wp = v1*(P2-P1)
h2 = h1 + Wp
P3 = P2
T3 = 350
h3 = ENTHALPY(Steam,T=T3,P=P3)
s3 = ENTROPY(Steam,T=T3,P=P3)
P4 = P1
s4 = s3
h4 = ENTHALPY(Steam,s=s4,P=P4)
qin = h3 - h2
qout = h4 - h1
eta = 1-qout/qin
naveedurrehman.com
THANK YOU!
Naveed ur Rehman
http://www.naveedurrehman.com/
21naveedurrehman.com

Mais conteúdo relacionado

Mais procurados

185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...
185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...
185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...
Abrar Hussain
 
Solution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moran
Solution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moranSolution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moran
Solution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moran
Anarose704977
 

Mais procurados (20)

tablas termodinámicas en ingles
tablas termodinámicas en inglestablas termodinámicas en ingles
tablas termodinámicas en ingles
 
Fundamentals of heat transfer lecture notes
Fundamentals of heat transfer lecture notesFundamentals of heat transfer lecture notes
Fundamentals of heat transfer lecture notes
 
Midterm review
Midterm reviewMidterm review
Midterm review
 
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)Aspen Plus - Physical Properties (1 of 2) (Slideshare)
Aspen Plus - Physical Properties (1 of 2) (Slideshare)
 
Numerical methods for 2 d heat transfer
Numerical methods for 2 d heat transferNumerical methods for 2 d heat transfer
Numerical methods for 2 d heat transfer
 
Module 6 - Subflowsheet
Module 6 - SubflowsheetModule 6 - Subflowsheet
Module 6 - Subflowsheet
 
185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...
185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...
185817220 7e chapter5sm-final-newfrank-white-fluid-mechanics-7th-ed-ch-5-solu...
 
Solutions Manual for Analysis Synthesis And Design Of Chemical Processes 3rd ...
Solutions Manual for Analysis Synthesis And Design Of Chemical Processes 3rd ...Solutions Manual for Analysis Synthesis And Design Of Chemical Processes 3rd ...
Solutions Manual for Analysis Synthesis And Design Of Chemical Processes 3rd ...
 
Sup materials-Thermodynamic package.pdf
Sup materials-Thermodynamic package.pdfSup materials-Thermodynamic package.pdf
Sup materials-Thermodynamic package.pdf
 
A Review on Comparison between Shell And Tube Heat Exchanger And Helical Coil...
A Review on Comparison between Shell And Tube Heat Exchanger And Helical Coil...A Review on Comparison between Shell And Tube Heat Exchanger And Helical Coil...
A Review on Comparison between Shell And Tube Heat Exchanger And Helical Coil...
 
Flow in pipes
Flow in pipesFlow in pipes
Flow in pipes
 
Solutions Manual for Process Control Modeling Design And Simulation 1st Editi...
Solutions Manual for Process Control Modeling Design And Simulation 1st Editi...Solutions Manual for Process Control Modeling Design And Simulation 1st Editi...
Solutions Manual for Process Control Modeling Design And Simulation 1st Editi...
 
Condenser design
Condenser designCondenser design
Condenser design
 
Solution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moran
Solution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moranSolution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moran
Solution manual-fundamentals-of-engineering-thermodynamics-8th-edition-by-moran
 
Hysys simulation
Hysys simulationHysys simulation
Hysys simulation
 
Selection and Design of Condensers
Selection and Design of CondensersSelection and Design of Condensers
Selection and Design of Condensers
 
NUMERICAL METHODS IN STEADY STATE, 1D and 2D HEAT CONDUCTION- Part-II
NUMERICAL METHODS IN STEADY STATE, 1D and 2D HEAT CONDUCTION- Part-IINUMERICAL METHODS IN STEADY STATE, 1D and 2D HEAT CONDUCTION- Part-II
NUMERICAL METHODS IN STEADY STATE, 1D and 2D HEAT CONDUCTION- Part-II
 
Advanced Chemical Engineering Thermodynamics-31-July-2016
Advanced Chemical Engineering Thermodynamics-31-July-2016Advanced Chemical Engineering Thermodynamics-31-July-2016
Advanced Chemical Engineering Thermodynamics-31-July-2016
 
TWO DIMENSIONAL STEADY STATE HEAT CONDUCTION
TWO DIMENSIONAL STEADY STATE HEAT CONDUCTIONTWO DIMENSIONAL STEADY STATE HEAT CONDUCTION
TWO DIMENSIONAL STEADY STATE HEAT CONDUCTION
 
Air compressor
Air compressorAir compressor
Air compressor
 

Semelhante a EES for Thermodynamics

Axial compressor theory - stage-by-stage approach - 28th January 2010
Axial compressor theory - stage-by-stage approach - 28th January 2010Axial compressor theory - stage-by-stage approach - 28th January 2010
Axial compressor theory - stage-by-stage approach - 28th January 2010
CangTo Cheah
 
Thermodynamics Problems Chapter 1
Thermodynamics Problems Chapter 1Thermodynamics Problems Chapter 1
Thermodynamics Problems Chapter 1
VJTI Production
 
Thermodynamic Chapter 5 Air Standard Cycle
Thermodynamic Chapter 5 Air Standard CycleThermodynamic Chapter 5 Air Standard Cycle
Thermodynamic Chapter 5 Air Standard Cycle
Muhammad Surahman
 
Last Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docxLast Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docx
smile790243
 
Thermodynamics Examples and Class test
Thermodynamics Examples and Class testThermodynamics Examples and Class test
Thermodynamics Examples and Class test
VJTI Production
 
problems based on pumps - fluid and particle mechanics in bioprocess
problems based on pumps - fluid and particle mechanics in bioprocessproblems based on pumps - fluid and particle mechanics in bioprocess
problems based on pumps - fluid and particle mechanics in bioprocess
DN Vaisnavi
 

Semelhante a EES for Thermodynamics (20)

1. ejemplos y problemas evaporadores
1. ejemplos y problemas evaporadores 1. ejemplos y problemas evaporadores
1. ejemplos y problemas evaporadores
 
Axial compressor theory - stage-by-stage approach - 28th January 2010
Axial compressor theory - stage-by-stage approach - 28th January 2010Axial compressor theory - stage-by-stage approach - 28th January 2010
Axial compressor theory - stage-by-stage approach - 28th January 2010
 
Thermodynamics Problems Chapter 1
Thermodynamics Problems Chapter 1Thermodynamics Problems Chapter 1
Thermodynamics Problems Chapter 1
 
Ch19 ssm
Ch19 ssmCh19 ssm
Ch19 ssm
 
07 heat[1]
07 heat[1]07 heat[1]
07 heat[1]
 
Thermodynamic Chapter 5 Air Standard Cycle
Thermodynamic Chapter 5 Air Standard CycleThermodynamic Chapter 5 Air Standard Cycle
Thermodynamic Chapter 5 Air Standard Cycle
 
Last Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docxLast Rev. August 2014 Calibration and Temperature Measurement.docx
Last Rev. August 2014 Calibration and Temperature Measurement.docx
 
Thermodynamics Examples and Class test
Thermodynamics Examples and Class testThermodynamics Examples and Class test
Thermodynamics Examples and Class test
 
Lecture 08 of Agricultural instrumentation
Lecture 08 of Agricultural instrumentationLecture 08 of Agricultural instrumentation
Lecture 08 of Agricultural instrumentation
 
Lecture 17 heat engines and refrigerators
Lecture 17   heat engines and refrigeratorsLecture 17   heat engines and refrigerators
Lecture 17 heat engines and refrigerators
 
Gas power-09
Gas power-09Gas power-09
Gas power-09
 
problems based on pumps - fluid and particle mechanics in bioprocess
problems based on pumps - fluid and particle mechanics in bioprocessproblems based on pumps - fluid and particle mechanics in bioprocess
problems based on pumps - fluid and particle mechanics in bioprocess
 
13. The Otto Cycle.pdf
13. The Otto Cycle.pdf13. The Otto Cycle.pdf
13. The Otto Cycle.pdf
 
Energy efficiency
Energy efficiencyEnergy efficiency
Energy efficiency
 
Evaporator
EvaporatorEvaporator
Evaporator
 
Hvac formulas
Hvac formulasHvac formulas
Hvac formulas
 
Thermodynamics revision
Thermodynamics revisionThermodynamics revision
Thermodynamics revision
 
Solutions fox
Solutions   foxSolutions   fox
Solutions fox
 
IB Chemistry on Energetics, Enthalpy Change and Thermodynamics
IB Chemistry on Energetics, Enthalpy Change and ThermodynamicsIB Chemistry on Energetics, Enthalpy Change and Thermodynamics
IB Chemistry on Energetics, Enthalpy Change and Thermodynamics
 
Engineering Fluid Mechanics 11th Edition Elger Solutions Manual
Engineering Fluid Mechanics 11th Edition Elger Solutions ManualEngineering Fluid Mechanics 11th Edition Elger Solutions Manual
Engineering Fluid Mechanics 11th Edition Elger Solutions Manual
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

EES for Thermodynamics

  • 1. EES FOR THERMODYNAMICS A hands-on training. Naveed ur Rehman http://www.naveedurrehman.com/
  • 2. EES – A software • EES (pronounced ’ease’): “Engineering Equation Solver” • Licensed and distributed by F-Chart software (http://fchart.com) • Demo version can be acquired free from http://fchart.com/ees/demo.php • Licensing and ordering information can obtained from http://fchart.com/ees/ and http://fchart.com/ees/order.php • Single user license fee: $600-$1200 • Download software and presentation from https://goo.gl/U9s8Ud (Disconnect internet while using EES) 2naveedurrehman.com
  • 3. Environment “Equations window” “Menu” “Toolbar” Remember, EES is case-insensitive i.e. ABC = abc = AbC = Abc… 3naveedurrehman.com
  • 4. Solving linear equation X + 3 = 5 Example: To obtain solution: [Menu] Calculate > Solve or Press “F2” key 4naveedurrehman.com
  • 5. Solving linear equation X + 3 = 5 Example: Solution Window: 5naveedurrehman.com
  • 6. Solving polynomial 3*H^2 - 4*H - 5 = 0 Example: Solution Window: 6 3𝐻2 − 4𝐻 − 5 = 0 naveedurrehman.com
  • 7. Solving system of equations Example: X + Y = 10 X - 2*Y = 5 7 X + Z = 10 - Y X - 2*Y = 5 X = 4 - Z X + Y + Z = 10 X + Y = 0 What about this? Remember, number of variables = number of equations! ERROR! naveedurrehman.com
  • 8. Solving system of equations Example: V = pi * (R^2) * H R = 10 H = 12 8 Calculate volume of cylinder where radius is 10 m and height = 12 m (using 𝑉 = 𝜋𝑅2 𝐻) Calculate radius of cylinder where height is 10 m and volume = 3000 m3 (using 𝑉 = 𝜋𝑅2 𝐻) V = pi * (R^2) * H H = 10 V = 3000 𝑅 = Τ𝑉 𝜋𝐻 naveedurrehman.com
  • 9. Exercise 9 A piston cylinder device initially contains 0.4m3 of air at 100kPa and 80°C. The air is now compressed to 0.1m3 in such a way that the temperature inside the cylinder remains constant. Determine the work done during this process. 𝑊𝑖𝑠𝑜𝑡ℎ𝑒𝑟𝑚𝑎𝑙 = 𝑃1 𝑉1 ln 𝑉2 𝑉1 V1 = 0.4 P1 = 100 T1 = 80 V2 = 0.1 Wb = (P1*V1)*ln(V2/V1) naveedurrehman.com
  • 10. Units and conversion Try: A = 30*Convert(ft,m) B = 10*Convert(MJ, kJ) C = 100*Convert(kJ/kg,BTU/lbm) 10 Solution: Note: Unit to each variable is automatically assigned. Convert statement is used to do unit conversion: Convert ( from-unit , to-unit ) Right-click and select “Units list” naveedurrehman.com
  • 11. Exercise a = 3*convert(bar/kW,kPa/J) 11 Convert 3 bar/kW to kPa/J Convert 3 bar/kW to kPa.s/J a = 3*convert(bar/kW,kPa*s/J) ERROR! Remember, always convert into consistent units. naveedurrehman.com
  • 12. Units and conversion: Temperature Try: TheF = ConvertTEMP(C,F,30) "Convert 30 deg. C to deg. F" TheC = ConvertTEMP(F,C,100) "Convert 100 deg. F to deg. C" 12 Solution: ConvertTemp statement is used to do unit conversion between degree centigrade (°C) and Fahrenheit (°F): ConvertTEMP ( from-unit , to-unit, value) naveedurrehman.com
  • 13. Built-in Functions 13 To access built-in functions: [Menu] Options > Function Info naveedurrehman.com
  • 14. Exercise 14 What is the temperature of water/steam at 11 MPa and internal energy of 2920 kJ/kg? naveedurrehman.com
  • 15. Exercise 15 What is the enthalpy of water/steam at 100 ⁰C and 50 kPa? Solution: ℎ 𝑤𝑎𝑡𝑒𝑟 = ℎ 𝑇=100℃,𝑃=50𝑘𝑃𝑎 Tw = 100 Pw = 50 hw = enthalpy(Steam,T=Tw,P=Pw) hw = enthalpy(Steam,T=100,P=50) naveedurrehman.com
  • 16. Exercise 16 What is the specific volume of water/steam at 100 ⁰C and 50 kPa? Solution: 𝑣 𝑤𝑎𝑡𝑒𝑟 = 𝑣 𝑇=100℃,𝑃=50𝑘𝑃𝑎 v = volume(Steam,T=100,P=50) naveedurrehman.com
  • 17. Exercise 17 A rigid tank contains 50 kg of saturated liquid water at 90 ⁰C. Determine pressure in the tank and volume of tank. Pw=Pressure(Steam,T=90,x=0) Vw = 50*Volume(Steam, T=90,x=0) naveedurrehman.com
  • 18. Exercise 18 A mass of 200 gm of saturated liquid water is completely vaporized at a constant pressure of 100 kPa. Determine the volume change and the amount of energy added to water. m = 200/1000 x1 = 0 x2 = 1 Pw = 100 V1 = volume(Steam, P=Pw, x=x1) V2 = volume(Steam, P=Pw, x=x2) V = m*(V2-V1) h1 = enthalpy(Steam, P=Pw, x=x1) h2 = enthalpy(Steam, P=Pw, x=x2) H = m*(h2-h1) naveedurrehman.com
  • 19. Exercise: Rankine Cycle 19 Consider a steam power plant operating on a simple ideal Rankine cycle. Steam enters the turbine at 3 MPa and 350⁰C and is condensed in a condenser at a pressure of 75kPa. Determine the thermal efficiency of this cycle. naveedurrehman.com
  • 20. Exercise: Rankine Cycle 20 P1 = 75 T1 =TEMPERATURE(Steam,P=P1,x=0) h1 = ENTHALPY(Steam,T=T1,P=P1) v1 = VOLUME(Steam,P=P1,x=0) P2 = 3*convert(MPa,kPa) Wp = v1*(P2-P1) h2 = h1 + Wp P3 = P2 T3 = 350 h3 = ENTHALPY(Steam,T=T3,P=P3) s3 = ENTROPY(Steam,T=T3,P=P3) P4 = P1 s4 = s3 h4 = ENTHALPY(Steam,s=s4,P=P4) qin = h3 - h2 qout = h4 - h1 eta = 1-qout/qin naveedurrehman.com
  • 21. THANK YOU! Naveed ur Rehman http://www.naveedurrehman.com/ 21naveedurrehman.com