INS and diabetes mellitus: The study adapted a mechanistic model of type 2 diabetes mellitus for T1D by replacing endogenous insulin with exogenous insulin and introducing insulin-dependent feedback on glucose production.