AE 427 THERMODYNAMIC CYCLE SIMULATION Prof.Dr. Demir Bayka.

Slides:



Advertisements
Similar presentations
Lecture 11a Ideal gas Number of states and density of states Partition functions q and Q Thermodynamic Functions Problem 12.9.
Advertisements

Section 5.4 – Properties of Logarithms. Simplify:
Appendix 19 A Microsoft Excel Program for Calculating Cumulative Bivariate Normal Density Function ( ) By Cheng Few Lee Joseph Finnerty John Lee.
Arithmetic in Pascal (2) Arithmetic Functions Perform arithmetic calculations Gives an argument to the function and it returns the result.
ConcepTests in Chemical Engineering Thermodynamics Unit 2: Generalized Analysis of Fluid Properties Note: Slides marked with JLF were adapted from the.
AE 427 THERMODYNAMIC CYCLE SIMULATION Prof.Dr. Demir Bayka.
Fractional Distillation Activity. Asphalt Coke Tar Wax Feedstock from Residue.
Solution thermodynamics theory—Part I
INTERNAL COMBUSTION ENGINES LECTURER PROF.Dr. DEMIR BAYKA.
Enthalpies of Formation The enthalpy of formation,  H f, or heat of formation, is defined as the change in enthalpy when one mole of a compound is formed.
1 Chapter 10 Introduction to Organic Chemistry: Alkanes 10.4 Properties of Alkanes Copyright © 2005 by Pearson Education, Inc. Publishing as Benjamin Cummings.
Physics 52 - Heat and Optics Dr. Joseph F. Becker Physics Department San Jose State University © 2003 J. F. Becker.
Developing fuels DF 2 Getting energy from fuels. The role of oxygen Different fuels have different enthalpy changes of combustion Enthalpy changes are.
Thermodynamics Lecture Series Applied Sciences Education.
Solution thermodynamics theory—Part IV
Enthalpy of Combustion
Ch. 20: Entropy and Free Energy
Gibbs Free energy and Helmholtz free energy. Learning objectives After reviewing this presentation learner will be able to Explain entropy and enthalpy.
Chemistry: An Introduction to General, Organic, and Biological Chemistry, Eleventh Edition Copyright © 2012 by Pearson Education, Inc. Chapter 10 Introduction.
Power of a Product and Power of a Quotient Let a and b represent real numbers and m represent a positive integer. Power of a Product Property Power of.
General, Organic, and Biological Chemistry Copyright © 2010 Pearson Education, Inc.1 Chapter 11 Introduction to Organic Chemistry: Alkanes 11.4 Properties.
Simple Organic Compounds. Organic Chemistry  Study of carbon-containing compounds Contain C and H; often O, N, and other elements as well.
Development of Thermodynamic Models for Engine Design P M V Subbarao Professor Mechanical Engineering Department Methods to Design for Performance….
Table of Contents Logarithm Properties - Product Rule The Product Rule for logarithms states that... read as “the log of the product is the sum of the.
Solution thermodynamics theory—Part I
Univ logo Fuel composition and engine control using state-space and neural network By KinYip Chan Supervised by Prof. Andrzej Ordys, Dr. Olga Duran, Dr.
Probability Refresher COMP5416 Advanced Network Technologies.
Section 10.4 Using Energy in the Real World 1.To understand how the quality of energy changes as it is used 2.To consider the energy resources of our world.
1. Fundamentals of Global Energy Business Michael J. Orlando University of Colorado - Denver week 2: Supply of Energy video 2: What Primary Resources.
Solution thermodynamics theory—Part IV
Dr. Orlando E. Raola Santa Rosa Junior College
Solution thermodynamics theory
160 as a product of its prime factors is 2 5 x 5 Use this information to show that 160 has 12 factors.
And its properties Chapter 13 lesson 1 Vocabulary.
Same Signs Different Signs 1) =+7 Objective- To solve problems involving operations with integers. Combining.
Algebra Core Review. Unit 1: Real Numbers Natural Numbers: Whole Numbers: Integers:
GROUP FAHRENHEIT NUR HELYA IMAN KAMALUDIN NORAINI OTHMAN HANG MUN FOCK.
Chemical Engineering Thermodynamics-II Topic: Excess Gibbs Free Energy, Data Reduction, Thermodynamic Consistency Prepatred by:- Patel Nirav ( )
 Energy: ability to do work  Potential energy: stored energy  Kinetic energy: energy due to motion KE = ½ mv 2  Law of conservation of energy: Energy.
Chapter 2 SOME CONCEPTS AND DEFINITIONS. Experimental observations have evolved into a set of laws that form the basis of the science of Thermodynamics:
Entropy and Free Energy Thermodynamics: the science of energy transfer – Objective: To learn how chemists predict when reactions will be product-favored.
Solution thermodynamics theory—Part III
ΜΕΤΑΣΥΛΛΕΚΤΙΚΗ ΦΥΣΙΟΛΟΓΙΑ ΕΡΓΑΣΤΗΡΙΟ 3. Μετασυλλεκτική Εργ3-Λιοσάτου Γ.2 ΒΙΟΛΟΓΙΚΟΙ ΠΑΡΑΓΟΝΤΕΣ ΠΟΥ ΕΠΗΡΕΑΖΟΥΝ ΤΗ ΦΘΟΡΑ ΤΩΝ ΟΠΩΡΟΚΗΠΕΥΤΙΚΩΝ Αναπνοή Η λειτουργία.
Properties of Alkanes Nonpolar molecules – not water-soluble
Solution thermodynamics theory—Part IV
Chemical Thermodynamics
Chemical Reaction Equilibria: a couple examples
Enthalpy 1105.
A Very Brief Overview of Pascal
Energy Diagrams I Dr. Rusay Fall 2004.
Fuel-Air Modeling of IC Engine Cycles - 1
مراجعة عامة.
MICROSOFT WORD.
Alkanes.
FIRST LAW ANALYSIS OF COMBUSTION SYSTEMS
5.3 Organic Compounds Organic compounds contain carbon, & usually hydrogen. “Organic” sounds like the compounds come from living things, but some do, &
Combustion Reactions Element or compound reacts with oxygen, releasing energy (heat, light) O2 always a reactant Hydrocarbon often other reactant Products.
ENTROPY MEANING OF THE TERM?
اثرات گرمايش جهاني تغييرات آب و هوا، تأثيرات عميق و شديدي بر بسياري از عوامل اساسي موثر بر سلامت از جمله : آب، غذا، هوا و محيط زيست دارد كه اين مورد خود.
Hydrocarbon Processing
kbkjlj/m/lkiubljj'pl;
Part (a) 1 1 ax ax ax 2 g(x) = e + f(x) g’(x) = e (ln e) (a) + f’(x)
Simple Organic Compounds
[ ] Unit 3 – Real & Ideal Gases Non-ideality of gases - Fugacity
EDLC(Embedded system Development Life Cycle ).
20th Century Thermodynamic Modeling of Automotive Prime Mover Cycles
EXP file structure.
- “Heats” of formation fH° - DrU° ?
Lecture 11a Ideal gas Number of states and density of states
Point and Path functions
Presentation transcript:

AE 427 THERMODYNAMIC CYCLE SIMULATION Prof.Dr. Demir Bayka

function Cp(I,K:Integer;T:Real):extended; var Sum : extended; J : Integer; begin Sum := 0; case I of : begin for J := 1 to 5 do Sum := Sum + C[I,J,K]*Exp((J-1)*Ln(T)); Cp := Sum * Rmol; end; : begin for J := 1 to 4 do Sum := Sum + C[I,J,K]*Exp((J-1)*Ln(T/1000)); Sum := Sum + C[I,5,K]/sqr(T/1000); Cp := * Sum; end;

function Enthalpy(I,K:Integer;T:Real):extended; var J : Integer; Sum : extended; begin Sum := 0; case I of : begin for J := 1 to 5 do Sum := Sum + C[I,J,K]*Exp(J*Ln(T))/J; Sum := Sum + C[I,6,K]; Enthalpy := Sum * Rmol; end; : begin for J := 1 to 4 do Sum := Sum + C[I,J,K]*Exp(J*Ln(T/1000))/J; Sum := Sum - C[I,5,K]*1000/T + C[I,6,K] +C[I,7,K]; Enthalpy := 4184 * Sum; end;

function IEnergy(I,K:Integer;T:Real):extended; begin IEnergy := Enthalpy(I,K,T) - Rmol * T ; end; function Entropy; var Sum : Real; J : Integer; begin Sum := 0; for J := 2 to 5 do Sum := Sum + C[I,J,K]*Exp((J-1)*Ln(T))/(J-1); Sum := C[I,1,K]*Ln(T) + Sum + C[I,7,K]; Entropy := Rmol * Sum; end;

Procedure Properties; var I : Integer; S1,S2,R,cpp : Real; Begin cpm := 0; S1 := 0; S2 := 0; if GasType='R' then begin {Index 1:A 2:CO 3:H2O 4:CO2 5:02 6:N2 7:N 8:H 9:H2 10:O 11:NO 12:0H 13:Methane 14:Propane 15:Hexane 16:Iso-Octane 17:Methanol 18:Ethanol 19:Gasoline 20:Gasoline 21:Diesel}

R := Rreac; cpm := Cp(FuelType,1,Temp) * MolFrac[FuelType]; S1 := MolFrac[FuelType] * MuZero[FuelType] * sqrt(MolWeight[FuelType]); S2 := MolFrac[FuelType] * sqrt(MolWeight[FuelType]); I := 0; for I := 1 to 6 do begin cpm := cpm + Cp(I,1,Temp) * MolFrac[I]; S1 := S1 + MolFrac[I] * MuZero[I] * sqrt(MolWeight[I]); S2 := S2 + MolFrac[I] * sqrt(MolWeight[I]); end; cpm := cpm + Cp(9,1,Temp) * MolFrac[9]; S1 := S1 + MolFrac[9] * MuZero[9] * sqrt(MolWeight[9]); S2 := S2 + MolFrac[9] * sqrt(MolWeight[9]); I := 9; end

else begin R := Rprod; for I := 1 to 12 do begin cpm := cpm + Cp(I,2,Temp) * MolFracp[I]; S1 := S1 + MolFracp[I] * MuZero[I] * sqrt(MolWeight[I]); S2 := S2 + MolFracp[I] * sqrt(MolWeight[I]); end; Viscosity := (S1/S2) * Exp(0.645 * Ln(Temp)); Cvm := Cpm - Rmol; k := Cpm/Cvm; Cpm := Cpm/MWmix; Cvm := Cpm - R; Conductivity := Cpm * Viscosity / 0.7; Density := Press/(R * Temp); end;