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

Introduce RequestCompositeScheduleUnit argument in OCPP module #914

Merged
merged 7 commits into from
Oct 23, 2024

Conversation

Pietfried
Copy link
Contributor

@Pietfried Pietfried commented Oct 15, 2024

Describe your changes

Libocpp so far had always reported composite schedules using the ChargingRateUnit::A (amps). This is now configurable with this PR, allowing to specify the unit as an argument.

This PR introduces the RequestCompositeScheduleUnit as an argument in the OCPP module, which is then used when requesting the composite schedule. The same was already done for the OCPP201 module.

Additionally, this PR also sets the ac_max_phase_count for DC schedules, to allow phase switching in the Energymanagement. It was only set for AC schedules so far.

TODOs

* Update libocpp dependency once EVerest/libocpp#834 is merged.
* Update module documentation pointing to this parameter : Will be done as part of #908

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@Pietfried Pietfried changed the title Set numberPhases also for Watt Unit in OCPP Introduce RequestCompositeScheduleUnit argument in OCPP module Oct 15, 2024
@Pietfried Pietfried marked this pull request as ready for review October 15, 2024 13:46
@corneliusclaussen corneliusclaussen force-pushed the bugfix/phase-switching-ac branch from ae9a557 to b9dfdf4 Compare October 16, 2024 11:02
@Pietfried Pietfried force-pushed the bugfix/phase-switching-ac branch from b9dfdf4 to 10447b4 Compare October 16, 2024 13:58
@Pietfried Pietfried added the include-in-release Tag that this PR should be included in the current merge window for the upcoming release if possible label Oct 16, 2024
modules/OCPP/manifest.yaml Outdated Show resolved Hide resolved
Pietfried and others added 5 commits October 18, 2024 11:39
…t when requesting composite schedules

Signed-off-by: Piet Gömpel <[email protected]>
Signed-off-by: Piet Gömpel <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
@Pietfried Pietfried force-pushed the bugfix/phase-switching-ac branch from f9c2689 to 8b6ffd9 Compare October 18, 2024 12:45
This reverts commit eea3ddd.

Signed-off-by: Piet Gömpel <[email protected]>
@Pietfried Pietfried force-pushed the bugfix/phase-switching-ac branch from 8b6ffd9 to 48cc6af Compare October 18, 2024 12:53
@Pietfried Pietfried merged commit 2f9152f into main Oct 23, 2024
9 of 10 checks passed
@Pietfried Pietfried deleted the bugfix/phase-switching-ac branch October 23, 2024 07:44
hikinggrass pushed a commit that referenced this pull request Oct 25, 2024
* Set numberPhases also for Watt Unit in OCPP
* Added parameter RequestCompositeScheduleUnit for OCPP module to use it when requesting composite schedules
---------

Signed-off-by: Piet Gömpel <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Piet Gömpel <[email protected]>
Co-authored-by: Cornelius Claussen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include-in-release Tag that this PR should be included in the current merge window for the upcoming release if possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants