1. Homepage
  2. Coding
  3. MXB261 Modelling and Simulation Science - Assignment 2 - A Simulation Project - Modelling an Epidemic

MXB261 Modelling and Simulation Science - Assignment 2 - A Simulation Project - Modelling an Epidemic

Get in Touch with Our Experts
QUTMXB261Modelling and Simulation ScienceModelling an EpidemicLatin Hypercube SamplingMarkov ProcessMonte Carlo

MXB261 - Modelling and Simulation Science Assignment 2 - A Simulation Project Assignment Writing Service

NOTE: The group report and individual fortnightly reflections are elligible for the 48hr extension. The group presentation is not eligible for the 48hr extension
Assignment Writing Service

The theme of this project is the effect of parameter values on the behaviour of a viral epidemic a mathematical model, in both a temporal and spatial setting. Assignment Writing Service

This is a Group Project with 3-4 students per group and is worth 40% of your final grade. The groups have been set up on Canvas. There are four individual tasks available, it is recom- mended that each student choose a different task to focus on in discussion with your group. You are encouraged to help each other. If circumstances dictate that your group has only 3 students, then your group may omit Task 3. Note: Tasks 1, 2 and 4 are still to be completed. Assignment Writing Service

In this assignment, marks will be awarded for using github to store and collaborate on the project. The marks are for demonstrating a group effort on the code, for successfully committing (uploading) your code to github at least once and for successfully adding the markers (their github accounts can be found on Canvas). It is recommended that each group member set up a folder within the group repository and commit documents regarding their task into a folder called “Task X” for Task number X. Assignment Writing Service

Marking calculation Assignment Writing Service

The final mark for each student is made up of the score for their individual score (out of 20 marks), plus a group score (out of 8 marks), plus three reflection scores (out of 12 marks). Individual and group scores are awarded based on the Group Report and Group Presentation. Assignment Writing Service

The individual component includes marks for the individual contribution to the Group Presen- tation (5 of the 20 marks). In the Group Presentation, each student should present a maximum of 1 slide on their task results. In the Group Presentation there should also be 1 introduction slide and 1 discussion/conclusion slide (aim for less than 8 slides) and the group can decide who presents the information on those slides. The Group Presentations will run in Week 12 and Week 13 Practicals. The remaining 15 marks of the inidividual component will be awarded based on the individual’s code and analysis. These marks will be awarded based on the accuracy of the code, code commenting and also the use of github and committing. Assignment Writing Service

For the Group component, marks will be awarded based on the report as a whole (8 marks total). You should write the group report like you would a self contained document, attempting to link together the findings from each of the Tasks and including an Introduction and Discussion section. We strongly recommend that if there are any issues with group members not contributing to the group project, then email the unit coordinator (david.warne@qut.edu.au) prior to the final submission. Assignment Writing Service

Finally, the three reflection scores will be worth 4 marks each and will be submitted fortnightly through canvas. These scores will be made up of 1 mark for submitting a reflection with scores for your group members that match your reflection, and 3 marks for the average score awarded to you by your group members. For example, if there are four group members: Tim, Gab, Sarah and Harry and Tim is awarded 2/3 by Gab, 3/3 by Sarah and 3/3 by Harry for his contribution Assignment Writing Service

1 Assignment Writing Service

to the group project for that fornight, where Gab awarded him 2 because he wasn’t contributing of helping with the code, he would receive 2.67 as his score from his group members. Assignment Writing Service

More details on the marking breakdown are available on the last two pages. Assignment Writing Service

Report submission Assignment Writing Service

The group is to submit their Group Report in two ways. First, the markers must be added as collaborators to the github repository using their github accounts (see Canvas). In your github repository there should be all the Matlab m-files, movie files (.avi), and a pdf of the report. You do not need to submit the slides for their presentations. Assignment Writing Service

Secondly, one member of the group must submit the report as a pdf to Canvas. It is imperative to follow the submission instructions as failure to do so will result in marks being deducted. Assignment Writing Service

Oral Presentation Times Assignment Writing Service

The oral presentation of your work will occur in Weeks 12 or 13 during the practical times. As a group you must discuss which week and which practical slot you would most prefer to present in. Once your group has decided when you would like to present, one member must email the Unit Coordinator (david.warne@qut.edu.au) to lock-in that time. Assignment Writing Service

All groups must have set a presentation slot by Friday 6th October (end of Week 10) otherwise one will be assigned to your group. It is important that all group members agree on a presentation time because after Week 13 there will be no other times available for presentations. There will be no extensions to the Oral presentation timeslot. Assignment Writing Service

Modelling an Epidemic Assignment Writing Service

Epidemics are typically modelled mathematically using so-called compartmental models where a population of size P N (where N is the set of non-negative integers) is split into sub-populations called compartments that represent groupings of individuals by their state is respect to the given disease. In this project, you will explore the so called susceptible-exposed-infectious-removed (SEIR) epidemic model. Here individuals that are susceptible (S) to infection (i.e., they have no immunity to the disease) can become exposed (E) to infection via interaction with an infectious (I) individual. All exposed individuals eventually become infectious and eventually recover (R) with immunity (i.e., they can’t get infected again). A schematic of the valid transitions of an individual through these different states is given in Figure 1. Assignment Writing Service

Figure 1: Schematic of state transitions and rates for the SEIR epidemic model Assignment Writing Service

Compartmental models can be thought of in exactly the same way as a chemical reaction network, in this sense, the “reactions” are Assignment Writing Service

S+Iα E+I, Eβ I, Iρ R, (1) Assignment Writing Service

where S is the susceptible sub-population, E is the exposed sub-population, I is the infectious sub-population, and R is the recovered sub-population. Note that we assume there is no popu- lation growth during the epidemic so we have the conservation law P = S + E + I + R. The rate parameters are the transmission rate α > 0, the rate of symptom onset β > 0 (note: that 1is referred to as the incubation period), and the recovery rate ρ > 0. Assignment Writing Service

Please note that the units of the rate parameters should be carefully considered, in this context you should treat the total population P as the volume of the space for possible interactions (see week 8 Lecture notes on propensity functions). Assignment Writing Service

Task 1: Deterministic modelling of an epidemics Assignment Writing Service

In this task, you will derive a deterministic model of the SEIR system using and ODE, you will then analyse its steady state and perform some simulations using Euler’s method and ode45. Assignment Writing Service

  1. (a)  Relate the set of “reactions” in Equation (1) to a system of four ODEs describing the change in S(t), E(t), I(t) and R(t) over time t > 0 . Assignment Writing Service

  2. (b)  Perform an analysis of the equilibrium solutions of the ODE you derived in part (a). That is find the steady state solutions and analyse their stability (i.e., stable or unstable). Assignment Writing Service

  3. (c)  Derive the explicit Euler’s method of the SEIR ODE system you derived in part (a). Implement the scheme in MATLAB and simulate the system using parameter values α = 1/5, β = 1/14, and ρ = 1/10, initial conditions S(0) = 990, E(0) = 0, I(0) = 10 and R(0) = 0. The time span for the simulation is [0, T ] where T = 360 days, and the step size is h = 0.5 days. Plot the solution and compare with the relevant predicted equilibrium point you identified from part (b). Assignment Writing Service

    3 Assignment Writing Service

  1. (d)  Now let α = 10 and keep everything else the same as part (c). Simulate this system using Euler’s method plot against the result of MATLAB’s built in ode45. Compare the two solutions with some form of accuracy measure. Assignment Writing Service

  2. (e)  Now simulate your model (either using your Euler scheme or ode45) for a range of transmission rate parameters (keeping everything else the same as in part (c)), Assignment Writing Service

    α = 0.025, 0.05, 0.075, 0.1, 0.125, 0.15 . . . , 1.0. (2) Assignment Writing Service

    For each value of α record the value of S(T) (i.e., the number of individuals who never caught the disease after a year). Plot S(T) against α. Comment on the relationship between α and S(T). Assignment Writing Service

Task 2: Stochastic modelling of an epidemic Assignment Writing Service

In this task, you will explore the stochastic model associated with the SEIR system. Assignment Writing Service

  1. (a)  ConsiderthenetworkinEquation(1)fromtheperspectiveofadiscrete-statecontinuous- time Markov process. Identify the key components of the stochastic process, including the state vector, propensity functions and state change vectors (i.e., the stoichiometric vectors). Assignment Writing Service

  2. (b)  Use the process you have defined in part (a) to implement the Gillespie stochastic simulation algorithm (SSA) for the SEIR. Use the same set of parameters and initial conditions as Task 1 part (c) and simulate n = 3 realisations of the stochastic process. Plot and compare the results against the ODE solution in Task 1 part (c). Assignment Writing Service

  3. (c)  The expected value of a component in the stochastic model at a given time, t, can be estimated though Monte Carlo integration. For example, Assignment Writing Service

1 Xn
sPr(S(t) = s | X(0) = x0) n S(i)(t), (3) Assignment Writing Service

i=1 Assignment Writing Service

where S(1)(t), S(1)(t), . . . , S(n)(t) are independent realisations of the susceptible com- ponent at time t. Using the same parameters as in part (b), compute Monte Carlo estimates of E[S(t)], E[E(t)],E[I(t)], and E[R(t)] for t = 0, 0.5, 1.0, . . . , 360.0. Plot these expectations over time and compare with the ODE solution from task 1. Re- peat the process for n = 3, 6, 12, 25, 50, 100, what happens as n increases? Assignment Writing Service

(d) Implement Latin Hypercube Sampling on the 2D space of parameters α, ρ (each in the range [0, 1.0]). For an appropriate mesh size and number of trials, build a population of successful parameter pairs, that reflect the following two conditions (i) S(T) [S(0) 20, S(10) 10] or (ii) S(T ) < S(0) 100. Plot the successful parameter combinations on as scatter plot colour coded by the condition it satisfied. What is distinctive about the two groups of parameters? Give an interpretation of from the perspective of the epidemic dynamics (you may wish to visualise some realisations of the model under these parameterisations). Assignment Writing Service

Note: For this part You are to write your own code to carry out the Latin Hyper- cube Sampling. You can check that your code is working by comparing results with the built-in MATLAB command lhsdesign, however this comparison should not be included as part of your report. Assignment Writing Service

4 Assignment Writing Service

Task 3: Latin Hypercube Sampling and Orthogonal Sampling in 3D Assignment Writing Service

This task requires a Latin Hypercube Sampling to be implemented as for Task 2 part (d), but over a 3D parameter space α,β,ρ (each in the range [0,1.0]). Again, the parameter space is explored to determine regions that correspond to the same conditions as in task 2 part (d). Assignment Writing Service

In this task you must also use a copy of your 3D Latin Hypercube Sampling to then develop an Orthogonal Sampler. Repeat your analysis over 3D parameter space and compare your results for Latin Hypercube Sampling and Orthogonal Sampling. Assignment Writing Service

Visualisation of the successful parameter 3-tuples is required, with appropriate labelling. Discuss the approaches you take to represent the 3rd dimension in your plots in an effective and meaningful way. Write a concise paragraph to explain your results, and compare the two sampling methods. Make sure to then tie in the results of the sampler with those of Task 2 part (d) and Task 3 and discuss what this means for the epidemic dynamics. Assignment Writing Service

Task 4: Spatial agent-based implementation Assignment Writing Service

In this task, we’ll be looking at a spatial stochastic implementation of the SEIR model. A spatial implementation allows exploration of the system dynamics when interactions take place at an individual level rather than at population level. Such an approach also allows us to relax some assumptions (e.g., such as the “well-mixed assumption”) Assignment Writing Service

Construct a grid of cells (101 × 101). This grid represents a city with a “northside” and a “southside” with the grid row of cells at (51,1) to (51,101) representing a river that divides the northside and southside. The river and grid boundary act like reflective boundaries (that is an agent cannot cross them), however, the city has B bridges that are to be placed at random on the river cells (these bridges are treated like any other non-river cell). Populate the grid with S = 990 susceptible agents and I = 10 infectious agents. The susceptible and individuals will be positioned uniformly at random across all city cells, however, the initial infectious agents are to be entirely placed on the northside of the river. There is to be one agent only per cell. Assignment Writing Service

The rules for the simulation are as follows: Assignment Writing Service

  1. (a)  Each agent, in turn, will attempt to move to a neighbouring cell that is N, S, E or W of its current position; Assignment Writing Service

  2. (b)  After all moves have occurred, each infectious agent will randomly select a neigh- bouring cell (in N, S, E and W) of its current position, if the selected cell contains a susceptible agent, then the susceptible agent becomes an exposed agent if a uniform random sample (u ∼ U(0,1)) u α; Assignment Writing Service

  3. (c)  Each exposed agent will become an infectious agent if a uniform random sample (u ∼ U(0,1)) u β. Assignment Writing Service

    5 Assignment Writing Service

(d) Each Infectious agent will become a recovered agent if a uniform random sample (u ∼ U(0,1)) u ρ. Assignment Writing Service

For a selection of parameter values, and for various bridge numbers B = 10, 20, 30, . . . , 100, simulate the evolution of the system and hence describe the relationship between connec- tivity from the northside and southside of the city (i.e., the number of bridges) and the observed system dynamics. Consider two parameter regimes; Assignment Writing Service

α=1=1/14=1/20,
α=0.5=1/14=1/10, Assignment Writing Service

To demonstrate your simulation, track the abundance of susceptible, exposed, infectious and recovered agents after every step for a simulation that lasts 400 steps (or shorter if it reaches equilibrium). Create two figures (one for each parameter regime) that are 2 × 5 subplots where each subfigure is a different numbers of bridges (B = 10,20,30,...,100). These figures should be included in your report and referred to when discussing the effects of the connectivity across the river. Create a movie of the spatial stochastic model above, capturing the output at regular time points as the simulation evolves for each of the eight scenarios. Each movie should not be longer than forty seconds each (ten frames per second). The videos will be uploaded to github. Assignment Writing Service

The Group Report Assignment Writing Service

The purpose of the Group Report is to combine the results from the individual tasks, and to compare and contrast the results obtained from the different approaches and strategies. Assignment Writing Service

The report (which should be approximately 10 pages) should have the following structure: Assignment Writing Service

  • an Introduction, setting the scene for the content (max. 1 page); Assignment Writing Service

  • a Methods (by Task) section, where you describe the approaches taken, for each Task; include any relevant mathematical details (e.g., analysis of equilibrium, algorithm pseudo- code etc) (2-3 pages). Assignment Writing Service

  • a Results and Discussion section, where you combine, compare and contrast the results for parameter regions and the characteristics of the system dynamics; include here plots that justify your answers; also include results and figures from Task 4 (the spatial agent- based simulation) (5-6 pages); Assignment Writing Service

  • a Conclusions section, where you summarise the main results in no more than a few sentences (max. 1 page). Assignment Writing Service

    Note: Page limits are a guide. We only ask that you roughly aim to follow these limits. The Oral Presentation Assignment Writing Service

    The purpose of the oral presentation will be to present your methods and key findings in an interesting and informative way to an audience of experts in your field (i.e. you can use technical jargon). Assignment Writing Service

    The presentation is intended to be a group effort and will go for a maximum of 6 minutes (aim for 5 mins, hard cut off at 6 mins) where each group member will present one slide each discussing one of the tasks, and then a few extra slides for the group to present a brief introduction and their final conclusions. Assignment Writing Service

    The second part of the presentation will then consist of 4-5 minutes of questions from the audi- ence. Assignment Writing Service

Guide to the Marking Schedule Assignment Writing Service

Marks Breakdown Individual component Assignment Writing Service

2 Code is well structured and well documented.
0 Code is not structured and/or not documented.
6 Solution is correct, all aspects of the task have been con-
Assignment Writing Service

sidered.
3 Parts of the solution may be incorrect, most aspects of
Assignment Writing Service

the task have been considered.
0 Little/no solution.
2 Methods for the task have been clearly and correctly
Assignment Writing Service

outlined for reproducibility.
1 Methods for the task have been outlined, but may not
Assignment Writing Service

be correct, clear or reproducible.
0 Little/no methods.
2 Relevant and concise figures that clearly demonstrate the
Assignment Writing Service

solution. Figures are clear, correctly and completely la- Assignment Writing Service

belled.
0 Irrelevant, excessive or no figures that do not clearly
Assignment Writing Service

demonstrate the solution.
3 Code has been committed to github at least once with
Assignment Writing Service

commit comments that reflect the changes made to the Assignment Writing Service

code.
0 No github commits or no reasonable commit comments
Assignment Writing Service

reflecting changes made.
5 Conveys a depth of understanding of the programming
Assignment Writing Service

and issues for the Individual Task.
2.5 Conveys some understanding of the programming and
Assignment Writing Service

issues for the Individual Task.
0 No oral discussion, or poor level of understanding con-
Assignment Writing Service

veyed. Assignment Writing Service

Group component Assignment Writing Service

Structure and presentation Assignment Writing Service

Introduction Assignment Writing Service

Discussion and comparison Assignment Writing Service

Conclusions Assignment Writing Service

Report has a clear and logical structure. Presen- tation is of a professional standard. No major spelling/grammatical errors. Assignment Writing Service

0 Report does not have a clear or logical structure. Presentation is not professional. Major spelling or grammatical errors.
Introduction provides a short relevant background for the exercises performed in the report. Motivation for each task and an outline of the structure of the report is provided.
Assignment Writing Service

0.5 Introduction missing key components, but outlines the main features of the report. Assignment Writing Service

0 Little/no introduction. Assignment Writing Service

Discussion shows concisely presented, but extensive, detailed and relevant insight. Results from individual tasks have effectively been compared. Plots, figures and tables are clear, concise and relevant. Assignment Writing Service

Conclusions accurately and concisely summarise Assignment Writing Service

2 Discussion shows some relevant insight. Results from individual tasks have been compared. Plots, figures and tables may not be clear, concise and relevant. Assignment Writing Service

0 Little/no discussion or comparison. Assignment Writing Service

main findings of the project.
1 Conclusions summarise some main findings of the
Assignment Writing Service

project.
0 Little/no conclusions.
Assignment Writing Service

Subtotal 8 Total 28 Assignment Writing Service

Assignment Writing Service

Reflection (individual) x4 Assignment Writing Service

Structure and presentation 1 Assignment Writing Service

Structure and presentation 3 Assignment Writing Service

Subtotal 3 x 4 Total 40 Assignment Writing Service

1 Reflection clearly articulates the progress made by the individual and group over the last week. The mark award to group members is clearly motivated. Assignment Writing Service

0 Reflection is not submitted or the mark submitted for group members is not clearly motivated. Assignment Writing Service

3 Average of marks awarded by group members for an individuals contribution Assignment Writing Service

联系辅导老师!
私密保护
WeChat 微信
QUT代写,MXB261代写,Modelling and Simulation Science代写,Modelling an Epidemic代写,Latin Hypercube Sampling代写,Markov Process代写,Monte Carlo代写,QUT代编,MXB261代编,Modelling and Simulation Science代编,Modelling an Epidemic代编,Latin Hypercube Sampling代编,Markov Process代编,Monte Carlo代编,QUT代考,MXB261代考,Modelling and Simulation Science代考,Modelling an Epidemic代考,Latin Hypercube Sampling代考,Markov Process代考,Monte Carlo代考,QUT代做,MXB261代做,Modelling and Simulation Science代做,Modelling an Epidemic代做,Latin Hypercube Sampling代做,Markov Process代做,Monte Carlo代做,QUThelp,MXB261help,Modelling and Simulation Sciencehelp,Modelling an Epidemichelp,Latin Hypercube Samplinghelp,Markov Processhelp,Monte Carlohelp,QUT作业代写,MXB261作业代写,Modelling and Simulation Science作业代写,Modelling an Epidemic作业代写,Latin Hypercube Sampling作业代写,Markov Process作业代写,Monte Carlo作业代写,QUT编程代写,MXB261编程代写,Modelling and Simulation Science编程代写,Modelling an Epidemic编程代写,Latin Hypercube Sampling编程代写,Markov Process编程代写,Monte Carlo编程代写,QUT作业答案,MXB261作业答案,Modelling and Simulation Science作业答案,Modelling an Epidemic作业答案,Latin Hypercube Sampling作业答案,Markov Process作业答案,Monte Carlo作业答案,