SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Design Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
Design Calculation of Venting for Atmospheric & Low Pressure Storage TanksDesign Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
Design Calculation of Venting for Atmospheric & Low Pressure Storage TanksKushagra Saxena
 
Surge Analysis
Surge AnalysisSurge Analysis
Surge AnalysisiFluids
 
Reciprocating compressor and pumps
Reciprocating compressor and pumpsReciprocating compressor and pumps
Reciprocating compressor and pumpshambardikar55
 
Relief and blowdown in
Relief and blowdown           inRelief and blowdown           in
Relief and blowdown inAkshay Kotkar
 
Eng handbook crosby pressure relief valve engineering handbook
Eng handbook crosby pressure relief valve engineering handbookEng handbook crosby pressure relief valve engineering handbook
Eng handbook crosby pressure relief valve engineering handbookAli Meshaikhis
 
Design and Analysis of Pressure Vessel Using Finite Element Method
Design and Analysis of Pressure Vessel Using Finite Element MethodDesign and Analysis of Pressure Vessel Using Finite Element Method
Design and Analysis of Pressure Vessel Using Finite Element MethodIJLT EMAS
 
Rotating equipment maintenance .pdf
Rotating equipment maintenance .pdfRotating equipment maintenance .pdf
Rotating equipment maintenance .pdfKarnav Rana
 
Rupture Disc Products For Industrial Process Safety
Rupture Disc Products For Industrial Process SafetyRupture Disc Products For Industrial Process Safety
Rupture Disc Products For Industrial Process SafetyCTi Controltech
 
Aplicación del Estandar API 579 a un Activo Físico
Aplicación del Estandar API 579 a un Activo FísicoAplicación del Estandar API 579 a un Activo Físico
Aplicación del Estandar API 579 a un Activo FísicoEdgar Fuenmayor
 
Control Valve and Types of caged trims
Control Valve and Types of caged trimsControl Valve and Types of caged trims
Control Valve and Types of caged trimsnaz4u
 
Centrifugal pump formula
Centrifugal pump formulaCentrifugal pump formula
Centrifugal pump formulaKarnav Rana
 
Overpressure scenarios overview final
Overpressure scenarios overview finalOverpressure scenarios overview final
Overpressure scenarios overview finalRajiv Natkar
 

What's hot (20)

Design Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
Design Calculation of Venting for Atmospheric & Low Pressure Storage TanksDesign Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
Design Calculation of Venting for Atmospheric & Low Pressure Storage Tanks
 
Api 510 study plan
Api 510 study planApi 510 study plan
Api 510 study plan
 
Surge Analysis
Surge AnalysisSurge Analysis
Surge Analysis
 
strain gauges
strain gauges strain gauges
strain gauges
 
Reciprocating compressor and pumps
Reciprocating compressor and pumpsReciprocating compressor and pumps
Reciprocating compressor and pumps
 
Relief and blowdown in
Relief and blowdown           inRelief and blowdown           in
Relief and blowdown in
 
Eng handbook crosby pressure relief valve engineering handbook
Eng handbook crosby pressure relief valve engineering handbookEng handbook crosby pressure relief valve engineering handbook
Eng handbook crosby pressure relief valve engineering handbook
 
Design and Analysis of Pressure Vessel Using Finite Element Method
Design and Analysis of Pressure Vessel Using Finite Element MethodDesign and Analysis of Pressure Vessel Using Finite Element Method
Design and Analysis of Pressure Vessel Using Finite Element Method
 
Pressure vessel
Pressure vesselPressure vessel
Pressure vessel
 
Flow measurement part II
Flow measurement   part IIFlow measurement   part II
Flow measurement part II
 
Api 2000 5th vs 6th final
Api 2000 5th vs 6th finalApi 2000 5th vs 6th final
Api 2000 5th vs 6th final
 
Rotating equipment maintenance .pdf
Rotating equipment maintenance .pdfRotating equipment maintenance .pdf
Rotating equipment maintenance .pdf
 
Rupture Disc Products For Industrial Process Safety
Rupture Disc Products For Industrial Process SafetyRupture Disc Products For Industrial Process Safety
Rupture Disc Products For Industrial Process Safety
 
Revosteam- Coil Type Boiler
Revosteam- Coil Type BoilerRevosteam- Coil Type Boiler
Revosteam- Coil Type Boiler
 
Aplicación del Estandar API 579 a un Activo Físico
Aplicación del Estandar API 579 a un Activo FísicoAplicación del Estandar API 579 a un Activo Físico
Aplicación del Estandar API 579 a un Activo Físico
 
Unit V
Unit VUnit V
Unit V
 
Control Valve and Types of caged trims
Control Valve and Types of caged trimsControl Valve and Types of caged trims
Control Valve and Types of caged trims
 
Centrifugal pump formula
Centrifugal pump formulaCentrifugal pump formula
Centrifugal pump formula
 
Overpressure scenarios overview final
Overpressure scenarios overview finalOverpressure scenarios overview final
Overpressure scenarios overview final
 
PSV.pdf
PSV.pdfPSV.pdf
PSV.pdf
 

Viewers also liked

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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 

Recently uploaded (20)

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 

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