Skip to content

Commit

Permalink
remove unnecessary stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
GregorRyb committed Aug 27, 2024
1 parent 5bb1212 commit 7b28399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions src/main/java/org/matsim/run/LeipzigScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -335,10 +337,6 @@ public void install() {
controler.addOverridingModule(new BicycleModule());
}

if (networkOpt.hasEBikeCity()) {
controler.getScenario().getVehicles().getVehicleTypes().get(TransportMode.bike).setMaximumVelocity(8.32);

}
}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/org/matsim/run/prepare/NetworkOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 7b28399

Please sign in to comment.