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 8e812c39 authored by Harald Martini's avatar Harald Martini
Browse files

use 0.25 seconds as interval in gensetpreprocessor (otherwise we divide by zero in busaux)

parent 408e2dc5
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
}).Where(x => x.MotorSpeed.IsSmallerOrEqual(maxSpeed)).ToList());
if (!iceFld.FullLoadEntries.Any(x => x.MotorSpeed.IsEqual(maxSpeed))) {
iceFld.FullLoadEntries.Add(new ElectricMotorFullLoadCurve.FullLoadEntry() {
FullDriveTorque = -IceData.FullLoadCurves[0].FullLoadStationaryTorque(maxSpeed) + _container.EngineInfo.EngineAuxDemand(maxSpeed, 0.SI<Second>()) / maxSpeed, //reduce torque by engine aux torque demand
FullDriveTorque = -IceData.FullLoadCurves[0].FullLoadStationaryTorque(maxSpeed) + _container.EngineInfo.EngineAuxDemand(maxSpeed, 0.25.SI<Second>()) / maxSpeed, //reduce torque by engine aux torque demand
FullGenerationTorque = 0.SI<NewtonMeter>(),
MotorSpeed = maxSpeed
});
......
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