As the number of active components increase, distribution networks become harder to control. Microgrids are proposed to divide large networks into smaller, more manageable portions. The benefits of using microgrids are multiple; the cost of installation is significantly smaller and renewable energy-based generators can be utilized at a small scale. Due to the intermittent and time dependent nature of renewables, to ensure reliable and continuous supply of energy, it is imperative to create a system that has several generators and storage systems. The way to achieve this is through an energy management system (EMS) that can coordinate all these generators with a storage system. Prior to on-site installation, validation studies should be performed on such controllers. This work presents a standardized communication modeling based on IEC 61850 that is developed for a commercial microgrid controller. Using commercial software, different terminals are set up as intelligent electronic devices (IEDs) and the operation of the EMS is emulated with proper message exchanges. Considering that these messages transmit sensitive information, such as financial transactions or dispatch instructions, securing them against cyber-attacks is very important. Therefore; message integrity, node authentication, and confidentiality features are also implemented according to IEC 62351 guidelines. Real-message exchanges are captured with and without these security features to validate secure operation of standard communication solution.Energies 2020, 13, 68 2 of 14 time-dependent generation profile of these systems require storage systems and coordination to supply reliable energy [8].To address this gap, equipment that can track several generators and the load within a microgrid to coordinate charging and discharging of a battery energy storage system (BESS) has been developed [9]. The energy management system (EMS) needs to follow the load profile in a microgrid, estimate generation profile of the generators, and keep the battery charge at an appropriate level [10]. In addition, EMS is responsible for responding to system disturbances, such as generator loss or frequency deviation, to ensure the operation is as smooth as possible [11].All these capabilities need to be integrated over a standard communication infrastructure for interoperability between different equipment. These are required to monitor the current status of the power network and to notify new operating conditions from EMS. There are many EMS algorithms in the literature [12][13][14][15]. However, these works only focus on the development and solution of an optimization equation. There is no detail about how such dispatch information is relayed. For instance, an EMS algorithm may be run, and as a result, storage needs to start discharging [16]. How this information will be sent from the EMS controller to the storage device is not discussed. It is assumed that there is a reliable and functioning communication solution that will enable transmission of such messages. There is ...