Skip to content

Commit c48f7fd

Browse files
authored
Update README.md
1 parent 4b8b056 commit c48f7fd

File tree

1 file changed

+27
-18
lines changed

1 file changed

+27
-18
lines changed

README.md

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,37 @@
1-
# moc-spheg
2-
[![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=michaelfsb/moc-spheg)
1+
# moc-spheg [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=michaelfsb/moc-spheg)
32

4-
## Code of article: "Control optimo multifase de sistema fotovoltaico-hidrogeno asistido por red".
3+
## Overview
4+
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.
5+
6+
## Authors
7+
- Michael Barbosa (Universidade Federal de Santa Catarina)
8+
- José García Clúa (Instituto LEICI, Facultad de Ingeniería, UNLP)
9+
- Gustavo de Andrade (Universidade Federal de Santa Catarina)
10+
- Julio Normey-Rico (Universidade Federal de Santa Catarina)
11+
12+
## Abstract
13+
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.
514

615
## Dependencies
7-
This code was develop and tested using this softwares in this version:
16+
This code was developed and tested using the following software and versions:
817
- [MATLAB](https://www.mathworks.com/products/matlab.html) R2023a
918
- [CasADi](https://web.casadi.org/) v3.6.3
1019

11-
## How to run
12-
1. Instal CasADi
13-
14-
https://web.casadi.org/get/
15-
16-
2. Clone and run
20+
## How to Run
21+
You can execute the code in two ways: locally or in MATLAB Online. In both cases, the first step is to install CasADi.
1722

18-
You have, basicaly, two ways to run this code: using [MATLAB Online](https://www.mathworks.com/products/matlab-online.html) or usin a local version of MATLAB.
19-
20-
2.1. MATLAB online
23+
### Local Execution:
24+
1. Install CasADi by following the instructions provided on the [CasADi website](https://web.casadi.org/get/).
25+
2. Obtain the code by either:
26+
- Cloning this repository using the command:
27+
```
28+
git clone https://github.com/michaelfsb/moc-spheg.git
29+
```
2130
22-
https://matlab.mathworks.com/open/github/v1?repo=michaelfsb/moc-spheg
31+
### MATLAB Online Execution:
32+
1. Install CasADi by following the instructions provided on the [CasADi website](https://web.casadi.org/get/).
33+
2. Use this link to clone this repository to your MATLAB Online environment:<br>
34+
https://matlab.mathworks.com/open/github/v1?repo=michaelfsb/moc-spheg
2335
24-
2.2. Local
2536
26-
`git remote add origin https://github.com/michaelfsb/moc-spheg.git`
27-
28-
## How to cite
37+
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.

0 commit comments

Comments
 (0)