Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 402c628d authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Merge branch 'develop' into update-net6

parents ffd30a5d 34e5afea
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ namespace TUGraz.VectoCommon.InputData
public static bool IsParallelHybrid(this PowertrainPosition pos)
{
switch (pos) {
//case PowertrainPosition.HybridP0: // special case, currently not considered in VECTO
//case PowertrainPosition.HybridP0: // special case currently modelled in BusAuxiliary as SmartAlternator.
case PowertrainPosition.HybridP1:
case PowertrainPosition.HybridP2:
case PowertrainPosition.HybridP2_5:
......
......@@ -236,7 +236,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Data
}
if (runData.ElectricMachinesData?.Any(e => e.Item1 == PowertrainPosition.HybridP0) ?? false){
return new ValidationResult("PowertrainPosition P0 is currently not supported.");
return new ValidationResult("P0 Hybrids are modeled as SmartAlternator in the BusAuxiliary model.");
}
return ValidationResult.Success;
......
......@@ -413,7 +413,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
throw new VectoException("ParallelHybrid needs exactly one electric motor.");
}
if (data.ElectricMachinesData.Any(e => e.Item1 == PowertrainPosition.HybridP0)) {
throw new VectoException("PowertrainPosition P0 is currently not supported.");
throw new VectoException("P0 Hybrids are modeled as SmartAlternator in the BusAuxiliary model.");
}
var container = new VehicleContainer(data.ExecutionMode, _modData, _sumWriter) { RunData = data };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment