Skip to content

Commit

Permalink
fix duplicate type
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Sep 9, 2024
1 parent 45ccbc1 commit 1a367a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ private static Scenario getScenarioWithPseudoPtNetworkAndTransitVehicles(Network
VehicleUtils.setDoorOperationMode(busVehicleType, VehicleType.DoorOperationMode.serial); // first finish boarding, then start alighting
VehicleUtils.setAccessTime(busVehicleType, 1.0 / 3.0); // 1s per boarding agent, distributed on 3 doors
VehicleUtils.setEgressTime(busVehicleType, 1.0 / 3.0); // 1s per alighting agent, distributed on 3 doors
scenario.getTransitVehicles().addVehicleType(busVehicleType);

addHbefaMapping(busVehicleType, HbefaVehicleCategory.URBAN_BUS);
scenario.getTransitVehicles().addVehicleType(busVehicleType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void run() {
"--network", network.toString(),
"--target-crs", "EPSG:4326",
"--date", "2019-01-01",
"--validate=true",
"--output", output
);

Expand Down

0 comments on commit 1a367a1

Please sign in to comment.