A compartmental (deterministic) simulator of the therapeutic response to radioactive iodine (RAI) therapy in metastatic thyroid cancer, used to explore how protocol parameters — number of iratherapy sessions (fractions), interval between sessions, and administered activity — affect the biomarker trajectory (thyroglobulin, Tg) that tracks tumor burden. Part of a broader "hybrid digital twin" effort combining mechanistic modeling with data-driven methods for individualized RAI treatment planning; see Related work.
Three coupled ODEs, solved in closed form (symbolically) fraction by fraction:
-
Administered activity
$A(t)$ (GBq), decaying at an effective rate$a$ (month⁻¹, folding in both radioactive and biological clearance):
-
Tumor cell number
$N(t)$ : logistic-like growth at rate$\ln(2)/T_d$ ($T_d$ = tumor doubling time, months) minus a radiation-induced kill term proportional to both cell number and instantaneous activity, with cell-kill-rate constant$r_0$ (GBq⁻¹.month⁻¹):
-
Thyroglobulin
$Tg(t)$ (ng/mL), the clinical biomarker: secreted in proportion to tumor cell number at rate$\lambda$ (ng/(mL·month) per cell) and cleared at rate$k_e$ (month⁻¹):
Fractionation: for a treatment of dsolve) over each inter-session interval; at the end of interval
Tumor cell doubling time
| Archetype |
|
File |
|---|---|---|
| Non-responding | 9.8 |
Demonstrateur98f.m / main_demonstrateur98f.m
|
| Responding | 66.6 |
Demonstrateur666f.m / main_demonstrateur666f.m
|
-
SIMULATEUR1VF2024.m— RAIR-Sim, the interactive MATLAB App Designer GUI: configure a virtual patient (responding/non-responding, plus the individual kinetic parameters) and a treatment protocol (activity per fraction, number of fractions, delay between fractions), then generate the simulated$Tg(t)$ curve. (Previously committed without the.mextension, which made it unrecognizable to MATLAB as a class/app file — fixed.) -
Demonstrateur98f.m/Demonstrateur666f.m— the underlying simulation function for each patient archetype, reusable for scripted sensitivity sweeps (called repeatedly by themain_*scripts below). -
main_demonstrateur98f.m/main_demonstrateur666f.m— sensitivity-analysis scripts reproducing the figures described below: for each archetype, sweep (a) number of sessions 1-8, (b) inter-session interval 1-8 months, and (c) activity per fraction 1-8 GBq, holding the other two parameters fixed, and overlay the resulting$Tg(t)$ curves.
Note: Demonstrateur98f.m and Demonstrateur666f.m are identical except for the hardcoded Td value — a deliberate duplication (one file per archetype) rather than a shared parameterized function; keep both in sync if the shared kinetic parameters (
MATLAB with the Symbolic Math Toolbox (syms, dsolve, vpa, subs) and App Designer support (for SIMULATEUR1VF2024.m).
% Interactive GUI:
SIMULATEUR1VF2024
% Scripted sensitivity analysis (non-responding archetype, Td = 9.8 months):
main_demonstrateur98f
% Responding archetype, Td = 66.6 months:
main_demonstrateur666f-
M. Fusella Giuntini, C. Voyant, D. Taieb, D. Barbolosi, "A computational framework for optimizing radioiodine therapy protocols in metastatic thyroid cancer," Scientific Reports (2026), accepted 29 May 2026. https://doi.org/10.1038/s41598-026-56267-1 — the paper this simulator was built for: a sensitivity analysis of RAI protocol parameters (
$n$ ,$\Delta T$ ,$A$ ) on Tg kinetics, with$T_d$ as the discriminating responder/non-responder biomarker, and model parameters calibrated on a 50-patient cohort via MCMC-SAEM (Monolix®). Published under CC BY-NC-ND 4.0. - M. Fusella Giuntini, C. Voyant, D. Taieb, D. Barbolosi, "Computational Modeling and Trends in RAI Therapy for Thyroid Cancer: A Field with Clinical Promise," Biomedical Journal of Scientific & Technical Research 62(4) (2025). https://doi.org/10.26717/BJSTR.2025.62.009789 (HAL: hal-05410326) — an NLP-assisted bibliometric review of 78 publications (2001-2025) on computational RAI-therapy modeling, positioning RAIR-Sim within that landscape. Published under CC BY-SA 4.0.
- The Conversation (May 2026): "IA et cancer de la thyroïde : demain, la fin des traitements standardisés ?" — accessible-audience summary of the "hybrid digital twin" approach this simulator is part of.
If you use this code, please cite this repository and, in academic work, the Scientific Reports paper above (see CITATION.cff for both, plus the BJSTR review as a secondary reference).
A fork with documentation and citation-metadata improvements is also archived independently on Zenodo: 10.5281/zenodo.21496198 (github.com/cyrilvoyant/CTD_SIMU_RAI) — that DOI identifies the fork, not this repository.
MIT. See LICENSE.