-
Notifications
You must be signed in to change notification settings - Fork 20
Add missing PV and EV components to datapipeline's stop method
#1222
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
Add missing PV and EV components to datapipeline's stop method
#1222
The head ref may contain hidden characters: "\u{1F4DA}\u{1F6B0}\u{1F9F9}(data-pipeline-cleanup)"
Conversation
Signed-off-by: Sahas Subramanian <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds missing EV and PV component shutdowns to the datapipeline’s stop method to ensure proper termination of all microgrid elements.
- Updates test cases in the PV Pool and EV Charger Pool to concurrently stop the datapipeline, streamer, and mock grid.
- Modifies the datapipeline _stop method to include stopping EV and PV power wrappers as well as EV charger and PV pool reference stores.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/timeseries/_pv_pool/test_pv_pool_control_methods.py | Adds concurrent stop calls in PV pool tests |
| tests/timeseries/_ev_charger_pool/test_ev_charger_pool_control_methods.py | Adds concurrent stop calls in EV charger pool tests |
| src/frequenz/sdk/microgrid/_data_pipeline.py | Updates stop method to properly stop additional EV and PV components |
f4f9516 to
919a0f4
Compare
tests/timeseries/_ev_charger_pool/test_ev_charger_pool_control_methods.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Sahas Subramanian <[email protected]>
No description provided.