Applying machine learning techniques for forecasting flexibility of virtual power plants