Skip to main content
1-Visitor
May 25, 2016
Solved

Kinetic model of CSTR

  • May 25, 2016
  • 15 replies
  • 5711 views

Hi, I'm new on the forum and inexperienced with Mathcad Prime 3, so I need help. In the attached sheet I just wrote the kinetic model for a CSTR, which is a simple system of

2 algebric equations. There are lots of parameters that are fixed and one, XFRC (conversione of the reagent), that must change because I have to plot the solution of the system

with respect to that parameter. How can I do that? Thanks and sorry if my english is not perfect

Best answer by ValeryOchkov

See please the attach and the picture

15 replies

23-Emerald I
May 25, 2016

You apparently are using 3.1

Many of us  , stuck at 3.0, cannot read your file.

24-Ruby IV
May 25, 2016

Please post PDF or XPS version of your Mathcad Prime worksheet.

24-Ruby IV
May 25, 2016

See please the attach and the picture

1-Visitor
May 25, 2016

Thanks, this is perfect! By the way this is a part of a study about kinetic, maybe I'll ask for some more help later! Thanks again to all of you

24-Ruby IV
May 25, 2016

You welcome!

I am and will be glad to help you!

See please too

Chemical Kinetics with Mathcad and Maple | Viktor Korobov | Springer

and the site of the book

Chemical Kinetics with Mathcad and Maple

16-Pearl
May 25, 2016

I think Valery's method is probably best.  But here is an alternate version that gets rid of the solver.  I think it works.

2016-05-25_9-02-22.png

1-Visitor
May 25, 2016

Thank a lot to you too !!

21-Topaz II
May 25, 2016

Func.jpg

24-Ruby IV
May 28, 2016

But better to have a function not a set of values!

1-Visitor
May 28, 2016

Hello again, my work proceeds but now I encountered another problem, related to my low programming skills. I am sure that you can solve it in a moment. In the image you can see a solve block for a single CSTR reactor, I need to iterate the soluzion for N CSTR reactors in series. This is banal on paper, because all you need to do is to use the solution of the first CSTR as input for the second and so on. So I tried to make a "for loop", but I found that solve blocks cannot go into programming area. How can I solve it?

P.S. of course the conversion XFRC will be referred to the entire series of reactors.Immagine.png

24-Ruby IV
May 29, 2016

You do not need to use the solve block inside a cycle - You need to use in the cycle a function created in the solve block.

1-Visitor
May 30, 2016

Another question - I hope this will be the last .

Immagine.png

I need to graph the solution of the ode system vs temperature. I do not care about the trend vs time, I need only the output (after integration time) at various temperatures. How can I graph it? I'm probably wrong in assigning arguments of the function...

1-Visitor
May 30, 2016

Edit: I just solved using: CHMF0(T):=C(T)(t). I think this is ok for my purpose