Machine Learning Experiments for a Real-Time Energy Management in a Microgrid Cluster