chapter 18 the second law of thermodynamics. irreversible processes irreversible processes: always...

18
Neuro-Fuzzy Algorithmic (NFA) Models and Tools for Estimation Danny Ho, Luiz F. Capretz*, Xishi Huang, Jing Ren NFA Estimation Inc., London, Ontario, Canada *Software Engineering, University of Western Ontario, London, Ontario, Canada October 2005

Post on 19-Dec-2015

256 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Chapter 18

The Second Law of Thermodynamics

Page 2: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Irreversible Processes

• Irreversible Processes:always found to proceed in one direction

• Examples:

• free expansion of ideal gas

• heat flow (for finite T): from hot to cold

• friction: converts mechanical energy to heat

Page 3: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Reversible Processes

• Reverisble processes: just an idealization, but we can come close

• put system in equilibrium (with itself and its surroundings)

• make slow, infinitesimal changes in order to reverse a process

Page 4: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Heat Engine

• Heat engine:transforms heat into mechanical energy, W

• Reservoirs:

• hot reservoir at TH

• cold reservoir at TC

Page 5: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Heat Engine

• engine absorbs heat QH from hot reservoir

• engine discards heat QC to cold reservoir

• engine does work W

Page 6: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Heat Engine

• Working substance:material in engine undergoing the heat transfer

• Cyclic process: reuse same substance, return it to initial state at end of each cycle

Page 7: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Q = net heat input

• For each cycle:

• heat QH enters engine

• heat QC leaves engine

• net heat in per cycle:

Q = QH + QC

= QH – |QC|

Page 8: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Heat Engine

• cyclic process:U = 0 for engine during one cycle

• 1st Law: Q = W + U

• Thus for each cycle:Q = W

Page 9: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Heat Engine

• For each cycle:

Q = QH – |QC|

• So by 1st Law:

W = Q = QH – |QC|

Page 10: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

EngineEfficiency

W= QH – |QC|

Perfect engine: |QC| = 0

All experiments: |QC| > 0

Efficiency: e• measures how close an

engine gets to |QC| = 0

Page 11: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

EngineEfficiency

H

C

H

CH

H

||1

||

Q

Q

Q

QQ

Q

We

Page 12: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Ideal Engine

= limiting behavior of real engines

• engine: converts heat to mechanical energy

• recall: converting mechanical energy to heat is ‘irreversible’

Page 13: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Ideal Engine

• avoid irreversibility

• carry out engine cycle slowly and with reversible heat flow

• the reversibility of heat flow motivates the allowed processes

Page 14: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Ideal Engine

• For reversible heat flow, there can be no finite T between engine and reservoir

• so during heat transfer we need an isothermal process

Page 15: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Ideal Engine

• If there is a finite T between engine and reservoir, any heat flow would be irreversible

• So when there is a finite T we need an adiabatic process

Page 16: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Ideal Engine

• so we are motivated to consider a cycle with only two processes:

• isothermal • adiabatic

• called a ‘Carnot cycle’

Page 17: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Ideal Engine

• efficiency: e = ?• working substance = ?

• We’ll calculate e for substance = ideal gas

• Actually, e is independent of the working substance

Page 18: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Carnot Cycle

Page 19: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Example engine: internal combustion engine

Page 20: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

• TH is provided by combustion of air-fuel mixture

• TC is provided by exhaust gases venting to outside air

Page 21: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

• fuel = gasoline• working substance = mixture of air and burned fuel• this engine doesn’t actually recycle the same mixture in

each cycle, but we can idealize with simple models

Page 22: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Problem 18-44

Page 23: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Refrigerator

• Refrigerator:like a heat engine, but operating in reverse

• Reservoirs:

• hot reservoir at TH

• cold reservoir at TC

Page 24: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Refrigerator

• refrigerator absorbs heat QC

• refrigerator discards heat QH

• work W done on refrigerator

Page 25: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Refrigerator

• cyclic process:U = 0 during one cycle

• 1st Law: Q = W + U

• Thus for each cycle:Q = W

Page 26: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Refrigerator

• So by 1st Law:

W = Q

= QH + QC

– |W| = – |QH| + QC

|QH| = QC + |W|

Page 27: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Announcements

• Today: finish Chapter 18

• Wednesday: review

• Thursday: no class (office hours 12:30-2:30)

• HW 6 (Ch. 15): returned at front

• Midterms: returned at front (midterm scores: classweb, solutions: E-Res)

Page 28: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

The Second Law of Thermodynamics

Page 29: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

2nd Law of Thermodynamics

Four equivalent approaches, in terms of:

• Engines

• Refrigerators

• Carnot Cycle

• Entropy

Page 30: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Heat Engine

• engine absorbs heat QH

• engine discards heat QC

• engine does work W

• engine efficiency :

H

C

H

||1

Q

Q

Q

We

Page 31: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

2nd Law:Engines

• There are no perfect engines (real engines have e < 1)

• It is impossible for a system to change heat completely into work, with no other change to the system taking place

Page 32: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

2nd Law: Engine Version

If 2nd Law weren’t true:

• ships could move by cooling the ocean

• cars could move by cooling surrounding air

Page 33: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Refrigerator

• refrigerator absorbs heat QC

• refrigerator discards heat QH

• work W done on refrigerator

Page 34: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

2nd Law: RefrigeratorVersion

• There are no perfect refrigerators (for real refrigerators |W|> 0).

• It is impossible for heat to flow from hot to cold with no other change to the system taking place

Page 35: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

‘Engine’ and ‘Refrigerator’ versions of 2nd Law are equivalent

Page 36: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

(a) If you can build a perfect refrigerator, then you can build a perfect engine

(perfect refrigerator) + (real engine) = perfect engine

See notesSee notes

Page 37: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

(b) If you can build a perfect engine, then you can build a perfect refrigerator

(perfect engine) + (real refrigerator) = perfect refrigerator

See notesSee notes

Page 38: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Engine Efficiency Revisited

2nd Law:Real engines have efficiency e < 1.

• How close can we get to e = 1?

• Is there a maximum possible efficiency?

• Yes!

Page 39: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Carnot Cycle

Page 40: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

2nd Law: Carnot Cycle Version

e < eCarnot

The efficiency e of a real engine operating between temperatures TH and TC can never exceed that of a Carnot engine operating between the same TH and TC:

H

CCarnot 1

T

Te

ProofProof

Page 41: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Problem 18-44, Revisited

Page 42: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Defining Entropy

• For Carnot cycle:

0

0C

C

H

H

H

C

H

C

T

Q

T

Q

T

Q

T

T

Q

Q

See notesSee notes

Page 43: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

• Any reversible cycle = sum of many Carnot cycles• For cycle, in limit of infinitesimally close isotherms:

0T

dQ

Page 44: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Entropy (S)

• Result for a reversible cycle:

• This defines a new state variable, entropy (S):

0T

dQ

T

dQdS

dS

0

Page 45: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

• Entropy measures the disorder of a system

• The more heat dQ you add, the higher the entropy increase dS that results

• The smaller the temperature T, the larger the entropy increase dS that results

process) reversible a(for T

dQdS

Page 46: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Entropy (S)

• For any reversible path from state 1 to 2:

• This must also equal S for an irreversible path from 1 to 2, since S is a state variable

2

1

2

1 T

dQdSS

Exercises 18-20, 18-26Exercises 18-20, 18-26 Example 18-8, Problem 18-50Example 18-8, Problem 18-50

Page 47: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

0T

dQ

T

dQdS

dS

0

Example 18-8: Free Expansion of Ideal Gas

Page 48: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Entropy (S)

• For any reversible path from state 1 to 2:

• This must also equal S for an irreversible path from 1 to 2, since S is a state variable

2

1

2

1 T

dQdSS

Exercises 18-20, 18-26Exercises 18-20, 18-26 Example 18-8, Problem 18-50Example 18-8, Problem 18-50

Page 49: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

2nd Law: Entropy Version

If we consider all systems taking part in a process,

For a reversible process:

Stotal = 0

For an irreversible process:

Stotal > 0

Page 50: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Laws of Thermodynamics

Law state variable

Zeroth Law temperature: T

1st Law U = Q – W internal energy: U

2nd Law entropy: S0S

Page 51: Chapter 18 The Second Law of Thermodynamics. Irreversible Processes Irreversible Processes: always found to proceed in one direction Examples: free expansion

Announcements

• Today: finish Chapter 18

• Wednesday: review

• Thursday: no class (office hours 12:30-2:30)

• HW 6 (Ch. 15): returned at front

• Midterms: returned at front (midterm scores: classweb, solutions: E-Res)