Another system for optimizing insulin infusion rates based on nonlinear model predictive control was designed using in silico data from a virtual type 1 diabetes patient, where the system was evaluated using data from a mathematical model of a patient with type 1 diabetes. The gene discussed is INS; the disease is type 1 diabetes mellitus.