Advances in theories and methods of energy forecasting and early warning