Call for Paper - November 2023 Edition
IJCA solicits original research papers for the November 2023 Edition. Last date of manuscript submission is October 20, 2023. Read More

Optimizer in a Box: Simple Economic Optimization of Power Dispatch in Small Microgrids using OPC-UA

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2016
Roberto Alexandre Dias, Gregory das Chagas Gomes, Marcelo Lobo Heldwin

Roberto Alexandre Dias, Gregory Chagas Gomes and Marcelo Lobo Heldwin. Optimizer in a Box: Simple Economic Optimization of Power Dispatch in Small Microgrids using OPC-UA. International Journal of Computer Applications 156(9):27-33, December 2016. BibTeX

	author = {Roberto Alexandre Dias and Gregory das Chagas Gomes and Marcelo Lobo Heldwin},
	title = {Optimizer in a Box: Simple Economic Optimization of Power Dispatch in Small Microgrids using OPC-UA},
	journal = {International Journal of Computer Applications},
	issue_date = {December 2016},
	volume = {156},
	number = {9},
	month = {Dec},
	year = {2016},
	issn = {0975-8887},
	pages = {27-33},
	numpages = {7},
	url = {},
	doi = {10.5120/ijca2016912569},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, USA}


In this paper a simple approach to is presented to economically optimize the power dispatch in a small microgrids environment. The optimization is modeled as a linear program problem and was solved by the Gnu Linear Program Tool Kit (GLPK). The converters and inverters that compose the microgrid use the OPC-UA protocol over Ethernet network to exchange data. The main contribution of this paper is the development of a simple optimizer system and friendly communication framework, compatible with small microgrids using renewable energy sources, like green data-centers and home environments to minimize the energy cost subjected to power limits of energy sources and loads demands.


  1. Control, Automation and Robotics- ICINCO-RA. 2009.
  2. Elsayed, Ahmed T., Ahmed A. Mohamed, and Osama A. Mohammed. DC microgrids and distribution systems: An overview. Electric Power Systems Research 119 (2015): 407-417.
  3. Liaria, Alvaro, et al. Survey on microgrids: unplanned islanding and related inverter control techniques. Renewable Energy 36.8 (2011): 2052-2061.
  4. Thorncraft, Stuart R., Hugh R. Outhred, and David J. Clements. Evaluation of open-source LP optimization codes in solving electricity spot market optimization problems. Mini-Euro Conference on Operation Research Models and Methods in the Energy Sector. 2006.
  5. Klee, Victor, and George J. Minty. How good is the simplex algorithm. No. TR-22. WASHINGTON UNIV SEATTLE DEPT OF MATHEMATICS,
  6. 1970.
  7. Industry Agenda. Industrial Internet of Things: Unleashing the Potential of Connected Products and Services 1970.
  8. Mackiewicz, R. E. ”Overview of IEC 61850 and Benefits.” Power Systems Conference and Exposition, 2006. PSCE’06. 2006 IEEE PES. IEEE, 2006.
  9. Suic, Stjepan. ”Optimizing OPC UA middleware performance for energy automation applications.” Energy (2014).
  10. Pedersen, Anders Bro, et al. ”Facilitating a generic communication interface to distributed energy resources: Mapping IEC 61850 to RESTful services.” Smart Grid Communications (SmartGridComm), 2010 First IEEE International Conference on. IEEE, 2010.
  11. Moshi, Godfrey Gladson, Cristian Bovo, and Alberto Berizzi. ”Optimal operational planning for PV-Wind-Diesel-battery microgrid.” PowerTech, 2015 IEEE Eindhoven. IEEE, 2015.
  12. Stluka, Petr, Datta Godbole, and Tariq Samad. ”Energy management for buildings and microgrids.” Decision and Control and European Control Conference (CDC-ECC), 2011 50th IEEE Conference on. IEEE, 2011.


Microgrids, Linear Programming, OPC-UA, Simplex