Updated 17 Apr 2020
Energy management systems (EMS) help to optimize the usages of distributed energy resources (DERs) in microgrids, particularly when variable pricing and generation are involved. This example walks through the process of developing an optimization routine that uses forecast pricing and loading conditions to optimally store/sell energy from a grid-scale battery system. Two approaches are demonstrated: a heuristic state machine strategy and the linear program-based optimization approach.
The main example uses a full microgrid simulation for validation of the EMS optimization algorithm. However, there is a purely MATLAB/Optimization Toolbox example that shows the formulation of the optimization without the validation study.
Jonathan LeSage (2020). Microgrid Energy Management System (EMS) using Optimization (https://www.github.com/jonlesage/Microgrid-EMS-Optimization), GitHub. Retrieved .
See release notes for this release on GitHub: https://github.com/jonlesage/Microgrid-EMS-Optimization/releases/tag/v19.1.0