From c37b68e62f575cc910db31197ca7ac1b53232768 Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <quaritsch@ivt.tugraz.at> Date: Mon, 5 Dec 2022 13:46:22 +0100 Subject: [PATCH] more elaborate error message --- .../SimulationComponents/AuxiliaryDataAdapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/SimulationComponents/AuxiliaryDataAdapter.cs b/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/SimulationComponents/AuxiliaryDataAdapter.cs index 6f6ac82bce..ed7a6b05c9 100644 --- a/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/SimulationComponents/AuxiliaryDataAdapter.cs +++ b/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/SimulationComponents/AuxiliaryDataAdapter.cs @@ -1095,7 +1095,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen if (hvacConfigHeating != hvacConfiguration && hvacConfigCooling != hvacConfiguration) { throw new VectoException( - $"The HVAC System Configuration must be either matched for the case heating or cooling h:{hvacConfigHeating.GetName()}/c:{hvacConfigCooling.GetName()}"); + $"The HVAC System Configuration must be either matched for the case heating or cooling input: {hvacConfiguration.GetName()}, h:{hvacConfigHeating.GetName()}/c:{hvacConfigCooling.GetName()}"); } var xEVBus = !primaryVehicle.VehicleType.IsOneOf(VectoSimulationJobType.ConventionalVehicle, -- GitLab