Skip to content

Commit

Permalink
fix gartenfeld population
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Jul 22, 2024
1 parent 282e709 commit 70c8076
Showing 1 changed file with 23 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.matsim.policies.gartenfeld;

import org.matsim.application.MATSimAppCommand;
import org.matsim.application.prepare.population.MergePopulations;
import org.matsim.application.prepare.population.*;
import org.matsim.prepare.population.CreateFixedPopulation;
import org.matsim.prepare.population.InitLocationChoice;
import org.matsim.prepare.population.RemoveUnavailableRoutes;
Expand Down Expand Up @@ -41,7 +41,6 @@ public Integer call() throws Exception {
"--output", output
);


new InitLocationChoice().execute(
"--input", output,
"--output", output,
Expand All @@ -54,6 +53,28 @@ public Integer call() throws Exception {
"--sample", "0.1"
);

new SplitActivityTypesDuration().execute(
"--input", output,
"--output", output,
"--exclude", "commercial_start,commercial_end,freight_start,freight_end"
);

new SetCarAvailabilityByAge().execute(
"--input", output,
"--output", output
);

new CheckCarAvailability().execute(
"--input", output,
"--output", output
);

new FixSubtourModes().execute(
"--input", output,
"--output", output,
"--coord-dist", "100"
);

// Merge with calibrated plans into one
new MergePopulations().execute(
output, "input/v6.3/berlin-v6.3-10pct.plans.xml.gz",
Expand Down

0 comments on commit 70c8076

Please sign in to comment.