Macular Degeneration Treatment Simulation Project
What is this project?
This project simulates and analyzes treatment pathways for macular degeneration, with a focus on the drug Eylea (aflibercept). It helps researchers understand:
How different treatment protocols affect patient outcomes
The relationship between treatment intervals and vision outcomes
Resource utilization in eye clinics
Key Concepts
Simulation Approaches
Agent-Based Simulation (ABS): Models individual patients and their disease progression
Discrete Event Simulation (DES): Models clinic operations and resource constraints
Treatment Protocols
Pre-defined treatment schedules (loading phase, maintenance phase)
Rules for adjusting treatment intervals based on patient response
Data Analysis
Examines real-world treatment patterns
Analyzes visual acuity outcomes
Identifies clusters of similar treatment approaches
How It Works
Configuration: Define treatment protocols and simulation parameters in YAML files
Simulation: Run
run_simulation.pyto generate patient trajectoriesAnalysis: Use
run_eylea_analysis.pyto examine treatment patterns and outcomesVisualization: Generate plots showing treatment intervals, vision changes, etc.
Project Structure
simulation/: Core simulation logic (ABS and DES implementations)protocols/: Treatment protocol definitionsanalysis/: Data analysis scriptsvisualization/: Plot generation scriptsdocs/: Project documentationmeta/: Project planning and documentation notes
Getting Started
Install dependencies:
pip install -r requirements.txtRun a simulation:
python run_simulation.py protocols/simulation_configs/test_simulation.yamlAnalyze results:
python run_eylea_analysis.py
Where to Learn More
Check the full documentation for technical details
See
TESTING.mdfor how to run testsExamine example config files in
protocols/simulation_configs/