Skip to content

Commit

Permalink
Merge pull request #3065 from moia-oss/edrt-fix
Browse files Browse the repository at this point in the history
Only use EvBaseModule in EDrt
  • Loading branch information
tschlenther authored Jan 23, 2024
2 parents 817303c + 719af7a commit 71f9eae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.matsim.contrib.drt.run.MultiModeDrtConfigGroup;
import org.matsim.contrib.dvrp.run.DvrpModule;
import org.matsim.contrib.dvrp.run.DvrpQSimComponents;
import org.matsim.contrib.ev.EvModule;
import org.matsim.contrib.ev.EvBaseModule;
import org.matsim.contrib.ev.discharging.IdleDischargingHandler;
import org.matsim.contrib.evrp.EvDvrpFleetQSimModule;
import org.matsim.contrib.evrp.OperatingVehicleProvider;
Expand All @@ -50,7 +50,7 @@ public static Controler createControler(Config config, boolean otfvis) {
Controler controler = new Controler(scenario);
controler.addOverridingModule(new MultiModeEDrtModule());
controler.addOverridingModule(new DvrpModule());
controler.addOverridingModule(new EvModule());
controler.addOverridingModule(new EvBaseModule());

for (DrtConfigGroup drtCfg : multiModeDrtConfig.getModalElements()) {
controler.addOverridingQSimModule(new EvDvrpFleetQSimModule(drtCfg.getMode()));
Expand Down

0 comments on commit 71f9eae

Please sign in to comment.