Article Development of Middleware Applied to Microgrids by Means of an Open Source Enterprise Service Bus Jesús Rodríguez-Molina *, José-Fernán Martínez, Pedro Castillejo and Gregorio Rubio Research Center on Software Technologies and Multimedia Systems for Sustainability (CITSEM) Campus Sur UPM, Ctra. Valencia, Km 7, 28031 Madrid, Spain;
[email protected] (J.-F.M.);
[email protected] (P.C.);
[email protected] (G.R.) * Correspondence:
[email protected]; Tel.: +34-914-524-900 (ext. 20794) Academic Editor: Paras Mandal Received: 30 September 2016; Accepted: 29 January 2017; Published: 10 February 2017 Abstract: The success of the smart grid relies heavily on the integration of Distributed Energy Resources (DERs) and interoperability among the hardware elements that are present as part of either the smart grid itself or in a smaller size deployment, such as a microgrid. Therefore, establishing an accurate design for software architectures that guarantee interoperability and are able to abstract hardware heterogeneity in this application domain, along with a clearly defined procedure on how to implement and test a solution like this, becomes a desirable objective. This paper describes the requirements needed to design a secure, decentralized and semantic middleware architecture for microgrids and the procedures used to develop it, so that the mandatory software components that have to be encased by the solution, as well as the steps that should be followed to make it happen, become clear for any designer, software architect or programmer that has to tackle similar challenges. In order to demonstrate the usability of the ideas put forward here, two successful pilots where middleware solutions were created according to these principles have been described.