<!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>
      <journal-title-group>
        <journal-title>ORCID:</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Qualitative and Quantitative Comparative Analysis of Results of Numerical Simulation of Cyber-Physical Biosensor Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Vasyl Martsenyuk</string-name>
          <email>vmartsenyuk@ath.bielsko.pl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andriy Sverstiuk</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oksana Bahrii-Zaiats</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aleksandra Kłos-Witkowska</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>I. Horbachevsky Ternopil National Medical University</institution>
          ,
          <addr-line>maidan Voli, 1, Ternopil, 46002</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Bielsko-Biala</institution>
          ,
          <addr-line>Willowa St., 2, Bielsko-Biala, 43-300</addr-line>
          ,
          <country country="PL">Poland</country>
        </aff>
      </contrib-group>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0001</lpage>
      <abstract>
        <p>The article deals with the qualitative and quantitative comparative analysis of the results of numerical modeling of mathematical models of cyber-physical biosensor systems on rectangular and hexagonal lattices using lattice differential equations. The main focus is on the mathematical description of the discrete population dynamics and the dynamic logic of the studied models. The lattice differential equations with delay are proposed to simulate antigenantibody interaction within rectangular and hexagonal biopixels. Appropriate spatial operators have been used to model the interaction between biopixels similar to the phenomenon of diffusion. The paper presents the results of numerical simulations in the form of phase plane images and lattice images of the probability of antigen to antibody binding in the biopixels of cyber-physical biosensor systems for antibody populations relative to antigen populations. The obtained experimental results make it possible to carry out a qualitative and quantitative comparative analysis of the stability of mathematical models of cyber-physical immunosensory systems on hexagonal and rectangular lattices using lattice differential equations. It is concluded that at a constant delay [0, 0.25) value for the model on the hexagonal lattice and [0, 0.22) when using a rectangular lattice, respectively, the solutions of the mathematical models studied tend to non-identical endemic states, which in this case are stable foci. The results of the phase diagrams of antigen populations, antibodies and lattice images of the likelihood of antigen binding to antibodies in the biopixels of cyber-physical biosensor systems conclude that at a constant delay value 0.25 (in the case of a hexagonal lattice) and 0.23 (in the case of a rectangular lattice), Hopf bifurcation occurs and all subsequent trajectories correspond to stable boundary cycles for all pixels. The obtained experimental results make it possible to perform a qualitative and quantitative comparative analysis of the stability of mathematical models of cyber-physical biosensor systems on hexagonal and rectangular lattices using lattice differential equations. Cyber-physical system, biosensor, continuous dynamics, differential equations, dynamic logic ITTAP'2022: 2nd International Workshop on Information Technologies: Theoretical and Applied Problems, November 22-24, 2022, Ternopil,</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Problem statement. Nowadays, the concept of creating cyber-physical systems (CPS) for various
spheres of technology interaction with human activity is actively developing. CPS are considered as
intelligent systems, in which external devices, processors, physical objects, network equipment are
integrated. The main purpose of CPS creation is to monitor the behavior of physical objects as
components of such systems in real time. These are systems in which cybernetic means (measuring,
computing, control, executive, communication) interact with physical processes in arbitrary objects [1].</p>
      <p>Analysis of known research results. Cyber-physics of the system are identified with the manifestation
of the fourth industrial revolution that is taking place in the modern world [2]. Thus, there is also the
Ukraine
(A.4)</p>
      <p>2022 Copyright for this paper by its authors.
physical possibility of using Internet of Things (IoT) technologies where signals from sensors and
measuring instruments need to be used. Thus, more publications are emerging in the literature [3], which
attract attention to modern concepts and offer new innovative solutions. A. Plattser proposed an
approach based on «dynamic logic», where cyber-physical systems are described and analyzed [4], [5].
In these works, there are hybrid programs (HP) in a simple programming language with simple
semantics. HP allow the programmer to access directly the real values of variables representing real
values and determine their dynamics.</p>
      <p>A model of an immunosensor is proposed based on a system of differential equations with time delay
on a hexagonal lattice. The presented main result consists of conditions of local asymptotic stability of
an endemic state. To obtain this result, the method of Lyapunov functionals is used. It combines the
general approach to constructing Lyapunov functionals for predator-prey models and differential
equations with time delay on a hexagonal lattice. A numerical example shows the influence of time
delays on stability, namely, the transition from a stable focus to a limit cycle through a Hopf bifurcation
occurs [6]. In the work [7] it is considered the delayed antibody-antigen competition model for
twodimensional array of biopixels. Stability research uses approach of Lyapunov functions [8-10].
Numerical simulations are used in order to investigate qualitative behavior when changing the value of
time delay and diffusion. It was shown that when increasing the value of time delay, we transit from
steady state through Hopf bifurcation, increasing period and finally to chaotic behavior. The increase of
diffusion causes an appearance of chaotic solutions also [11-12].</p>
      <p>The goal of the work. Perform qualitative and quantitative comparative analysis of results of
numerical modeling of mathematical models of cyber-physical biosensory systems on rectangular and
hexagonal lattice using lattice differential equations. The investigated models have the capabilities to
control and calculate signals of object control in various branches of the national economy, in particular
in medicine and fully reveal their potential in the development of cyber-physical biosensor systems.</p>
      <p>Setting objectives. When analyzing the results of numerical modeling of mathematical models of
cyber-physical biosensory systems on a rectangular and hexagonal lattice using lattice differential
equations, it is necessary to take into account spatial-temporal properties of devices in which they are
used. With respect to spatial organization, the models examined should be based on certain discrete
structures, which will take into account the interaction of biosensor pixels. In continuous space, models
must describe processes known as population dynamics. That is why the problem is the analysis of the
results of numerical modeling of mathematical models of cyber-physical biosensory systems on a
rectangular and hexagonal lattice using lattice differential equations.</p>
      <p>Results of the research. With the increasing pace of life and the need for more accurate methods of
monitoring different parameters, interest in biosensors is growing in science and industry. Biosensors
are alternatives to known measurement methods characterized by poor selectivity, high cost, poor
stability, slow response and can often only be performed by highly trained personnel. This is a new
generation of sensors that use a biological material in the design that provides very high selectivity and
allows fast and simple measurements [13].</p>
      <p>Cellular biosensors can be used to quantify body infection by certain electrochemical or optical
phenomena [14]. describes a cell biosensor that uses electrochemical impedance spectroscopy. This
biosensor is designed to count human CD4 + cells. The probing region of this biosensor includes
electrode pixels, each of which is compared to the size of the CD4 + cell that is entangled by the
electrode pixels. They find themselves by observing informative changes per pixel. The «On» or «Off»
state of the electrode pixel indicates that one CD4 + cell is detected. Thus, in order to calculate the CD4
+ cells, it is necessary to sum the electrode pixels in the «On» state.</p>
      <p>This general approach to quantitative cell detection is used to model imunosensornea of a system
that is based on the phenomenon of fluorescence. Immunosensor [15] is a subgroup of biosensors in
which an immunochemical reaction is associated with a transducer. The principle of operation of all
immunosensors is specific molecular recognition of antigens by antibodies to form a stable complex.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Cyber-physical biosensor system (CPBSS)</title>
      <p>The definition of the term «Cyber-Physical Sensor System (CPSS)» is given in [16]. This definition
was introduced for industrial applications of sensors. The common definition of CPSS provides for «a
higher degree of combination, distribution of the system, use of built-in systems in the field of
automation and compliance with existing standards». The approach was used to characterize CPBSS
(see Fig. 1), which allows to perform its numerical simulation.</p>
      <p>According to [16], definitions and schemes for the CPBSS are used to define the CPBSS. CPBSS
converts physically measured immunological indicators into digital information, which allows to carry
out signal processing in time using certain algorithms. Also interact with your internal data, own
capabilities, requirements, and internal tasks in terms of propagating to the same or higher level of the
hierarchy.</p>
      <p>CPBSS (external rectangle in Fig. 1) is based on the concept of cyber-physical system (CPS) taking
into account the peculiarities of intelligent immunosensor. With additional skills (dashed line in Fig. 1),
the sensor expands to CPBSS. This provides more diagnostic information about the object of research.
immunosensors can be used to assess critical conditions in cardiovascular disease, insulin values in
blood glucose measurement, and quantify certain Pharmactic compounds.</p>
      <p>Work [16] proposes a common structure for the CPBSS. When this scheme is used in the case of
biosensors, three directions of viocremes can be used: general information on the immunosensor;
measurements of immunological indicators and skills, conversion of units and calibration; interaction
with other immunosensors. Thus, certain methods for describing the immunosensor are contemplated.
CPBSS research uses the R programming language Despite the wide variety of programming languages
used in CPS development (Assembly, C, C++, D, Java, JavaScript, Python, Ada, etc. [17]), R is now
widely used in many machine learning and data visualization industries.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Continuous dynamics of studied CPBSS.</title>
      <p>A mathematical description is used for the continuous dynamics of the studied CPBSS using
differential equations with lag.</p>
    </sec>
    <sec id="sec-4">
      <title>3.1. A mathematical model of CPBSS on a hexagonal lattice with used lattice differential equations with lag</title>
      <p>The CPBSS model based on hexagonal lattice from used lattice differential equations is considered.
At that, cubic coordinate system [18] is used for numbering of biopixelive ( ,  ,  ),  ,  ,  = ̅−̅̅̅̅,̅̅̅,  +
 +  = 0</p>
      <p>Lets denote   , , ( ) as antigen concentration,   , , ( ) - the antibody concentration in the biopixels
( ,  ,  );  ,  ,  = ̅−̅̅̅̅,̅̅̅,  +  +  = 0.</p>
      <p>The model is based on such biological assumptions for an arbitrary biopixel ( ,  ,  ).
1. Antigens are detected, bind, and finally neutralized by antibodies with some probability velocity
ϒ &gt; 0.</p>
      <p>2. It is assumed that when colonies of antibodies are absent, colonies of antigens are regulated by a
logistic equation with a delay:</p>
      <p>
        , , ( + 1) = (1 +  −     , , ( −  ))  , , ( ), (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
where  and   – positive numbers, and  &gt; 0 mean latency of the negative responce of the antigens’
colonies.
      </p>
      <p>3. The fertility rate  &gt; 0 for the antigen population is introduced.
4. Antigens are neutralized by antibodies at a certain probability rate ϒ &gt; 0.
5. The population of antigens tries to reach a certain limit of saturation with a speed   &gt; 0.
6. The diffusion of antigens from six adjacent pixels is considered ( + 1,  ,  − 1),
( + 1,  − 1,  ), ( ,  − 1,  + 1), ( − 1,  ,  + 1), ( − 1,  + 1,  ) and ( ,  + 1,  − 1) (Figure 2) with
diffusion speed  ∆−2 , where  &gt; 0 – coefficient of diffusion; ∆&gt; 0 – distance between two adjacent
pixels.</p>
      <p>7. The constant mortality of antibodies   &gt; 0 is introduced.</p>
      <p>8. As a result of the immune response the antibody density increases with a probabilistic velocity
 ϒ.</p>
      <p>9. The antibody population is approaching a certain level of saturation with a speed   &gt; 0.
10. The immune response occurs with some constant delay in a time τ&gt; 0.</p>
      <p>
cubic coordinates:1, 3, 5, 8, 9, 11 – (∆−2   , , ( )) ; 2 – (∆−2   +1, , −1( )) ; 4 – (∆−2   +1, −1, ( )); 6 –
(∆−2   , −1, +1( )) ; 7 - (∆−2   −1, , +1( )); 10 -(∆−2   −1, +1, ( )); 12 (∆−2   , +1, −1( ))</p>
      <p>On this basis we consider a very simple construction of the late antigen-antibody model for the
hexagonal biopixel array, which is based on the known Marchuk model [19-21] and uses the spatial
operator  ̂ proposed in [22].</p>
      <p>
        , , ( )
The model (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) is defined by the initial functions (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ):
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
0
  , , ( ) =   , , ( ) ≥ 0,
      </p>
      <p>0
  , , ( ) =   , , ( ) ≥ 0,</p>
      <p>∈ [− , 0),
  , , (0),</p>
      <p>, , (0) &gt; 0.</p>
      <p>For the hexagonal array, discrete diffusion is used for the spatial operator.
 ̂{  , , } = {
distances Δ.</p>
    </sec>
    <sec id="sec-5">
      <title>A mathematical model of CPBSS on a rectangular lattice with used lattice differential equations with lag</title>
      <p>The mathematical model of CPBSS on a rectangular lattice with used lattice differential equations
with delay is considered in [23] is as follows:
  , ( )</p>
      <p>= ( −    , ( −  ) −     , ( −  ))   , ( ) +  ̂{  , }
   , ( )</p>
      <p>
        = (−  +    , ( −  ) −     , ( ))   , ( )
The names and numerical values of the corresponding model values (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) are given above. Model (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) is
defined by initial functions (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ):
  , ( ) =   0, ( ) ≥ 0,
  , ( ) =   0, ( ) ≥ 0,
      </p>
      <p>For a square array  ⨯  the following discrete diffusion is used for a spatial operator  ̂{  , }.
 ̂{  , } =
{</p>
      <p>Δ−2[ 1,2 +  2,1 +   , −1 − 2  1,1]  ,  = 1
 Δ−2[ 2, +  1, −1 +  1, +1+ +   , +1 − 3   , ]  = 1,  ∈ ̅2̅,̅̅̅̅−̅̅̅1̅</p>
      <p>Δ−2[ 1, −1 +  2, − 2  1, ]  ,  ∈ ̅2̅,̅̅̅̅−̅̅̅1̅
 Δ−2[  −1, +   +1, +   , −1 − 3   , ]  ∈ ̅2̅,̅̅̅̅−̅̅̅1̅,  =</p>
      <p>Δ−2[  −1, +   , −1 − 2   , ]  =  ,  = 
 Δ−2[  −1, +   , −1 +   , +1 +   , +1 − 3   , ]  =  ,  ∈ ̅2̅,̅̅̅̅−̅̅̅1̅</p>
      <p>Δ−2[  −1,1 +   ,2 − 2   ,1]  =  ,  = 1
DΔ−2[  −1,1 +  1+1,1 +   ,2 − 3   ,1]  ∈ ̅2̅,̅̅̅̅−̅̅̅1̅,
 = 1
 Δ−2[  −1, +   +1, +   , −1 +   , +1 − 4   , ]  ,  ∈ ̅2̅,̅̅̅̅−̅̅̅1̅
Each colony is exposed to antigens produced in four adjacent biopixels. Two colonies are considered in
each direction, which are separated by equal distances ∆.</p>
    </sec>
    <sec id="sec-6">
      <title>4. Dynamic logical simulation of CPBSS using the example of a mathematical model of CPBSS on a hexagonal lattice with used lattice differential equations with lag</title>
      <p>In order to model the dynamic logic of the studied CPBSS, the syntax proposed by A. Platzer for the
common CPS is used [4]. For modelling CPS the programming language of hybrid programs (HP) is
used, because it has more features than differential equations. The first level of HP are dynamic
programs that are defined by the following grammar</p>
      <p>{ − ϒ  , , ( −  ) −     , , ( −  )} +  ̂{  , , ( )},
{− +  ϒ  , , ( −  ) −     , , ( )} &amp;Ф .
 ∷=   , , ( + 1) =   , , ( )
  , , ( + 1) =   , , ( )
of real arithmetic
where Ф is an evolutionary domain constraint in the form of a formula for the logic of the first order
Ф
 ≝</p>
      <p>≤   , , ( ) ≤  
∧  
≤   , , ( ) ≤</p>
      <p>∧  ,  ,  = ̅−̅̅̅̅,̅̅̅ ∧  &gt; 0,  +  +  = 0</p>
      <p>The functioning of the biopixel ( +  +  ) is determined by two states, with respect to fluorescence.
Namely,  
is a state of fluorescence and</p>
      <p>
        is one of the non-fluorescence states. The use of the
first order of semantics of logic and the satisfaction ratio  | =  for the first-order formula  of real
arithmetic and state  can be determined for some pixels ( ,  ,  );  ,  ,  = ̅−̅̅̅̅,̅̅̅,  +  +  = 0 states

 and  
 as
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )

 | =     , , ( )  , , ( ) ≥   ,


 | =     , , ( )  , , ( ) &lt;   .
      </p>
      <p>
        (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
      </p>
      <p>Discrete changes occur in computer programs when they accept new values for variables. This
situation occurs when a fluorescence phenomenon occurs in a pixel ( ,  ,  );  ,  , 
 = 0. The state   , , , ≔ 1 is assigned a value of 1 to the variable   , , , . This leads to a discrete,
jump-like change, as the value   , , , does not change smoothly, but rapidly when it suddenly changes
from 1 to   , , , , causing a discrete jump of values   , , , . In this way, we obtain a discrete model of
= ̅−̅̅̅̅,̅̅̅,  +  +
change   , , , ≔ 1, except for the model of change.</p>
    </sec>
    <sec id="sec-7">
      <title>5. Results of numerical simulation of the mathematical model of CPBSS</title>
      <p>
        Numerical experiments based on computer simulation were carried out taking into account an
integer natural number N that characterizes the number of pixels in the hexagonal lattice. The model
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )–(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )  = 4 and values of  = 2 1, ϒ= 2   ∙ ,  = 1 1,  = 0ϒ.8,   = 0.5   ∙ ,   =
0.5


∙
 2

,  = 0.2
, Δ= 0.3
      </p>
      <p>.</p>
    </sec>
    <sec id="sec-8">
      <title>5.1. Results of numerical simulation of the mathematical model of CPBSS on hexagonal lattice with used lattice differential equations with lag</title>
      <p>
        The long-term behavior of the model (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )–(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) at  = 0.05,  = 0.25,  = 0.287, with a set of
parameter values as shown above (Fig. 3 (a–c)) was analyzed. We observe qualitative changes in the
behavior of biopixelive and CPBSS models on the hexagonal lattice as a whole.
c)
Figure 3: Results of numerical simulation system (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) at а) –  = 0.05, b) –  = 0.25, c) –  = 0.287.
Image of phase planes in coordinates Vi, j,k , Fi, j,k  for a pixel (0,0,0) and its six adjacent pixels. Marking:
– indicates initial state, ○ – identical steady state, ● – nonidentical steady state
c)
Figure 4: Lattice images of antigens in system pixels (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) at  = 0.05 (а),  = 0.25 (b),  = 0.287(c)
      </p>
      <p>For the computer simulation of the CPBSS model under study, lattice graphs were used, showing for
each pixel the probability of antigens contacting antibodies as   , , х  , , in  = 0.05,  = 0.25,  =
0.287, which are shown in Figure 6 (a–c).</p>
      <p>
        By analyzing phase diagrams of antigen populations, antibodies (Fig. 3 a) and lattice images of the
probability of antigen-antibody linkages in CPBSS biopixels (Fig. 6 a), it can be concluded that in  =
0.05 solving the system (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) tends to be identical to the endemic state, which in this case is a sustained
focus. Such dependencies are observed for all biopixelives of the CPBSS model on the hexagonal lattice
using lattice differential equations with lag at  ∈ [0,0.25) (Fig. 3 a, 4 a). By analyzing phase diagrams
of antigen populations, from the antibodies (Fig. 3 b) lattice images of the probability of
antigenantibody links in CPBSS biopixels (Fig. 6 b), it can be concluded that in the emerging Hopf bifurcation
and all further paths correspond to stable limit cycles for all points (Fig. 3 b, 6 b). To theorize the
occurrence of Hopf bifurcation, it is necessary to calculate a suitable pair of purely imaginary solutions
to the characteristic equation of the linearized system (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ). Numerical simulation results are consistent
with theoretical results based on Hopf bifurcation theorem [24]. At the same time, the solution of the
system (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) seeks a stable limit cycle with two local extremes (one local maximum and one local
minimum) in the cycle.
      </p>
    </sec>
    <sec id="sec-9">
      <title>5.2. Results of numerical simulation of the mathematical model of CPBSS on</title>
      <p>a rectangular lattice with used lattice differential equations with lag</p>
      <p>
        Computer simulations were implemented for different values. The long-term behavior of the model
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )–(
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) is analyzed at  = 0.05,  = 0.22,  = 0.23,  = 0.2865 with a set of parameter values, which
are presented above (Fig. 3–10). We see qualitative changes in the behavior of biopixelive and CPBSS
models in general.
d)
Figure 7: The phase plane plots of the system (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) or antibody populations   , , relative to populations
of antigens   , , as a result of numerical simulations at  = 0.05 (а),  = 0.22 (b),  = 0.23 (c),  =
0.2865 (d). Marking: – indicates initial state, ○ – identical steady state, ● – nonidentical steady state
      </p>
      <p>
        By analyzing phase diagrams of antigen populations from antibodies (Fig. 3 a), it can be concluded
that when  = 0.05 the system (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) is solved, it tends to be identical to the endemic state, which in this
case is a steady focus. Changing the value changes the qualitative behavior of pixels and the entire
immunosensor. For example, [0,0.22] paths corresponding to a stable node for all points are observed
(Fig. 3 (a, b)).
      </p>
      <p>At a value close to 0.23 min., Hopf bifurcation occurs and further paths correspond to stable
elipseshaped limit cycles for all points (Fig. 3 (c)). For values   0.2865 we observe chaotic behavior relative
to (Fig. 3 (d)).</p>
    </sec>
    <sec id="sec-10">
      <title>5.3. Qualitative and quantitative comparative analysis of results of numerical simulation of mathematical models of cyberphysical biosensory systems on hexagonal and rectangular lattice using lattice differential equations</title>
      <p>
        By comparing the results of numerical modeling of the studied mathematical models of
cyberphysical biosensory systems in the form of phase diagrams of antigen populations, by antibodies
(Fig. 3 a, 7 a) and lattice images of the probability of antigen connections to antibodies in CPBSS
biopixels (Fig. 6 a, 10 a), it can be concluded that in   0,05 the solution of the system (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) and (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) are
resistant to non-endemic states. A similar relationship is observed for all biopixelives of the CPBSS
model on the hexagonal lattice at τ  [0, 0.25) (Fig. 3 a, 6 a), and in the case of using a rectangular
lattice identical, the endemic state was observed at   [0, 0.22 ] (Fig. 7 a, 10 a).
      </p>
      <p>According to the obtained results of phase diagrams of antigen populations, according to antibodies
(Fig. 3 b) and lattice images of the probability of antigens binding to antibodies in CPBSS biopixels, it
can be concluded that in τ  0,25 (in the case of hexagonal grating (Fig. 3 b, 4 b)) and 0.23 (in the case
of rectangular grating) (Fig. 7 b, 10 b)) Hopf bifurcation occurs and all further paths correspond to
steady limit cycles for all points (Fig. 3 b, 6 b, 7 b, 10 b). As the results of the numerical analysis showed,
the probabilities of antigen-antibody connections in the biopixels of the models under study vary
according to the laws of discrete dynamics. Analyzing the obtained results, it was concluded that when
the value changes qualitatively the behavior of biopixelive and CPBSS changes.</p>
    </sec>
    <sec id="sec-11">
      <title>6. Conclusions</title>
      <p>In the work we carried out qualitative and quantitative comparative analysis of models of CPBSS on
rectangular and hexagonal lattice using lattice differential equations, for which purpose the general
scheme of cyber-physical and sensory system proposed in the work was used [16]. The basic model was
modified taking into account the features of biosensors, which are considered in the form of biopixel
arrays. Each biopixel is seen as a cyber-physical system in order to account for the continuous dynamics
of the immunological response. Lattice images in biopixels change according to the laws of discrete
dynamics. The developed models take into account the interaction of biopixelive with each other by
diffusion of antigens. The mathematical description of CPBSS contains the discrete population
dynamics, which is combined with dynamic logic, which is used for discrete events. The work uses a
class of lattice differential equations with time lag, which model the interaction of antigens and
antibodies in biopixels. Spatial operators model diffusion type interaction between biopixels. Dynamic
mathematical modeling is not enough to simulate discrete dynamics in biosensors. To address this
disadvantage, the dynamic logic syntax that has been proposed for cyber-physical Platzer systems has
been used to describe the discrete states of biopixel as a result of fluorescence. The results of the
numerical simulation obtained in the work allow to analyze the stability and compare the studied models
taking into account the time delay.</p>
    </sec>
    <sec id="sec-12">
      <title>7. References</title>
      <p>
        [15] P. B. Luppa, L. J. Sokoll, and D. W. Chan, Immunosensors- principles and applications to clinical
chemistry, Clinica Chimica Acta, 2001, vol. 314, no. 1, pp. 1–26.
doi:10.1016/S00098981(01)00629-5.
[16] C. Berger, A. Hees, S. Braunreuther, and G. Reinhart, “Characterization of cyber-physical sensor
systems,” Procedia CIRP, 2016, vol. 41, pp. 638–643. doi: 10.1016/j.procir.2015. 12.019.
[17] P. Soulier, D. Li, J. R. Williams, “A survey of language- based approaches to cyber-physical and
embedded system development,” Tsinghua Science and Technology, vol. 20, no. 2, pp. 130–141,
2015. doi: 10.1109/TST.2015.7085626.
[18] Internet resource: https://www.redblobgames.com/grids/hexagons/.
[19] C. C. McCluskey, “Complete global stability for an SIR epidemic model with delay — distributed
or discrete,” Nonlinear Analysis: Real World Applications, 2010, vol. 11, no. 1, pp. 55–59.
doi:10.1016/j.nonrwa.2008.10.014.
[20] A. Nakonechny and V. Marzeniuk, “Uncertainties in medical processes control,” Lecture Notes in
Economics and Mathematical Systems, 2006, vol. 581, pp. 185–192.
doi:10.1007/3-540-352627_11.
[21] V. Marzeniuk, “Taking into account delay in the problem of immune protection of organism,”
Nonlinear Analysis: Real World Applications, 2001, vol. 2, no. 4, pp. 483–496.
doi.org/10.1016/S1468-1218(01)00005-0.
[22] A. Prindle, P. Samayoa, I. Razinkov, T. Danino, L. S. Tsim- ring, and J. Hasty, “A sensing array
of radically coupled genetic ‘biopixels’,” Nature, 2011, vol. 481, no. 7379, pp. 39–44.
doi:10.1038/nature10722.
[23] V. Martsenyuk, A. Klos-Witkowska, A. Sverstiuk, Stability, bifurcation and transition to chaos in
a model of immunosensor based on lattice differential equations with delay, Electronic Journal of
Qualitative Theory of Differential Equations, 2018(27), р. 1-31. doi:10.14232/ejqtde.2018.1.27.
[24] . Hofbauer, G. Iooss, A Hopf bifurcation theorem for difference equations approximating a
differential equation, Monatshefte fur Mathematik, 1984, Vol. 98(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ), p. 99-113. doi:
10.1007/BF01637279.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>E. A.</given-names>
            <surname>Lee</surname>
          </string-name>
          , “
          <article-title>Cyber physical systems: Design challenges,” Center for Hybrid and Embedded Software Systems</article-title>
          , EECS University of California, Berkeley, CA 94720, USA,
          <source>Tech. Rep. UCB/EECS-2008-8</source>
          ,
          <year>2008</year>
          , p.
          <fpage>10</fpage>
          . doi:
          <volume>10</volume>
          .1109/ISORC.
          <year>2008</year>
          .
          <volume>25</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Bagheri</surname>
          </string-name>
          , and H.-A. Kao, “
          <article-title>A cyber-physical systems architecture for industry 4.0-based manufacturing systems</article-title>
          ,
          <source>” Manufacturing Letters</source>
          ,
          <volume>3</volume>
          (
          <year>2015</year>
          )
          <fpage>18</fpage>
          -
          <lpage>23</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.mfglet.
          <year>2014</year>
          .
          <volume>12</volume>
          .001.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>K.-D.</surname>
            Kim and
            <given-names>P. R.</given-names>
          </string-name>
          <string-name>
            <surname>Kumar</surname>
          </string-name>
          , “
          <article-title>Cyber-physical systems: A perspective at the centennial</article-title>
          ,
          <source>” Proceedings of the IEEE</source>
          , vol.
          <volume>100</volume>
          , no.
          <issue>Special Centennial Issue</issue>
          ,
          <year>2012</year>
          , pp.
          <fpage>1287</fpage>
          -
          <lpage>1308</lpage>
          . doi:
          <volume>10</volume>
          .1109/jproc.
          <year>2012</year>
          .
          <volume>2189792</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Platzer</surname>
          </string-name>
          , “
          <article-title>Differential dynamic logic for hybrid systems</article-title>
          .,”
          <string-name>
            <given-names>J.</given-names>
            <surname>Autom</surname>
          </string-name>
          . Reas., vol.
          <volume>41</volume>
          , no.
          <issue>2</issue>
          ,
          <issue>2008</issue>
          , pp.
          <fpage>143</fpage>
          -
          <lpage>189</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10817-008-9103-8.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Platzer</surname>
          </string-name>
          ,
          <source>Logical Foundations of Cyber-Physical Systems</source>
          . Springer International Publishing,
          <year>2018</year>
          . doi:
          <volume>10</volume>
          .1007/978- 3-
          <fpage>319</fpage>
          -63588-0.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>V.</given-names>
            <surname>Martsenyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sverstiuk</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Gvozdetska</surname>
          </string-name>
          ,
          <article-title>Using Differential Equations with Time Delay on a Hexagonal Lattice for Modeling Immunosensors, Cybernetics</article-title>
          and
          <string-name>
            <given-names>Systems</given-names>
            <surname>Analysis</surname>
          </string-name>
          ,
          <year>2019</year>
          ,
          <volume>55</volume>
          (
          <issue>4</issue>
          ), pp.
          <fpage>625</fpage>
          -
          <lpage>637</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10559-019-00171-2.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>V.</given-names>
            <surname>Martsenyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Klos-Witkowska</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sverstiuk</surname>
          </string-name>
          ,
          <source>Stability Investigation of Biosensor Model Based on Finite Lattice Difference Equations</source>
          ,
          <source>Springer Proceedings in Mathematics and Statistics</source>
          ,
          <year>2020</year>
          ,
          <volume>312</volume>
          , pp.
          <fpage>297</fpage>
          -
          <lpage>321</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>030</fpage>
          -35502-9_
          <fpage>13</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>V.</given-names>
            <surname>Martsenyuk</surname>
          </string-name>
          ,
          <article-title>Construction and study of stability of an antitumoral immunity model</article-title>
          ,
          <source>Cybernetics and Systems Analysis</source>
          ,
          <volume>40</volume>
          (
          <issue>5</issue>
          ), (
          <year>2004</year>
          ), pp.
          <fpage>778</fpage>
          -
          <lpage>783</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10559-005-0017-8.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Nakonechnyj</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Marzenyuk</surname>
          </string-name>
          ,
          <article-title>Problems of controllability for differential Gompertzian dynamics equations</article-title>
          ,
          <source>Kibernetika i Sistemnyj Analiz</source>
          ,
          <year>2004</year>
          ,
          <volume>40</volume>
          (
          <issue>2</issue>
          ), pp.
          <fpage>123</fpage>
          -
          <lpage>133</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Martsenyuk</surname>
            ,
            <given-names>V.P.</given-names>
          </string-name>
          ,
          <article-title>On stability of immune protection model taking into account damage of target organ: The degenerate Liapunov functionals method</article-title>
          ,
          <source>Cybernetics and Systems Analysis</source>
          ,
          <year>2004</year>
          , (
          <issue>1</issue>
          ), pp.
          <fpage>126</fpage>
          -
          <lpage>136</lpage>
          . doi:
          <volume>10</volume>
          .1023/B:CASA.
          <volume>0000028109</volume>
          .69242.38
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>V.</given-names>
            <surname>Martsenyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sverstiuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Bahrii-Zaiats</surname>
          </string-name>
          , Yu. Rudyak,
          <string-name>
            <given-names>B.</given-names>
            <surname>Shelestovsky</surname>
          </string-name>
          ,
          <article-title>Software complex in the study of the mathematical model of cyber-physical systems</article-title>
          ,
          <source>ICT&amp;ES 2nd International Workshop Information-Communication Technologies &amp; Embedded Systems</source>
          ,
          <volume>12</volume>
          November, 2020 Mykolaiv, Ukraine. p.
          <fpage>87</fpage>
          -
          <lpage>97</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>V.</given-names>
            <surname>Martsenyuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Klos-Witkowska</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sverstiuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Bahrii-Zaiats</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bernas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Witos</surname>
          </string-name>
          ,
          <article-title>Intelligent Big Data system based on scientific machine learning of cyber-physical systems of medical and biological processes</article-title>
          ,
          <source>in: The Fourth International Workshop on Computer Modeling and Intelligent Systems (CMIS-2021). 27 of April</source>
          <year>2021</year>
          , Zaporizhzhia, Ukraine. pp.
          <fpage>34</fpage>
          -
          <lpage>48</lpage>
          . doi:
          <volume>10</volume>
          .32782/cmis/2864-4.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>V.</given-names>
            <surname>Martsenyuk</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Andrushchak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Zinko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sverstiuk</surname>
          </string-name>
          ,
          <article-title>On Application of Latticed Differential Equations with a Delay for Immunosensor Modeling</article-title>
          ,
          <source>Journal of Automation and Information Sciences</source>
          (
          <year>2018</year>
          )
          <fpage>55</fpage>
          -
          <lpage>65</lpage>
          . doi:
          <volume>10</volume>
          .1615/JAutomatInfScien.v50.
          <year>i6</year>
          .
          <fpage>50</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>X.</given-names>
            <surname>Jiang</surname>
          </string-name>
          and
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Spencer</surname>
          </string-name>
          ,
          <article-title>Electrochemical impedance biosensor with electrode pixels for precise counting of CD4+ cells: A microchip for quantitative diagnosis of HIV infec- tion status of AIDS patients</article-title>
          ,
          <source>Biosensors and Bioelectronics</source>
          ,
          <year>2010</year>
          ;
          <volume>25</volume>
          (
          <issue>7</issue>
          ):
          <fpage>1622</fpage>
          -
          <lpage>1628</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.bios.
          <year>2009</year>
          .
          <volume>11</volume>
          .024.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>