Skip to content

Conversation

@victorgarcia98
Copy link
Contributor

Description

This PR introduces the field state-of-charge, a sensor to save the state of charge associated with an schedule. In the future, we could use this sensor to get the starting SOC.

Related Items

This PR is based on the work of #1018 but it starts from scratch given the recent changes on multi asset scheduling.


  • 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

@nhoening
Copy link
Contributor

So the scheduler saves SoC planning to this sensor, but we are not yet using it for anything else, like a starting SoC?

That should be clearer in the documentation (on schema and CLI)

Victor Garcia Reolid added 13 commits April 1, 2025 09:31
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
@victorgarcia98 victorgarcia98 requested a review from Flix6x April 1, 2025 10:39
Signed-off-by: Victor Garcia Reolid <[email protected]>
@nhoening nhoening added this to the 0.26.0 milestone Apr 1, 2025
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.

Almost there. Nice that you included the CLI already, too.

Victor and others added 5 commits April 2, 2025 00:20
Co-authored-by: Felix Claessen <[email protected]>
Signed-off-by: Victor <[email protected]>
Co-authored-by: Felix Claessen <[email protected]>
Signed-off-by: Victor <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
Co-authored-by: Felix Claessen <[email protected]>
Signed-off-by: Victor <[email protected]>
@victorgarcia98 victorgarcia98 requested a review from Flix6x April 1, 2025 22:30
Victor Garcia Reolid added 2 commits April 2, 2025 00:37
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.

Nice. This is going to be super helpful. I just found one more potential bug in how the CLI command sets the job kwargs, and please add a changelog entry for 0.26.0.

Victor Garcia Reolid added 3 commits April 2, 2025 10:51
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.

🪂

Victor Garcia Reolid added 2 commits April 2, 2025 11:17
Signed-off-by: Victor Garcia Reolid <[email protected]>
Signed-off-by: Victor Garcia Reolid <[email protected]>
@victorgarcia98 victorgarcia98 merged commit e70878f into main Apr 2, 2025
8 checks passed
@victorgarcia98 victorgarcia98 deleted the feature/plannin/save-soc branch April 2, 2025 11:05
Flix6x added a commit that referenced this pull request Jun 2, 2025
Flix6x added a commit that referenced this pull request Jun 2, 2025
Flix6x added a commit that referenced this pull request Jun 2, 2025
* docs: api changelog entry for #1392

Signed-off-by: F.N. Claessen <[email protected]>

* docs: update main changelog entry for #1392

Signed-off-by: F.N. Claessen <[email protected]>

* docs: update month of 0.26 release

Signed-off-by: F.N. Claessen <[email protected]>

---------

Signed-off-by: F.N. Claessen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Scheduling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants