MemoSimagent-based modeling studio

Library/Health and life sciences

Chronic disease prevention and management

A bounded population of people moves on a small toroidal world.

Run in your browser Download .nlogox Get MemoSim verified in NetLogo Web · or open in MemoSim
Read the assumptions first. The model itself says it is illustrative and uncalibrated. Treat its output as a demonstration of a mechanism, not an estimate of a real system.

Category: Health and Life Sciences Status: Illustrative and uncalibrated. This is a teaching model, not a scientifically validated result.

Mechanism

A bounded population of people moves on a small toroidal world. Each person has:

  • age – increases slowly each tick.
  • risk – a 0–100 score that drifts up with age and inactivity, and down with an active lifestyle.
  • status – one of four states: healthy, at-risk, chronic, managed.
  • active – a boolean that flips occasionally, representing lifestyle activity.

State transitions each tick:

1. healthy → at-risk with probability proportional to risk and the onset-rate slider. 2. at-risk → chronic with probability proportional to risk and the progression-rate slider. 3. chronic → managed if the person is on a clinic patch and a random draw succeeds with probability clinic-effectiveness. 4. managed → chronic (relapse) if the person is inactive, with probability relapse-rate.

Three clinic patches (light blue) provide access to care. People move randomly; the move-rate is fixed at 50%.

Controls

  • initial-people – number of people created at setup (10–100, default 40).
  • onset-rate – baseline chance per tick that a healthy person becomes at-risk (0–10%, default 2%).
  • progression-rate – baseline chance per tick that an at-risk person becomes chronic (0–10%, default 3%).
  • clinic-effectiveness – chance per tick that a chronic person on a clinic patch becomes managed (0–100%, default 40%).

Monitors and plot

  • Chronic (%), Managed (%), At-risk (%) – shares of the population in each state.
  • Mean risk – average risk score across all people.
  • Population by status – line plot of the count in each of the four states over time.

Units

  • Time is measured in ticks. One tick is one discrete time step.
  • Risk is a dimensionless 0–100 score.
  • Rates are percentages per tick.

Assumptions and limitations

  • The model is illustrative and uncalibrated: parameters are chosen for pedagogical clarity, not fitted to real epidemiological data.
  • People move randomly; there is no spatial structure beyond the presence of clinic patches.
  • Risk is a single scalar; real chronic-disease risk involves many interacting factors (genetics, diet, comorbidities, socioeconomic status).
  • The clinic is a single point of care with a constant effectiveness; real healthcare systems have capacity limits, quality variation, and access barriers.
  • There is no mortality, no treatment side-effects, and no aging out of the population.
  • The absorbing-state logic (ticks continue even after all people reach a terminal state) is included so the model can run for at least 100 ticks for demonstration purposes.

This model is intended to help students think about how prevention, lifestyle, and healthcare access interact in chronic-disease dynamics. It should not be used for policy decisions or clinical guidance.

Field
Health and life sciences
Model file
Chronic-disease-prevention-and-management-b916dee53a05.nlogox · 43 KB
Controls
initial-people, onset-rate, clinic-effectiveness, progression-rate
Reporters
person-color, pct-chronic, pct-managed, pct-at-risk, mean-risk
Procedures
setup, go, move-person, age-person, update-risk, manage-care, person-color, pct-chronic, pct-managed, pct-at-risk, mean-risk
Experiment
none pinned in this file
Documentation
5/7 · 440 words in the Info tab