Optimization problem approach for sharing energy simulation

1 visualizzazione (ultimi 30 giorni)
Hey,
currently I am writing code for an optimization problem, but I am stuck at a point where I do not know the best way of formulating it.
Here is the idea: I am simulating a future energy network, where the citizen are able to trade energy with each other. Every house has an energy storage and photovoltaics. Every Evening T-1 before the next day starts a optimal way for sharing energy is calculated for the next day.
The goal of the optimization is to minimize the input from the general power grid. For example: If a house has no energy left in their storage and no energy generation from the PV to cover the demand, then it has to take energy from the grid.
The input data is the forecast of the energy demand, the forecast of PV energy generation and the last status of the energy storage for each house for the next day.
Now I am not sure which of the following approaches would be the best: 1. The solver only receives the data for one hour and calculates the best way of sharing energy with each other. 2. The solver receives all data for the next day, so he could know of all the status of the energy storages (full etc) at the same time and then calculates the best way of sharing energy with each other.
Is the second approach even possible to give the solver the whole matrix at once ?
Thank you for your time reading this!
  1 Commento
Rishi Binda
Rishi Binda il 30 Ago 2018
Can you try both the approaches and see what results you are getting. MATLAB can handle large data sets computation. If you are facing any issues or errors in execution please share you code and the errors with us.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by