SMS versenden: Optimal Energy Management within a Microgrid: A Comparative Study