From 5f4238699dda3fc66148fa0520f285dfb5f8d3bb Mon Sep 17 00:00:00 2001 From: rakow Date: Sun, 9 Jun 2024 19:26:50 +0200 Subject: [PATCH] disabled dashboards during calibration --- .../java/org/matsim/prepare/RunOpenBerlinCalibration.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/matsim/prepare/RunOpenBerlinCalibration.java b/src/main/java/org/matsim/prepare/RunOpenBerlinCalibration.java index a70e4fec..a7639d07 100644 --- a/src/main/java/org/matsim/prepare/RunOpenBerlinCalibration.java +++ b/src/main/java/org/matsim/prepare/RunOpenBerlinCalibration.java @@ -186,9 +186,13 @@ protected Config prepareConfig(Config config) { log.info("Running with flow and storage capacity: {} / {}", config.qsim().getFlowCapFactor(), config.qsim().getStorageCapFactor()); - if (allCar) + if (allCar) { config.transit().setUseTransit(false); + // Disable dashboards, for all car runs, these take too many resources + sw.defaultDashboards = SimWrapperConfigGroup.Mode.disabled; + } + // Required for all calibration strategies for (String subpopulation : List.of("person", "commercialPersonTraffic", "commercialPersonTraffic_service", "goodsTraffic")) { config.replanning().addStrategySettings(