A computer-readable storage medium, comprising commands which, when the program is executed by a computer, cause the computer to carry out a method for controlling an installation for producing a formulation from a feedstock, wherein the producing comprises a processing of the feedstock with a granulator and a drying of an intermediate product, produced from the feedstock with the granulator, by means of a dryer, the method comprising:
- based on a model:
- (a) determining control parameters of the installation, which are or represent manipulated variables for controlling actuators of the installation, the model taking into account preset target formulation parameters, which represent desired properties of the formulation produced or to be produced, or
- (b) forecasting actual formulation parameters, which represent actual properties of the formulation produced or to be produced, the model taking into account preset or presettable control parameters, which are or represent manipulated variables for controlling actuators of the installation,
- determining and processing, by the model, state parameters of the installation, which each represent a state of the installation which influences the production, and taking into account, by the model, feedstock parameters, which represent an attribute of the feedstock, and
- at least one of:
- coupling the dryer to the granulator in such a way that the intermediate product is automatically conveyed without interruption from the granulator into the dryer, and the model taking into account the continuously running combination of granulation with the granulator and subsequent drying with the dryer, or
- determining, by a static part of the model, a base value for the respective control parameter or forecasted actual formulation parameter, and optimizing, by a dynamic part of the model, the base value by means of a forecast.