Real-time prediction for the aggregated flexibility of distributed energy resources | Synapse