Skip to main content
1-Visitor
August 25, 2010
Solved

Help: another question on estimating reaction rate constants with mathcad

  • August 25, 2010
  • 28 replies
  • 14661 views

Hi, everyone

i m a greenhand on mathcad, and I want to solve some of my old problems using mathcad, which have been solved by matlab and maple .

yesterday I encountered a chemical kinetics problem, which I can easily handle through matlab nonlinear toolbox. I reviewed some similar threads in our forum, and cannot apply the method (Minerr, Minimize,etc) into my worksheet.

Maybe I need some help (see the attached mathcad14 or 11 file where I describe my question)

questions2.JPG

questions.JPG

Best answer by AlanStevens

See attached, saved in M14/15 format as M11 doesn't find a solution.

You have k1 as the rate constant for "B". I've assumed this should be k2 - you'll need to change this if I'm wrong.

There is probably a slicker solution but it's a start!

Alan

NB I've edited this file as I realised the solution I posted earlier was wrong.

28 replies

1-Visitor
August 25, 2010

If you don't get a quick answer, "save as" Mathcad version 11or lower

Just the data set, nothing else.

jmG

19-Tanzanite
August 25, 2010

See attached, saved in M14/15 format as M11 doesn't find a solution.

You have k1 as the rate constant for "B". I've assumed this should be k2 - you'll need to change this if I'm wrong.

There is probably a slicker solution but it's a start!

Alan

NB I've edited this file as I realised the solution I posted earlier was wrong.

FanCG1-VisitorAuthor
1-Visitor
August 25, 2010

Alan , thank you so much !!!!!!


you found a very obvious mistake in my model postulates (it should be k2), which I HADN'T FOUND AFTER TIMES OF CHECK LAST NIGHT. thank you, thank you !!! and you update your reply so fast that my reply cannot keep up with you. while i don't think there are any serious mistakes in your earlier solutions


the "Coeff = 22.4*10^6" in my question is just a coefficient used to convert the units of my data from ' ppmv ' into 'mol/L' at standard condition (because I changed solids volume, mass and reactor volume in my experiment). maybe it is not convient for numerical calculaion. So, in your old worksheet, the unit of raw data is actually converted into kmol/L .


a (ppmv) => a (10^ -6) / 22.4(L/mol) = [a / (22.4 * 10^6) ] (mol/L) = [a / (22.4 * 10^3) ] (kmol/L)


btw, parameter 'm' in my question is a explicit function of bulk density, and has a unit of g/L (or kg/m3, actually they are the 'same') according to the unit of gas concentration, so the rate constant unit you got is

e.g. k2: m3_gas/(kg_solid * day) or L/(g * day) ,

but for k1, a little more complicated, will be [kmol^0.5 * L^0.5 * g^-1 *day^-1]


your results for k are

k1 = 6.211 E-05 [kmol^0.5 * L^0.5 * g^-1 *day^-1]
k2 = 5.993 E-05 L/(g day)
k3 = 4.080 E-04 L/(g day)

and your new results are

k1 = 1.878 E-06 [mol^0.5 * L^0.5 * g^-1 *day^-1]
k2 = 6.323 E-05 L/(g day)
k3 = 4.081 E-04 L/(g day)


and my old result for k (in matlab, using lsqnonlin) is

k1 = 1.24 E-06 [mol^0.5 * L^0.5 * g^-1 *day^-1]
k2 = 3.84 E-05 L/(g day)
k3 = 2.66 E-04 L/(g day)

reply.JPG

and I think the earlier results make sense.

and the difference between mathcad and matlab is acceptable compared with the difference between the results from different temperatures. I will try some other operating conditions in mathcad......

19-Tanzanite
August 25, 2010

I thought my first set of results were invalid because of the square roots of c. It meant the equations didn't all scale the same way. What units are assumed for each parameter in the equations? Any scaling factor would cancel out of the rate equation for "B", but would not for the other two, hence skewing the fits.

Are you absolutely sure of the square roots? If you replace the square roots of c by just c you get a much better fit!!

Alan