diff --git a/src/main/java/org/matsim/run/LeipzigScenario.java b/src/main/java/org/matsim/run/LeipzigScenario.java index d6b3a6d..e7481bf 100644 --- a/src/main/java/org/matsim/run/LeipzigScenario.java +++ b/src/main/java/org/matsim/run/LeipzigScenario.java @@ -41,6 +41,8 @@ import org.matsim.simwrapper.SimWrapperConfigGroup; import org.matsim.simwrapper.SimWrapperModule; import org.matsim.smallScaleCommercialTrafficGeneration.GenerateSmallScaleCommercialTrafficDemand; +import org.matsim.vehicles.VehicleType; +import org.matsim.vehicles.VehicleUtils; import picocli.CommandLine; import playground.vsp.scoring.IncomeDependentUtilityOfMoneyPersonScoringParameters; import playground.vsp.simpleParkingCostHandler.ParkingCostConfigGroup; @@ -335,10 +337,6 @@ public void install() { controler.addOverridingModule(new BicycleModule()); } - if (networkOpt.hasEBikeCity()) { - controler.getScenario().getVehicles().getVehicleTypes().get(TransportMode.bike).setMaximumVelocity(8.32); - - } } /** diff --git a/src/main/java/org/matsim/run/prepare/NetworkOptions.java b/src/main/java/org/matsim/run/prepare/NetworkOptions.java index 90e7297..f481921 100644 --- a/src/main/java/org/matsim/run/prepare/NetworkOptions.java +++ b/src/main/java/org/matsim/run/prepare/NetworkOptions.java @@ -35,10 +35,8 @@ public class NetworkOptions { private Path slowSpeedArea; @CommandLine.Option(names = "--slow-speed-relative-change", description = "provide a value that is bigger than 0.0 and smaller than 1.0") private Double slowSpeedRelativeChange; - @CommandLine.Option(names = "--slow-speed-relative-change", description = "provide a value that is bigger than 0.0 and smaller than 1.0") - private Path eBikeCity; @CommandLine.Option(names = "--eBikeCity", description = "simplified e-bike city") - + private Path eBikeCity; public boolean hasEBikeCity() {