Repository navigation
Add external charge control mode for EVSE - #3999
Christoph-87 wants to merge 9 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3999 +/- ##
=============================================
+ Coverage 57.15% 57.17% +0.02%
- Complexity 22095 22119 +24
=============================================
Files 4176 4176
Lines 190779 190836 +57
Branches 16290 16297 +7
=============================================
+ Hits 109027 109086 +59
+ Misses 77306 77303 -3
- Partials 4446 4447 +1 🚀 New features to boost your workflow:
|
679786b to
ae91b79
Compare
|
@Howaner: Opinions? |
|
Hi @sfeilmeier @Howaner, just wanted to follow up on this PR. The implementation is ready for review from my side. I'd appreciate any feedback, especially on whether the proposed approach fits the intended EVSE architecture. Thanks! |
Howaner
left a comment
There was a problem hiding this comment.
Looks good so far - I think it's a good idea to have a way for externals to override the system behaviour.
Can you take a look at the comments and pull the latest develop branch into your branch? The RunUtils class was split up into PowerDistribution classes.
ae91b79 to
3e7288d
Compare
4aba150 to
dc1a671
Compare
|
Rebased this branch onto the current |
|
@Christoph-87 would you mind bringing this up to date agsin (if I understood it correctly, there are some conflicts)? If I understand this feature correctly, it would allow us to handle charging of car sharing wall boxes generally optimized by OpenEMS (e.g., PV surplus) and overrule the OpenEMS logic by a car sharing booking system (e.g., ensuring that a booked car is fully charged at a specific time). |
Preserve user-event and charge-session handling, account for external limits in live and simulated power distribution, and allow static overrides without PV surplus while retaining ZERO mode. Document booking-system scope and override lifetime.
Summary
This is a focused first step for #3943. It adds a generic external setpoint path for EVSE charge points while keeping OpenEMS responsible for device safety and ability limits.
The PR adds:
EvseChargePointchannels:SetMaximumChargePowerin WSetChargingEnabledController.Evse.Singlemode:EXTERNALThe branch is rebased onto the current
developbranch and incorporates the review feedback, including the split from the formerRunUtilslogic to the current power-distribution classes.Out of scope for this first PR:
Validation
Both commands complete successfully on Java 21.