Skip to content

Commit

Permalink
Merge eb6f9b7 into 877991f
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgarcia98 committed May 23, 2023
2 parents 877991f + eb6f9b7 commit 24064f0
Show file tree
Hide file tree
Showing 5 changed files with 779 additions and 48 deletions.
1 change: 1 addition & 0 deletions documentation/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ New features
-------------

* Introduction of the classes `Reporter` and `PandasReporter` [see `PR #641 <https://www.github.com/FlexMeasures/flexmeasures/pull/641>`_]
* Add multiple maxima and minima constraints into `StorageScheduler` [see `PR #680 <https://www.github.com/FlexMeasures/flexmeasures/pull/680>`_]


Bugfixes
Expand Down
14 changes: 13 additions & 1 deletion flexmeasures/api/v3_0/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ def trigger_schedule( # noqa: C901
This message triggers a 24-hour schedule for a storage asset, starting at 10.00am,
at which the state of charge (soc) is 12.1 kWh, with a target state of charge of 25 kWh at 4.00pm.
The minimum and maximum soc are set to 10 and 25 kWh, respectively.
The global minimum and maximum soc are set to 10 and 25 kWh, respectively.
To guarantee a minimum SOC in the period prior to 4.00pm, local minima constraints are imposed (via soc-minima)
at 2.00pm and 3.00pm, for 15kWh and 20kWh, respectively.
Roundtrip efficiency for use in scheduling is set to 98%.
Aggregate consumption (of all devices within this EMS) should be priced by sensor 9,
and aggregate production should be priced by sensor 10,
Expand All @@ -289,6 +291,16 @@ def trigger_schedule( # noqa: C901
{
"value": 25,
"datetime": "2015-06-02T16:00:00+00:00"
},
],
"soc-minima" : [
{
"value": 15,
"datetime" : "2015-06-02T14:00:00+00:00"
},
{
"value": 20,
"datetime" : "2015-06-02T15:00:00+00:00"
}
],
"soc-min": 10,
Expand Down
Loading

0 comments on commit 24064f0

Please sign in to comment.