Code Monkey home page Code Monkey logo

adaptive_single_phase_microgrid's Introduction

Grid-Forming Inverter applied to a Single-Phase Microgrid

This repository contains the source code and documentation for the implementation of a control strategy for a single-phase microgrid.

Overview

The microgrid control system presented here employs grid-forming inverters to ensure voltage and frequency stability while integrating renewable energy sources effectively. The control strategy consists of inner control loops designed using a proportional controller for current and a proportional-resonant controller for voltage regulation. Additionally, virtual impedance and droop control are implemented to facilitate load sharing without communication between inverters.

Directory Structure

  • src: Contains the source code for the microgrid control algorithms implemented in C.
  • output: Contains compiled dynamic-link library (.dll) files generated from the source code.
  • matlab: Contains the MATLAB project file for the microgrid controller.
  • hil: Contains the hardware-in-the-loop (HIL) simulation setup in Typhoon HIL Controller Center.

Getting Started

To get started with using the microgrid control system, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the hil directory and open single_phase_microgrid.tse using Typhoon HIL Control Center.
  3. Compile the simulation using Compile and load model in SCADA VHIL MODE.
  4. Run the simulation and feel free to change microgrid and control parameters.

For detailed documentation about the control law, refer to the file in the doc directory.

Contributions

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the GPL-3.0 license - see the COPYING file for details.

adaptive_single_phase_microgrid's People

Contributors

paesee avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

k486d2

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.