Coder Social home page Coder Social logo

michaelfsb / moc-spheg Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 35 KB

This repository contains the code related to the research article titled "Control óptimo multifase de sistema fotovoltaico-hidrógeno asistido por red".

License: MIT License

MATLAB 100.00%
electrolyser matlab optimal-control optimization photovoltaic-systems renewable-energy green-hydrogen casadi

moc-spheg's Introduction

moc-spheg Open in MATLAB Online

Overview

This repository contains the code related to the research article titled "Control óptimo multifase de sistema fotovoltaico-hidrógeno asistido por red," which will be presented at the XX Reunión de Trabajo en Procesamiento de la Información y Control (RPIC 2023) from November 1 to November 3, 2023.

Authors

  • Michael Barbosa (Universidade Federal de Santa Catarina)
  • José García Clúa (Instituto LEICI, Facultad de Ingeniería, UNLP)
  • Gustavo de Andrade (Universidade Federal de Santa Catarina)
  • Julio Normey-Rico (Universidade Federal de Santa Catarina)

Abstract

Water electrolysis is being increasingly considered worldwide because of its potential to produce green hydrogen using renewable energy sources. This work focuses on the control of a PEM electrolyzer powered by photovoltaic solar energy, assisted by an electrical grid. To minimize this assistance, the application of numerical optimal control techniques is proposed, particularly the Hermite–Simpson direct collocation method. To meet the variable operating specifications of the electrolyzer, both single-phase and multiphase techniques have been suggested. These techniques predefine the temporal subintervals for switching dynamics and restrict the optimization variables for various conditions. Both frameworks are transformed into an nonlinear program (NLP) problem, which is solved using the IPOPT optimizer. The results obtained enable the analysis and comparison of improvements introduced not only in terms of NLP resolution time but also in the volume of hydrogen produced, utilization of renewable energy, and minimization of grid energy consumption.

Dependencies

This code was developed and tested using the following software and versions:

How to Run

You can execute the code in two ways: locally or in MATLAB Online. In both cases, the first step is to install CasADi.

Local Execution:

  1. Install CasADi by following the instructions provided on the CasADi website.
  2. Obtain the code by either:
    • Cloning this repository using the command:
      git clone https://github.com/michaelfsb/moc-spheg.git
      

MATLAB Online Execution:

  1. Install CasADi by following the instructions provided on the CasADi website.
  2. Use this link to clone this repository to your MATLAB Online environment:
    https://matlab.mathworks.com/open/github/v1?repo=michaelfsb/moc-spheg

Afterward, you can access the "src" folder and run the following scripts: "single_phase.m", "multi_phase_1.m" or "multi_phase_2.m" to obtain the results presented in the article.

moc-spheg's People

Contributors

michaelfsb avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

giecli

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.