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.
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 ..
|