MemoSimagent-based modeling studio

Library/Health and life sciences

Clinical workforce distribution

Setup: A 5×5 grid of cells is created.

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 — not a scientifically validated result.

Overview

This model simulates how a bounded clinical workforce (doctors and nurses) redistributes across a small 11×11 grid of community cells. Each cell hosts either a clinic (lower demand) or a hospital (higher demand). Workers move between cells based on two competing forces:

1. Patient demand – cells with more patients are more attractive (more work, more purpose). 2. Workload stress – cells with too many workers relative to demand become stressful, pushing workers away.

Mechanism

  • Setup: A 5×5 grid of cells is created. Three cells are designated hospitals (higher demand, 40–60 patients); the rest are clinics (10–30 patients). Doctors (red) and nurses (green) are placed randomly.
  • Go (each tick):
  • - Each worker evaluates all cells within radius 2. - A score is computed: (demand / 60) − (stress × stress-aversion), where stress = workers-on-cell / (demand + 1). - If the best neighbouring cell scores above 0.2 and the worker's current cell is stressed (stress > 0.8), the worker moves there. - Satisfaction drifts toward 1 − stress each tick (exponential smoothing, 80% memory). - Demand fluctuates slightly each tick (±1 random) to simulate seasonal variation.

  • Absorbing state: The model never stops; ticks advance indefinitely. If all workers settle into a stable distribution, the plot plateaus.

Controls

| Widget | Range | Default | Meaning | |--------|-------|---------|---------| | Initial doctors | 5–50 | 20 | Number of doctors at setup | | Initial nurses | 5–80 | 40 | Number of nurses at setup | | Stress aversion | 0–2 | 1.0 | How strongly workers avoid high-stress cells |

Monitors & Plots

  • Total workers / Doctors / Nurses: headcount (bounded, constant).
  • Avg satisfaction: mean worker satisfaction (0–1).
  • Plot: tracks doctor count, nurse count, and average satisfaction over time.

Assumptions & Limitations

  • Workers are homogeneous within their role (no individual variation in skill, preference, or mobility).
  • Demand is static per cell except for small random noise; no patient flow between cells.
  • Movement is limited to radius 2 (local search); workers do not "see" the whole map.
  • No hiring, firing, retirement, or training dynamics.
  • No geographic realism (no distances, travel times, or catchment areas).
  • The model is illustrative only: it demonstrates the mechanism of workforce redistribution under demand and stress, not a prediction of real-world outcomes.

Units

  • Demand: arbitrary patient-equivalents per cell (10–60).
  • Stress: workers per patient-equivalent (dimensionless ratio).
  • Satisfaction: 0–1 scale.
  • Time: ticks (1 tick ≈ 1 decision cycle).
Field
Health and life sciences
Model file
Clinical-workforce-distribution-6714bccce84c.nlogox · 42 KB
Controls
initial-doctors, initial-nurses, stress-aversion
Reporters
none recorded
Procedures
setup, go, recolor-all
Experiment
none pinned in this file
Documentation
6/7 · 394 words in the Info tab