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

Skip to content
Snippets Groups Projects
Commit ae49c196 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

updated tests

parent 4b0e02f0
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ using TUGraz.VectoCore.InputData.FileIO.JSON;
using TUGraz.VectoCore.Models.Simulation.Impl;
using TUGraz.VectoCore.OutputData.FileIO;
using TUGraz.VectoCore.Tests.Models.Simulation;
using TUGraz.VectoCore.Tests.Utils;
namespace TUGraz.VectoCore.Tests.Integration.SimulationRuns
{
......@@ -20,7 +19,7 @@ namespace TUGraz.VectoCore.Tests.Integration.SimulationRuns
{
var writer = new FileOutputWriter(jobName);
var inputData = JSONInputDataFactory.ReadJsonJob("TestData\\Bugs\\" + jobName + "\\job.vecto");
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputData, writer);
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputData, writer) { WriteModalResults = true };
var jobContainer = new JobContainer(new MockSumWriter());
jobContainer.AddRuns(factory);
jobContainer.Execute();
......
Job [-],Input File [-],Cycle [-],Status,Mass [kg],Loading [kg],time [s],distance [km],speed [km/h],altitudeDelta [m],FC-Map [g/h],FC-Map [g/km],FC-AUXc [g/h],FC-AUXc [g/km],FC-WHTCc [g/h],FC-WHTCc [g/km],FC-AAUX [g/h],FC-AAUX [g/km],FC-Final [g/h],FC-Final [g/km],FC-Final [l/100km],FC-Final [l/100tkm],CO2 [g/km],CO2 [g/tkm],P_wheel_in_pos [kW],P_brake_loss [kW],P_angle_loss [kW],P_tc_loss [kW],P_clutch_pos [kW],P_clutch_neg [kW],P_fcmap_pos [kW],E_aux_CYCLE [kWh],E_aux_CONSTANTAUX [kWh],E_aux_ES [kWh],E_aux_PS [kWh],E_aux_sum [kWh],E_air [kWh],E_roll [kWh],E_grad [kWh],E_inertia [kWh],E_brake [kWh],E_gbx_loss [kWh],E_axl_loss [kWh],E_angle_loss [kWh],E_ret_loss [kWh],E_tc_loss [kWh],E_clutch_pos [kWh],E_clutch_neg [kWh],E_fcmap_pos [kWh],a [m/s^2],a_pos [m/s^2],a_neg [m/s^2],AccelerationTimeShare [%],DecelerationTimeShare [%],CruiseTimeShare [%],StopTimeShare [%]
1-0,job,cycle.vdri,Success,16500.0000,8840.0000,3046.1726,23.5030,27.7761,-0.2620,14513.5553,522.5195,14513.5553,522.5195,14513.5553,522.5195,14513.5553,522.5195,14513.5553,522.5195,62.8028,7.1044,1651.1617,186.7830,53.6724,34.9362,0.0000,4.1032,106.3553,-14.6285,86.1346,5.3317,0.0000,2.0552,0.9012,8.2880,3.1340,10.0643,-0.0179,0.0661,29.5616,2.2906,2.4124,0.0000,0.0000,3.4720,53.5887,-2.3277,61.1876,0.0000,0.5984,-0.8393,34.0558,24.5320,41.4122,17.6878
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