GithubHelp home page GithubHelp logo

wuyou33 / hierarchical-building-microgrid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielayamashita/hierarchical-building-microgrid

0.0 2.0 0.0 29.64 MB

Implementation of a building hierarchical control for Microgrid using Model Predictive Control (MPC).

hierarchical-building-microgrid's Introduction

Hierarchical-Building-Microgrid

Introduction

This MATLAB code consists of a two-level Hierarchical Model Predictive Control (HMPC) implemented to manage a building microgrid equipped with Li-ion batteries, photovoltaic solar panels (PV) and plug-in electrical vehicles (PEV) as depicted in the following scheme. This control structure is a simplified one which highlights the tertiary control level with the implementation of the economic power dispatch.

alt text

Approach

1. Plant under study

  • 1 Photovoltaic painel with real data (~0 - 1 kW)
  • 1 Building with power consumption between 0 - 0.8 kW
  • 1 Li-ion battery package (Capacity: 68 kWh/ Max. charging and discharging rate: +/- 10 kWh)
  • 1 Electrical Vehicle with 1 Li-ion battery package (Capacity: 68 kWh/ Max. charging and discharging rate: +/- 2.5 kWh)

2. Proposed Control

  • Tertiary Control layer with daily market
    • Horizon (Nh): 48h (wheather forecast + power consumption)
    • Ts': 24h (each day the building sends to the community aggregator the electricity trading plan for the following day commitiment)
    • Ts: 1h (discretization of the electricity trading plan)
  • Tertiary Control layer with intraday market
    • Horizon (Nh): 6h (wheather forecast + power consumption)
    • Ts: 1h (electricity purchase or sell at last moment)

Simulation

You can have a preview of the HMPC by seeing the simulations videos of the Hierarchical Control without disturbance and Hierarchical Control with disturbance:

Hierarchical Control without disturbance

Hierarchical Control with disturbance

hierarchical-building-microgrid's People

Contributors

danielayamashita avatar

Watchers

 avatar  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.