diff --git a/pom.xml b/pom.xml index 63959455..c1ea3f8f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ matsim-all - 2025.0-PR3402 + 2025.0-PR3410 diff --git a/src/main/java/org/matsim/run/OpenBerlinScenario.java b/src/main/java/org/matsim/run/OpenBerlinScenario.java index 0a3313e0..6eb35cde 100644 --- a/src/main/java/org/matsim/run/OpenBerlinScenario.java +++ b/src/main/java/org/matsim/run/OpenBerlinScenario.java @@ -6,6 +6,7 @@ import org.matsim.api.core.v01.TransportMode; import org.matsim.application.MATSimApplication; import org.matsim.application.options.SampleOptions; +import org.matsim.contrib.vsp.scoring.RideScoringParamsFromCarParams; import org.matsim.core.config.Config; import org.matsim.core.config.ConfigUtils; import org.matsim.core.config.groups.ReplanningConfigGroup; @@ -59,6 +60,8 @@ protected Config prepareConfig(Config config) { config.plans().setInputFile(sample.adjustName(config.plans().getInputFile())); } + // overwrite ride scoring params with values derived from car + RideScoringParamsFromCarParams.setRideScoringParamsBasedOnCarParams(config.scoring(), 1.0); Activities.addScoringParams(config, true); // Required for all calibration strategies