AnyLogic Example Health Model Inventory

Most of the models here are "toy" models designed to illustrate particular features of AnyLogic.

Visitors may also be interested in the associated lectures -- collected streaming videos, audio and slides for lectures and tutorials with a focus on Dynamic Modeling for Health Policy.

Example models may be downloaded as an archive here.

Example Models

Model Name & Link Domain Stylistically Illustrated Agent-Based Model Elements? Stock & Flow Elements? Discrete Event Model Elements? Key features illustrated General notes
ABMModelWithBirthDeath X Demographics (Immigration, Birth, Death, associating individual with children and a parent reference with each child, pregnancy & delivery), event-based reporting of statistics (Single-Pass Summary statistics, event-driven reporting, use of declarative-style specification pattern for statistics), saving datasets to files, networks, enumerations to capture encoding of ethnicity and sex in a more self-documenting fashion, unique identifiers for individuals, computation of individual history (biography) information Youtube Screencast Describing Model
CTL State Variable V4 Communicable Disease Epidemiology, Immunoepidemiology X X Hybrid of System Dynamics (Stock & Flow) and Agent-Based Modeling (Stock & Flow Agent Dynamics), Immunological Dynamics, Networks, Infection over Networks
Hybrid ABM Discrete Event Modeling (could also be called Hybrid ABM Network Modeling, ABM-Process-Oriented Modeling, ABM-Process-Flow Modeling) Epidemiology & Health Services Research X X Hybrid of Agent-Based Modeling and Process Flow modeling, Association of a hospital or healthcare facility with a population, individuals present for care and are treated by health care workers; treatment can yield a 'cure' or adverse health outcomes (here, death); entities are associated with agents, and the agents can be updated in the course of treatment. Youtube Screencast Describing Model
Inducing Attribute Heterogeneity X Individual attributes are drawn from distributions
Movement Towards Mouse X Agent mobility, UI interaction (clicking)
A Single Agent Class with Two Populations X Multiple agent populations
Multiple Distinct Networks Per Person Sexually Transmitted Infection, Communicable Disease Epidemiology X Shows how to implement two distinct networks per person (here, the second network is a subset of the first); illustrates the selective display of the networks
Tuberculosis Risk Factors & Co-Morbidities Communicable Disease Epidemiology (Tuberculosis) X X Illustrates power & expressiveness of Agent-Based modeling by use of multiple parallel statecharts, each associated with a particular co-morbid condition or behavioral risk factor. Use of stock & flows associated with Statecharts
Minimalist model of infection spread with Immigration & Death Communicable Disease Epidemiology X Immigration, Death, Adding People in to a Population, User Interface event handling (Button handling)
Spatially Disaggregated System Dynamics within a grid of cells Ecological Dynamics X X Hybrid of System Dynamics and Agent-Based Modeling; Discrete spatial layout, System Dynamics, geography, toroidal space Agents whose Dynamics are characterized using System Dynamics are placed within a toroidal ("donut topology") grid, and interact locally with neighbors in the 4 cardinal directions.
Reading in Networks from Files X Demonstrates how to read networks in from two file formats (including Pajek), and how to achieve dynamic connections using that information.
Hierarchical City PopulationModel With Infection Spread X Hierarchical Agent-Based Model, Multi-level modeling, networks, infection transmission Demonstrates the creation of a multi-level dynamic model that includes individuals within neighborhoods. Cities are arranged in a distance based network, and individuals within a city in a Scale-Free Network. Infection spreads among individuals.
Vector Borne Illness Illustrating Output to Tab Delimited Spreadsheet File Zoonoses (vector borne illness) X Demonstrates how to output tab delimited files from AnyLogic datasets
Eclipse Debugging Example X Demonstrates how to set up Java Virtual Machine (JVM) Parameters to allow for debugging using Eclipse Debugger (outside of AnyLogic)

Other material of interest

Materials on Agent-Based modeling for health policy using AnyLogic.

Materials from a previous full semester course on System Dynamics modeling for health policy using stock and flow models.

Reuse of Material

I have placed this information online in hopes that it will be of useful to a broader set of people. Users are welcome to distribute links to this page without restriction. I grant rights of non-commercial reuse (including reposting) of the material I have created for educational purposes, as long as it doesn't conflict with the rights of any other individuals.

If you are seeking to reuse this material, just drop me a brief email notification (osgood 'at' cs.usask.ca) to let me know of your planned use, and I request the courtesy of a citation with the repost indicating the original source of materials. I am especially interested in staying in touch with other educators who adopt components of the class material above for use in their own courses. Among other benefits, sending along your address will allow me to notify you of significant updates, of supplemental artifacts (e.g. models) that may be of interest, and could allow for exchange of ideas and suggestions on improving the material.

Please be encouraged to write me if there are any topics on which you feel additional tutorials would be useful.