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

when disengaged: at gearbox input speed (and torque converter speed) is 0

parent a1ce0bde
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
var retval = IdleController.Request(absTime, dt, 0.SI<NewtonMeter>(), null);
retval.ClutchPowerRequest = 0.SI<Watt>();
CurrentState.SetState(0.SI<NewtonMeter>(), retval.EngineSpeed, outTorque, outAngularVelocity);
CurrentState.SetState(0.SI<NewtonMeter>(), 0.SI<PerSecond>(), outTorque, outAngularVelocity);
TorqueConverter.Locked(CurrentState.InTorque, CurrentState.InAngularVelocity);
......
......@@ -148,9 +148,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
var avgOutVelocity = (PreviousState.OutAngularVelocity + CurrentState.OutAngularVelocity) / 2.0;
var avgInVelocity = (PreviousState.InAngularVelocity + CurrentState.InAngularVelocity) / 2.0;
container[ModalResultField.P_TC_out] = CurrentState.OutTorque * avgOutVelocity;
var tmp = CurrentState.InTorque * avgInVelocity -
CurrentState.OutTorque * avgOutVelocity;
container[ModalResultField.P_TC_loss] = tmp;
container[ModalResultField.P_TC_loss] = CurrentState.InTorque * avgInVelocity -
CurrentState.OutTorque * avgOutVelocity;
}
protected override void DoCommitSimulationStep()
......
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