For its high coefficient of performance and zero local emissions, the heat pump (HP) has recently become popular in North Europe and China, which shows potential in absorbing local photovoltaic (PV) generation. In this study, the authors describe a distributionally robust optimisation (DRO)-based HP day-ahead operational schedule model (HP-DOSM) to match the PV power generation, which can well capture the uncertainties of weather, PV, and load prediction errors. Moreover, this DRO-based HP-DOSM can be transformed into a tractable deterministic model. The DRO method they proposed is suitable for linear expectation constrained optimisation whose ambiguity set is constructed using Kullback–Leibler divergence, which could be further transformed into deterministic conic/linear constraints. Compared with robust optimisation (RO) models, the authors’ model is less conservative since more statistical information on the uncertainties is utilised. Numerical tests were conducted to demonstrate its performance, compared with the RO model via Monte Carlo simulations.