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

Skip to content
Snippets Groups Projects
Commit 0b785d30 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

adding missing file, correct testdata

(cherry picked from commit bcdee611)
parent 7d631e4a
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;
......
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