Model predictive control of drug concentration