# Team:Valencia UPV/Modeling/diffusion

### From 2014.igem.org

Alejovigno (Talk | contribs) |
Alejovigno (Talk | contribs) |
||

Line 1: | Line 1: | ||

{{:Team:Valencia_UPV/header}} | {{:Team:Valencia_UPV/header}} | ||

- | {{:Team:Valencia_UPV/ | + | {{:Team:Valencia_UPV/style_equations}} |

- | + | ||

- | + | ||

<html> | <html> | ||

- | < | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> |

- | + | ||

- | + | <div align="center"><div id="cn-box" align="justify"> | |

- | + | <h3 class="hook" align="left"><a href="#">Modeling</a> > <a href="http://2014.igem.org/Team:Valencia_UPV/Modeling/diffusion">Pheromone Diffusion</a></h3></p></br> | |

- | + | ||

- | + | <div align="center"><span class="coda"><roja>P</roja>heromone <roja>D</roja>iffusion <br/><br/> and <roja>M</roja>oths <roja>R</roja>esponse</span> </div> | |

- | + | </br></br> | |

- | + | <div class="tabs"> | |

- | + | <ul class="tab-links"> | |

- | + | <li class="active"><a href="#tab1">Introduction</a></li> | |

- | + | <li><a href="#tab2">Diffusion Equation</a></li> | |

- | + | <li><a href="#tab3">Moth Response</a></li> | |

+ | <li><a href="#tab4">Simulation</a></li> | ||

+ | <li><a href="#tab5">Results</a></li> | ||

+ | </ul> | ||

+ | |||

+ | <div class="tab-content"> | ||

+ | <div id="tab1" class="tab active"> | ||

+ | <p>Sexually communication among moths is accomplished chemically by the release of an "odor" into the air. This "odor" is the <span class="black-bold">sexual pheromones</span>.</p><br/> | ||

+ | |||

+ | <div align="center"><img width="540px" src="http://2014.igem.org/wiki/images/9/9d/VUPVIntro_sexpheromone.png" alt="female_sex_pheromones" title="Female and Male Moths"></img></div><br/> | ||

+ | <div align="center"><p style="text-align: justify; font-style: italic; font-size: 0.8em; width: 700px;"><span class="black-bold">Figure 1</span>. Female moth releasing sex pheromones and male moth.</p></div><br/> | ||

+ | |||

+ | |||

+ | |||

+ | <p>Pheromones are molecules that can undergo a diffusion process in which the random movement of gas molecules transport the chemical away from its source (Sol I. Rubinow, Mathematical Problems in the Biological Sciences, Lecture 9). However, diffusion processes are complex, and modelling them analytically and with accuracy is difficult, even more when the geometry is not simple.</p><br/> | ||

+ | |||

+ | <p>For this reason, we decided to consider a simplified model in which pheromone chemicals obey to the heat diffusion equation. Then, it is solved by the Euler numeric approximation in order to obtain the spatial and temporal distribution of pheromone concentration. <a class="normal-link-page" href="#">See more about heat equation and mathematical expressions for Euler method.</a></p><br/> | ||

+ | |||

+ | <p> Moths seem to respond to gradients of pheromone concentration attracted towards the source, although there are other factors that lead moths sexually to pheromone sources such as optomotor anemotaxis (J. N. Perry and C. Wall , A Mathematical Model for the Flight of Pea Moth to Pheromone Traps Through a Crop). However, increasing the pheromone concentration to unnaturally high levels may disrupt male orientation (W. L. Roelofs and R. T. Carde, Responses of Lepidoptera to synthetic sex pheromone chemicals and their analogues). <a class="normal-link-page" href="#"> See more about the modeling of moth flight paths.</a></p><br/> | ||

+ | |||

+ | <p>Using a modeling environment called <a class="normal-link-page" href="#">Netlogo</a>, we simulate the approximate moths behavior during the pheromone dispersion process. So, this will help us to predict moth response when they are also in presence of our synthetic plants.</p><br/> | ||

+ | |||

</div> | </div> | ||

- | + | ||

- | <div | + | <div id="tab2" class="tab"> |

- | + | <p>Since pheromones are chemicals released into the air, we have to consider both the motion of the fluid and the one of the particles suspended in the fluid.</p><br/> | |

+ | <p>The motion of fluids can be described by the <span class="black-bold">Navier–Stokes equations</span>. But the frequent nonlinearity of these equations makes most problems difficult or impossible to solve, since it may exists turbulences in the air flow [1]. Now attending to the particles suspended in the fluid, an option for pheromone dispersion modeling consists in the assumption of pheromones diffusive-like behavior. | ||

+ | That is: pheromones are molecules that can undergo a diffusion process in which the random movement of gas molecules transport the chemical away from its source [2].</p><br/> | ||

- | + | <p>There are two ways to introduce the notion of diffusion: either a phenomenological approach starting with <span class="black-bold"> Fick's laws of diffusion</span> and their mathematical consequences, or a physical and atomistic one, by considering the <span class="black-bold"> random walk</span> of the diffusing particles.</p><br/> | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

+ | <p>In our case, we decided to hold our diffusion process by the <span class="black-bold">Fick's laws</span>. So it is postulated that the flux goes from regions of high concentration to regions of low concentration, with a magnitude that is proportional to the concentration gradient. However, diffusion processes are complex, and modelling them analytically and with accuracy is difficult, even more when the geometry is not simple (final distribution of our plants in the crop field). For this reason, we decided to consider a simplified model in which pheromone chemicals obey to the <span class="black-bold"> heat diffusion equation</span>.</p><br/><br/> | ||

+ | <h3>Approximation</h3><br/><br/> | ||

+ | |||

+ | </html> | ||

+ | The '''diffusion equation''' is a partial differential equation which describes density dynamics | ||

+ | in a material undergoing diffusion. It is also used to describe processes exhibiting | ||

+ | diffusive-like behavior, like in our case. | ||

- | + | The equation is usually written as: | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | $$\frac{\partial \phi (r,t) }{\partial t} = \nabla · [D(\phi,r) \nabla \phi(r,t)]$$ | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | where $\phi(r, t)$ is the density of the diffusing material at location r and time t and | |

- | + | $D(\phi, r)$ is the collective diffusion coefficient for density $\phi$ at location $r$; and | |

- | + | $\nabla$ represents the vector differential operator. | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

+ | If the diffusion coefficient does not depend on the density then the equation is linear and | ||

+ | $D$ is constant. Thus, the equation reduces to the following linear differential equation: | ||

+ | $$\frac{\partial \phi (r,t) }{\partial t} = D \nabla^2 \phi(r,t)$$ | ||

+ | also called the '''heat equation'''. | ||

- | + | Making use of this equation we can write pheromones chemicals diffusion equation with no | |

- | + | wind effect consideration as: | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | $$\frac{\partial c }{\partial t} = D \nabla^2 C = D \Delta c$$ | |

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

- | + | ||

+ | where c is the pheromone concentration, $\Delta$ is the Laplacian operator, and $D$ is | ||

+ | the pheromone diffusion constant in air.<br/><br/> | ||

+ | If we consider the wind, we face a diffusion system with drift and an advection term is | ||

+ | added to the equation above. | ||

+ | $$\frac{\partial c }{\partial t} = D \nabla^2 c - \nabla \cdot (\vec{v} c )$$ | ||

+ | where $\vec{v}$ is the average ''velocity'' that the quantity is moving. Thus, $\vec{v}$ | ||

+ | would be the velocity of the air flow.<br/> | ||

+ | For simplicity, we are not going to consider the third dimension. In $2D$ the equation | ||

+ | would be: | ||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | + | $$\frac{\partial c }{\partial t} = D \left(\frac{\partial^2 c }{\partial^2 x} + \frac{\partial^2 c }{\partial^2 y}\right) – \left(v_{x} \cdot \frac{\partial c }{\partial x} + v_{y} \cdot \frac{\partial c }{\partial y} \right) = D \left( c_{xx} + c_{yy}\right) - \left(v_{x} \cdot c_{x} + v_{y} \cdot c_{y}\right) $$ | |

- | + | ||

- | + | <html><br/> | |

- | + | <div align="center"><img width="650px" src="http://2014.igem.org/wiki/images/1/11/VUPVDiffusion_purple.png" alt="modeling_equations_solving" title="Netlogo Screen"></img></div><br/><br/> | |

- | + | </html> | |

- | + | ||

- | + | For determining a numeric solution for this partial differential equation are | |

- | + | used the so-called finite difference methods. The technic consists in | |

- | + | approximating differential ratios as $h$ is closer to zero, so they are useful to | |

+ | approximate differential equations. | ||

+ | |||

+ | With finite difference methods, partial differential equations are replaced by | ||

+ | its approximations in finite differences, resulting in an algebraic equations | ||

+ | system. The algebraic equations system is solved in each node | ||

+ | $(x_i,y_j,t_k)$. These discrete values describe the temporal and spatial | ||

+ | distribution of the unknown function.<br/><br/> | ||

+ | |||

+ | Although implicit methods are unconditionally stable so time steps could be larger and | ||

+ | make the calculus process faster, the tool we have used to solve our heat equation is the | ||

+ | Euler explicit method. | ||

+ | |||

+ | Euler explicit method is the simplest option to approximate spatial derivatives, in which all | ||

+ | values are assumed at the beginning of Time.<br/><br/> | ||

+ | |||

+ | The equation gives the new value of the pheromone level in terms of initial values in that | ||

+ | node and its immediate neighbors. Since all these values are known the process is called | ||

+ | explicit. | ||

+ | |||

+ | $$c(t_{k+1}) = c(t_k) + dt \cdot c'(t_k),$$ | ||

+ | |||

+ | Now applying this method for the first case (with no wind consideration) we followed the | ||

+ | next steps. | ||

+ | |||

+ | 1. Split time $t$ into $n$ slices of equal length <i>dt</i>: | ||

+ | $$ \left\{ \begin{array}{c} t_0 &=& 0 \\ t_k &=& k \cdot dt \\ t_n &=& t | ||

+ | \end{array} \right. $$ | ||

+ | |||

+ | 2. Considering the backward difference for the Euler explicit method implies that the | ||

+ | expression that refers to the current pheromone level each time step is: | ||

+ | |||

+ | $$c (x, y, t) \approx c (x, y, t - dt ) + dt \cdot c'(x, y, t)$$ | ||

+ | |||

+ | 3. And now considering the spatial dimension, it is applied central differences to the Laplace operator $\Delta$, and the backward differences to the vector differential operator $\nabla$ ( in 2D and assuming equal steps in x and y directions): | ||

+ | |||

+ | $$c (x, y, t) \approx c (x, y, t - dt ) + dt \left( D \cdot \nabla^2 c (x, y, t) - \nabla \vec{v} c (x, y, t) \right)$$ | ||

+ | $$ D \cdot \nabla^2 c (x, y, t) = D \left( c_{xx} + c_{yy}\right) = D \frac{c_{i,j-1} + c_{i,j+1} + c_{i-1,j } + c_{i+1,j} – 4 c_{I,j}}{s} $$ | ||

+ | $$ \nabla \vec{v} c (x, y, t) = v_{x} \cdot c_{x} + v_{y} \cdot c_{y} = v_{x} \frac{c_{i,j} – c_{i-1,j}}{h} + v_{y} \frac{c_{i,j} – c_{i,j-1}}{h} $$ | ||

+ | |||

+ | |||

+ | With respect to the boundary conditions, they are null since we are considering an opened-space. Attending to the implementation and simulation of this method, <i>dt</i> must be small enough to avoid instability. | ||

+ | |||

+ | <html> | ||

+ | |||

+ | |||

+ | |||

</div> | </div> | ||

+ | |||

+ | <div id="tab3" class="tab"> | ||

<br/> | <br/> | ||

+ | <h3>The Idea</h3><br/> | ||

+ | |||

+ | <p>When one stares at moths, they apparently move with erratic flight paths. It is possibly because of predator avoiding reasons.</p><br/> | ||

+ | |||

+ | <p> In this frame, sex pheromones influence in moth behavior is also considered. Since these are pheromones released by females in order to attract an individual of the opposite sex, it makes sense that males respond to <span class="purple-bold">gradients of sex pheromone concentration</span>, being attracted towards the source. As soon as a flying male <span class="green-bold">randomly</span> comes into conical pheromone-effective sphere of sex pheromone released by a virgin female, the male begins to seek the females in a zigzag way, approaches to the females and finally copulates with her [1].</p><br/><br/><br/> | ||

+ | |||

+ | <h3>Approximation</h3><br/> | ||

+ | |||

+ | <img width="150px" style="float:left; margin-right: 15px; margin-bottom: 15px;" src="http://2014.igem.org/wiki/images/1/17/VUPVPolillita_con_vectores_v1.png" alt="moth_array"></img> | ||

+ | |||

+ | <p>In this project we approximate the resulting moth movement as a vectorial combination of a <span class="purple-bold">gradient vector</span> and a <span class="green-bold">random vector</span>. The magnitude of the gradient vector comes from the change in pheromone concentration level among points separated by a differential stretch in space. More precisely, the gradient points in the direction of the <b>greatest rate of increase</b> of the function and its magnitude is the slope of the graph in that direction. The <span class="green-bold">random vector</span> is restricted in this ‘moth response’ model by a fixed angle, assuming that the turning movement is relatively continuous and for example the moth can’t turn 180 relative degrees at the next instant.</p><br/> | ||

+ | |||

+ | <p>Since the objective of this project consists in avoiding pest damage by reaching the mating disrupting among moths, our synthetic plants are supposed to release enough sexual pheromone so as to <span class="red-bold">saturate moth perception</span>. In this sense the resulting moth vector movement will depend ultimately on the pheromone concentration levels in the field and the moth ability to follow better or worse the gradient of sex pheromone concentration.</p><br/> | ||

+ | |||

+ | <p>At this point, let’s highlight the three main aspects we consider for the characterization of males moth behavior:</p><br/> | ||

+ | |||

</html> | </html> | ||

+ | [[File:Table_behavior.png|600px|center|Male moths behaviour characterization.]] | ||

+ | <html> | ||

+ | <div align="center"><p style="text-align: justify; font-style: italic; font-size: 0.9em; width: 700px;"><span class="black-bold">Table 1</span>. Male moths behaviour characterization.</p></div> | ||

+ | <p>In this context, this ensemble of behaviors could be translated in a sum of vectors in which the random vector has a constant module and changeable direction inside a range, whereas the gradient vector module is a function of the gradient in the field. The question now is: <b>how do we include the saturation effect in the resulting moth shift vector?</b></p><br/> | ||

+ | |||

+ | <p>With this in mind and focusing on the implementation process, our approach consists on the following:</p><br/> | ||

+ | |||

+ | <p>The <span class="purple-bold">gradient vector</span> instead of experiencing a change in its <b>magnitude</b>, this will be always the <b>unit</b> and its <b>direction</b> that of the <span class="purple-bold">greatest rate of increase</span> of the pheromone concentration. A <span class="green-bold">random direction vector</span> with constant module will not be literally considered, but a <span class="green-bold">random turning angle</span> starting from the gradient vector direction.</p></br/> | ||

+ | |||

+ | <p>Attending to the previous question <i>how do we include the saturation effect in the resulting moth shift vector?</i>, here the answer: <b>the dependence on the</b> <span class="red-bold">moth saturation level</span> (interrelated with the pheromone concentration in the field) <b>will state in the random turning angle</b>.</p><br/> | ||

+ | |||

+ | </html> | ||

+ | [[File:Moth_vector.png|600px|center|Approximation of the male moths behaviour.]] | ||

+ | <html> | ||

+ | <div align="center"><p style="text-align: justify; font-style: italic; font-size: 0.9em; width: 700px;"><span class="black-bold">Table 1</span>. Approximation of the male moths behaviour.</p></div> | ||

+ | |||

+ | <p>This random turning angle will not follow a uniform distribution, but a Poisson distribution in which the <b>mean is zero </b>(no angle detour from the gradient vector direction) and the <b>standard-deviation</b> will be <b>inversely proportional to the intensity of the gradient of sex pheromone concentration in the field</b>. This approach will drive to a ‘sexual confusion’ of the insect as the field homogeneity increases, since the moth in its direction of displacement will fit the gradient direction with certain probabilities which depend on how saturated they are.</p><br/> | ||

+ | |||

+ | <h3>References:</h3> | ||

+ | <ol style="position: relative; left: 4%; width: 90%;"> | ||

+ | <li>Yoshitoshi Hirooka and Masana Suwanai. Role of Insect Sex Pheromone in Mating Behavior I. Theoretical Consideration on Release and Diffusion of Sex Pheromone in the Air. </li> | ||

+ | <li>W. L. Roelofs and R. T. Carde. Responses of Lepidoptera to Synthetic Sex Pheromone Chemicals and their Analogues. </li> | ||

+ | </ol> | ||

+ | <p></p><br/> | ||

+ | |||

+ | </div> | ||

+ | |||

+ | <div id="tab4" class="tab"> | ||

+ | <br/> | ||

+ | <p>Using a modeling environment called Netlogo, we try to simulate the approximate moth population behavior when pheromone diffusion processes are given.</p><br/> | ||

+ | <p> <a href="http://ccl.northwestern.edu/netlogo/">Netlogo</a> simulator can be find in its website at Northwestern University.</p> | ||

+ | <p> To download the source file of our <span class="red-bold">Sexyplant</span> simlation in Netlogo click here: | ||

+ | <a href="http://2014.igem.org/Team:Valencia_UPV/Modeling/sexyplants.nlogo" download>sexyplants.nlogo</a> | ||

+ | <br/> | ||

+ | <h3>SETUP:</h3> | ||

+ | <ul style="list-style: disc; position: relative; left: 4%; width: 96%;"> | ||

+ | <li>We consider three <span class="black-bold">agents</span>: <span class="marron-bold">male</span> and <span class="fucsia-bold">female</span> moths, and <span class="red-bold">sexyplants</span>.</li> | ||

+ | <li>We have two kind of sexual pheromone emission sources: <span class="fucsia-bold">female</span> moths and <span class="red-bold">sexyplants</span>. </li> | ||

+ | <li>Our scenario is an opened crop field where <span class="red-bold">sexyplants</span> are intercropped and moths fly following different patterns depending on its sex.</li> | ||

+ | </ul> | ||

+ | <p><span class="fucsia-bold">Females</span>, apart from emitting sexual pheromones, they move with erratic random flight paths. After mating, females are 2 hours in which they are not emitting pheromone.</p> | ||

+ | |||

+ | <p><span class="marron-bold">Males</span> also move randomly while they are under its detection threshold. But when they detect a certain pheromone concentration, they start to follow the pheromone concentration gradients until its saturation threshold is reached. </p> | ||

+ | |||

+ | <p> <span class="red-bold">sexyplants</span> act as continuously- emitting sources and their activity is regulated by a <span class="black-bold">Switch</span>.</p><br/> | ||

+ | |||

+ | <p> On the side of <span class="black-bold">pheromone diffusion</span> process, it is simulated in Netlogo by implementing the <span class="black-bold">Euler explicit</span> method. </p><br/> | ||

+ | </html> | ||

+ | [[File:Upv_simu1.png|600px|center|Figure 1. NETLOGO Simulation environment.]] | ||

+ | <html> | ||

+ | <div align="center"><p style="text-align: justify; font-style: italic; font-size: 0.9em; width: 700px;"><span class="black-bold">Figure 1</span>. NETLOGO Simulation environment.</p></div> | ||

+ | |||

+ | <h3>GO!</h3> | ||

+ | <p>When <span class="red-bold">sexyplants</span> are switched-off, <span class="marron-bold">males</span> move randomly until they detect pheromone traces from <span class="fucsia-bold">females</span>, in that case they follow them. </p> | ||

+ | <p>When <span class="red-bold">sexyplants</span> are switched-on, the pheromone starts to diffuse from them, rising up the concentration levels in the field. At first, the <span class="red-bold">sexyplants</span> have an effect of pheromone traps on the <span class="marron-bold">male</span> moths.</p><br/> | ||

+ | |||

+ | |||

+ | </html> | ||

+ | [[File:VUPV_Polillas.png|600px|center|Figure 2. On the left: sexyplants are switched-off and a male moth follows the pheromone trace from a female. On the right: sexyplants are switched on and a male moth go towards the static source like it happens with synthetic pheromone traps.]] | ||

+ | <html> | ||

+ | <div align="center"><p style="text-align: justify; font-style: italic; font-size: 0.9em; width: 700px;"><span class="black-bold">Figure 2</span>. On the left: sexyplants are switched-off and a male moth follows the pheromone trace from a female. On the right: sexyplants are switched on and a male moth go towards the static source like it happens with synthetic pheromone traps.</p></div> | ||

+ | |||

+ | <p>As the concentration rises in the field, it becomes more homogeneous. Remember that the <span class="green-bold">random turning angle</span> of the insect follows a Poisson distribution, in which the standard-deviation is inversely proportional to the intensity of the <span class="purple-bold">gradient</span>. Thus, the probability of the insect to take a <span class="black-bold">bigger</span> detour from the faced gradient vector direction is higher. This means that it is <span class="black-bold">less able</span> to follow pheromone concentration gradients, so <span class="black-bold">‘sexual confusion’ is induced</span>.</p> | ||

+ | |||

+ | </html> | ||

+ | [[File:Upv_simu3.png|450px|center|Figure 3. NETLOGO Simulation of the field: sexyplants, female moths, pheromone diffusion and male moths.]] | ||

+ | <html> | ||

+ | <div align="center"><p style="text-align: justify; font-style: italic; font-size: 0.9em; width: 700px;"><span class="black-bold">Figure 3</span>. NETLOGO Simulation of the field: sexyplants, female moths, pheromone diffusion and male moths.</p></div> | ||

+ | |||

+ | <h3> Parameters</h3> | ||

+ | <p> | ||

+ | The parameters of this model are not as well-characterized as we expected at first. Finding the accurate values of these parameters is not a trivial task, in the literature it is difficult to find a number experimentally obtained.</p> | ||

+ | <p>So we decided to take an <span class="black-bold">inverse engineering approach</span>. Doing a model parameters swept, we simulate many possible scenarios, and then we come up with values of parameters corresponding to our desired one: insects get confused. This will be useful to know the limitations of our system and to help to decide the final distribution of our plants in the crop field. </p> <br/> | ||

+ | |||

+ | <dl> | ||

+ | <dt>Diffusion coefficient</dt> | ||

+ | <dd>Range of search: 0.01-0.2 cm^2/s <br/> | ||

+ | References: [1], [2], [3], [5]</dd> | ||

+ | <dt>Release rate (female)</dt> | ||

+ | <dd>Range of search: 0.02-1 µg/h <br/> | ||

+ | References: [4], [5]</dd> | ||

+ | <dt>Release rate (sexyplant)</dt> | ||

+ | <dd>The range of search that we have considered is a little wider than the one for the release rate of females. <br/> | ||

+ | References: It generally has been found that pheromone dispensers releasing the | ||

+ | chemicals above a certain emission rate will catch fewer males. The optimum release | ||

+ | rate or dispenser load for trap catch varies greatly among species [4]. This certain emission rate above which male start to get confused could be the release rate from females.</dd> | ||

+ | <dt>Detection threshold</dt> | ||

+ | <dd>Range of search: 0.001-1 [Mass]/[Distante]^2</dd><br/> | ||

+ | <dt>Saturation threshold </dt> | ||

+ | <dd>Range of search: 1-5[Mass]/[ Distante]^2</dd><br/> | ||

+ | <dt>Moth sensitivity</dt> | ||

+ | <dd>This is a parameter referred to the capability of the insect to detect changes in pheromone concentration in the patch it is located and the neighbor patch. When the field becomes more homogeneous, an insect with higher sensitivity will be more able to follow the gradients.<br/> | ||

+ | Range: 0-0.0009 <br/> | ||

+ | (The maximum level of moth sensitivity has to be less than the minimum level of release rate of females, since this parameter is obtained from the difference)</dd> | ||

+ | <dt>Wind force</dt> | ||

+ | <dd>Range: -0.1 – 0.1 cm/sec <br/> | ||

+ | References: [7] (700cm/sec!!!)</dd> | ||

+ | <dt>Population</dt> | ||

+ | <dd>The number of males and females can be selected by the observer.</dd> | ||

+ | </dl> | ||

+ | |||

+ | <br/> | ||

+ | <br/> | ||

+ | <h3>Ticks (time step) !!!</h3> | ||

+ | <p>We’ll consider the equivalence 20 ticks= 1 hour. That is 1 tick = 3 minutes.</p> | ||

+ | <br/> | ||

+ | <h3>Patches !!!</h3> | ||

+ | <p>The approximate velocity of a male moth flying towards the female in natural environment is 0.3 m/sec [6]. Each moth moves 1 patch per tick, so if 1 tick is equal to 3 minutes (180 sec), the patch is 54 meter long to get that velocity.</p> | ||

+ | <p>One can modify the number of patches that conform the field so as to analyze its own case. </p> | ||

+ | |||

+ | <br/> | ||

+ | |||

+ | |||

+ | <h3>References:</h3> | ||

+ | <ol style="position: relative; left: 4%; width: 90%;"> | ||

+ | <li>Wilson et al.1969, Hirooka and Suwanai, 1976.</li> | ||

+ | <li>Monchich abd Mauson, 1961, Lugs, 1968.</li> | ||

+ | <li>G. A. Lugg. Diffusion Coefficients of Some Organic and Other Vapors in Air.</li> | ||

+ | <li>W. L. Roelofs and R. T. Carde. Responses of Lepidoptera to Synthetic Sex Pheromone Chemicals and their Analogues, Page 386. </li> | ||

+ | <li>R.W. Mankiny, K.W. Vick, M.S. Mayer, J.A. Coeffelt and P.S. Callahan (1980) Models For Dispersal Of Vapors in Open and Confined Spaces: Applications to Sex Pheromone Trapping in a Warehouse, Page 932, 940.</li> | ||

+ | <li> Tal Hadad, Ally Harari, Alex Liberzon, Roi Gurka (2013) On the correlation of moth flight to characteristics of a turbulent plume. </li> | ||

+ | <li> Average Weather For Valencia, Manises, Costa del Azahar, Spain. </li> | ||

+ | </ol> | ||

+ | <br/><br/> | ||

+ | </div> | ||

+ | |||

+ | |||

+ | <div id="tab5" class="tab"> | ||

+ | <br/> | ||

+ | |||

+ | <p> | ||

+ | The aim consists of reducing the possibility of meeting among moths of opposite sex. Thus, we will analyze the number of meetings in the three following cases: | ||

+ | </p> | ||

+ | |||

+ | <ol style="position: relative; left: 4%; width: 90%;"> | ||

+ | <li>When sexyplants are switched-off and males only interact with females.</li> | ||

+ | <li>When sexyplants are switched-on and have an effect of trapping males.</li> | ||

+ | <li>When sexyplants are swiched-on and males get confused when the concentration of pheromone level is higher than their saturation threshold.</li> | ||

+ | </ol> | ||

+ | |||

+ | <p> | ||

+ | It is also interesting to analyze a fourth case, what does it happen if females wouldn’t emit pheromones and males just move randomly through the field? :</p> | ||

+ | <ol start="4" style="position: relative; left: 4%; width: 90%;"> | ||

+ | <li>Males and females move randomly. How much would our results differ from the rest of cases? </li> | ||

+ | </ol> | ||

+ | |||

+ | <p> | ||

+ | What is important is that between the first and the third case, the number of meetings should be less in the latter than in the former. Then we are closer to our objective fulfillment. | ||

+ | </p><br/> | ||

+ | </div> | ||

+ | </div> | ||

+ | <br/><br/><br/> | ||

+ | <a class="button-content" id="goto-left" align="center" href="http://2014.igem.org/Team:Valencia_UPV/Modeling/overview"><strong>Go to Modeling Overview</strong></a> | ||

+ | <a class="button-content" id="goto-right" align="center" href="http://2014.igem.org/Team:Valencia_UPV/Modeling/fba"><strong>Go to Pheromone Production</strong></a></br></br></br> | ||

+ | |||

+ | </div> | ||

+ | </br></br></div> | ||

+ | <div id="space-margin"></div> | ||

+ | |||

+ | <script> | ||

+ | jQuery(document).ready(function() { | ||

+ | jQuery('.tabs .tab-links a').on('click', function(e) { | ||

+ | var currentAttrValue = jQuery(this).attr('href'); | ||

+ | |||

+ | // Show/Hide Tabs | ||

+ | jQuery('.tabs ' + currentAttrValue).siblings().slideUp(400); | ||

+ | jQuery('.tabs ' + currentAttrValue).delay(400).slideDown(400); | ||

+ | |||

+ | // Change/remove current tab to active | ||

+ | jQuery(this).parent('li').addClass('active').siblings().removeClass('active'); | ||

+ | |||

+ | e.preventDefault(); | ||

+ | }); | ||

+ | }); | ||

+ | </script> | ||

+ | |||

+ | |||

+ | </html> | ||

{{:Team:Valencia_UPV/footer_img}} | {{:Team:Valencia_UPV/footer_img}} |

## Revision as of 18:51, 16 October 2014

### Modeling > Pheromone Diffusion

and

Sexually communication among moths is accomplished chemically by the release of an "odor" into the air. This "odor" is the sexual pheromones.

Figure 1. Female moth releasing sex pheromones and male moth.

Pheromones are molecules that can undergo a diffusion process in which the random movement of gas molecules transport the chemical away from its source (Sol I. Rubinow, Mathematical Problems in the Biological Sciences, Lecture 9). However, diffusion processes are complex, and modelling them analytically and with accuracy is difficult, even more when the geometry is not simple.

For this reason, we decided to consider a simplified model in which pheromone chemicals obey to the heat diffusion equation. Then, it is solved by the Euler numeric approximation in order to obtain the spatial and temporal distribution of pheromone concentration. See more about heat equation and mathematical expressions for Euler method.

Moths seem to respond to gradients of pheromone concentration attracted towards the source, although there are other factors that lead moths sexually to pheromone sources such as optomotor anemotaxis (J. N. Perry and C. Wall , A Mathematical Model for the Flight of Pea Moth to Pheromone Traps Through a Crop). However, increasing the pheromone concentration to unnaturally high levels may disrupt male orientation (W. L. Roelofs and R. T. Carde, Responses of Lepidoptera to synthetic sex pheromone chemicals and their analogues). See more about the modeling of moth flight paths.

Using a modeling environment called Netlogo, we simulate the approximate moths behavior during the pheromone dispersion process. So, this will help us to predict moth response when they are also in presence of our synthetic plants.

Since pheromones are chemicals released into the air, we have to consider both the motion of the fluid and the one of the particles suspended in the fluid.

The motion of fluids can be described by the Navier–Stokes equations. But the frequent nonlinearity of these equations makes most problems difficult or impossible to solve, since it may exists turbulences in the air flow [1]. Now attending to the particles suspended in the fluid, an option for pheromone dispersion modeling consists in the assumption of pheromones diffusive-like behavior. That is: pheromones are molecules that can undergo a diffusion process in which the random movement of gas molecules transport the chemical away from its source [2].

There are two ways to introduce the notion of diffusion: either a phenomenological approach starting with Fick's laws of diffusion and their mathematical consequences, or a physical and atomistic one, by considering the random walk of the diffusing particles.

In our case, we decided to hold our diffusion process by the Fick's laws. So it is postulated that the flux goes from regions of high concentration to regions of low concentration, with a magnitude that is proportional to the concentration gradient. However, diffusion processes are complex, and modelling them analytically and with accuracy is difficult, even more when the geometry is not simple (final distribution of our plants in the crop field). For this reason, we decided to consider a simplified model in which pheromone chemicals obey to the heat diffusion equation.

### Approximation

The **diffusion equation** is a partial differential equation which describes density dynamics
in a material undergoing diffusion. It is also used to describe processes exhibiting
diffusive-like behavior, like in our case.

The equation is usually written as:

$$\frac{\partial \phi (r,t) }{\partial t} = \nabla · [D(\phi,r) \nabla \phi(r,t)]$$

where $\phi(r, t)$ is the density of the diffusing material at location r and time t and $D(\phi, r)$ is the collective diffusion coefficient for density $\phi$ at location $r$; and $\nabla$ represents the vector differential operator.

If the diffusion coefficient does not depend on the density then the equation is linear and $D$ is constant. Thus, the equation reduces to the following linear differential equation: $$\frac{\partial \phi (r,t) }{\partial t} = D \nabla^2 \phi(r,t)$$

also called the **heat equation**.

Making use of this equation we can write pheromones chemicals diffusion equation with no wind effect consideration as:

$$\frac{\partial c }{\partial t} = D \nabla^2 C = D \Delta c$$

where c is the pheromone concentration, $\Delta$ is the Laplacian operator, and $D$ is
the pheromone diffusion constant in air.

If we consider the wind, we face a diffusion system with drift and an advection term is added to the equation above.

$$\frac{\partial c }{\partial t} = D \nabla^2 c - \nabla \cdot (\vec{v} c )$$

where $\vec{v}$ is the average *velocity* that the quantity is moving. Thus, $\vec{v}$
would be the velocity of the air flow.

For simplicity, we are not going to consider the third dimension. In $2D$ the equation would be:

$$\frac{\partial c }{\partial t} = D \left(\frac{\partial^2 c }{\partial^2 x} + \frac{\partial^2 c }{\partial^2 y}\right) – \left(v_{x} \cdot \frac{\partial c }{\partial x} + v_{y} \cdot \frac{\partial c }{\partial y} \right) = D \left( c_{xx} + c_{yy}\right) - \left(v_{x} \cdot c_{x} + v_{y} \cdot c_{y}\right) $$

For determining a numeric solution for this partial differential equation are used the so-called finite difference methods. The technic consists in approximating differential ratios as $h$ is closer to zero, so they are useful to approximate differential equations.

With finite difference methods, partial differential equations are replaced by
its approximations in finite differences, resulting in an algebraic equations
system. The algebraic equations system is solved in each node
$(x_i,y_j,t_k)$. These discrete values describe the temporal and spatial
distribution of the unknown function.

Although implicit methods are unconditionally stable so time steps could be larger and make the calculus process faster, the tool we have used to solve our heat equation is the Euler explicit method.

Euler explicit method is the simplest option to approximate spatial derivatives, in which all
values are assumed at the beginning of Time.

The equation gives the new value of the pheromone level in terms of initial values in that node and its immediate neighbors. Since all these values are known the process is called explicit.

$$c(t_{k+1}) = c(t_k) + dt \cdot c'(t_k),$$

Now applying this method for the first case (with no wind consideration) we followed the next steps.

1. Split time $t$ into $n$ slices of equal length *dt*:
$$ \left\{ \begin{array}{c} t_0 &=& 0 \\ t_k &=& k \cdot dt \\ t_n &=& t
\end{array} \right. $$

2. Considering the backward difference for the Euler explicit method implies that the expression that refers to the current pheromone level each time step is:

$$c (x, y, t) \approx c (x, y, t - dt ) + dt \cdot c'(x, y, t)$$

3. And now considering the spatial dimension, it is applied central differences to the Laplace operator $\Delta$, and the backward differences to the vector differential operator $\nabla$ ( in 2D and assuming equal steps in x and y directions):

$$c (x, y, t) \approx c (x, y, t - dt ) + dt \left( D \cdot \nabla^2 c (x, y, t) - \nabla \vec{v} c (x, y, t) \right)$$ $$ D \cdot \nabla^2 c (x, y, t) = D \left( c_{xx} + c_{yy}\right) = D \frac{c_{i,j-1} + c_{i,j+1} + c_{i-1,j } + c_{i+1,j} – 4 c_{I,j}}{s} $$ $$ \nabla \vec{v} c (x, y, t) = v_{x} \cdot c_{x} + v_{y} \cdot c_{y} = v_{x} \frac{c_{i,j} – c_{i-1,j}}{h} + v_{y} \frac{c_{i,j} – c_{i,j-1}}{h} $$

With respect to the boundary conditions, they are null since we are considering an opened-space. Attending to the implementation and simulation of this method, *dt* must be small enough to avoid instability.

### The Idea

When one stares at moths, they apparently move with erratic flight paths. It is possibly because of predator avoiding reasons.

In this frame, sex pheromones influence in moth behavior is also considered. Since these are pheromones released by females in order to attract an individual of the opposite sex, it makes sense that males respond to gradients of sex pheromone concentration, being attracted towards the source. As soon as a flying male randomly comes into conical pheromone-effective sphere of sex pheromone released by a virgin female, the male begins to seek the females in a zigzag way, approaches to the females and finally copulates with her [1].

### Approximation

In this project we approximate the resulting moth movement as a vectorial combination of a gradient vector and a random vector. The magnitude of the gradient vector comes from the change in pheromone concentration level among points separated by a differential stretch in space. More precisely, the gradient points in the direction of the **greatest rate of increase** of the function and its magnitude is the slope of the graph in that direction. The random vector is restricted in this ‘moth response’ model by a fixed angle, assuming that the turning movement is relatively continuous and for example the moth can’t turn 180 relative degrees at the next instant.

Since the objective of this project consists in avoiding pest damage by reaching the mating disrupting among moths, our synthetic plants are supposed to release enough sexual pheromone so as to saturate moth perception. In this sense the resulting moth vector movement will depend ultimately on the pheromone concentration levels in the field and the moth ability to follow better or worse the gradient of sex pheromone concentration.

At this point, let’s highlight the three main aspects we consider for the characterization of males moth behavior:

Table 1. Male moths behaviour characterization.

In this context, this ensemble of behaviors could be translated in a sum of vectors in which the random vector has a constant module and changeable direction inside a range, whereas the gradient vector module is a function of the gradient in the field. The question now is: **how do we include the saturation effect in the resulting moth shift vector?**

With this in mind and focusing on the implementation process, our approach consists on the following:

The gradient vector instead of experiencing a change in its **magnitude**, this will be always the **unit** and its **direction** that of the greatest rate of increase of the pheromone concentration. A random direction vector with constant module will not be literally considered, but a random turning angle starting from the gradient vector direction.

Attending to the previous question *how do we include the saturation effect in the resulting moth shift vector?*, here the answer: **the dependence on the** moth saturation level (interrelated with the pheromone concentration in the field) **will state in the random turning angle**.

Table 1. Approximation of the male moths behaviour.

This random turning angle will not follow a uniform distribution, but a Poisson distribution in which the **mean is zero **(no angle detour from the gradient vector direction) and the **standard-deviation** will be **inversely proportional to the intensity of the gradient of sex pheromone concentration in the field**. This approach will drive to a ‘sexual confusion’ of the insect as the field homogeneity increases, since the moth in its direction of displacement will fit the gradient direction with certain probabilities which depend on how saturated they are.

### References:

- Yoshitoshi Hirooka and Masana Suwanai. Role of Insect Sex Pheromone in Mating Behavior I. Theoretical Consideration on Release and Diffusion of Sex Pheromone in the Air.
- W. L. Roelofs and R. T. Carde. Responses of Lepidoptera to Synthetic Sex Pheromone Chemicals and their Analogues.

Using a modeling environment called Netlogo, we try to simulate the approximate moth population behavior when pheromone diffusion processes are given.

Netlogo simulator can be find in its website at Northwestern University.

To download the source file of our Sexyplant simlation in Netlogo click here:
sexyplants.nlogo

### SETUP:

- We consider three agents: male and female moths, and sexyplants.
- We have two kind of sexual pheromone emission sources: female moths and sexyplants.
- Our scenario is an opened crop field where sexyplants are intercropped and moths fly following different patterns depending on its sex.

Females, apart from emitting sexual pheromones, they move with erratic random flight paths. After mating, females are 2 hours in which they are not emitting pheromone.

Males also move randomly while they are under its detection threshold. But when they detect a certain pheromone concentration, they start to follow the pheromone concentration gradients until its saturation threshold is reached.

sexyplants act as continuously- emitting sources and their activity is regulated by a Switch.

On the side of pheromone diffusion process, it is simulated in Netlogo by implementing the Euler explicit method.

Figure 1. NETLOGO Simulation environment.

### GO!

When sexyplants are switched-off, males move randomly until they detect pheromone traces from females, in that case they follow them.

When sexyplants are switched-on, the pheromone starts to diffuse from them, rising up the concentration levels in the field. At first, the sexyplants have an effect of pheromone traps on the male moths.

Figure 2. On the left: sexyplants are switched-off and a male moth follows the pheromone trace from a female. On the right: sexyplants are switched on and a male moth go towards the static source like it happens with synthetic pheromone traps.

As the concentration rises in the field, it becomes more homogeneous. Remember that the random turning angle of the insect follows a Poisson distribution, in which the standard-deviation is inversely proportional to the intensity of the gradient. Thus, the probability of the insect to take a bigger detour from the faced gradient vector direction is higher. This means that it is less able to follow pheromone concentration gradients, so ‘sexual confusion’ is induced.

Figure 3. NETLOGO Simulation of the field: sexyplants, female moths, pheromone diffusion and male moths.

### Parameters

The parameters of this model are not as well-characterized as we expected at first. Finding the accurate values of these parameters is not a trivial task, in the literature it is difficult to find a number experimentally obtained.

So we decided to take an inverse engineering approach. Doing a model parameters swept, we simulate many possible scenarios, and then we come up with values of parameters corresponding to our desired one: insects get confused. This will be useful to know the limitations of our system and to help to decide the final distribution of our plants in the crop field.

- Diffusion coefficient
- Range of search: 0.01-0.2 cm^2/s

References: [1], [2], [3], [5] - Release rate (female)
- Range of search: 0.02-1 µg/h

References: [4], [5] - Release rate (sexyplant)
- The range of search that we have considered is a little wider than the one for the release rate of females.

References: It generally has been found that pheromone dispensers releasing the chemicals above a certain emission rate will catch fewer males. The optimum release rate or dispenser load for trap catch varies greatly among species [4]. This certain emission rate above which male start to get confused could be the release rate from females. - Detection threshold
- Range of search: 0.001-1 [Mass]/[Distante]^2
- Saturation threshold
- Range of search: 1-5[Mass]/[ Distante]^2
- Moth sensitivity
- This is a parameter referred to the capability of the insect to detect changes in pheromone concentration in the patch it is located and the neighbor patch. When the field becomes more homogeneous, an insect with higher sensitivity will be more able to follow the gradients.

Range: 0-0.0009

(The maximum level of moth sensitivity has to be less than the minimum level of release rate of females, since this parameter is obtained from the difference) - Wind force
- Range: -0.1 – 0.1 cm/sec

References: [7] (700cm/sec!!!) - Population
- The number of males and females can be selected by the observer.

### Ticks (time step) !!!

We’ll consider the equivalence 20 ticks= 1 hour. That is 1 tick = 3 minutes.

### Patches !!!

The approximate velocity of a male moth flying towards the female in natural environment is 0.3 m/sec [6]. Each moth moves 1 patch per tick, so if 1 tick is equal to 3 minutes (180 sec), the patch is 54 meter long to get that velocity.

One can modify the number of patches that conform the field so as to analyze its own case.

### References:

- Wilson et al.1969, Hirooka and Suwanai, 1976.
- Monchich abd Mauson, 1961, Lugs, 1968.
- G. A. Lugg. Diffusion Coefficients of Some Organic and Other Vapors in Air.
- W. L. Roelofs and R. T. Carde. Responses of Lepidoptera to Synthetic Sex Pheromone Chemicals and their Analogues, Page 386.
- R.W. Mankiny, K.W. Vick, M.S. Mayer, J.A. Coeffelt and P.S. Callahan (1980) Models For Dispersal Of Vapors in Open and Confined Spaces: Applications to Sex Pheromone Trapping in a Warehouse, Page 932, 940.
- Tal Hadad, Ally Harari, Alex Liberzon, Roi Gurka (2013) On the correlation of moth flight to characteristics of a turbulent plume.
- Average Weather For Valencia, Manises, Costa del Azahar, Spain.

The aim consists of reducing the possibility of meeting among moths of opposite sex. Thus, we will analyze the number of meetings in the three following cases:

- When sexyplants are switched-off and males only interact with females.
- When sexyplants are switched-on and have an effect of trapping males.
- When sexyplants are swiched-on and males get confused when the concentration of pheromone level is higher than their saturation threshold.

It is also interesting to analyze a fourth case, what does it happen if females wouldn’t emit pheromones and males just move randomly through the field? :

- Males and females move randomly. How much would our results differ from the rest of cases?

What is important is that between the first and the third case, the number of meetings should be less in the latter than in the former. Then we are closer to our objective fulfillment.

**Go to Modeling Overview**

**Go to Pheromone Production**