-
Notifications
You must be signed in to change notification settings - Fork 400
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
Energy Scheduler #2789
Merged
Merged
Energy Scheduler #2789
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Introduce generically usable EnergyScheduleHandler (ESH) for executing energy simulations and applying schedules - Provide nice debugLog output and channel "SimulationsPerQuarter" to detect performance issues - Introduce new implementation of `EnergyFlow` that uses linear constraint validation and optimization - Implement for `Controller.Ess.Time-Of-Use-Tariff`, `Controller.Ess.EmergencyCapacityReserve`, `Controller.Ess.LimitTotalDischarge` and `Controller.Ess.GridOptimizedCharge` (ALPHA) - Add config property "Version" to be able to switch between old (only ESS, but fast and well tested) and new (generic ESH but slower) implementation. - Attention: be sure to set EnergyScheduler (`Core.Energy`) and `Controller.Ess.Time-Of-Use-Tariff` to the same Version! - Old implementations are moved to `v1` packages and marked @deprecated and will be removed in one of the next versions of OpenEMS. Unfortunately right now this leads to some mixed code.
Codecov ReportAttention: Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #2789 +/- ##
=============================================
+ Coverage 56.41% 56.54% +0.14%
- Complexity 8673 8882 +209
=============================================
Files 2147 2167 +20
Lines 90682 91918 +1236
Branches 6746 6834 +88
=============================================
+ Hits 51146 51963 +817
- Misses 37710 38097 +387
- Partials 1826 1858 +32 |
Impulse by Stefan Feilmeier at OpenEMS Hackathon 2024 at Slashwhy offices in Osnabrück. |
(cherry picked from commit 0a63f37e734506ba014c5edc4e0d9f6b38336b9f)
(cherry picked from commit 73ede82017a0249a8936cd41cc87aa2577e3e317)
(cherry picked from commit 577394289d1e3dfde20da3fdaee574812a57c8c1)
(cherry picked from commit 188ee048b6a5fa5fa445425995a39b1c1ca6d438)
(cherry picked from commit 2fecaca7c04e7b4597e5b5d8fa3e10de46cd84f0)
(cherry picked from commit e9e9fc8728db7b16ae5e39cc17b358301c2cc322)
(cherry picked from commit 0e513bbcdc0ce339693e059d84a5e1d565469f58)
(cherry picked from commit 323d3b636e7ed70025e0607a955f0ba28915e226)
(cherry picked from commit 59fbce38fcc32bba2d998818c9204886bb5400d6)
(cherry picked from commit d5d52f91e46b828017ed0a9974ece9d74437ff28)
…energy-scheduler # Conflicts: # io.openems.common/src/io/openems/common/worker/AbstractWorker.java # io.openems.edge.controller.ess.timeofusetariff/test/io/openems/edge/controller/ess/timeofusetariff/TimeOfUseTariffControllerImplTest.java # io.openems.edge.energy/src/io/openems/edge/energy/Config.java # io.openems.edge.energy/src/io/openems/edge/energy/EnergySchedulerImpl.java # io.openems.edge.energy/src/io/openems/edge/energy/LogVerbosity.java # io.openems.edge.energy/src/io/openems/edge/energy/optimizer/Optimizer.java # io.openems.edge.energy/test/io/openems/edge/energy/EnergySchedulerImplTest.java # io.openems.edge.energy/test/io/openems/edge/energy/MyConfig.java # io.openems.edge.energy/test/io/openems/edge/energy/optimizer/UtilsTest.java
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Core.Energy
) andController.Ess.Time-Of-Use-Tariff
to the same Version!EnergyFlow
that uses linear constraint validation and optimizationController.Ess.Time-Of-Use-Tariff
,Controller.Ess.EmergencyCapacityReserve
,Controller.Ess.LimitTotalDischarge
andController.Ess.GridOptimizedCharge
(MANUAL only)v1
packages and marked @deprecated and will be removed in one of the next versions of OpenEMS. Unfortunately right now this leads to some mixed code.