Tutorials
These tutorials walk through TBsim’s core functionality, from a first simulation to more advanced comorbidity and analysis workflows. Each is a runnable notebook – start with the basics and progress to the advanced topics as you become familiar with the framework.
Getting started
- How to create a TB simulation – Build and run your first TB simulation, then plot the results
TB interventions and scenarios
- TB interventions – Implementing and analyzing BCG, TPT, and treatment interventions
- Running TB-HIV scenarios – Setting up and comparing TB-HIV co-infection scenarios
Drug resistance
- Drug resistance and multi-strain TB – Defining strains, superinfection and competition, de-novo and treatment-acquired resistance, DST-routed regimens, treatment monitoring, and strain-aware preventive therapy
Comorbidities
- TB-HIV comorbidity – Modeling the interaction between TB and HIV
- Malnutrition – TB-malnutrition comorbidity and nutritional status effects
Analysis
- Comprehensive analyzer plots – Using TBsim’s built-in dwell-time analyzer and plotting tools