A simulation environment for in silico testing of monitoring methods, open-loop and closed-loop treatment strategies in type 1 diabetes. Some exemplary principal components of the simulation environment comprise, but not limited thereto, the following: 1) a &ldquopopulation&rdquo of in silico &ldquosubjects&rdquo with type 1 diabetes in three age groups 2) a simulator of CGM sensor errors 3) a simulator of insulin pumps and discrete insulin delivery 4) an interface allowing the input of user-specified treatment scenarios and 5) a set of standardized outcome measures and graphs evaluating the quality of the tested treatment strategies. These components can be used separately or in combination for the preclinical evaluation of open-loop or closed-loop control treatments of diabetes.