<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Parallel calculations in the construction of the kinetic model of benzylidene benzylamine synthesis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>I.V. Akhmetov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I.M. Gubaydullin</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Petrochemistry and Catalysis Russian Science Academy</institution>
          ,
          <addr-line>Prospect Oktyabrya 141, 450075, Ufa</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Ufa State Technological Petroleum University</institution>
          ,
          <addr-line>Kosmonavtov street 1, 450062, Ufa</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <fpage>2</fpage>
      <lpage>5</lpage>
      <abstract>
        <p>In this paper, a kinetic model of the benzylidene benzylamine synthesis reaction has been developed. The optimal rate constants for the stages and activation energies are found. When searching for kinetic parameters, the OpenMP parallel computing technology was used. An effective number of flows are determined, in which the solution of inverse problems is most effective. The catalytic reaction of the synthesis of the N-benzylidene benzylamine aromatic compond has a wide range of applications. N-benzylidene benzylamine is known as an indicator for the quantitative determination of organolithium compounds by the titrimetric method and is the starting compound for the synthesis of a number of heterocycles [1, 2]. To study the mechanism of the synthesis reaction, it is necessary to construct a kinetic model, the solution of the inverse kinetic problems for which is complicated, because it is the most difficult and time consuming stage of kinetic model development. Usage of parallel calculations is becoming more and more popular as a method of mathematical processing of experimental data because of the increasing complexity of obtained detailed information on chemical reactions. The inverse problems of chemical kinetics refer to such physico-chemical problems that involve a significant amount of computations [3]. High-performance computing systems usage fundamentally changed the possibilities of complex chemical processes analysis: a detailed analysis of complex kinetic models with a large amount of experimental information has became available; The time for kinetic models construction has been reduced in many times; The accuracy of decisions has increased. At present, solutions of inverse kinetic problems are proposed with the use of parallel calculations on cluster systems and graphics processors. Computer systems with multicore processors are actively introduced, the advantages of which are availability and ease of use, which expands the possibilities of their application in scientific researches [4, 5]. In this paper we propose a method for kinetic parameters searching using parallel calculations technology on multi-core systems for kinetic models construction of chemical reactions on metal complex catalysis with the aim of studying time reducing and mastering new catalytic processes.</p>
      </abstract>
      <kwd-group>
        <kwd>kinetic model</kwd>
        <kwd>rate constants</kwd>
        <kwd>inverse kinetic problem</kwd>
        <kwd>parallel calculations</kwd>
        <kwd>OpenMP</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Kinetic model</title>
      <p>
        To understand the physical and chemical nature of the catalytic reaction, the subsequent mathematical modeling of the
catalytic process and the definition of the conditions for its industrial realization, it is necessary first of all to develop its kinetic
and mathematical models [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>The fundamental basis for catalytic processes modeling is, first of all, the detailed studies of the physical and chemical nature
of chemical reactions, since the quantitative characteristics obtained in the practical experiment and refined in numerical
experiments will allow to develop kinetic models that will become a reliable basis for subsequent research.</p>
      <p>The kinetic model of the process is a set of elementary stages, reactions and equations characterizing the dependence of the
rate of chemical transformation on the reaction parameters: pressure, temperature, reagent concentrations, etc. Such
dependencies are determined on the basis of experimental data obtained in the practical experiment while changing reaction
parameters at the range of industrial conditions. The model developed in this way is the first level of the catalytic reactor model
and the basis for later solving static and dynamic problems which arise in the development of technological processes.</p>
      <p>The development of kinetic models, which is given in this paper, is based on experimental data of the benzylidene
benzylamine synthesis which was obtained in the laboratory of hydrocarbon chemistry in IPC RAS. During the experiments, a
new original method to include carboxyl group in pyrrols compounds, based on interaction between pyrrols and
CCl4-CH3OHcatalyst system.</p>
      <p>Based on the analysis of the experimental data and the results of tit mathematical processing, the following scheme of
chemical transformations and the corresponding kinetic equations (1)-(2) are proposed:
1. C1 + C 2  C 3 + C 4
2. C 3  C 5 + C 6
3. C 5 + C 1  C 7 + C 8
4. C 8 + C 6  C 9
(1)
dX
dt
i </p>
      <p>Fi  X i FN</p>
      <p>N
(3)</p>
    </sec>
    <sec id="sec-3">
      <title>3. Usage of parallel calculations</title>
      <p>
        For the parallel solution of the inverse kinetic problem the most effective method is genetic algorithm which is based on the
idea of breeding, borrowed from biology, that is, the preferential multiplication of the fittest individuals [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The practical
application of the genetic algorithm in all known cases led to positive results [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. It is shown that the genetic algorithm, unlike
the gradient methods of minimization, is a universal method for searching for an optimum regardless of the complexity of the
functions [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The sequence of operations that form the basis of the genetic is described below.
      </p>
      <p>At the first step of the algorithm, an initial population is created randomly, consisting of N individuals (N points in the space
of kinetic parameters, each point has m coordinates - parameter values). At the stage of mutation, the individuals change in
accordance with a predetermined mutation operation, in which the coordinate/parabolic descent from the points of space was
taken. At the stage of selection, a certain proportion of the whole population is selected, which will remain "alive" at this stage
of evolution. The probability of survival of an individual depends on the value of the fittest function for this individual; as a
function of the fittest s is the residual functional. The proportion of surviving s is a parameter of the genetic algorithm, and
according to the results of selection from N individuals of the population, the total population will include sN individuals. In the
case under consideration, s = 1/2. When forming a new generation, a crossing is used - to produce a descendant, two parents are
needed. To form a new point in the parameter space, one point from the "survivors" and one of the "dying" are selected as
parents, and the crossing is done by choosing m/2 coordinates from the first point and the remaining ones from the second point;
while the descendant inherits the traits of both parents. Specimens for reproduction are selected from the entire population, and
not from surviving elements at the first step in order to exclude the possibility of population degradation. This set of actions is
repeated iteratively, so the "evolutionary process", which lasts for several life cycles (generations), is modeled until the c riterion
for stopping the algorithm is fulfilled, which is any of the conditions:
1) finding a global or suboptimal solution;
2) the exhaustion of the number of generations released for evolution;
3) the exhaustion of the time allowed for evolution.</p>
      <p>Parallelization of the calculation process takes place at the stage of initial filling, when the given pseudo-random points in
the parameter space are uniformly distributed over the flows. Each mutation is mutated independently; The data is exchanged at
the selection stage. At the same time, the autonomous work time of processes significantly exceeds the time of internuclear
interactions, which determines the effectiveness of this algorithm (Fig. 1).</p>
      <p>High-Performance Computing / I.V. Akhmetov, I.M. Gubaydullin</p>
    </sec>
    <sec id="sec-4">
      <title>4. Results of computational experiments</title>
      <p>The numerical values of the found rate constants of the stages and activation energies for the synthesis of
benzylidene benzylamine are presented in Table 1.</p>
      <p>Kinetic constants at 23оС, h-1 Еi, kcal/mol
k1 1.5×10-2 10.6
k2 4.7 7.7
k3 13.4 1.6
k4 0.6 0.4</p>
      <p>Estimating the efficiency of parallelization when testing a program on a computational cluster showed us that
the parallel program works efficiently with increasing number of threads. When solving the inverse kinetic problem
for the benzylidene benzylamine synthesis reaction from all experimental data, the total calculation time was 60
hours at 1 core, 3.5 hours using 18 fluxes (Fig. 2 and Fig. 3).</p>
      <p>The adequacy of the constructed model with usage of parallel calculation of the display by comparing the calculated and
experimental data on the yield of the desired product, benzylidene benzylamine (Fig. 4).</p>
      <p>Thus, an algorithm has been developed for using multi-core computing systems to solve the inverse problems of chemical
kinetics. The method is implemented as a software package that includes a database of kinetic studies, sequential and parallel
algorithms for solving systems of ordinary differential equations, implemented on single-core and multi-core computing
systems.</p>
      <p>The informational and analytical systems have been developed, the successful application of which in the development of
kinetic models of reactions of aromatic and heterocyclic compounds synthesis of has shown the universality of the proposed
system approach to solving inverse kinetic problems.</p>
      <p>The system allows users to easily adapt to the development of kinetic models of various reactions due to the formation of
new blocks in the database of experimental data, the selection or addition of new methods of data processing, the construction of
mathematical models of the objects of varying complexity.</p>
      <p>Based on the developed approach, a kinetic model for the benzylidene benzylamine synthesis reaction was constructed. It is
shown that with the use of the information system, the computing process can be accelerated approximately in 18 times.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Khusnutdinov</surname>
            <given-names>RI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bayguzin</surname>
            <given-names>AR</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Aminov</surname>
            <given-names>RI</given-names>
          </string-name>
          .
          <article-title>Synthesis of N-benzylamine benzilidenbenzilamina under the action of iron catalysts in CCl 4</article-title>
          .
          <source>Journal of Organic Chemistry</source>
          <year>2012</year>
          ;
          <volume>48</volume>
          (
          <issue>8</issue>
          ):
          <fpage>1063</fpage>
          -
          <lpage>1065</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Khusnutdinov</surname>
            <given-names>RI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Baiguzina</surname>
            <given-names>AR</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mukminov</surname>
            <given-names>RR</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Akhmetov</surname>
            <given-names>IV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gubaidullin</surname>
            <given-names>IM</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spivak</surname>
            <given-names>SI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dzhemilev</surname>
            <given-names>UM</given-names>
          </string-name>
          .
          <article-title>New synthesis of pyrrole-2-carboxylic and pyrrole-2,5-dicarboxylic acid esters in the presence of iron-containing catalysts</article-title>
          .
          <source>Russian Journal of Organic Chemistry</source>
          <year>2010</year>
          ;
          <volume>46</volume>
          (
          <issue>7</issue>
          ):
          <fpage>1053</fpage>
          -
          <lpage>1059</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Akhmetov</surname>
            <given-names>IV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gubaydullin</surname>
            <given-names>IM</given-names>
          </string-name>
          .
          <article-title>Analysis of methods for solving inverse problems of chemical kinetics with the use of parallel computing</article-title>
          .
          <source>PCT 2016 - Proceedings of the 10th Annual International Scientific Conference on Parallel Computing Technologies.CEUR Workshop Proceedings</source>
          <year>2016</year>
          ;
          <fpage>402</fpage>
          -
          <lpage>410</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Akhmetov</surname>
            <given-names>IV.</given-names>
          </string-name>
          <article-title>Multinuclearity in inverse kinetic problems. Scientific service in the Internet: search for new solutions</article-title>
          <source>Proceedings of the International Supercomputer Conference</source>
          <year>2012</year>
          ;
          <fpage>656</fpage>
          -
          <lpage>661</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Akhmetov</surname>
            <given-names>IV</given-names>
          </string-name>
          .
          <article-title>Development of kinetic models for reactions of synthesis of aromatic and heterocyclic compounds based on multicore computing systems</article-title>
          .
          <source>Parallel Computing Technologies 2013. Proceedings of the International Scientific Conference</source>
          <year>2013</year>
          ;
          <fpage>268</fpage>
          -
          <lpage>277</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Slinko</given-names>
            <surname>MG</surname>
          </string-name>
          .
          <article-title>Modeling of chemical reactors</article-title>
          .
          <source>Novosibirsk: Science</source>
          ,
          <year>1968</year>
          ; 96 p.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Nikitin</surname>
            <given-names>AV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nikitina</surname>
            <given-names>LI</given-names>
          </string-name>
          .
          <article-title>Evolutionary model of optimization of modular associative memory for data flow machines based on genetic algorithm</article-title>
          .
          <source>Programming</source>
          <year>2002</year>
          ;
          <volume>6</volume>
          :
          <fpage>31</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Chernyshev</surname>
            <given-names>O</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borisov</surname>
            <given-names>A</given-names>
          </string-name>
          .
          <article-title>Comparative analysis of solving optimization problems by genetic and gradient methods</article-title>
          .
          <source>Transport and Telecommunication</source>
          <year>2007</year>
          ;
          <volume>8</volume>
          (
          <issue>1</issue>
          ):
          <fpage>40</fpage>
          -
          <lpage>52</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>