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.

Those interested in example systems science for health models are further recommended to visit our AnyLogic 7 Example Models for Health folder on google drive, which provides dozens such models.. Those particularly interested in hybrid systems science models for Health in AnyLogic are recommended to visit our hybrid systems science example models for health page.

Example models may be downloaded as an archive here. Otherwise please follow this link to a google drive containing these models (due for an update soon)

Example Models

Model Name & Link Links to variants Domain Stylistically Illustrated Agent-Based Model Elements? Stock & Flow Elements? Discrete Event Model Elements? Key domain features illustrated Key technical features illustrated Software & version General notes
Interaction of Weight and Diabetes and health economics considerations InteractionOfWeightAndDiabetesMelbourneMC1_11-2015V11,InteractionOfWeightDiabetesAndServiceDeliveryV3 Obesity, Diabetes, Health economics X X Health economics (incremental cost-effectiveness ratios and CE Plane, QALYs), interacting weight and diabetes progression (with coupled HRQoL and Cost elements)
Diabetes in the Saskatoon Health Region -- a reduced-scale Agent-Based Model ABM Diabetes in Saskatoon0.01population Obesity, Diabetes X Demographics (Immigration, Birth, Death, associating individual with children and a parent reference with each child, pregnancy & delivery), weight categories and obesity, prediabetes and diabetes, interacting statecharts AnyLogic 7
Diabetes in the Saskatoon Health Region -- a highly stratified System Dynamics Model SD Diabetes in Saskatoon v3 Obesity, Diabetes X Demographics (Immigration, Birth, Death, associating individual with children and a parent reference with each child, pregnancy & delivery), weight categories and obesity, prediabetes and diabetes). Stratified by ethnicity, age category, and sex AnyLogic 7
Resource Limited Healthcare Service delivery -- in System Dynamics SDResourceLimitedHealthcareServicesV4 Health Services Delivery, acute care services, work pressure X Backlogs, balking, effects of work pressure on premature discharges AnyLogic 7
Behavioral influence and infection spread via two distinct social networks TwoDistinctNetworksPerPersonUseAnylogic7 v3 Behavioral influences and communicable X Multiple networks per person AnyLogic 7
Illustrative model showing how geographic patches can be associated with continuous dynamics via embedded stocks and flows (here, representing microfaunal populations) GriddedSystemDynamicsUsingAnylogic7 Geographically and spatially explicit models X X Flows between patches AnyLogic 7
Intra- and Inter-generational links between Gestational and Type 2 Diabetes in a hybrid model, including physical activity, impact of in-utero exposure and weight IntroductoryTeachingGDMV4 Gestational and Type 2 Diabetes, Obesity, Intergenerational risk factors X X Incorporates physical activity, impact of in-utero exposure and weight AnyLogic 7
West Nile virus spread model incorporating mosquito, (corvid) bird, and human health dynamics as captured in geographic patches. GriddedSystemDynamicsUsingAnylogic7 West Nile virus, zoonoses X X AnyLogic 7
Illustrative modeling illustrating the interaction between individual illness, care seeking and physical mobility within a facility HybridABMNetworkModelingUsingAnylogic7 Health services delivery, care seeking, mobility X X AnyLogic 7
GIS-based food environment, including dynamic changes to that food environment via the user interface, physical activity dynamics affected by parks GISFoodEnvironmentV6WithAddingSupermarkets Food environment, nutrition, obesity X X Impact of parks on physical activity and neighbourhood food environment on eating habits, AnyLogic 7
A hybrid model capturing agent-based mobility amongst multiple locales, each subject to environmental contamination in the form of pathogen reservoirs EnvironmentalContaminationHybrid Pathogen reservoir accumulation and dynamics X X x Stocks and flows within each location capturing pathogen reservoir dynamics, in addition to natural histories of infection of individual agents AnyLogic 7
Immuno-epidemiological model of a viral infection CTL State Variable UseAnylogic7 Immuno-Epidemiology in viral communicable illness X X x Stocks and flows within each agent capturing viral and immune dynamics, in addition to discrete evolution captured by statecharts AnyLogic 7
Lightweight Hybrid modeling of a large aggregate upstream population combined with a downstream agent-based population BuddingHybridSDABMModel Hybrid ABM-SD for diabetes X X x Aggregate population is individuated at a certain point in the risk continuum ("budding off" into a specific agent while departing the upstream aggregate model). AnyLogic 7
Health and Cost impacts of Diabetic End-Stage Renal Disease in Saskatchewan -- a tripartite hybrid model BeiFengRenModel Diabetic ESRD, including health services delivery X X x Stock-and-flow simulation of the low-risk population, agent-based characterization of patient characteristics and context, discrete event characterization of care pathways AnyLogic 7
Incorporating Basic Health Economics features for diabetes and risk factors -- a hybrid model BasicHealthEconomicsABMAnyLogic7 Health economics, diabetes, and risk factors X X Stock-and-flow based accumulation of health economics quantities AnyLogic 7
Anemia management in dialysis patients -- a hybrid model (courtesy of Jim Rogers, Geoff McDonnell, and Dylan Knowles) AnemiaInAgents16UsingAnylogic7 Dialysis and End-Stage Renal Disease, Service Delivery, Patient Management X X Hybrid ABM/System Dynamics, with agent evolution driven in part by internal stocks and flows. Illustrates multi-scale hierarchy, with clinicians managing groups of patients, and both patient-level and group-level statistics AnyLogic 7
Interlinked dynamics of communicable illness incidence and care-seeking behavior for a treatment-mediated infection ABMDESMultiClinicModelAdelaide2015 Communicable illness, care-seeking X X Hybrid ABM/DES. Illustrates spatial placement of clinics, presenting for care at clinics AnyLogic 7
Impact of disparities in crowding and vaccination rates on communicable disease spread VaccinationDisparities12PertussisVariantNoVaccinationV3, VaccinationDisparitiesUseAnylogic7 Pertussis, crowding, disparities, vaccination rates X Spatially explicit AnyLogic 7
The Impact of Resource Limited Healthcare Service delivery on Infection Spread, in System Dynamics SDSimpleCoupledSITModelV4 Resource limited healthcare service delivery, communicable disease X Backlogs and infection spread, lock-in effects AnyLogic 7
The Impact of Resource Limited Healthcare Service delivery on Infection Spread, in a Hybrid Model (Agent-Based Modeling/Discrete Event Modeling) Resource limited healthcare service delivery, communicable disease X Backlogs and infection spread, lock-in effects AnyLogic 7
The Impact of Resource Limited Healthcare Service delivery on Infection Spread, in System Dynamics SDSimpleCoupledSITModelV4 X Backlogs, balking, effects of work pressure on premature discharges AnyLogic 7
Smoking History and Progression, with Longitudinal Information collection and implementation Science Elements incorporated LongitudinalDataOnSmokingHistoryImplementationScienceElementsV2 X X Intervention implementation dynamics (training) and financial stability integrated, stocks and flows for implementation science concerns (training of educators, attendant costs). AnyLogic 7
Illustration basic mechanisms of an open population OpenPopulationModelNC X Age specific mortality and fertility rates (?) AnyLogic 7
An adaptation and extension of Stange et al.'s Paradox of Primary Care Primary-Care-ParadoxV2 X Care seeking behavior, general and specialist physicians AnyLogic 7
Interlinked dynamics of care seeking and communicable illness in a multi-clinic model MultiClinicABMProcessHybridNC X Care seeking behavior, resource-limited treatment, balking, pathogen transmission AnyLogic 7
Illustrating tipping points and lock-in with interlinked dynamics of care seeking and communicable illness in a multi-clinic model MultiClinicSISHybridSaturationEffectsAndLockin X X Care seeking behavior, resource-limited treatment, balking, lock-in effects, pathogen transmission AnyLogic 7
Simple models of interlinked dynamics of care seeking and chronic illness, including resource constraints RandomClinicsABMProcessHybrid, SimplestABMProcessHybridWithResourceConstraints, SimplestABMProcessHybrid X X Care seeking behavior, resource-limited treatment, balking, lock-in effects, pathogen transmission AnyLogic 7
Dynamics of infant and caregiver mental health, as inspired by the neurorelational framework Neurorelational Framework Thoughtpiece V2 X X toxic stress, allostatic load, social support networks, maternal-child interactions AnyLogic 7
Incorporation of informal care networks in a GIS-embedded adaptation and extension of Stange et al.'s Paradox of Primary Care PrimaryCareSocialSupportGIS X GIS embedding, care seeking behavior, general and specialist physicians AnyLogic 7
Network based ABM Model with Assortive Network Dynamics and Preferential Mixing MinimalistNetworkABMModelWithAssortiveNetworkDynamicsAndPreferentialMixingUseAnylogic7 X Preferential mixing according to several characteristics within a dynamic network AnyLogic 7
Childhood Diabetes Exploratory Model X Impact of age-specific incidence rates on stochastics, chronic disease, weight (?) AnyLogic 7 ChildhoodDiabetesExploratoryModelUseAnylogic7,m ChildhoodDiabetesExploratoryModelUseAnylogic7Geoffedited
Illustrative model of Simple Continuous Mobility Patterns SimpleContinuousMobility X Mechanism oriented example illustrating effective ways to achieve continuous mobility patterns AnyLogic 7
Smoking disparities incorporating in utero exposure and peer pressure as risk factors, and age-specific incidence hazards in an open population SmokingDisparitiesJava8StreamsV6WithInUteroExposureSocialCommunicabilityOpenPopulation X Domain features illustrated: In utero exposure, peer pressure via social networks, age-specific incidence hazards in an open population, chronic disease (?). Mechanisms Illustrated: Java 8 streams AnyLogic 7
An illustrative SIR model with networks SimpleSIRModelNC2 X Mechanism oriented example showing networks AnyLogic 7
Interaction of Obesity, Gestational and Type 2 Diabetes DylanGDM, GestationalDiabetes1, X Weight, gestational diabetes risk factors, dysglycemia during and post-pregnancy, macrosomia, pregnancy outcomes for mother and child
Stratified (subscripted) SIR model ExampleSubscriptedSIR, ExampleSubscriptingSIR X Communicable disease
GIS-situated food environment SKGISFoodEnvironment X Impact of food environment (proximity to convenience stores and supermarkets) on eating habits
GIS-situated food and Physical Activity Environment GISFoodAndPAEnvironmentV3 X X Impact of parks on physical activity and neighbourhood food environment on eating habits
HPV Spread with Smoking as a risk factor HPVModelVersion7Fixed X Network based transmission, smoking status interaction with HPV, Subclassing to capture commonalities between Males and Females
Simple representation of Chronic Disease progression SimpleChronicDiseaseModel2 X Simple illustrative model of chronic disease progression
Multi-level capturing of infection spread amongst cities (a metapopulation perspective) HierarchicalCityPopulationModelWithInfectionSpreadUseAnylogic7 X Different networks in distinct environments
Crowding Disparities CrowdingDisparitiesSIRSSKServiceNetworkBootcampV5, CrowdingDisparitiesSIRSAdelaide2015, Income and Crowding Based Communicable Disease Disparities v6 X Interaction of income, crowding and health disparities, and emergence of health gradients, interventions.
Continuous Time version of the Schelling Segregation Model Simple: ContinuousTimeSchellingSegregation, More efficient: ContinuousTimeSchellingSegregationWithFreeCellList X Neighbourhood mobility and emergence of segregation
Continuous Time version of the Schelling Segregation Model Simple: ContinuousTimeSchellingSegregation, More efficient: ContinuousTimeSchellingSegregationWithFreeCellList X Neighbourhood mobility and emergence of segregation
Mobility amongst multiple locations for work, including multi-site communicable disease transmission SIRInstitutionalMobility1, InstitutionalMobilityNC X With communicable disease?
Communicable Mobility CommunicableMobilityV3WithNetworks, CommunicableMobilityV3WithOutNetworks AdvancedMinimalistNetworkABMModelWithFileDrivenNetworkStructureUsingAnylogic7Geoffedited X
Conways Game of Life (ContinuousTimeGameOfLifeRectangles) X Cellular Automaton
Infection Spread (?) over dynamic and/or file-driven network configuration Driven using empirical connection data (such as from our 'iEpi' system): iEpi Based Networks, AdvancedMinimalistNetworkABMModelWithFileDrivenNetworkStructureUsingAnylogic7Geoffedited X
ABMModelWithBirthDeathJava8 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
Minimalist Network ABM Model With Network Dynamics and Assortive Mixing (Preferential Mixing) Communicable Disease Epidemiology, Network-based epidemiology X Infection over Dynamics Networks. Assortive Missing
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.