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

feat: define which EV to charge during activities #3115

Merged
merged 2 commits into from
Feb 19, 2024
Merged

Conversation

tschlenther
Copy link
Contributor

This PR adds the feature to define for which EV pre-planning for charging during the drivers' activities should take place (as opposed to charging during a trip like it's done by the EVNetworkRoutingModule).
The definition is simply added as an Vehicle attribute.
Corresponding setters and getters are provided in the newly introduced UrbanEVUtils.
By default, it is assumed that all EV shall be replanned by the UrbanEVTripsPlanner, i.e. all EV shall be charged during activities and not legs. This default is set as, this behavior needs to be enabled by configuring the UrbanEVModule in the first place.
A corresponding test is included in UrbanEVTests.

@tschlenther tschlenther merged commit 1711854 into master Feb 19, 2024
48 checks passed
@tschlenther tschlenther deleted the urbanEVUtils branch February 19, 2024 10:57
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.

1 participant