Build a model of an artificial pancreas to investigate the challenges of getting such a device to work for diabetics.