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 26afdd41 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge branch 'develop' into feature/VECTO-1423-simulation-of-p3-p4-with-apt-transmissions

parents f91d36f2 c2f557d9
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
IVehicleContainer container, IAuxiliaryConfig auxiliaryConfig, IAuxPort additionalAux = null) : base(container)
{
container.AddComponent(this);
EngineStopStartUtilityFactor = container.RunData?.DriverData?.EngineStopStart?.UtilityFactorStandstill ?? double.NaN;
EngineStopStartUtilityFactor = 1; // container.RunData?.DriverData?.EngineStopStart?.UtilityFactorStandstill ?? double.NaN;
CurrentState = new BusAuxState();
PreviousState = new BusAuxState { AngularSpeed = container.EngineInfo.EngineIdleSpeed };
......
......@@ -55,7 +55,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
public EngineAuxiliary(IVehicleContainer container) : base(container)
{
EngineStopStartUtilityFactor = container.RunData?.DriverData?.EngineStopStart?.UtilityFactorStandstill ?? double.NaN;
EngineStopStartUtilityFactor = 1; // container.RunData?.DriverData?.EngineStopStart?.UtilityFactorStandstill ?? double.NaN;
}
public IAuxPort Port()
......
......@@ -20,7 +20,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl {
container, modelData, pt1Disabled)
{
CombustionEngineOn = true;
EngineStopStartUtilityFactor = container.RunData.DriverData.EngineStopStart.UtilityFactorStandstill;
EngineStopStartUtilityFactor = 1; // container.RunData.DriverData.EngineStopStart.UtilityFactorStandstill;
var engineRampUpEnergy = Formulas.InertiaPower(modelData.IdleSpeed, 0.RPMtoRad(), modelData.Inertia, modelData.EngineStartTime) * modelData.EngineStartTime;
var engineDragEnergy = VectoMath.Abs(modelData.FullLoadCurves[0].DragLoadStationaryTorque(modelData.IdleSpeed)) *
......
......@@ -665,7 +665,7 @@ public class JSONFileWriter : IOutputFileWriter
body.Add("Padd", aux.Auxiliaries.ConstantPowerDemand.Value());
body.Add("Paux_ICEOff_Driving", aux.Auxiliaries.PowerDemandICEOffDriving.Value());
body.Add("Paux_ICEOff_Standstill", aux.Auxiliaries.PowerDemandICEOffStandstill.Value());
body.Add("Padd_electric", aux.Auxiliaries.ElectricPowerDemand);
body.Add("Padd_electric", aux.Auxiliaries.ElectricPowerDemand.Value());
}
var driver = input.DriverInputData;
......
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