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

Mais procurados (20)

Nozzles
NozzlesNozzles
Nozzles
 
Performance of gas turbine power plant
Performance of gas turbine power plantPerformance of gas turbine power plant
Performance of gas turbine power plant
 
combustion in boilers
combustion in boilerscombustion in boilers
combustion in boilers
 
Reaction turbbine
Reaction turbbine Reaction turbbine
Reaction turbbine
 
Surging and choking
Surging and chokingSurging and choking
Surging and choking
 
Flow measurement pdf
Flow measurement pdfFlow measurement pdf
Flow measurement pdf
 
Unit i basic concept of isentropic flow
Unit   i basic concept of isentropic flowUnit   i basic concept of isentropic flow
Unit i basic concept of isentropic flow
 
shock wave
shock waveshock wave
shock wave
 
4 reversed brayton_cycle
4 reversed brayton_cycle4 reversed brayton_cycle
4 reversed brayton_cycle
 
STUDY AND ANALYSIS OF STEAM TURBINE AND TURBINE LOSSES
STUDY AND ANALYSIS OF STEAM TURBINE AND TURBINE LOSSESSTUDY AND ANALYSIS OF STEAM TURBINE AND TURBINE LOSSES
STUDY AND ANALYSIS OF STEAM TURBINE AND TURBINE LOSSES
 
Types of jet propulsion engine
Types of jet propulsion engineTypes of jet propulsion engine
Types of jet propulsion engine
 
Gass cooled reactor
Gass cooled reactorGass cooled reactor
Gass cooled reactor
 
Steam turbine
Steam turbineSteam turbine
Steam turbine
 
Airfoil
AirfoilAirfoil
Airfoil
 
Hydraulic turbines
Hydraulic turbinesHydraulic turbines
Hydraulic turbines
 
Simple Vapor Absorption Refrigeration System
Simple Vapor Absorption Refrigeration SystemSimple Vapor Absorption Refrigeration System
Simple Vapor Absorption Refrigeration System
 
Compressive flows
Compressive flowsCompressive flows
Compressive flows
 
Fundamentals of jet propulsion ppt
Fundamentals of jet propulsion pptFundamentals of jet propulsion ppt
Fundamentals of jet propulsion ppt
 
Classification of steam Turbine
Classification of steam TurbineClassification of steam Turbine
Classification of steam Turbine
 
Conjugate Heat Transfer Best Practices in SimScale
Conjugate Heat Transfer Best Practices in SimScaleConjugate Heat Transfer Best Practices in SimScale
Conjugate Heat Transfer Best Practices in SimScale
 

Destaque

Chemical Equilibrium
Chemical EquilibriumChemical Equilibrium
Chemical Equilibrium
clayqn88
 
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
Chris Foltz
 
acids and bases
acids and basesacids and bases
acids and bases
smithdk
 
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
Mr. Walajtys
 
Chemistryppt chemical equilibrium
Chemistryppt chemical equilibriumChemistryppt chemical equilibrium
Chemistryppt chemical equilibrium
Ankit 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
 

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

matlab basics and Simulink for beginners
matlab basics and Simulink for beginnersmatlab basics and Simulink for beginners
matlab basics and Simulink for beginners
A Rajendran Jps
 
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
PMILebanonChapter
 
excel ppt
excel pptexcel ppt
excel ppt
dd
 
Thermal Equipment Modeling in Modelica
Thermal Equipment Modeling in ModelicaThermal Equipment Modeling in Modelica
Thermal Equipment Modeling in Modelica
Kaustubh Phalak
 
SB_MSC-Apex_Structures_LTR_pt
SB_MSC-Apex_Structures_LTR_ptSB_MSC-Apex_Structures_LTR_pt
SB_MSC-Apex_Structures_LTR_pt
anandakumara MB
 
Intel Cluster Poisson Solver Library
Intel Cluster Poisson Solver LibraryIntel Cluster Poisson Solver Library
Intel Cluster Poisson Solver Library
Ilya Kryukov
 

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

ENCODERS & DECODERS - Digital Electronics - diu swe
ENCODERS & DECODERS - Digital Electronics - diu sweENCODERS & DECODERS - Digital Electronics - diu swe
ENCODERS & DECODERS - Digital Electronics - diu swe
MohammadAliNayeem
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
Kamal Acharya
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
Kamal Acharya
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Lovely Professional University
 
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
tuuww
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdf
Kamal Acharya
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DrGurudutt
 

Último (20)

ENCODERS & DECODERS - Digital Electronics - diu swe
ENCODERS & DECODERS - Digital Electronics - diu sweENCODERS & DECODERS - Digital Electronics - diu swe
ENCODERS & DECODERS - Digital Electronics - diu swe
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdf
 
Attraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptxAttraction and Repulsion type Moving Iron Instruments.pptx
Attraction and Repulsion type Moving Iron Instruments.pptx
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Roushan Kumar Java oracle certificate
Roushan Kumar Java oracle certificate Roushan Kumar Java oracle certificate
Roushan Kumar Java oracle certificate
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdf
 
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
一比一原版(UNK毕业证)内布拉斯加州立大学科尼分校毕业证成绩单
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdf
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker project
 
Teachers record management system project report..pdf
Teachers record management system project report..pdfTeachers record management system project report..pdf
Teachers record management system project report..pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.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