New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduling a battery against multiple constraints #591
Comments
(I'm assuming you used It looks like you want to optimize the battery as part of a system that includes (power sensors for) a load and 2 generators (wind and solar). Our storage scheduler allows you to include those 3 power sensors using the Note that FlexMeasures' default is to store consumption as negative power values. If you need the scheduler to switch the interpretation of the sign of your power values, add the
As far as pricing is concerned, our current scheduler only allows you to put a price on the net load/supply flow of this system, rather than on the power flow of the individual assets. To price the net load flow, you can use the You'll need to set up at least one price sensor with price data, too. I should note that the fields I mention above are all API fields. For the CLI (which is what it looks like you're using), we have corresponding options (in If this answers your question, I would propose to interpret your issue as a feature request for implementing the |
Hi @Flix6x, Thanks for helping me out here! Yes, I'm using the
With this API call, I'm seeing the validation error coming from Marshmallow returning 422 UNPROCESSABLE_ENTITY with an What's the correct way to diagnose this 422 error? Thanks! |
Looks like you encountered a |
@Flix6x, I see, okay, I'd be glad to contribute to a patch. |
@Flix6x, #593 has been merged. So can we close this issue now? Should @anirudh-ramesh test on the main branch (if possible)? |
@anirudh-ramesh Thanks for the offer. I've just released Otherwise, if you have a need to be able to pass |
I have a use-case of scheduling a battery pack against a combination of three constraints:
I've added beliefs for each of the three electricity meters. There's a forecast created from an external application for each of the three entities mentioned above.
I'm able to prepare a schedule against an individual constraint, but I'm unable to use
flexmeasures add schedule for-schedule
withsensor-id
as the battery schedule. What should be the consumption price sensor for this use-case?Thanks!
The text was updated successfully, but these errors were encountered: