Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit f992ba2d authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge branch 'bugfix/CodeEU-137_CIF-weighting-factors-for-PEV' into 'amdm2/develop'

calculate correct propulsion power for looking up weighting group

See merge request vecto/vecto!68
parents c1f798a3 f1815629
No related branches found
No related tags found
No related merge requests found
......@@ -330,9 +330,10 @@ namespace TUGraz.VectoCore.OutputData.XML
throw new VectoException("SleeperCab parameter is required");
}
WeightingGroup = DeclarationData.WeightingGroup.Lookup(
var propulsionPower = DeclarationData.GetReferencePropulsionPower(modelData.VehicleData.InputData);
WeightingGroup = DeclarationData.WeightingGroup.Lookup(
modelData.VehicleData.VehicleClass, modelData.VehicleData.SleeperCab.Value,
modelData.EngineData?.RatedPowerDeclared ?? 0.SI<Watt>());
propulsionPower);
}
_weightingFactors = WeightingGroup == WeightingGroup.Unknown
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment