Modeling and Analysis of Dynamic Systems

Similar documents
Modeling and Analysis of Dynamic Systems

Modeling and Analysis of Dynamic Systems

Modeling and Analysis of Dynamic Systems

Modeling and Analysis of Dynamic Systems

Chapter 5: The First Law of Thermodynamics: Closed Systems

Modeling and Analysis of Dynamic Systems

Thermodynamics part III.

Modeling and Analysis of Dynamic Systems

First Law of Thermodynamics

3. First Law of Thermodynamics and Energy Equation

(Heat capacity c is also called specific heat) this means that the heat capacity number c for water is 1 calorie/gram-k.

Kinetic Theory continued

Chapter 17. Work, Heat, and the First Law of Thermodynamics Topics: Chapter Goal: Conservation of Energy Work in Ideal-Gas Processes

Three special ideal gas processes: one of, W or Q is 0

Kinetic Theory continued

Chapter 2. Energy and the First Law of Thermodynamics

UNIVERSITY OF SOUTHAMPTON

Non-Newtonian fluids is the fluids in which shear stress is not directly proportional to deformation rate, such as toothpaste,

What is thermodynamics? and what can it do for us?

CHAPTER 17 WORK, HEAT, & FIRST LAW OF THERMODYNAMICS

THERMODYNAMICS b) If the temperatures of two bodies are equal then they are said to be in thermal equilibrium.

The first law of thermodynamics continued

Relationship to Thermodynamics. Chapter One Section 1.3

First Law of Thermodynamics

12/21/2014 7:39 PM. Chapter 2. Energy and the 1st Law of Thermodynamics. Dr. Mohammad Suliman Abuhaiba, PE

Law of Heat Transfer

Lecture 7: Kinetic Theory of Gases, Part 2. ! = mn v x

Fundamentals of compressible and viscous flow analysis - Part II

Thermodynamics 2013/2014, lecturer: Martin Zápotocký

Applied Thermodynamics for Marine Systems Prof. P. K. Das Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Physics 5D PRACTICE FINAL EXAM Fall 2013

- Apply closed system energy balances, observe sign convention for work and heat transfer.

Exercise 7 - Fluiddynamic Systems

ATMOS Lecture 7. The First Law and Its Consequences Pressure-Volume Work Internal Energy Heat Capacity Special Cases of the First Law

Chapter 19 The First Law of Thermodynamics

Relationships between WORK, HEAT, and ENERGY. Consider a force, F, acting on a block sliding on a frictionless surface. x 2

Heat Transfer: Physical Origins and Rate Equations. Chapter One Sections 1.1 and 1.2

Chapter 15 Thermal Properties of Matter

The First Law of Thermodynamics. By: Yidnekachew Messele

Honors Physics. Notes Nov 16, 20 Heat. Persans 1

(Refer Slide Time: 0:15)

first law of ThermodyNamics

THE SECOND LAW OF THERMODYNAMICS. Professor Benjamin G. Levine CEM 182H Lecture 5

Section 2: Lecture 1 Integral Form of the Conservation Equations for Compressible Flow

U = 4.18 J if we heat 1.0 g of water through 1 C. U = 4.18 J if we cool 1.0 g of water through 1 C.

Thermal Energy Final Exam Fall 2002

Thermodynamics of solids 5. Unary systems. Kwangheon Park Kyung Hee University Department of Nuclear Engineering

Speed Distribution at CONSTANT Temperature is given by the Maxwell Boltzmann Speed Distribution

TB [103 marks] The damping of the system is now increased. Which describes the change in ƒ 0 and the change in A 0?

4.1 LAWS OF MECHANICS - Review

Potential Concept Questions

More Thermodynamics. Specific Specific Heats of a Gas Equipartition of Energy Reversible and Irreversible Processes

General Physics I (aka PHYS 2013)

CHEM Thermodynamics. Work. There are two ways to change the internal energy of a system:

The First Law of Thermodynamics

Outline. Property diagrams involving entropy. Heat transfer for internally reversible process

S15--AP Phys Q4--Heat-Thermo Ch13_14_15 PRACTICE

Version 001 HW 15 Thermodynamics C&J sizemore (21301jtsizemore) 1

Physics Nov Cooling by Expansion

Irreversible Processes

Lecture 24. Paths on the pv diagram

Chapter 18 Temperature, Heat, and the First Law of Thermodynamics. Thermodynamics and Statistical Physics

CHEMICAL ENGINEERING THERMODYNAMICS. Andrew S. Rosen

Lecture 22. Temperature and Heat

Heat Transfer. Heat always moves from a warmer place to a cooler place. Hot objects in a cooler room will cool to room temperature.

Chapter 19. First Law of Thermodynamics. Dr. Armen Kocharian, 04/04/05

Chapter 1: FUNDAMENTAL CONCEPTS OF THERMODYNAMICS AND VARIOUS THERMODYMIC PROCESSES

Hence. The second law describes the direction of energy transfer in spontaneous processes

Enthalpy and Adiabatic Changes

Name: Discussion Section:

Temperature Thermal Expansion Ideal Gas Law Kinetic Theory Heat Heat Transfer Phase Changes Specific Heat Calorimetry Heat Engines

CHAPTER 8 ENTROPY. Blank

Thermodynamics ENGR360-MEP112 LECTURE 7

Thermal Systems. What and How? Physical Mechanisms and Rate Equations Conservation of Energy Requirement Control Volume Surface Energy Balance

Handout 10: Heat and heat transfer. Heat capacity

7. (2) Of these elements, which has the greatest number of atoms in a mole? a. hydrogen (H) b. oxygen (O) c. iron (Fe) d. gold (Au) e. all tie.

UNIVESITY OF SWAZILAND FACl.JLTY OF SCIENCE AND ENGINEERING DEPARTMENT OF PHYSICS

Thermodynamics 1 Lecture Note 2

Unified Quiz: Thermodynamics

Mechanical Engineering. Postal Correspondence Course HEAT TRANSFER. GATE, IES & PSUs

Turbomachinery & Turbulence. Lecture 2: One dimensional thermodynamics.

First Law of Thermodynamics Second Law of Thermodynamics Mechanical Equivalent of Heat Zeroth Law of Thermodynamics Thermal Expansion of Solids

Ministry of Higher Education And Scientific Research. University Of Technology Chemical Engineering Department. Heat Transfer

S6. (a) State what is meant by an ideal gas...

Lecture 44: Review Thermodynamics I

4. All questions are NOT ofequal value. Marks available for each question are shown in the examination paper.

Thermodynamics: The First Law and Heat Transfer

Irreversible Processes

AAE COMBUSTION AND THERMOCHEMISTRY

FORMULA SHEET. General formulas:

ESO201A: Thermodynamics

Matter exchange - type of wall Yes - permeable - absence of wall. Energy exchange - type of wall. - diathermic - moving wall. Yes

Chapter 1. The Properties of Gases Fall Semester Physical Chemistry 1 (CHM2201)

Engineering Thermodynamics

ATMO 551a Fall The Carnot Cycle

T H E R M O D Y N A M I C S M E

Chapter 1: FUNDAMENTAL CONCEPTS OF THERMODYNAMICS AND VARIOUS THERMODYMIC PROCESSES

Lecture 35: Vapor power systems, Rankine cycle

Thermodynamics Introduction and Basic Concepts

Calorimetry: Problem Solving with Heat Exchanges (method 1)

Transcription:

Modeling and Analysis of Dynamic Systems Dr. Guillaume Ducard Fall 2017 Institute for Dynamic Systems and Control ETH Zurich, Switzerland G. Ducard c 1 / 46

Outline 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 2 / 46

Outline Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 3 / 46

Recalls Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker Lorentz force law F = I F = q ( l B ) ( v B ) ( is the vector product in R 3, l and B are vectors in R 3 ). Faraday induction law U = v ( l B ) Remark: right-hand rule G. Ducard c 4 / 46

Outline Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 5 / 46

Loudspeaker Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker Figure: Loudspeaker mechanism: http://www.electronics-tutorials.ws G. Ducard c 6 / 46

Loudspeaker: principle Recalls Case study: Loudspeaker G. Ducard c 7 / 46

Recalls Case study: Loudspeaker G. Ducard c 8 / 46

Recalls Case study: Loudspeaker a) b) S N S u(t) I(t) R L U ind (t) F(t) m d k x(t) Figure: Simplified loudspeaker: a) mechanical structure, b) electromechanical network. G. Ducard c 9 / 46

Recalls Case study: Loudspeaker Mechanical part m ẍ(t) = F(t) k x(t) d ẋ(t) Electric part L d dt I(t) = R I(t) U ind(t)+u(t) Motor law F(t) = B n d π I(t) = κ I(t) Generator law U ind (t) = B n d π v(t) = κ v(t) = κ ẋ(t) electro-mechanical coupling G. Ducard c 10 / 46

Loudspeaker: diagram Recalls Case study: Loudspeaker G. Ducard c 11 / 46

Outline Lecture 6: Electromechanical Systems 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 12 / 46

In this section, only the most important thermodynamics concepts are recalled, as a tool box for system modeling. Three examples will be considered: 1 Chemical reactor 2 Heat exchanger 3 Gas receiver and highlight differences between compressible and incompressible fluids. G. Ducard c 13 / 46

Lecture 6: Electromechanical Systems Definition To all systems, we associate a state function U, called internal energy. For a closed system (no matter transfer): during an arbitrary process, the variation of U is the sum of the work of external forces + thermal energy (heat) transferred by/to the system. du = δw +δq Types of thermodynamic process adiabatic process: no heat transfer, δq = 0, du = δw isochoric process: no volume change, δw = 0, du = δq isolated system: du = 0 G. Ducard c 14 / 46

U Lecture 6: Electromechanical Systems Work of external forces δw = P ext dv Heat, vibration energy of the molecules Assumptions: body with constant mass m, the heat transfer is 1 δq = m C v dt, if process with no change in Volume 2 δq = m C p dt, if process with no change in Pressure with C v : specific heat at constant volume [J (K kg) 1 ]. with C p : specific heat at constant pressure [J (K kg) 1 ]. G. Ducard c 15 / 46

Incompressible systems (solids and fluids) The internal energy U is approximated by : Remarks: U(T 1 ) = m C T 1, C = C v = C p independent of the temperature Assumptions also valid for compressible gases if temperature variations are not too large. Although a reference value for the internal energy can be chosen arbitrarily, we can consider that U = 0 at zero Kelvin. Example: C p for water is 4.18 J. g 1 K 1. Water can transport a lot of thermal energy used in cooling systems (nuclear power plant, cars, etc.) C p (T) is a function of temperature (usually increases with T). G. Ducard c 16 / 46

Outline Lecture 6: Electromechanical Systems 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 17 / 46

Lecture 6: Electromechanical Systems In many industrial applications, a continuous flow of fluid goes through the (thermodynamic) system (transfer of matter). This is no longer a closed system, we talk about open systems (valve, turbine, compressor, etc.) For open systems: we rather use an other state function: defined as H = U +PV, where the term PV takes into account the work (energy) of fluid transport. G. Ducard c 18 / 46

Lecture 6: Electromechanical Systems In order to work out the internal energy of a body w.r.t. the variables: T, P, V, a new function is introduced as : H H = U +P V [J] Any variation in may be captured with: dh = du +P dv +V dp = δw +δq+p dv +V dp = P dv +mc p dt +kdp +P dv +V dp = mc p dt +(k +V) dp Remark: the term k dp is inserted to encompass non-isobaric processes as well. G. Ducard c 19 / 46

For a isobaric process we get: dh = mc p dt +V dp dh = mc p dt = du +P dv Heat energy flows are denoted as enthalpy flows H For a isochoric process we get: H (t) = m (t)c p (T(t))T(t) [W or J s 1 ] du = δq v = mc v dt G. Ducard c 20 / 46

Ideal gases (= at relatively high temperature and low pressures) An ideal gas behaves according to the 2 laws of Joule: 1 its internal energy U only depends on the temperature T, 2 its enthalpy H only depends on the temperature T. For an ideal gas, we have: du = dh = δq = δq = mc v dt mc p dt mc v dt +P dv mc p dt V dp G. Ducard c 21 / 46

Ideal Gases Lecture 6: Electromechanical Systems P V = nr i T Ideal gas constant: R i = 8.31 J K 1 mol 1, Quantity: n in [mol], Pressure: P in [Pa], Volume: V in [m 3 ], Temperature: T in K. P V = nr i T m = M R it = m R T mr i P = V M T = ρ RT with the gas-specific constant R = R i /M gas, gas molar mass M gas G. Ducard c 22 / 46

Gas constant: R = C p (T) C v (T) constant for all temperatures R = C p C v in [J (kg K) 1 ] Adiabatic process (no heat transfer) PV γ = cst γ = Cp,m C v,m = Cp C v, dimensionless γ = 5/3 for mono-atomic gas, γ = 7/5 for di-atomic gas (P,V): P V γ = cst (T,V): T V γ 1 = cst (P,T): P 1 γ T γ = cst Isothermal process P V = cst Remarks: the term γ is always > 1 G. Ducard c 23 / 46

Outline Lecture 6: Electromechanical Systems 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 24 / 46

Heat Transfer Lecture 6: Electromechanical Systems Figure: 3 ways for heat transfer (picture from processtechacademy.com) G. Ducard c 25 / 46

Heat Transfer by Conduction Heat conduction: molecules agitation, vibration energy of molecules Fourier s law: one-dimensional case: thin cylinder of cross section area A and length l: Q= κ A (T 1 T 2 ) [W or J s 1 ] l κ: thermal conductivity (depends on material) in [W K 1 m 1 ] l A A l G. Ducard c 26 / 46

Heat Transfer by Convection Heat convection: Transport of matter Newton s law: heat (thermal energy) transfer between a solid body with contact surface A and the surrounding fluid is : Q= k A (T 1 T 2 ) [W or J s 1 ] k: heat transfer coefficient (depends on the surface + fluid flow properties) in [W K 1 m 2 ] G. Ducard c 27 / 46

Heat Transfer by Radiation Heat radiation No transport of matter, can go through vacuum. Example: heat transfer from Sun to Earth Heat radiation: Stefan-Boltzmann s law Heat radiation from a body whose surface A at temperature T 1 and its surrounding at T 2. Q= ǫ σ A (T 4 1 T4 2 ) [W or J s 1 ] Emissivity ǫ (dimensionless, < 1, depend on the material). Example of pure water: ǫ = 0.96 Stefan-Boltzmann constant σ = 5.67036710 8 Wm 2 K 4 G. Ducard c 28 / 46

Outline Lecture 6: Electromechanical Systems 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 29 / 46

Example 1: Stirred Reactor System Q (t) m c k,a ϑ i (t) ϑ o ϑ i,ϑ o = temperatures inside and outside of the reactor K m = mass in the reactor kg c = specific heat of the reactor liquid J/(kg K) A = active heat exchange surface of the reactor m 2 k = heat transfer coefficient of the active surface W/(m 2 K) G. Ducard c 30 / 46

Example 1: Stirred Reactor System Assumptions 1 The reactor fluid has a uniform temperature ϑ i distribution, and the temperature of the environment ϑ o is constant. G. Ducard c 31 / 46

Example 1: Stirred Reactor System Assumptions 1 The reactor fluid has a uniform temperature ϑ i distribution, and the temperature of the environment ϑ o is constant. 2 The heat exchanger can impose an arbitrary heat flux (positive or negative) to the reactor s liquid. G. Ducard c 31 / 46

Example 1: Stirred Reactor System Assumptions 1 The reactor fluid has a uniform temperature ϑ i distribution, and the temperature of the environment ϑ o is constant. 2 The heat exchanger can impose an arbitrary heat flux (positive or negative) to the reactor s liquid. 3 Heat flows through the reactor s poorly insulated wall. G. Ducard c 31 / 46

Example 1: Stirred Reactor System Assumptions 1 The reactor fluid has a uniform temperature ϑ i distribution, and the temperature of the environment ϑ o is constant. 2 The heat exchanger can impose an arbitrary heat flux (positive or negative) to the reactor s liquid. 3 Heat flows through the reactor s poorly insulated wall. 4 The only relevant reservoir is the thermal (internal) heat stored in the reactor s liquid. G. Ducard c 31 / 46

Example 1: Stirred Reactor System Assumptions 1 The reactor fluid has a uniform temperature ϑ i distribution, and the temperature of the environment ϑ o is constant. 2 The heat exchanger can impose an arbitrary heat flux (positive or negative) to the reactor s liquid. 3 Heat flows through the reactor s poorly insulated wall. 4 The only relevant reservoir is the thermal (internal) heat stored in the reactor s liquid. 5 The reaction taking place inside the reactor is assumed to be neutral, i.e., no heat is generated or absorbed by the reactions inside the reactor. G. Ducard c 31 / 46

Example 1: Stirred Reactor System Q (t) m c k,a ϑ i (t) ϑ o G. Ducard c 32 / 46

Example 1: Stirred Reactor System Step 1: Input & Output Input: controlled input heat flow u(t) = Q in (t) [W] Output : internal reactor temperature (normalized to the external temperature), i.e., ϑ(t) = ϑ i (t) ϑ o Step 2: Relevant reservoir and associated level Internal energy stored is given by U(t) = m c ϑ(t) G. Ducard c 33 / 46

Example 1: Stirred Reactor System Step 3: The energy balance yields the (only) differential equation d dt U(t) = mc d dt ϑ(t) = Q in (t) Q out (t) Step 4: The heat flows are given by Q in (t) = u(t), controlled internal heat exchanger and according to Newton s law: Q out (t) = k A ϑ(t) poorly insulated reactor walls Step 5: Final formulation mc dϑ(t) dt = u(t) kaϑ(t) G. Ducard c 34 / 46

Exercise mc dϑ(t) dt = u(t) kaϑ(t) 1 Bring this system into the form of a transfer function 2 What is the characteristic time constant τ? (for a step input, after 3τ, the system reaches 95% of its final steady-state value). 3 What is the static gain of the system? 4 Check the consistency of the units for τ. G. Ducard c 35 / 46

Outline Lecture 6: Electromechanical Systems 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 36 / 46

m 2,o (t) ϑ 2o (t) m 1,i (t) ϑ 1i (t) m 1,o (t) ϑ 1o (t) Figure: Heat exchanger. m 2,i (t) ϑ 2i (t) G. Ducard c 37 / 46

ϑ 1o,j (t) m 1,c 1 Q j ϑ 1o,j (t) ϑ 1i,j (t) m 1 (t) m 2 (t) ϑ 2i,j (t) ϑ 2o,j (t) m 2,c 2 A k ϑ 2o,j (t) Figure: Heat exchanger element, massflows m 1, m 2, specific heat constants c 1, c 2, active heat exchange contact area A, heat transfer coefficient k. Assumptions: the temperature of the fluids leaving the heat-exchanger element j: ϑ 1o,j/2o,j is the same as inside the element. G. Ducard c 38 / 46

Main equations governing a cell s behavior and d dt U dϑ 1o,j (t) 1,j = m 1 c 1 = m 1 c 1 (ϑ 1i,j (t) ϑ 1o,j (t)) Q dt j (t) d dt U dϑ 2o,j (t) 2,j = m 2 c 2 = m 2 c 2 (ϑ 2i,j (t) ϑ 2o,j (t))+ Q dt j (t) and the heat transfer equation Q j (t) = ka(ϑ 1o,j (t) ϑ 2o,j (t)). Remark: Alternative formulation Q j (t) = ka( ϑ 1i,j +ϑ 1o,j 2 ϑ 2i,j +ϑ 2o,j ) 2 G. Ducard c 39 / 46

m 2 c p2 ϑ 2o,j (t) ϑ 1i,j (t) m 1 c p1 - + - + eq. (2.94) ϑ 1o,j (t) ka(ϑ 1o,j ϑ 2o,j ) + Q j + eq. (2.95) m 2 c p2 - + ϑ 2i,j (t) ϑ 1o,j (t) m 1 c p1 G. Ducard c 40 / 46

Outline Lecture 6: Electromechanical Systems 1 Lecture 6: Electromechanical Systems Recalls Case study: Loudspeaker 2 3 G. Ducard c 41 / 46

More complex situation when fluids are compressible V,R,c p,c v constant m in (t), Hin (t),ϑ in (t) m(t),p(t) U(t),ϑ(t) m out (t), Hout (t),ϑ(t) Step 1: Inputs/Outputs The inputs and outputs are the mass m in/out (t) and the enthalpy flows H in/out (t). The outflowing gas has the same ϑ(t) as the gas inside the receiver ( lumped parameter assumption). G. Ducard c 42 / 46

Step 2: Energy reservoir, level variables Two reservoirs are to be considered: 1 mass m(t) 2 internal energy U(t) Level variables: pressure p(t), temperature ϑ(t). Step 3: Energy balance and d dt U(t) = Hin(t) Hout(t) d dt m(t) = m in (t) m out (t) G. Ducard c 43 / 46

Step 4: Differential equation in the level variables d dt ϑ = ϑr { c p min ϑ in c p mout ϑ ( m in } m out )c v ϑ pvc v and d κr { min p(t) = (t)ϑ in (t) m out (t)ϑ(t)} dt V G. Ducard c 44 / 46

Remark: So far adiabatic (no heat-exchange) receiver was assumed. The other extreme situation is to assume isothermal conditions d dt ϑ(t) = 0 and using ideal gas law and isothermal assumption ( d dtϑ(t) = 0) d Rϑ { min p(t) = (t) m out (t)} dt V G. Ducard c 45 / 46

Next lecture + Upcoming Exercise Next lecture Fluid-dynamic Systems : Valves, Gas Turbines, Compressors Next exercises: Heating/Ventilation System + hot-air balloon G. Ducard c 46 / 46