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

adding missing file, correct testdata

parent 4072ee9c
No related branches found
No related tags found
No related merge requests found
namespace TUGraz.VectoCore.Models.SimulationComponent
{
public interface IHybridControllerInfo
{
GearInfo SelectedGear { get; }
//IList<PowertrainPosition> ElectricMotors { get; }
//NewtonMeter ElectricMotorTorque(PowertrainPosition pos);
}
}
\ No newline at end of file
......@@ -399,6 +399,7 @@
<Compile Include="Models\SimulationComponent\IElectricMotor.cs" />
<Compile Include="Models\SimulationComponent\IElectricMotorControl.cs" />
<Compile Include="Models\SimulationComponent\IHybridControlledGearbox.cs" />
<Compile Include="Models\Simulation\DataBus\IHybridControllerInfo.cs" />
<Compile Include="Models\SimulationComponent\IHybridControlStrategy.cs" />
<Compile Include="Models\SimulationComponent\Impl\Battery.cs" />
<Compile Include="Models\SimulationComponent\Impl\BatteryElectricMotorController.cs" />
......
......@@ -126,7 +126,7 @@ namespace TUGraz.VectoCore.Tests.FileIO
var ri = BatteryInternalResistanceReader.Create(bat.InternalResistanceCurve, 1);
Assert.NotNull(bat);
Assert.AreEqual(2, engineering.JobInputData.Vehicle.Components.ElectricStorage.Count);
Assert.AreEqual(50, bat.MaxCurrentFactor);
Assert.AreEqual(50, bat.MaxCurrentFactor.ConvertToPerHour().Value);
Assert.AreEqual(0.04, ri.Lookup(0.5).Value());
var em = engineering.JobInputData.Vehicle.Components.ElectricMachines;
......
SoC, Ri
0, 0.04
100, 0.04
\ No newline at end of file
0, 0.4986666
100, 0.4986666
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment