The invention is based on a method for data-driven predictive control of a
heat pump system (10), wherein at least one future input trajectory (28) of the
heat pump system (10) and in particular at least one future output trajectory (38) of the
heat pump system (10) is determined at least as a function of system data (30) of the heat pump system (10) measured at an earlier point in time, using a defined target function, which is in particular minimized, wherein the system data (30) comprise at least input measurement data (12) and output measurement data (14) of the heat pump system (10), wherein for the data-driven predictive control of the heat pump system (10), a
control equation filled with the system data (30) is solved by means of a computing unit (22), wherein the computing unit (22, 22') uses the
control equation to calculate the trajectories (28,38) of the heat pump system (10) are determined from a matrix-vector multiplication of at least one measurement
data matrix with a decision variable vector, and wherein the measurement
data matrix is ​​formed from at least two Hankel matrices written one above the other, each comprising only one measurement
data type of the system data (30). , It is proposed that, in order to take into account a lower
operating limit of the heat pump system (10), at least several entries of the future input trajectory (28) in the
control equation are each assigned a binary variable, in particular by multiplication, wherein in particular the entries of the future input trajectory (28) each correspond to predicted time steps of a predicted input for the heat pump system (10).