OpenSim/InfectionModel

From OLPC
Jump to navigation Jump to search

Here's a (very) simple model of disease spread.

Behavior

Infection behavior.png


Structure

Disease structure.png


Equations

daily contacts per infected person=
	Infected*number of contacts per day

Infected= INTEG (
	Infection Rate,
		Initial Infected)

Infection Rate=
	MAX(probability of being infected*suceptibles contacted by infecteds daily, 0)

Initial Infected=
 	2

Initial succeptable=
	total population-Initial Infected

number of contacts per day=
	1

probability of being infected=
	0.5

proportion succeptable=
	succeptable/Initial succeptable

succeptable= INTEG (
	-Infection Rate,
		Initial succeptable)

suceptibles contacted by infecteds daily=
	daily contacts per infected person*proportion succeptable

total population=
	22