Difference between revisions of "Team:Uppsala/Model"

Line 65: Line 65:
  
  
                    <h1>Anthelmintic Resistance Model</h1>
+
        <h1>Anthelmintic Resistance Model</h1>
                     <p>Design</p>
+
                     <h1>Design</h1>
 
                     <br> <!-- Here is a line break -->
 
                     <br> <!-- Here is a line break -->
 
                     <p> Due to excessive use of anthelmintics against various parasites in cattle, the resistance to anthelmintics in nematodes has grown and has become more extensive than the current situation in horses.[1] In the early stages of our project we knew that the current problems brought by small strongyles were not yet as extensive in Sweden.[2] Therefore we made a model of the growth of nematodes in horses and on pastures, to see the difference between regular use and an optimized use of anthelmintics. The mean usage of anthelmintics in sweden is 3.2 times per year, and there is no common time to use the anthelmintics.[3] However, the treatment occurence that was later used in the model, was information that was retrieved from our own conducted market analysis, which states that the most prevalent use of anthelmintics is two time per year. The optimized use would be to only use anthelmintics when it’s needed, e. g. when the amount of parasites in the horse exceeds a threshold. Some of the variables that the model takes in to account is the usage of anthelmintics and the amount of horses, the temperature dependence of the parasite egg to develop into a larva and the amount of horses on a pasture to receive the results. <br></br>
 
                     <p> Due to excessive use of anthelmintics against various parasites in cattle, the resistance to anthelmintics in nematodes has grown and has become more extensive than the current situation in horses.[1] In the early stages of our project we knew that the current problems brought by small strongyles were not yet as extensive in Sweden.[2] Therefore we made a model of the growth of nematodes in horses and on pastures, to see the difference between regular use and an optimized use of anthelmintics. The mean usage of anthelmintics in sweden is 3.2 times per year, and there is no common time to use the anthelmintics.[3] However, the treatment occurence that was later used in the model, was information that was retrieved from our own conducted market analysis, which states that the most prevalent use of anthelmintics is two time per year. The optimized use would be to only use anthelmintics when it’s needed, e. g. when the amount of parasites in the horse exceeds a threshold. Some of the variables that the model takes in to account is the usage of anthelmintics and the amount of horses, the temperature dependence of the parasite egg to develop into a larva and the amount of horses on a pasture to receive the results. <br></br>
Line 73: Line 73:
 
              
 
              
 
                 With this model we intend to improve our worm buster project since it would prevent anthelmintics overuse by determining the optimal amount of treatments. This would be complementary to the worm buster, which helps avoid wrong dosage of anthelmintics while treating the horse, in combination both tools help to decrease the overuse of anthelmintics and thus prevent resistance development.<br></br>
 
                 With this model we intend to improve our worm buster project since it would prevent anthelmintics overuse by determining the optimal amount of treatments. This would be complementary to the worm buster, which helps avoid wrong dosage of anthelmintics while treating the horse, in combination both tools help to decrease the overuse of anthelmintics and thus prevent resistance development.<br></br>
 +
        </p>
  
 
         <h1>Design</h1><br></br>
 
         <h1>Design</h1><br></br>
            The model is built upon an ordinary differential equation (equation 1). Matlab is used for the calculation of the model, where Matlab's inbuilt function ode45 is used. The programs that were made and used for the calculations can be found here. At each step of the calculation, the program is looking at given temperature data for a year and other variables that will differ depending on the environment. These variables are described in table 1. Two extreme situations were analyzed, one where a horse has a parasite count that hits the threshold of maximum amount (100 000) of parasites and the second where the horse doesn’t have any parasites (although this is a very unlikely scenario).[5]<br></br>
+
          <p> The model is built upon an ordinary differential equation (equation 1). Matlab is used for the calculation of the model, where Matlab's inbuilt function ode45 is used. The programs that were made and used for the calculations can be found here. At each step of the calculation, the program is looking at given temperature data for a year and other variables that will differ depending on the environment. These variables are described in table 1. Two extreme situations were analyzed, one where a horse has a parasite count that hits the threshold of maximum amount (100 000) of parasites and the second where the horse doesn’t have any parasites (although this is a very unlikely scenario).[5]<br></br>
 +
</p>
  
 
<!--  HERE STARTS CODE FOR A TABLE -->
 
<!--  HERE STARTS CODE FOR A TABLE -->
Line 144: Line 146:
 
<!---END OF TABLE--->
 
<!---END OF TABLE--->
  
<p>
+
<p>Because the development of eggs to larvae are temperature dependent, an linear equation for calculating the probability of an egg to develop into a larva was created. The equation is based on information about how long it takes for an egg to develop into an larva.[6] This equation was created by first dividing all the given temperatures by the highest temperature. A linear regression was made with these values and the temperature. The probability of an egg to develop into a larva in the earlier mentioned study was at 0.0275. If this value is assumed to be the mean probability, then it’s 20 times smaller than the mean probability in this trend line that was received. Therefore the constants in the equation was divided with 20 to match it. The temperature data was used was from the Uppsala Aut weather station measurement of mean temperatur during 2017. [7]</p><br></br>
Because the development of eggs to larvae are temperature dependent, an linear equation for calculating the probability of an egg to develop into a larva was created. The equation is based on information about how long it takes for an egg to develop into an larva.[6] This equation was created by first dividing all the given temperatures by the highest temperature. A linear regression was made with these values and the temperature. The probability of an egg to develop into a larva in the earlier mentioned study was at 0.0275. If this value is assumed to be the mean probability, then it’s 20 times smaller than the mean probability in this trend line that was received. Therefore the constants in the equation was divided with 20 to match it. The temperature data was used was from the Uppsala Aut weather station measurement of mean temperatur during 2017. [7]
+
  
 +
<p>&beta; is the amount of square meters grass a horse eats per day, a horse eats approximately five times more than a sheep. [8][9] Beta decreases if the amount of parasites in the gastrointestinal area of the horse exceeds an amount that is non-detrimental to the horses health. The model takes into account a 70% decrease in food intake.[4] However, the only information about when a horse should be treated with anthelmintics is based on the egg count in horse feces and not on the amount of parasites in the horse. Therefore an arbitrary threshold was set to 100 000.</p><br></br>
 +
 +
<p>The constants µ, mortality rate of adult parasites, &lambda;, mean rate at which an adult worm produced eggs and d, the probability of an larva to develop into a adult worm, were the same as in the model that served as inspiration for this one.[4]</p><br></br>
  
 
<br></br>
 
Beta is the amount of square meters grass a horse eats per day, a horse eats approximately five times more than a sheep. [8][9] Beta decreases if the amount of parasites in the gastrointestinal area of the horse exceeds an amount that is non-detrimental to the horses health. The model takes into account a 70% decrease in food intake.[4] However, the only information about when a horse should be treated with anthelmintics is based on the egg count in horse feces and not on the amount of parasites in the horse. Therefore an arbitrary threshold was set to 100 000.
 
<br></br>
 
The constants my, mortality rate of adult parasites, lambda, mean rate at which an adult worm produced eggs and d, the probability of an larva to develop into a adult worm, were the same as in the model that served as inspiration for this one.[4]
 
<br></br>
 
 
<h1>Results</h1>
 
<h1>Results</h1>
 
<br></br>
 
<br></br>
With the same starting conditions, and only varying when anthelmintics are used, four datasets were obtained. The four different data sets show how the density of parasites per hectare pasture and how the amount of parasites per horse varies for both the regular and the optimized use of anthelmintics. As mentioned in the method, two extreme points of starting values were used, which was when L_0, the density of worms per ha pasture, is 1000, and A_0 is either 10000 and 0. The results of the calculations are shown in the graphs.   
+
    <p>With the same starting conditions, and only varying when anthelmintics are used, four datasets were obtained. The four different data sets show how the density of parasites per hectare pasture and how the amount of parasites per horse varies for both the regular and the optimized use of anthelmintics. As mentioned in the method, two extreme points of starting values were used, which was when L<subscript>0</subscript>, the density of worms per ha pasture, is 1000, and A<subscript>0</subscript> is either 10000 and 0. The results of the calculations are shown in the graphs.</p>  
 
<br></br>
 
<br></br>
 
<br></br>
 
<br></br>
Line 224: Line 222:
 
     <p>[11]  The R graphs gallery (n.d.). #5 CORRELATION OF DISCRETE VARIABLES, http://www.r-graph-gallery.com/5-correlation-of-discrete-variables/ [2018-10-14] </p>
 
     <p>[11]  The R graphs gallery (n.d.). #5 CORRELATION OF DISCRETE VARIABLES, http://www.r-graph-gallery.com/5-correlation-of-discrete-variables/ [2018-10-14] </p>
 
                 </div>
 
                 </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
  

Revision as of 21:06, 14 October 2018





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

</html>