Colorado state equilibrium code

Assignment Help Mechanical Engineering
Reference no: EM13705266

Objective: The goal here is to understand how equilibrium codes find the compositions of mixtures containing large numbers of components. By the end of this problem set, you will be able to easily visualize how to write a code for full hydrocarbon combustion equilibrium containing of the order of 50 species.

In our system 1 kmole of ammonia (NH3) is mixed with 1 kmole of O2 and 0.5 kmoles of H2S and allowed to come to equilibrium at 3000 K and 10 atm pressure. The equilibrium products are assumed to contain only NH3, NO, H2S, SO2, H2, H, OH, O, O2, and H2O.

Question: Use the general Gibbs energy minimization approach outlined in the handout to find the kmoles of each species in the equilibrium mixture, and the mole fraction of each species. Present this in a clear table with three columns (species, kmoles, mole fraction). Put the species in the order given above. This involves working with equations 44 and 46 in the handout via some kind of programming.

A couple of hints. In the past I've solved this kind of problem via Excel. The under-relaxation condition expressed by equation 49 is designed to prevent a minor species from getting too large too fast. I do not believe this will occur here, so this one under-relaxation condition can probably be omitted (the other definitely needs to be included). This will make the programming easier. Also, make sure your initial guesses for njdo not add up exactly to n or you may get a zero division error on the first iteration. Note that this problem will require you to solve a 5x5 system of equations (Excel will do this, see the handout for how).

Properties. Our text includes all the data needed. The NIST Webbook is an excellent resource for these kinds of data when you cannot find a text resource.

On debugging. Convergence typically takes around 10 iterations (I'll update you when I've solved the problem), so if you don't get there that fast, something is probably wrong. You can check your answers in a couple of ways. First, be sure your final composition gives you the correct original atom counts for N, H, S, and O.

Even if you converge and get the correct atom counts, you can have the wrong final composition if you miscalculated a g*. Incorrect final atom counts or failure to converge means an error elsewhere.

Most errors, except for a miscalculated g*, will lead to a rapidly diverging solution.

If you get stuck and want some help in debugging, please do the following. Start the calculation off with each nj =0.011 kmoles and n=0.1 kmoles. Run the calculation for one iteration only, stop it, and then send us your spreadsheet. We'll have the same spreadsheet at hand, so any differences should immediately be apparent.

2. Use the Colorado State equilibrium code to check your answer.

Reference no: EM13705266

Questions Cloud

What was the initial temperature : An ideal gas in a sealed container has an initial volume of 2.55 L. At constant pressure, it is cooled to 20.00 °C where its final volume is 1.75 L. What was the initial temperature?
What was the initial temperature : An ideal gas in a sealed container has an initial volume of 2.55 L. At constant pressure, it is cooled to 20.00 °C where its final volume is 1.75 L. What was the initial temperature?
Find the mass of nacl in you 15 ml saturated nacl solution : Use your calculated densities to find the mass of NaCl in you 15 mL saturated NaCl solution. You will need to use dimensional analysis and the solubility of 36gNaCl/100mL of water to solve for the mass of NaCl. You can assume that there is min..
Bromine is extracted from the sea and is exported : Bromine is extracted from the sea and is exported, by mass, as a 50% calcium bromide solution. What is the mass of bromine in a 120 000 kg solution?
Colorado state equilibrium code : Colorado State equilibrium code - Use the general Gibbs energy minimization approach
Impacts you personally from a strategic career perspective : Discuss how "big data" impacts you personally from a strategic career perspective.
Evaluate the business performance of the company : Evaluate the business performance of the company selected using its financial statements. The financial statements are found online in the company's financial report for the past years, these include: - The Income statement, statement of retai..
The cube that sits above interface between the two liquids : A cube 2 ft on an edge has its lower half of material with SG = 1.4 and upper half SG = 0.6. It is fully submerged in a 2 layer liquid (lighter liquid above has SG = 0.9 and heavier liquid below has SG = 1.2). Determine the height of the top of the c..
Calculate theoretical head power and volumetric flow rate : You have a centrifugal pump with an inlet radius of 200mm, an inlet blade width of 60mm, and inlet blade angle of 50 degrees. The outlet radius is 600mm, outlet blade width is 40mm and the outlet blade angle is 70 degrees. The pump handles water and ..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd