Code development platform for open source projects from the European Union institutions

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

refactoring PEV shift strategy: simplify required methods, prohibit...

refactoring PEV shift strategy: simplify required methods, prohibit eff-gearshift when at max recuperation, prevent gearshift on drive-off (until target speed reached, em-speed above n_P80low, or operating point at full-load)
parent 2bd72f2a
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,7 @@ namespace TUGraz.VectoCommon.Models
public NewtonMeter InertiaTorque { get; set; }
public PerSecond AvgDrivetrainSpeed { get; set; }
public NewtonMeter MaxDriveTorqueEM { get; set; }
public NewtonMeter MaxRecuperationTorqueEM { get; set; }
public NewtonMeter TorqueRequestEmMap { get; set; }
}
......
......@@ -8,6 +8,11 @@ using TUGraz.VectoCore.Models.SimulationComponent.Data.ShiftStrategy;
namespace TUGraz.VectoCore.Models.Simulation.Data {
public class ShiftStrategyParameters
{
public ShiftStrategyParameters()
{
TargetSpeedBrakeNorm = 0.7;
}
public MeterPerSecond StartVelocity { get; internal set; }
//public MeterPerSquareSecond StartAcceleration { get; internal set; }
......@@ -101,5 +106,6 @@ namespace TUGraz.VectoCore.Models.Simulation.Data {
public double[] LoadStageThresoldsUp { get; set; }
public double[] LoadStageThresoldsDown { get; set; }
public double[][] ShiftSpeedsTCToLocked { get; set; }
public double TargetSpeedBrakeNorm { get; set; }
}
}
\ No newline at end of file
......@@ -341,6 +341,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
retVal.ElectricMotor.MaxDriveTorque = maxDriveTorqueDt;
retVal.ElectricMotor.MaxDriveTorqueEM = maxDriveTorqueEm;
retVal.ElectricMotor.MaxRecuperationTorque = maxRecuperationTorqueDt;
retVal.ElectricMotor.MaxRecuperationTorqueEM = maxRecuperationTorqueEm;
retVal.ElectricMotor.AngularVelocity = avgEmSpeed;
retVal.ElectricMotor.AvgDrivetrainSpeed = avgDtSpeed;
......
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