1 / 39

NUMERICAL MODELING IN CHEMISTRY

NUMERICAL MODELING IN CHEMISTRY. NUMERICAL KINETIC CHEMISTRY (Lorentz JÄNTSCHI, Elena Maria PICĂ ) NUMERICAL DESCRIPTION OF TITRATION (Lorentz JÄNTSCHI, Horea Iustin NAŞCU) CORRELATIONS AND REGRESSIONS WITH MATHLAB (Lorentz JÄNTSCHI, Mihaela UNGUREŞAN).

udell
Download Presentation

NUMERICAL MODELING IN CHEMISTRY

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NUMERICAL MODELING IN CHEMISTRY NUMERICAL KINETIC CHEMISTRY (Lorentz JÄNTSCHI, Elena Maria PICĂ) NUMERICAL DESCRIPTION OF TITRATION (Lorentz JÄNTSCHI, Horea Iustin NAŞCU) CORRELATIONS AND REGRESSIONS WITH MATHLAB (Lorentz JÄNTSCHI, Mihaela UNGUREŞAN)

  2. NUMERICAL KINETIC CHEMISTRY(Lorentz JÄNTSCHI, Elena Maria PICĂ)

  3. Concentration gradient in an oscillating reaction • The oscillating reactions are more than a laboratory curiosity. • If in the industrial processes they appear in few cases, in biochemical systems there are numerous examples of oscillating reactions. • For instance, the oscillating reactions maintain the rhythm. • All live processes are based on one or more oscillating reactions.

  4. The MathCad parameters for the animation:

  5. Lotka – Volterra autocatalytic oscillator model • Phenomena: • complex reaction, in homogeneous phase (stage), which shows damped or undamped oscillations • Kinetic model: • R + X → 2X, υ = κ1·[R]·[X] (a) • X + Y → 2Y, υ = κ2·[X]·[Y] (b) • Y → P, υ = κ3·[Y] (c) • P → , υ = κ4·[P] (d)

  6. Mathematical model: • = υ(a) − υ(b) = κ1·[R]·[X] − κ2·[X]·[Y] (1) • = υ(b) − υ(c) = κ2·[X]·[Y] − κ3·[Y] (2) Numerical model: xn+1 = xn+ (tn+1-tn)·xn·(κ1·[R]-κ2·yn) (3)yn+1 = yn+(tn+1-tn)·yn·(κ2·xn-κ3) (4)x0 = [X]0 = 1, y0 = [Y]0 = 1, κ1 = 3, κ2 = 4, κ3 = 5, [R] = 2

  7. Graphs produced/generated the numerical series/systems (xn)n≥0 and (yn)n≥0 corresponding to the temporal series (tn)n≥0: The oscillation of the intermediaries in L-V mechanism

  8. The variation path ([X],[Y]) in the L-V mechanism

  9. Product evolution: The variation of the product concentration in L-V mechanism Product storage in L-V mechanism

  10. A model of damped oscillations • Phenomena: • let it be a chemical process that takes place according to the following model of a reaction mechanism: • Kinetic model: • R1 → X, υ = κ1·[R1] (a) • 2X + Y → 3Y, υ = κ2·[X]2·[Y] (b) • R2 + X → Y + P1, υ = κ3·[R2]·[X] (c) • Y → P2, υ = κ4·[Y] (d)

  11. Observation: • As in Lotka – Volterra, model, the concentrations of the R1 and R2 reacting substances remain constant during the process. • Mathematical model: = υ(a) − 2·υ(b) − υ(c) = (1) = κ1·[R1] − 2·κ2·[X]2·[Y] − κ3·[R2]·[X] = 2·υ(b) + υ(c) − υ(d) = (2) = 2·κ2·[X]2·[Y] + κ3·[R2]·[X] − κ4·[Y]

  12. Numerical model: • xn+1 = xn+(tn+1-tn)·(κ1·[R1]-xn·(2·κ2·xn·yn+κ3·[R2])) • (3) • yn+1 = yn+(tn+1-tn)·(xn·(2·κ2·xn·yn+κ3·[R2])-κ4·yn) • (4) • Data output: • x0 = 0, y0 = 1, κ1 = 3, κ2 = 4, κ3 = 5, κ4 = 7, • [R1] = 2, [R2] = 2, • tn = n/100000 with n = 0,1..300000

  13. The damped oscillations in chemical reactions (a) the conc. of the intermediary X

  14. The damped oscillations in chemical reactions(b) the concentration of the intermediary Y

  15. The damped oscillations in chemical reactions(c) the damped oscillation path ([X],[Y])

  16. Data results: • equilibrium concentration are • [X] = 2.315 and [Y] = 0.176 • and the equilibrium ratio are • [X]/[Y] = 13.53 • the dependence on time (tn)n≥0 of the accumulation of the • reaction products [P1] = (p1n)n≥0 and [P2] = (p2n)n≥0 • is linear (see next graphs)

  17. The linear variation of the amount of products in damped oscillating reactions (products P1 and P2) Conclusion: the concentration of the reaction products changes linearity even if the concentrations of the agents X and Y oscillate towards the equilibrium value

  18. The brussel model of autocatalytic oscillation • Remarks: • The brussel model was initiated by a group from Bruxelles directed by Ilya Prigogine (Nobel Prize) it introduce for the first time, mechanism of a reaction whose scheme of evolution converged on an attractor. • More authors have changed this variant and have studied the systems running according to this mechanism. • Simplified variant of kinetic model: • R → X, υ = κ1·[R] (a) • X + 2Y → 3Y, υ = κ2·[X]·[Y]2 (b) • Y → P, υ = κ3·[Y] (c)

  19. Mathematical model: • = υ(a) − υ(b) = κ1·[R1] − κ2·[X]·[Y]2 (1) • = υ(b) − υ(c) = κ2·[X]·[Y]2 − κ3·[Y] (2) Observations: Though the equations (1) and (2) seem simpler, at first sight, they are even more difficult to be solved by integration than previous cases. Moreover, the literature has not recorded their integration into the general case described by (1-2). Besides, the equations do not lead to an attractor model not matter by values of the constants of speed and of the concentrations [R], [X]0 and [Y]0.

  20. The attempt of solving (1-2) is full of surprises. For most of the values a system which develops towards a position of equilibrium is obtained; there are values for which damped oscillations to equilibrium are found again; the undamped periodical oscillations have also an important role, which is confirmed by the majority of the organisms in which the cellular biochemical processes are based on such oscillations. • The processes taking place within the heart are a conclusive example; the periodical heart beats are due to processes of this type. The importance of these processes is great. • This was the reason for which Ilya Prigogine was awarded the Nobel Prize for chemistry in 1977, namely for his theories on the dissipative systems.

  21. The equations (1-2) are simplified if • [R] = 1, κ1 = 1 and κ3 = 1, • are chosen and when the differential system of equations becomes: • x’ = 1 – κ2·x·y2; y’ = κ2·x·y2 – y (3) • However, the numerical simulation is made in the same way. Thus the iteration equation of variation for (3) is written: • xn+1 = xn+(tn+1-tn)·(1-κ2·xn·yn2), • yn+1 = yn+(tn+1-tn)·(κ2·xn·yn2-yn) (4) • Now choosing κ2 = 0.88 and taking into consideration two cases, the first one in which the initial concentrations of the agents are x10 = [X]1,0 = 1.5 and y10 = [Y]1,0 = 2 and second case in which x20 = [X]2,0 = 2 and y20 = [Y]2,0 = 2.5 and the series tn = n/100 with n = 0,1..150,

  22. following representations for the concentrations of the • agents [X] = (xn)n≥0 and [Y] = (yn)n≥0 are obtained: The concentrations of the intermediaries up to the attractor for two cases with different I.C.

  23. And the variation diagram of [Y] depending on [X] and the variation in time of the storage of reaction product is: (a) The entrance of [Y] related to [X] on the same gravitational orbit for (b) different product quantities obtained in two cases having different initial conditions

  24. If the previous figures are not very conclusive and fig. 10b seems to confirm this, the figures shows that, though the two systems start from different values of the concentrations of the agents, in both cases the system comes to evolve rather early on the same trajectory. • Now, increasing the time interval by choosing another n = 0,1..3000 the following concentrations of the agents are obtained [X]1 = (x1n)n≥0, [X]2 = (x2n)n≥0, [Y]2 = (y2n)n≥0 and [Y]2 = (y2n)n≥0 for the two cases 1 and 2 of the chosen system (see next figures). • It is noticed that, even if they do not evolve according the same values, same period and amplitude of the oscillations are recorded.

  25. The periodical evolution having the same oscillation periodT = 0.226 of: (a) [X] and (b) [Y], for two cases having different initial conditions The dependence of [Y] under [X] for the cases as well as the accumulation of the product is printed in the next figures:

  26. Convergence at atractor of brusselator system independent from initial conditions and (b) different quantities of resulted product start point atractor

  27. Conclusion: • The difference between the Lotka-Voltera model and Bruxelles model one is the following: • The Lotka-Voltera model oscillates around the initial values of the concentrations of the agents, whereas the Bruxelles one converges, in time on the same variation equation irrespective of the initial values of the concentrations of the agents. • In fact the attractor does not appear for any of their values; for a given k2 there are minimum y0,min and x0,min values from which the periodical oscillations arise and the system tends towards the curve given in previous figures.

  28. References: • M. Diudea, I. Gutman, L. Jäntschi (2001), Molecular Topology, Nova Science, Huntington, New York, 332 p., ISBN 1-56072-957-0. • M. V. Diudea, Ed. (2001), QSPR / QSAR Studies by Molecular Descriptors, Nova Science, Huntington, New York, 438 p., ISBN 1-56072-859-0. • L. Jäntschi, M. Ungureşan (2001), Chimie Fizică. Cinetică şi Dinamică Moleculară, Mediamira, Cluj-Napoca, 159 p., ISBN 973-9358-71-3. • L. Jäntschi (2002), Studii Fitosanitare, Amici, Cluj-Napoca, 140 p., in press.

  29. NUMERICAL DESCRIPTION OF TITRATION(Lorentz JÄNTSCHI, Horea Iustin NAŞCU) • Abstract: • The analytical methods of qualitative and quantitative determination of ions in solutions are very flexible to automation. • The process of titration is a recurrent process that can be watched by permanent measurement of a simple property such as mass, current intensity, tension, volume or a complex property such as adsorption, heat of reaction, which need a complex evaluation. • The present work is focused on modeling the process of titration and presents a numerical simulation of acid-base titration. Titration parameter selected is the pH. • The method permits to observe the titration process and identify the equivalence point of titration.

  30. Modeled reaction:

  31. If we consider that initially there exist 100 mmols of the first solution (NH3) and no reaction product (CH3COONH4) and we note with “a” letter quantities from first solution and with “b”, the quantities from second solution, initial conditions (IC) can be written as: Integer values of substances from solution let be evolve by steps of 1 mmol added solution. The corresponding equation is:

  32. A correction is now necessary. The concentrations are of natural values (not negative numbers) and supplementary adding of one reactant in solution lead only to deplete the other one reactant. In conclusion, must reconsider previous equations with following corrections for iteration n: In every moment of titration, the pH is given by (where another environment condition was considered, the normal temperature, that make that pH + pOH = 14):

  33. The following step is now simple. Fitting the dependencies pHn for n = 0, 1, …, 200 with MathCad (as example) will be obtain a graphic in form: Numerically fitted data in simulated titration

  34. Conclusions and remarks • The titration process is simple in appearance but shows to be complex in details. Even the simple case of titration of monobasic base ammonia with a monoprotic acid, such as acetic acid, hangs up unexpected difficulties in simulation process. The difficulties exists especially because is no approximations in model. Only one (so called) approximation is sequent adding of titrate, that are also perfectly possible in practice. • The method permits to investigate more complex processes such as titration of polyprotic acids and polybasic bases. If no approximation will be made, more complex equations will be necessary and superior rank equations will appear to be solved.

  35. CORRELATIONS AND REGRESSIONS WITH MATHLAB(Lorentz JÄNTSCHI, Mihaela UNGUREŞAN) • Abstract: • A MATHLab computer program is implemented. The program presented demonstrates the power of MATHLab in working with statistical processing, and can be considered as an example for future applications. • The program draws an exportable figure of fitted data and regression curve and calculates the correlation coefficient r and sum of residues.

  36. Specifications: • The execution of the program makes the posting of a window like in the figures attached, in which we can modify the expression of the function (y = P(x)) or the form of posting (box or grid). • For exemplifying let’s consider a correlation study of efficiency time executing of numerical methods that are using a Runge-Kuta-Niström predictor – corrector:

  37. There is an automatic calculus for every defined function the values of the correlation between Ŷ = P(X) and X and the value of residues sum given by the formula: In first figure are presented fitted dates from table with a parabolic regression and program makes the corresponding correlations and sums of residues. In second figure, in same execution, with same dates from table are fitted with a linear regression model and program makes rebuild corresponding correlations and sums of residues.

  38. Linear regression demo of the program

  39. Parabolic regression demo of the program

More Related