Using GAMS as a programming language solve for the following Soave-Redlich-Kwong (SRK) equation of state for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Using GAMS as a programming language solve for the following Soave-Redlich-Kwong (SRK) equation of state for propane by using the Secant Method. P = a a . V-b V(V+b) Given: R = 0.08206 atm 1 K mol, P=0.7 atm, T=423 K, T. = 369.9 K, P = 42 atm, w = 0.152, (RT) Pc a 0.42747. RTC Pc b= 0.08664- Page 1 of 5 Department of Chemical Engineering, University College London, 2024 m = 0.48508 +1.55171 -0.1561w T = T/Tc a = [1 + m(1-T)] The values of the initial guesses, maximum number of iterations and tolerance are to be decided by you. Provide the formulation of the problem, the GAMS (.gms) code and progress of the iterations in the report. Also upload the GAMS (.gms and .Ist) files separately in the zipped/compressed folder. Resolve the problem from different initial guesses. Analyse and discuss the effect of initial guesses on the final solution and on the convergence to the final solution. These values of initial guesses have to be chosen by you. GAMS codes for this part are not required to be submitted. Using GAMS as a programming language solve for the following Soave-Redlich-Kwong (SRK) equation of state for propane by using the Secant Method. P = a a . V-b V(V+b) Given: R = 0.08206 atm 1 K mol, P=0.7 atm, T=423 K, T. = 369.9 K, P = 42 atm, w = 0.152, (RT) Pc a 0.42747. RTC Pc b= 0.08664- Page 1 of 5 Department of Chemical Engineering, University College London, 2024 m = 0.48508 +1.55171 -0.1561w T = T/Tc a = [1 + m(1-T)] The values of the initial guesses, maximum number of iterations and tolerance are to be decided by you. Provide the formulation of the problem, the GAMS (.gms) code and progress of the iterations in the report. Also upload the GAMS (.gms and .Ist) files separately in the zipped/compressed folder. Resolve the problem from different initial guesses. Analyse and discuss the effect of initial guesses on the final solution and on the convergence to the final solution. These values of initial guesses have to be chosen by you. GAMS codes for this part are not required to be submitted.
Expert Answer:
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these chemical engineering questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Using the SRK equation of state (or any other cubic equation of state) to determine a specific volume from a specified temperature and pressure requires a trial-and-error calculation. Three computer-...
-
Taylors 2022 health insurance premiums of $7,800 are paid by her employer. During 2022, Taylor requires surgery on her vocal chords. The cost of the surgery is $10,000 and Taylors insurance covers...
-
In a competitive labor market, imposing a minimum wage should reduce the equilibrium level of employment. Will this result still hold if the labor market is a monopsony? Briefly explain.
-
The average number of minutes Americans commute to work is 27.7 minutes (Sterlings Best Places, April 13, 2012). The average commute time in minutes for 48 cities are as follows: a. What is the mean...
-
In interface design, what role do patterns play (or what role should they play)? Provide an example for patterns when you use an ATM to withdraw cash.
-
Using the formulas provided for utilization calculate the utilization of your classroom.
-
Discounted economy airfares have risen the most, but there is still strong demand for them. What does this suggest about the price elasticity of demand (PED) for these fares, the slope of the demand...
-
Centrum Manufacturing makes a single product with the following attributes: Product per Unit Price $130.00 Variable costs per unit: Direct materials $30.00 Direct labor $40.00 Total VC $70.00...
-
a. Assuming the following information from two complex projects in the health sector have been provided to aid you select a project base on project risk factor. Table la. Risk Probability and...
-
Figure shows the Nyquist plot of the open-loop transfer function \(\mathrm{G}(s) \mathrm{H}(s)\) of a system. If \(\mathrm{G}(s) \mathrm{H}(s)\) has one right-hand pole, the closed-loop system is (a)...
-
The Nyquist plot of a unity feedback system having open loop transfer function \(\mathrm{G}(s)=\frac{\mathrm{K}(s+3)(s+5)}{(s-2)(s-4)}\) for \(\mathrm{K}=1\) is as shown. For the system to be stable,...
-
An underdamped second order system having a transfer function of the form \(\mathrm{M}(s)\) \(=\frac{K \omega_{n}^{2}}{s^{2}+2 \xi \omega_{n} s+\omega_{n}^{2}}\) has frequency response plot as shown...
-
The gain-phase plot of a linear control system is shown below. What are gain margin (GM) and phase margin ( \(\mathrm{PM}\) ) of the system? (a) \(\mathrm{GM}>0 \mathrm{~dB}\) and \(\mathrm{PM}>0\)...
-
Consider Nyquist plots (i) and (ii) shown below. Assume loop transmittance having no RHP poles. Of the following the correct statement is (ii) (a) (i) and (ii) both are stable (b) (i) and (ii) both...
-
Image shows Tesla stock price over the last few years with S&P 500 index drawn in blue on top of the chart. As you can see the price of TSLA stock was several times more volatile than the price...
-
Nitrogen monoxide reacts with hydrogen as follows: 2NO(g)+ H2(g) N2O(g) + H2O(g) The rate law is [H2]/ t = k[NO]2[H2], where k is 1.10 107 L2/(mol2s) at 826oC. A vessel contains NO and H2 at...
-
In exercise 25.2, we considered quantity competition in the simultaneous Cournot setting. We now turn the sequential Stackelberg version of the same problem. A: Suppose that firm1 decides its...
-
Every Thanksgiving, my wife and I debate about how we should prepare the turkey we will serve (and will then have left over). My wife likes preparing turkeys the conventional way roasted in the oven...
-
The economist Jagdish Bhagwati explained in one of his public lectures that international trade causes the wage for child labor to increase in developing countries. He then discussed informally that...
-
In Appendix 16A.1, we illustrate the calculation of a standard error for the marginal effect in a probit model of transportation, Example 16.4. In the appendix, the calculation is for the marginal...
-
In Example 16.3, we illustrate the calculation of the likelihood function for the probit model in a small example. a. Calculate the probability that \(y=1\) if \(x=1.5\), given the values of the...
-
In Examples 16.2 and 16.4, we presented the linear probability and probit model estimates using an example of transportation choice. The logit model for the same example is \(P(A U T...
Study smarter with the SolutionInn App