The microgrid (MG) faces significant security issues due to the two-way power and information flow. Integrating an Energy Management System (EMS) to balance energy supply and demand in Malaysian ...