openems icon indicating copy to clipboard operation
openems copied to clipboard

Day Ahead Scheduling Algorithm

Open saadsaeed123 opened this issue 6 years ago • 7 comments

  • [x] feature request

Desired functionality.

is there a day ahead scheduling algorithm present in latest version of OpenEMS?

saadsaeed123 avatar Sep 30 '19 10:09 saadsaeed123

Hi,

yes, this is a topic we are actively working on. Please see this thread in the community forum: https://community.openems.io/t/integrate-weather-data-for-forecasts/123

@venu-sagar is currently testing an algorithm that uses these forecasts to limit the battery charging during the day. This is not in 'develop' branch yet. He also implemented a controller that uses day ahead dynamic prices by Awattar to optimize charge/discharge behaviour of a battery during the night.

sfeilmeier avatar Sep 30 '19 11:09 sfeilmeier

So what is this predictor API? Is this API mentioned in the document somewhere?
Can you please give a reference to the '‘same-as-last-day' algorithm? How does this algorithm works?

saadsaeed123 avatar Sep 30 '19 12:09 saadsaeed123

If I am not wrong 'same-as-the-last-day' algorithm is simply using the energy values of the current day as the predicted values for the next day?

saadsaeed123 avatar Sep 30 '19 13:09 saadsaeed123

Yes, that's true. It's just meant to be a simple "dummy" implementation. Together with University of Passau we are currently developing more advanced implementations of the predictor APIs (https://openems.github.io/openems.io/openems/latest/randd.html#_emsig).

What is your use-case?

sfeilmeier avatar Sep 30 '19 17:09 sfeilmeier

Actually I was looking for an implementation of MILP which is widely used in DC Micro-grids as an optimization algorithm which uses day ahead prediction . It minimizes 'cost' based upon some constraints e.g. 'Grid Injection Limits', 'Storage Limits', e.t.c. Following are the papers in which these algorithm is used. https://www.researchgate.net/publication/260913618_DC_microgrid_power_flow_optimization_by_multi-layer_supervision_control_Design_and_experimental_validation https://ieeexplore.ieee.org/document/7514024 https://ieeexplore.ieee.org/document/7048778

saadsaeed123 avatar Oct 01 '19 06:10 saadsaeed123

The algorithms sound indeed interesting. Unfortunately I do not have access to researchgate. Would you mind sending that pdf so I can have a look? (stefan.feilmeier at fenecon.de)

sfeilmeier avatar Dec 16 '19 18:12 sfeilmeier

Day ahead scheduling might be sourced via http://api.corrently.io/v2.0/marketdata (documentation: https://corrently.io/#operation/gsiMarketdata ) - However I think this issue might be moved from "Open" to "Implemented" as most of the code exists.

zoernert avatar Feb 15 '21 12:02 zoernert