flexmeasures
flexmeasures copied to clipboard
Feature/save soc values as a sensor
Description
This PR introduces create_soc_schedule
, a function to generate a state of charge (SOC) schedule from provided data. It also handles the creation or retrieval of the corresponding SOC sensor.
Look & Feel
UI output looks like this:
How to test
Try to run the Toy examples(1 and 2), first add the beliefs from here and then add the schedule from here. You will see a sensor with name soc schedule
and id 4
. Similarly, you can see the data in timed_beliefs
table.
Further Improvements
Potential improvements to be done in the same PR or follow up Issues/Discussions/PRs.
Related Items
Mention if this PR closes an Issue or Project.
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures