This repository provides an example of Energy Flow Optimization, where we optimize energy flows in a system consisting of a photovoltaic (PV) system, an electrical battery, a connection to the external electrical grid, and a consumer. The objective is to meet the predicted electrical energy consumption while minimizing costs.
The project is part of a technical task for an interview process with hymate. The problem statement can be found in the instructions.pdf file, and the data for the problem instance is in the test_data.xlsx file.
Two solutions to the problem are provided:
- Pyomo: The original solution solved using Pyomo.
- AMPL: Another implementation of the solution using AMPL.
In the root directory, you can find the following files and directories:
pyomo/: The folder containing the Pyomo solution.ampl/: The folder containing the AMPL solution.latex/: The LaTeX files for the reports found in the solution folders.instructions.pdf: Problem statement and details of the technical task.license.txt: The license of the project.README.md: This file.test_data.xlsx: Data for the problem instance.
Visit each subfolder corresponding to the solution of interest. Inside each folder, you will find specific instructions on how to set up and run the solution.
This project is released under the MIT License. Feel free to use, modify, and distribute the code as per the license terms.
Amine Abdellaziz
For any questions or feedback, please feel free to reach out:
- Email: abdellazizamine@posteo.net
- GitHub: @mathaziz
The problem statement and instructions in instructions.pdf, and the data in test_data.xlsx, are the property of hymate and are reproduced here with permission.