SlideShare uma empresa Scribd logo
1 de 14
Cequel™:
Chemical Equilibrium in Excel
An Excel Add-In that provides all the
functionality of NASA’s CEA code as
an Excel spreadsheet function
Jonathan French www.praqsys.com
“What If”
• Chemical equilibrium codes let us seek answers to a
variety of question
– What combination of reactants will produce the best Isp?
– What is the flame temperature? Will the reaction melt my
device?
– How can I weigh engine performance vs the
concentrations of pollutants generated?
• To get a proper grasp of the answer or the design
space, multiple analyses need to be performed
• Having a quick and inexpensive means to perform
analyses frees and encourages the engineer to consider
ideas “outside the box”
Existing Chemical Equilibrium Tools
• Text based tools (CEA, CET, PEP)
– Requires text based input, user has to extract results from output text files
– Very user intensive
• Graphical interface tools (TEP, GUIPEP, RPA, PROPEP)
– Allows for ease of use to set up problem
– Resulting output based on what the developer anticipates is desired, or the
same text file generated by CEA
• Excel chemical equilibrium functions
– The user can incorporate the analysis into their own model
– Usually provides a specific set of inputs and outputs, tied to specific cells
– Not user friendly and not commercially supported
• Text based and GUI results are often copied and pasted into Excel
spreadsheets to document the results, or as part of a larger analysis
– If the analysis changes, then the subsequent chemical equilibrium analyses
must be rerun, and the results copied and pasted again
– The graphical interface approach makes it easier to modify the inputs
– Excel functions allow for automatic updating of the results when input changes
Power vs Ease of Use
• The power of an Excel function
– Uses cell references
– Can be copied for parametric analyses
– May be used with GoalSeek
– Allows the user to determine how to solve the
problem
– Established models may be modified and reused
• The ease of use of a GUI
– Define the problem and select reactants
using menus
– Choose the output parameters
– VIew results of an analysis
– Reduces potential for human error
These two approaches are combined in Cequel
Multiple Interfaces
• Cequel provides two ways to perform analyses
– Cequel’s GUI (called a “Wizard”) helps the user identify the
desired inputs, and guides the insertion of the function
into the spreadsheet
– The function CEQUEL() may be entered into cells to
perform calculations
• It may use existing cell information as part of it’s input
• Values that it generates may be referenced by other cells
– Cequel provides a ribbon interface to access the GUI, as
well as other menu items that make using Cequel easier
The Cequel “Equilibrium Wizard”
• Select the problem type, the
reactants and their
concentrations on a mass or
molar basis
• Problem types:
– Thermodynamic Point
Calculations:
• Pressure-Temperature (TP)
• Pressure-Enthalpy (HP)
• Pressure-Entropy (SP)
• Volume-Temperature (TV)
• Volume-Internal Energy (UV)
• Volume-Entropy (SV)
– Rocket, Shock and Detonation
Analyses
Buttons provide option to use cell references that are later
used when inserting the function in the spreadsheet
The Cequel “Equilibrium Wizard”
• Reactant Database
– CEA, PEP, TEP reactant
libraries merged together
– Thermodynamic library’s
species are included as
reactants (setting
temperature sets the
heat of formation)
– User defined reactants
can be incorporated as
additional library files, or
as part of a spreadsheet
for portability
The Cequel “Equilibrium Wizard”
• Point Type Problem
– Specify two
thermodynamic values
– Shows calculated results for
each output parameter
– “Checking” a term will
indicate it is to be returned
when inserting the function
in the spreadsheet
The Cequel “Equilibrium Wizard”
• Rocket, Shock and Detonation
Problems
– Specify specific inputs for each
problem type
– Multiple exit area or pressure
ratios can be specified
– Select terms to be returned by
the function in the
spreadsheet
– Holding down the control key
allows several different items
in a list to be chosen
The Cequel Function
• There are many possible inputs for a single
function call – the wizard helps set up an
instance that can be modified and copied
• Input order:
– Problem type
– Problem specific inputs
– Reactants
– Special options (LJP compressibility model
or altitude for the Isp, for example)
– Output parameters (keywords)
– Output species fractions (mass or molar
based)
• In this example, the each function just
returns the flame temperature. Cell
references are used to vary the tri-
propellant mixture ratios to generate a
surface plot
Single cell function call to
return flame temperature
The Cequel Function
• Input can be specified by
– Comma delimited parameters
– A single range of cells containing input parameters (as in
example on the right)
– A combination of parameters and ranges
• Excel functions are limited to 29 comma delimited
parameters, so specifying a cell range that contains
several inputs can help keep you under 29 parameters
• Cell references let the user specify the problem
definition or desired outputs in cells that can be easily
modified by just changing the cell value, rather than
having to edit the function
• Array functions return multiple values over several cells
with just one function call
• Example: Rocket problem
– Input is specified by a single range in the blue box to
embed the entire input in the spreadsheet instead of being
hidden in the function.
– All of the rocket problem outputs are calculated for
multiple area ratios with a single array function
• As for output, Cequel can return one value, several
values, or every value that CEA would yield
ParameterOutputKeywordsSpecies
Problem Definition
Chamber Pressure
Area Ratios
Reactants and Mass Fractions
Special Options
Single Array Function
Platforms
• Microsoft Windows XP, 7 and 8 with Excel
2010/2013
• Apple Macintosh (Yosemite) with Excel 2010
• In Development:
– MatLab (both as a function and an interactive GUI)
– Mobile and Web (only an interactive GUI)
Fully Functional Trial Version
• While Cequel is not for everyone...
– Heavy CEA users quickly find it to be indispensable
– Ease of use makes it accessible for other engineers, as
it reduces the learning curve for using CEA
• Praqsys provides a 30 day fully-functional trial
version that engineers can use to evaluate the
program’s capabilities
• It helps to get permission from IT departments to
allow engineers to evaluate Cequel, although it
can be installed without administrator privileges
Brief History
• In the late 1990’s, NASA JSC contracted the development of an Excel
function that executes a chemical equilibrium code, and given two
reactants returns specific values (Isp, C*, ratio of specific heats)
• The final project was an unholy mix of Excel Visual Basic for Applications
(VBA) and Fortran
• Upon completion of the JSC work, an internal effort was made to expand
the capabilities. The function was changed to include all possible I/O, and
a graphical “Wizard” with reactant databases was developed to make it
easier to place the function in the spreadsheet.
• The resulting product, “Cequel”, was marketed by Software and
Engineering Associates, Inc (SEA) from about 2000-2013
• Microsoft modified Excel’s menu for Excel 2010, breaking Cequel in the
process. SEA could no longer support Cequel, so they sold it to the
original developer, Jonathan French
• Cequel now runs using Microsoft Excel 2010 and 2013 under Windows
XP/7/8, and on the Apple Macintosh with Excel 2011

Mais conteúdo relacionado

Mais procurados

Flow Induced Vibration of tubes and tube tanks- Kanwar Prateek
Flow Induced Vibration of tubes and tube tanks- Kanwar PrateekFlow Induced Vibration of tubes and tube tanks- Kanwar Prateek
Flow Induced Vibration of tubes and tube tanks- Kanwar PrateekProSIM R & D Pvt. Ltd.
 
Introduction to Ansys Simulation- Global leader
Introduction to Ansys Simulation- Global leaderIntroduction to Ansys Simulation- Global leader
Introduction to Ansys Simulation- Global leaderAnanth Narayan
 
Aircraft propulsion axial flow compressors off design performance
Aircraft propulsion   axial flow compressors off design performanceAircraft propulsion   axial flow compressors off design performance
Aircraft propulsion axial flow compressors off design performanceAnurak Atthasit
 
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid FlowCFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid FlowLuis Ram Rojas-Sol
 
AAC All Day, Every Day
AAC All Day, Every DayAAC All Day, Every Day
AAC All Day, Every DaySpectronics
 
Chapter pumps and pumping systems (bahasa indonesia)
Chapter   pumps and pumping systems (bahasa indonesia)Chapter   pumps and pumping systems (bahasa indonesia)
Chapter pumps and pumping systems (bahasa indonesia)diqki
 
Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...
Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...
Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...Altair
 
A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)
A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)
A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)Rajibul Alam
 
Steam turbines
Steam turbinesSteam turbines
Steam turbinesPrem Baboo
 
Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...
Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...
Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...Hafeezullah Jakhrani
 
Aircraft intake aerodynamics
Aircraft intake aerodynamicsAircraft intake aerodynamics
Aircraft intake aerodynamicsPrabhat Kumar
 

Mais procurados (20)

Vibration Isolator
Vibration IsolatorVibration Isolator
Vibration Isolator
 
Supersonic combustion
Supersonic combustionSupersonic combustion
Supersonic combustion
 
Flow Induced Vibration of tubes and tube tanks- Kanwar Prateek
Flow Induced Vibration of tubes and tube tanks- Kanwar PrateekFlow Induced Vibration of tubes and tube tanks- Kanwar Prateek
Flow Induced Vibration of tubes and tube tanks- Kanwar Prateek
 
Introduction to Ansys Simulation- Global leader
Introduction to Ansys Simulation- Global leaderIntroduction to Ansys Simulation- Global leader
Introduction to Ansys Simulation- Global leader
 
CFD & ANSYS FLUENT
CFD & ANSYS FLUENTCFD & ANSYS FLUENT
CFD & ANSYS FLUENT
 
Aircraft propulsion axial flow compressors off design performance
Aircraft propulsion   axial flow compressors off design performanceAircraft propulsion   axial flow compressors off design performance
Aircraft propulsion axial flow compressors off design performance
 
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid FlowCFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
CFD Modeling of Multiphase Flow. Focus on Liquid-Solid Flow
 
Modeling plastics in ANSYS
Modeling plastics in ANSYSModeling plastics in ANSYS
Modeling plastics in ANSYS
 
shock wave
shock waveshock wave
shock wave
 
Dynamics of machines-3
Dynamics of machines-3Dynamics of machines-3
Dynamics of machines-3
 
V n diagram
V n diagramV n diagram
V n diagram
 
AAC All Day, Every Day
AAC All Day, Every DayAAC All Day, Every Day
AAC All Day, Every Day
 
Chapter pumps and pumping systems (bahasa indonesia)
Chapter   pumps and pumping systems (bahasa indonesia)Chapter   pumps and pumping systems (bahasa indonesia)
Chapter pumps and pumping systems (bahasa indonesia)
 
Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...
Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...
Improving of Assessment Quality of Fatigue Analysis Using: MS, FEMFAT and FEM...
 
A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)
A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)
A STUDY ON VISCOUS FLOW (With A Special Focus On Boundary Layer And Its Effects)
 
12 l1-harmonic methodology
12 l1-harmonic methodology12 l1-harmonic methodology
12 l1-harmonic methodology
 
Steam turbines
Steam turbinesSteam turbines
Steam turbines
 
Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...
Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...
Fluid Mechanics,Application,Properties,Priciples And Its Importance In Petrol...
 
Aircraft intake aerodynamics
Aircraft intake aerodynamicsAircraft intake aerodynamics
Aircraft intake aerodynamics
 
Nozzles
NozzlesNozzles
Nozzles
 

Destaque

MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14
MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14
MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14John Ham
 
Chemical Equilibrium
Chemical EquilibriumChemical Equilibrium
Chemical Equilibriumclayqn88
 
Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++Vijay Choudhary
 
C10 acids, bases and salts
C10 acids, bases and saltsC10 acids, bases and salts
C10 acids, bases and saltsSatheesha Setty
 
Chemical Equilibrium
Chemical EquilibriumChemical Equilibrium
Chemical EquilibriumSwarup Saha
 
Chapter 18.1 : The Nature of Chemical Equilibrium
Chapter 18.1 : The Nature of Chemical EquilibriumChapter 18.1 : The Nature of Chemical Equilibrium
Chapter 18.1 : The Nature of Chemical EquilibriumChris Foltz
 
acids and bases
acids and basesacids and bases
acids and basessmithdk
 
Chemistry - Chp 19 - Acids, Bases, and Salt - PowerPoints
Chemistry - Chp 19 - Acids, Bases, and Salt - PowerPointsChemistry - Chp 19 - Acids, Bases, and Salt - PowerPoints
Chemistry - Chp 19 - Acids, Bases, and Salt - PowerPointsMr. Walajtys
 
Chemistryppt chemical equilibrium
Chemistryppt chemical equilibriumChemistryppt chemical equilibrium
Chemistryppt chemical equilibriumAnkit Agarwal
 
CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...
CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...
CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...Chino Chino
 
Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3Dr. Nirav Vyas
 
Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2Dr. Nirav Vyas
 
Numerical Methods - Oridnary Differential Equations - 1
Numerical Methods - Oridnary Differential Equations - 1Numerical Methods - Oridnary Differential Equations - 1
Numerical Methods - Oridnary Differential Equations - 1Dr. Nirav Vyas
 
Chapter 15 Lecture- Chemical Equilibrium
Chapter 15 Lecture- Chemical EquilibriumChapter 15 Lecture- Chemical Equilibrium
Chapter 15 Lecture- Chemical EquilibriumMary Beth Smith
 

Destaque (20)

MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14
MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14
MAT210/DiffEq/Runge-Kutta 2nd Order 2013-14
 
Ma2002 1.6 rm
Ma2002 1.6 rmMa2002 1.6 rm
Ma2002 1.6 rm
 
Chemical Equilibrium
Chemical EquilibriumChemical Equilibrium
Chemical Equilibrium
 
Chemical equilibrium
Chemical equilibrium Chemical equilibrium
Chemical equilibrium
 
Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++
 
C10 acids, bases and salts
C10 acids, bases and saltsC10 acids, bases and salts
C10 acids, bases and salts
 
Unit vi
Unit viUnit vi
Unit vi
 
Chemical Equilibrium
Chemical EquilibriumChemical Equilibrium
Chemical Equilibrium
 
Chapter 18.1 : The Nature of Chemical Equilibrium
Chapter 18.1 : The Nature of Chemical EquilibriumChapter 18.1 : The Nature of Chemical Equilibrium
Chapter 18.1 : The Nature of Chemical Equilibrium
 
acids and bases
acids and basesacids and bases
acids and bases
 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
 
Chemistry - Chp 19 - Acids, Bases, and Salt - PowerPoints
Chemistry - Chp 19 - Acids, Bases, and Salt - PowerPointsChemistry - Chp 19 - Acids, Bases, and Salt - PowerPoints
Chemistry - Chp 19 - Acids, Bases, and Salt - PowerPoints
 
Chemistryppt chemical equilibrium
Chemistryppt chemical equilibriumChemistryppt chemical equilibrium
Chemistryppt chemical equilibrium
 
Chemical Equilibrium
Chemical EquilibriumChemical Equilibrium
Chemical Equilibrium
 
CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...
CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...
CHM023L - B06 Final Report Group 3 Experiment 3 (Chemical Equilibrium: Le Cha...
 
Runge kutta
Runge kuttaRunge kutta
Runge kutta
 
Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3Numerical Methods - Oridnary Differential Equations - 3
Numerical Methods - Oridnary Differential Equations - 3
 
Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2Numerical Methods - Oridnary Differential Equations - 2
Numerical Methods - Oridnary Differential Equations - 2
 
Numerical Methods - Oridnary Differential Equations - 1
Numerical Methods - Oridnary Differential Equations - 1Numerical Methods - Oridnary Differential Equations - 1
Numerical Methods - Oridnary Differential Equations - 1
 
Chapter 15 Lecture- Chemical Equilibrium
Chapter 15 Lecture- Chemical EquilibriumChapter 15 Lecture- Chemical Equilibrium
Chapter 15 Lecture- Chemical Equilibrium
 

Semelhante a Cequel: Chemical Equilibrium in Excel

COMPUTER AIDED ENGINEERING - INTRODUCTION
COMPUTER AIDED ENGINEERING - INTRODUCTIONCOMPUTER AIDED ENGINEERING - INTRODUCTION
COMPUTER AIDED ENGINEERING - INTRODUCTIONISAAC SAMUEL RAJA T
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptQasimAli493018
 
SIMULIA-Opera-Brochure.pdf
SIMULIA-Opera-Brochure.pdfSIMULIA-Opera-Brochure.pdf
SIMULIA-Opera-Brochure.pdfssuser9c6e31
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cPresentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cRonald Francisco Vargas Quesada
 
Oracle Query Optimizer - An Introduction
Oracle Query Optimizer - An IntroductionOracle Query Optimizer - An Introduction
Oracle Query Optimizer - An Introductionadryanbub
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginnersA Rajendran Jps
 
Computer aided process design and simulation (Cheg.pptx
Computer aided process design and simulation (Cheg.pptxComputer aided process design and simulation (Cheg.pptx
Computer aided process design and simulation (Cheg.pptxPaulosMekuria
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0PMILebanonChapter
 
Problem-solving and design 1.pptx
Problem-solving and design 1.pptxProblem-solving and design 1.pptx
Problem-solving and design 1.pptxTadiwaMawere
 
excel ppt
excel pptexcel ppt
excel pptdd
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaKaustubh Phalak
 
Thermal equipment modeling in modelica
Thermal equipment modeling in modelicaThermal equipment modeling in modelica
Thermal equipment modeling in modelicakpphalak
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawGregory Solovey
 
SB_MSC-Apex_Structures_LTR_pt
SB_MSC-Apex_Structures_LTR_ptSB_MSC-Apex_Structures_LTR_pt
SB_MSC-Apex_Structures_LTR_ptanandakumara MB
 
Intel Cluster Poisson Solver Library
Intel Cluster Poisson Solver LibraryIntel Cluster Poisson Solver Library
Intel Cluster Poisson Solver LibraryIlya Kryukov
 
T sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersT sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersShehap Elnagar
 
Dan Hotka's Top 10 Oracle 12c New Features
Dan Hotka's Top 10 Oracle 12c New FeaturesDan Hotka's Top 10 Oracle 12c New Features
Dan Hotka's Top 10 Oracle 12c New FeaturesEmbarcadero Technologies
 

Semelhante a Cequel: Chemical Equilibrium in Excel (20)

COMPUTER AIDED ENGINEERING - INTRODUCTION
COMPUTER AIDED ENGINEERING - INTRODUCTIONCOMPUTER AIDED ENGINEERING - INTRODUCTION
COMPUTER AIDED ENGINEERING - INTRODUCTION
 
Introduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.pptIntroduction to Modeling and Simulations.ppt
Introduction to Modeling and Simulations.ppt
 
SIMULIA-Opera-Brochure.pdf
SIMULIA-Opera-Brochure.pdfSIMULIA-Opera-Brochure.pdf
SIMULIA-Opera-Brochure.pdf
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cPresentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12c
 
Oracle Query Optimizer - An Introduction
Oracle Query Optimizer - An IntroductionOracle Query Optimizer - An Introduction
Oracle Query Optimizer - An Introduction
 
Aspen plus introduction
Aspen plus   introductionAspen plus   introduction
Aspen plus introduction
 
matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
 
Computer aided process design and simulation (Cheg.pptx
Computer aided process design and simulation (Cheg.pptxComputer aided process design and simulation (Cheg.pptx
Computer aided process design and simulation (Cheg.pptx
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0
 
Problem-solving and design 1.pptx
Problem-solving and design 1.pptxProblem-solving and design 1.pptx
Problem-solving and design 1.pptx
 
excel ppt
excel pptexcel ppt
excel ppt
 
Chapter.08
Chapter.08Chapter.08
Chapter.08
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in Modelica
 
Thermal equipment modeling in modelica
Thermal equipment modeling in modelicaThermal equipment modeling in modelica
Thermal equipment modeling in modelica
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDraw
 
SB_MSC-Apex_Structures_LTR_pt
SB_MSC-Apex_Structures_LTR_ptSB_MSC-Apex_Structures_LTR_pt
SB_MSC-Apex_Structures_LTR_pt
 
Intel Cluster Poisson Solver Library
Intel Cluster Poisson Solver LibraryIntel Cluster Poisson Solver Library
Intel Cluster Poisson Solver Library
 
Algorithmic Software Cost Modeling
Algorithmic Software Cost ModelingAlgorithmic Software Cost Modeling
Algorithmic Software Cost Modeling
 
T sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powersT sql performance guidelines for better db stress powers
T sql performance guidelines for better db stress powers
 
Dan Hotka's Top 10 Oracle 12c New Features
Dan Hotka's Top 10 Oracle 12c New FeaturesDan Hotka's Top 10 Oracle 12c New Features
Dan Hotka's Top 10 Oracle 12c New Features
 

Último

A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 

Último (20)

A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

Cequel: Chemical Equilibrium in Excel

  • 1. Cequel™: Chemical Equilibrium in Excel An Excel Add-In that provides all the functionality of NASA’s CEA code as an Excel spreadsheet function Jonathan French www.praqsys.com
  • 2. “What If” • Chemical equilibrium codes let us seek answers to a variety of question – What combination of reactants will produce the best Isp? – What is the flame temperature? Will the reaction melt my device? – How can I weigh engine performance vs the concentrations of pollutants generated? • To get a proper grasp of the answer or the design space, multiple analyses need to be performed • Having a quick and inexpensive means to perform analyses frees and encourages the engineer to consider ideas “outside the box”
  • 3. Existing Chemical Equilibrium Tools • Text based tools (CEA, CET, PEP) – Requires text based input, user has to extract results from output text files – Very user intensive • Graphical interface tools (TEP, GUIPEP, RPA, PROPEP) – Allows for ease of use to set up problem – Resulting output based on what the developer anticipates is desired, or the same text file generated by CEA • Excel chemical equilibrium functions – The user can incorporate the analysis into their own model – Usually provides a specific set of inputs and outputs, tied to specific cells – Not user friendly and not commercially supported • Text based and GUI results are often copied and pasted into Excel spreadsheets to document the results, or as part of a larger analysis – If the analysis changes, then the subsequent chemical equilibrium analyses must be rerun, and the results copied and pasted again – The graphical interface approach makes it easier to modify the inputs – Excel functions allow for automatic updating of the results when input changes
  • 4. Power vs Ease of Use • The power of an Excel function – Uses cell references – Can be copied for parametric analyses – May be used with GoalSeek – Allows the user to determine how to solve the problem – Established models may be modified and reused • The ease of use of a GUI – Define the problem and select reactants using menus – Choose the output parameters – VIew results of an analysis – Reduces potential for human error These two approaches are combined in Cequel
  • 5. Multiple Interfaces • Cequel provides two ways to perform analyses – Cequel’s GUI (called a “Wizard”) helps the user identify the desired inputs, and guides the insertion of the function into the spreadsheet – The function CEQUEL() may be entered into cells to perform calculations • It may use existing cell information as part of it’s input • Values that it generates may be referenced by other cells – Cequel provides a ribbon interface to access the GUI, as well as other menu items that make using Cequel easier
  • 6. The Cequel “Equilibrium Wizard” • Select the problem type, the reactants and their concentrations on a mass or molar basis • Problem types: – Thermodynamic Point Calculations: • Pressure-Temperature (TP) • Pressure-Enthalpy (HP) • Pressure-Entropy (SP) • Volume-Temperature (TV) • Volume-Internal Energy (UV) • Volume-Entropy (SV) – Rocket, Shock and Detonation Analyses Buttons provide option to use cell references that are later used when inserting the function in the spreadsheet
  • 7. The Cequel “Equilibrium Wizard” • Reactant Database – CEA, PEP, TEP reactant libraries merged together – Thermodynamic library’s species are included as reactants (setting temperature sets the heat of formation) – User defined reactants can be incorporated as additional library files, or as part of a spreadsheet for portability
  • 8. The Cequel “Equilibrium Wizard” • Point Type Problem – Specify two thermodynamic values – Shows calculated results for each output parameter – “Checking” a term will indicate it is to be returned when inserting the function in the spreadsheet
  • 9. The Cequel “Equilibrium Wizard” • Rocket, Shock and Detonation Problems – Specify specific inputs for each problem type – Multiple exit area or pressure ratios can be specified – Select terms to be returned by the function in the spreadsheet – Holding down the control key allows several different items in a list to be chosen
  • 10. The Cequel Function • There are many possible inputs for a single function call – the wizard helps set up an instance that can be modified and copied • Input order: – Problem type – Problem specific inputs – Reactants – Special options (LJP compressibility model or altitude for the Isp, for example) – Output parameters (keywords) – Output species fractions (mass or molar based) • In this example, the each function just returns the flame temperature. Cell references are used to vary the tri- propellant mixture ratios to generate a surface plot Single cell function call to return flame temperature
  • 11. The Cequel Function • Input can be specified by – Comma delimited parameters – A single range of cells containing input parameters (as in example on the right) – A combination of parameters and ranges • Excel functions are limited to 29 comma delimited parameters, so specifying a cell range that contains several inputs can help keep you under 29 parameters • Cell references let the user specify the problem definition or desired outputs in cells that can be easily modified by just changing the cell value, rather than having to edit the function • Array functions return multiple values over several cells with just one function call • Example: Rocket problem – Input is specified by a single range in the blue box to embed the entire input in the spreadsheet instead of being hidden in the function. – All of the rocket problem outputs are calculated for multiple area ratios with a single array function • As for output, Cequel can return one value, several values, or every value that CEA would yield ParameterOutputKeywordsSpecies Problem Definition Chamber Pressure Area Ratios Reactants and Mass Fractions Special Options Single Array Function
  • 12. Platforms • Microsoft Windows XP, 7 and 8 with Excel 2010/2013 • Apple Macintosh (Yosemite) with Excel 2010 • In Development: – MatLab (both as a function and an interactive GUI) – Mobile and Web (only an interactive GUI)
  • 13. Fully Functional Trial Version • While Cequel is not for everyone... – Heavy CEA users quickly find it to be indispensable – Ease of use makes it accessible for other engineers, as it reduces the learning curve for using CEA • Praqsys provides a 30 day fully-functional trial version that engineers can use to evaluate the program’s capabilities • It helps to get permission from IT departments to allow engineers to evaluate Cequel, although it can be installed without administrator privileges
  • 14. Brief History • In the late 1990’s, NASA JSC contracted the development of an Excel function that executes a chemical equilibrium code, and given two reactants returns specific values (Isp, C*, ratio of specific heats) • The final project was an unholy mix of Excel Visual Basic for Applications (VBA) and Fortran • Upon completion of the JSC work, an internal effort was made to expand the capabilities. The function was changed to include all possible I/O, and a graphical “Wizard” with reactant databases was developed to make it easier to place the function in the spreadsheet. • The resulting product, “Cequel”, was marketed by Software and Engineering Associates, Inc (SEA) from about 2000-2013 • Microsoft modified Excel’s menu for Excel 2010, breaking Cequel in the process. SEA could no longer support Cequel, so they sold it to the original developer, Jonathan French • Cequel now runs using Microsoft Excel 2010 and 2013 under Windows XP/7/8, and on the Apple Macintosh with Excel 2011