Pellet injection is regarded as the only realistic actuator for core density control in future reactors such as ITER and DEMO. However, a control strategy that can reliably regulate the plasma close to operational limits using multiple pellet injectors is not yet available. In this paper, we present the first integrated model control simulations where a dedicated model-predictive controller is included in JINTRAC. We show that, when continuous actuators are considered, a simple transport model with a steady-state disturbance rejection paradigm is capable of capturing the particle transport dynamics for multiple transport models and scenarios. This in turn allows the model-predictive controller to deal with the uncertainty and minimize the control error given the limited actuation space. Furthermore, we show that for ITER and DEMO relevant pellet sizes, the discrete, nonlinear dynamics of pellet injection will limit the control performance and jeopardize the constraints if not accounted for by the controller. Hence, we conclude that for high-performance control on future reactors, controllers will have to be developed that explicitly deal with the discrete pellet dynamics.