diff --git a/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReport.cs b/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReport.cs index 74ea2e63f6eb4e0017f8a60c83856309f6ad5084..94eb0b24302e3cb824756009de2f173d96aff83d 100644 --- a/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReport.cs +++ b/VectoCore/VectoCore/OutputData/XML/XMLDeclarationReport.cs @@ -240,6 +240,11 @@ namespace TUGraz.VectoCore.OutputData.XML modelData.EngineData.RatedPowerDeclared); } + _weightingFactors = WeightingGroup == WeightingGroup.Unknown + ? ZeroWeighting + : DeclarationData.WeightingFactors.Lookup(WeightingGroup); + + InstantiateReports(modelData); ManufacturerRpt.Initialize(modelData, fuelModes);