Git Product home page Git Product logo

felixgw / microgrid-ems-optimization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonlesage/microgrid-ems-optimization

0.0 0.0 0.0 1.12 MB

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.

Home Page: https://www.mathworks.com/support/search.html/videos/energy-storage-optimization-1572452905678.html

License: Other

MATLAB 100.00%

microgrid-ems-optimization's Introduction

Optimal Energy Management with Microgrid Example

This example shows how optimization can be combined with forecast data to operate an Energy Management System (EMS) for a microgrid.

Two styles of EMS are demonstrated in the "microgrid_WithESSOpt.slx" model:

  • Heuristic approach using State Machine Logic (Stateflow)
  • Optimization-based approach to minimize cost subject to operational constraints

View Microgrid Energy Management System (EMS) using Optimization on File Exchange

Getting Started

The slides, "EMS_Optimization_Formulation.pdf", walk through the formulation of the optimization problem and the assumptions that were made. Additionally, a video walkthrough of this example can be found here: https://www.mathworks.com/support/search.html/videos/energy-storage-optimization-1572452905678.html

To run this demo:

  1. Extract the files to a directory and navigate to that folder in MATLAB
  2. Open the "microgrid_WithESSOpt.slx" model. This model should automatically add the "Resources" folder to the path
  3. Run the model in either Heuristic or Optimization mode using the slider
  4. The MATLAB only folder shows the optimization routine with just MATLAB code (no physical model for verification)

Toolbox Requirements

  • MATLAB
  • Optimization Toolbox
  • Simulink
  • Simscape
  • Simscape Electrical
  • Stateflow

microgrid-ems-optimization's People

Contributors

jonlesage avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.