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

  The compressor turbine of a simple gas turbine each have

the compressor turbine of a simple gas turbine each have isentopic efficiencies of 90. the compressor pressure ratio is

  For the stress element with sigmax 1400psi sigmay 600psi

for the stress element with sigmax 1400psi sigmay 600psi and shear 950 psi determine the average stress the maximum

  You may assume there is no change in both potential and

a paddle wheel is inserted in a 0.6 m3 rigid well-insulated tank which is filled with 2 kg of air. the paddle wheel

  The steam at the inlet is 20 bar absolute with superheat of

the steam at the inlet is 20 bar absolute with superheat of 135 c . the steam at the outlet is 1 bar absolute and 100

  Explain the effect of insulating a hot surface

Explain how heat is bst from a hot surface to the surrounding air - Explain the effect of insulating a hot surface and what is meant by the economic thickness of lagging?

  Using ideal gas model and considering the specific heat

a turbine operating at steady state receives air at a pressure of p13.0 bars and a temperature t1390k. air exits the

  If a random student came to you and said that his object

2 instructors grade on a the curve that is give a fixed percentage of each various leter grades to each of their

  The convection heat-transfer coefficient on the outside of

a 50-cm diameter pipeline in the arctic carries hot oil at 30 degrees celsius and is exposed to a surrounding

  Solve the heat diffusion equation to find tx and find the

heat is generated uniformly inside a 20-mm thick plane wall at a rate of 20000 wm3. the thermal conductivity of the

  Saturated liquid at 7 bar exits the feedwater heater at 3

a feedwater heater operates at steady state with liquid water entering at inlet 1 at 7 bar 42oc and a mass flow rate of

  The heat capacitance of various gases

The heat capacitance of various gases

  Explain what the equation of motion will become if you have

explain what the equation of motion will become if you have three particles - the first two are sticky and the third

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