model based heart rate control