Prediction of electricity consumption plays critical roles in the economy. Accurate electricity consumption forecasting is essential for policy makers to formulate electricity supply policies. However, limited data and variables generally cannot provide sufficient information to gain satisfactory prediction accuracy. To address this problem, we propose a novel improved grey forecasting model, which combines data transformation for the original data sequence and combination interpolation optimization of the background value of the GM(1,1) model, and is therefore named DCOGM(1,1). To evaluate the simulation and prediction performance of DCOGM(1,1), two case studies are carried out. In addition, the results show that DCOGM(1,1) outperforms most existing improved grey models in terms of forecasting accuracy. Finally, DCOGM(1,1) is employed to predict the total electricity consumption of Shanghai City in China from 2017 to 2021. In addition, the results suggest that DCOGM(1,1) performs well compared with the traditional GM(1,1) model and other grey modification models in this context and Shanghai's electricity consumption will increase stably in the following five years. In summary, DCOGM(1,1) proposed in our study has competent exploration and exploitation ability, and could be utilized as an effective and promising tool for short-term planning for other forecasting issues with limited source data as well.The forecast accuracy of electricity consumption is affected by many factors, such as economic development [8], population [9], power facilities [10] and climate factors [11], and thus the data sequence of electricity consumption often presents to be highly nonlinear, stochastic, time-changeable,