Code and data for the paper "Systematic derivation and validation of a reduced thermal-electrochemical model for lithium-ion batteries using asymptotic methods" by Brosa Planella et al. (2020).