Αποστολή με SMS: Optimal Energy Management within a Microgrid: A Comparative Study