Skip to content
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

TimeOfUseTariff: improvements for EVCS #2947

Merged
merged 3 commits into from
Dec 31, 2024
Merged

TimeOfUseTariff: improvements for EVCS #2947

merged 3 commits into from
Dec 31, 2024

Conversation

sfeilmeier
Copy link
Contributor

  • Add JsonUtils for LocalDateTime
  • Add DEBUG context to triggerReschedule() (temporary)
  • Add Bulider for EnergyScheduleHandlers
  • EvcsController
    • Add temporary configs for SmartMode
    • Apply smart config in run()
    • Add simple JSONRPC request/response
  • EnergyFlow: handle managedConsumption
  • Add first implementation of JSCalendar

Open TODOs

  • Fix EnergySession bugs with KEBA
  • EshCodec: valid states should be read from ESH (e.g. JSCalendar payload)
  • InitialPopulation: read good variations from ESHs (e.g. suggest force charge car during cheapest hour)
  • on interrupt: keep best "regularOptimization" up till now as input for next InitialPopulation

- Add DEBUG context to `triggerReschedule()` (temporary)
- Add Bulider for EnergyScheduleHandlers
- EvcsController
  - Add temporary configs for SmartMode
  - Apply smart config in `run()`
  - Add simple JSONRPC request/response
- EnergyFlow: handle managedConsumption
- Add first implementation of JSCalendar

Open TODOs
- Fix EnergySession bugs with KEBA
- EshCodec: valid states should be read from ESH (e.g. JSCalendar payload)
- InitialPopulation: read good variations from ESHs (e.g. suggest force charge car during cheapest hour)
- on interrupt: keep best "regularOptimization" up till now as input for next InitialPopulation
Copy link

codecov bot commented Dec 30, 2024

Codecov Report

Attention: Patch coverage is 60.58252% with 203 lines in your changes missing coverage. Please review.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #2947      +/-   ##
=============================================
+ Coverage      56.64%   56.65%   +0.01%     
- Complexity      9518     9542      +24     
=============================================
  Files           2253     2258       +5     
  Lines          96074    96412     +338     
  Branches        7095     7121      +26     
=============================================
+ Hits           54412    54608     +196     
- Misses         39653    39776     +123     
- Partials        2009     2028      +19     

@Sn0w3y
Copy link
Contributor

Sn0w3y commented Dec 31, 2024

As far as I understand a new "Smart" Working Method is published with this Code - is there a ToDo, that we need to integrate it in the UI aswell?

Greetings

@sfeilmeier sfeilmeier merged commit fa262c3 into develop Dec 31, 2024
5 of 7 checks passed
@sfeilmeier sfeilmeier deleted the feature/tou branch December 31, 2024 15:15
@sfeilmeier
Copy link
Contributor Author

I am not yet planning to make this feature "easily available", so no specific UI task yet.

See details here: https://community.openems.io/t/time-of-use-charge-electric-vehicle/4961

Guten Rutsch! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants