Skip to content
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

expose storage and ems power capacities as flex-model fields #850

Conversation

victorgarcia98
Copy link
Contributor

@victorgarcia98 victorgarcia98 commented Sep 14, 2023

Description

This PR exposes the storage and ems power capacities as flex-model fields:

  • name: storage_power_capacity_in_mw, type: Quantity("MW"), required=False
  • name: ems_power_capacity_in_mw, type: Quantity("MW"), required=False

TODO

  • Add changelog entry
  • Confirm name of the new fields

Related Items

Closes #335


  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
@victorgarcia98 victorgarcia98 marked this pull request as ready for review September 14, 2023 12:17
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
…storage-power-capacities-flex-model' into feature/planning/expose-ems-and-storage-power-capacities-flex-model
Copy link
Contributor

@Flix6x Flix6x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Three more todos:

  • a test
  • API documentation in the trigger docstring
  • documentation in the notation.rst flex-model and flex-context sections

flexmeasures/data/schemas/scheduling/storage.py Outdated Show resolved Hide resolved
flexmeasures/data/schemas/scheduling/storage.py Outdated Show resolved Hide resolved
flexmeasures/data/models/planning/storage.py Outdated Show resolved Hide resolved
flexmeasures/data/models/planning/storage.py Outdated Show resolved Hide resolved
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
…storage-power-capacities-flex-model' into feature/planning/expose-ems-and-storage-power-capacities-flex-model
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Flix6x and others added 5 commits September 20, 2023 14:19
Revert accidental indentation

Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Missing comma

Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Redacted two more mentions of `storage power capacity`.

Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Signed-off-by: F.N. Claessen <felix@seita.nl>
…r-capacities-flex-model

Signed-off-by: Victor <victor@seita.nl>
@victorgarcia98 victorgarcia98 merged commit 64beb24 into main Sep 20, 2023
7 of 9 checks passed
@victorgarcia98 victorgarcia98 deleted the feature/planning/expose-ems-and-storage-power-capacities-flex-model branch September 20, 2023 14:08
@Flix6x Flix6x added this to the 0.16.0 milestone Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add capacity_in_mw to flex model for scheduling
2 participants