From 010e4a1778e8eec9e165f405be3c36112e36a784 Mon Sep 17 00:00:00 2001 From: Ricardo Ewert Date: Wed, 10 Jan 2024 15:18:17 +0100 Subject: [PATCH] use carrierVehicleTypes instead of allVehicles for analysis --- .../analysis/RunFreightAnalysisEventBased.java | 2 +- .../output_carriersVehicleTypes.xml.gz | Bin 0 -> 487 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 contribs/vsp/test/input/org/matsim/freight/carriers/analysis/FreightAnalysisEventBasedTest/output_carriersVehicleTypes.xml.gz diff --git a/contribs/vsp/src/main/java/org/matsim/freight/carriers/analysis/RunFreightAnalysisEventBased.java b/contribs/vsp/src/main/java/org/matsim/freight/carriers/analysis/RunFreightAnalysisEventBased.java index 1a60ed8b6a3..86249801bd0 100644 --- a/contribs/vsp/src/main/java/org/matsim/freight/carriers/analysis/RunFreightAnalysisEventBased.java +++ b/contribs/vsp/src/main/java/org/matsim/freight/carriers/analysis/RunFreightAnalysisEventBased.java @@ -81,7 +81,7 @@ public void runAnalysis() throws IOException { //freight settings FreightCarriersConfigGroup freightCarriersConfigGroup = ConfigUtils.addOrGetModule( config, FreightCarriersConfigGroup.class ) ; freightCarriersConfigGroup.setCarriersFile( SIM_OUTPUT_PATH + "output_carriers.xml.gz"); - freightCarriersConfigGroup.setCarriersVehicleTypesFile(SIM_OUTPUT_PATH + "output_allVehicles.xml.gz"); + freightCarriersConfigGroup.setCarriersVehicleTypesFile(SIM_OUTPUT_PATH + "output_carriersVehicleTypes.xml.gz"); //Were to store the analysis output? String analysisOutputDirectory = ANALYSIS_OUTPUT_PATH; diff --git a/contribs/vsp/test/input/org/matsim/freight/carriers/analysis/FreightAnalysisEventBasedTest/output_carriersVehicleTypes.xml.gz b/contribs/vsp/test/input/org/matsim/freight/carriers/analysis/FreightAnalysisEventBasedTest/output_carriersVehicleTypes.xml.gz new file mode 100644 index 0000000000000000000000000000000000000000..d584a182d65d6f887508d8b8b2fd886b8e5605f2 GIT binary patch literal 487 zcmVX&5%0B?14aCLNFV_|Y~X=QSAR%K{uV{Bzqd2nTOE_iKh0F{%$ zPUA2ThR^U6mhW`}TSQegN9)F(s z$DZ75o0@fC9U7hS3z2dLTA3Vmnem_NyTORxOwZ3J9aN}lm_dOWJtaFvJGIMr<$XI& zlD_XnBfY~$7+WR<*5H!d=lm&eymfez+kcCBmuY&D{9fL#R0WM3pmttr1)Nd-*hTT) zC>c)t@F@1ddh)i3Ki#EB#n$DVnmjvnx!$$FFwc06W#!}2*+j`!D)c+%fY=!)r$Vj4 zsUOBP3;ms3BxGFaA?#e}brh~dx`!kO$}~hZ=+alL0S`9g*W!vNQSUK7$Z;lnSs6#j z!q_JI!3x|$eoLaGqi1rL@zF30Q0=AV6JRK==Y!!