diff --git a/VECTO/Input Files/Engine.vb b/VECTO/Input Files/Engine.vb index 480eb63c0ac9b0a37b8eb7b891402ec11be606c0..65cf5bda82516e16fea595116193000252866dfd 100644 --- a/VECTO/Input Files/Engine.vb +++ b/VECTO/Input Files/Engine.vb @@ -646,6 +646,7 @@ Public Class DummyVehicle Public ReadOnly Property RegisteredClass As RegistrationClass Implements IVehicleDeclarationInputData.RegisteredClass Public ReadOnly Property NumberOfPassengersUpperDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersUpperDeck Public ReadOnly Property NumberOfPassengersLowerDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersLowerDeck + Public ReadOnly Property CargoVolume As CubicMeter Implements IVehicleDeclarationInputData.CargoVolume Public ReadOnly Property VehicleCode As VehicleCode Implements IVehicleDeclarationInputData.VehicleCode Public Property CurbMassExtra As Kilogram Implements IVehicleEngineeringInputData.CurbMassExtra Public Property Loading As Kilogram Implements IVehicleEngineeringInputData.Loading diff --git a/VECTO/Input Files/Gearbox.vb b/VECTO/Input Files/Gearbox.vb index 0b1fb810670dc950b1b9bc924bb7820227b659cf..d19474b6c2224813bd753c90f370a8ea23dce89c 100644 --- a/VECTO/Input Files/Gearbox.vb +++ b/VECTO/Input Files/Gearbox.vb @@ -834,6 +834,7 @@ Public Class MockEngineeringVehicle Public ReadOnly Property RegisteredClass As RegistrationClass Implements IVehicleDeclarationInputData.RegisteredClass Public ReadOnly Property NumberOfPassengersUpperDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersUpperDeck Public ReadOnly Property NumberOfPassengersLowerDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersLowerDeck + Public ReadOnly Property CargoVolume As CubicMeter Implements IVehicleDeclarationInputData.CargoVolume Public ReadOnly Property VehicleCode As VehicleCode Implements IVehicleDeclarationInputData.VehicleCode Public ReadOnly Property LowEntry As Boolean Implements IVehicleDeclarationInputData.LowEntry Public ReadOnly Property Articulated As Boolean Implements IVehicleDeclarationInputData.Articulated diff --git a/VECTO/Input Files/MockVehicleInputData.vb b/VECTO/Input Files/MockVehicleInputData.vb index f563a7ae0277aced3c35b8f9b645d2d3ef10880f..796fb9be88119a01222bd838a4bc347a100d5070 100644 --- a/VECTO/Input Files/MockVehicleInputData.vb +++ b/VECTO/Input Files/MockVehicleInputData.vb @@ -42,6 +42,7 @@ Public Class MockVehicleInputData Public ReadOnly Property RegisteredClass As RegistrationClass Implements IVehicleDeclarationInputData.RegisteredClass Public ReadOnly Property NumberOfPassengersUpperDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersUpperDeck Public ReadOnly Property NumberOfPassengersLowerDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersLowerDeck + Public ReadOnly Property CargoVolume As CubicMeter Implements IVehicleDeclarationInputData.CargoVolume Public ReadOnly Property VehicleCode As VehicleCode Implements IVehicleDeclarationInputData.VehicleCode Public ReadOnly Property LowEntry As Boolean Implements IVehicleDeclarationInputData.LowEntry Public ReadOnly Property Articulated As Boolean Implements IVehicleDeclarationInputData.Articulated diff --git a/VECTO/Input Files/Vehicle.vb b/VECTO/Input Files/Vehicle.vb index c25edd87a151516290c50bf1daf69710555e3096..3028232c46c14e5bc9fc933a291c9a39fb5cfe70 100644 --- a/VECTO/Input Files/Vehicle.vb +++ b/VECTO/Input Files/Vehicle.vb @@ -762,6 +762,7 @@ Public Class Vehicle Public ReadOnly Property RegisteredClass As RegistrationClass Implements IVehicleDeclarationInputData.RegisteredClass Public ReadOnly Property NumberOfPassengersUpperDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersUpperDeck Public ReadOnly Property NumberOfPassengersLowerDeck As Integer Implements IVehicleDeclarationInputData.NumberOfPassengersLowerDeck + Public ReadOnly Property CargoVolume As CubicMeter Implements IVehicleDeclarationInputData.CargoVolume Public ReadOnly Property VehicleCode As VehicleCode Implements IVehicleDeclarationInputData.VehicleCode Public ReadOnly Property LowEntry As Boolean Implements IVehicleDeclarationInputData.LowEntry diff --git a/VECTO3GUI/ViewModel/Adapter/Declaration/VehicleDeclarationAdapter.cs b/VECTO3GUI/ViewModel/Adapter/Declaration/VehicleDeclarationAdapter.cs index dc508f3a4fde2e9f0983888cb6c0a86e13f92c18..589078337b8ffae49bd0cc361c5776afa3f2ed7c 100644 --- a/VECTO3GUI/ViewModel/Adapter/Declaration/VehicleDeclarationAdapter.cs +++ b/VECTO3GUI/ViewModel/Adapter/Declaration/VehicleDeclarationAdapter.cs @@ -110,6 +110,7 @@ namespace VECTO3GUI.ViewModel.Adapter.Declaration public RegistrationClass RegisteredClass { get; } public int NumberOfPassengersUpperDeck { get; } public int NumberOfPassengersLowerDeck { get; } + public CubicMeter CargoVolume { get; } public VehicleCode VehicleCode { get; } public bool LowEntry { get; } public bool Articulated { get; } diff --git a/VectoCommon/VectoCommon/InputData/DeclarationInputData.cs b/VectoCommon/VectoCommon/InputData/DeclarationInputData.cs index 33abda03dfa6ab6aaaa6be8f1159188b3bb8ac7c..7cebef93aaa6b66563e1d9048bc773359b0cf71d 100644 --- a/VectoCommon/VectoCommon/InputData/DeclarationInputData.cs +++ b/VectoCommon/VectoCommon/InputData/DeclarationInputData.cs @@ -169,6 +169,9 @@ namespace TUGraz.VectoCommon.InputData int NumberOfPassengersLowerDeck { get; } + // only used for medium lorries type VAN + CubicMeter CargoVolume { get; } + VehicleCode VehicleCode { get; } bool LowEntry { get; } diff --git a/VectoCommon/VectoCommon/Models/VehicleClass.cs b/VectoCommon/VectoCommon/Models/VehicleClass.cs index ed10306f3f9030bbdad66cf80f9a15cb8f067c33..8bcbe097241823d62f173d27748a6bb64a8b487e 100644 --- a/VectoCommon/VectoCommon/Models/VehicleClass.cs +++ b/VectoCommon/VectoCommon/Models/VehicleClass.cs @@ -184,6 +184,18 @@ namespace TUGraz.VectoCommon.Models } } + public static bool IsVan(this VehicleClass vehicleClass) + { + switch (vehicleClass) { + case VehicleClass.ClassML2van: + case VehicleClass.ClassML3van: + case VehicleClass.ClassML4van: + return true; + default: + return false; + } + } + public static bool IsBus(this VehicleClass vehicleClass) { return vehicleClass.IsPrimaryBus() || vehicleClass.IsCompletedBus(); diff --git a/VectoCommon/VectoCommon/Resources/XMLNames.Designer.cs b/VectoCommon/VectoCommon/Resources/XMLNames.Designer.cs index 7077db44ac54415fa5216c250d52915a13b33bc1..970e74a261a0ac6121adfea4e5934ed4b28128f6 100644 --- a/VectoCommon/VectoCommon/Resources/XMLNames.Designer.cs +++ b/VectoCommon/VectoCommon/Resources/XMLNames.Designer.cs @@ -3345,6 +3345,15 @@ namespace TUGraz.VectoCommon.Resources { } } + /// <summary> + /// Sucht eine lokalisierte Zeichenfolge, die CargoVolume ähnelt. + /// </summary> + public static string Vehicle_CargoVolume { + get { + return ResourceManager.GetString("Vehicle_CargoVolume", resourceCulture); + } + } + /// <summary> /// Sucht eine lokalisierte Zeichenfolge, die Clutch ähnelt. /// </summary> diff --git a/VectoCommon/VectoCommon/Resources/XMLNames.resx b/VectoCommon/VectoCommon/Resources/XMLNames.resx index b689041460465603ae6dcce1e705893c32569975..da3d5002100c7a479faa1119bae200f7af8be059 100644 --- a/VectoCommon/VectoCommon/Resources/XMLNames.resx +++ b/VectoCommon/VectoCommon/Resources/XMLNames.resx @@ -1368,4 +1368,7 @@ <data name="Report_Result_EnergyConsumption" xml:space="preserve"> <value>EnergyConsumption</value> </data> + <data name="Vehicle_CargoVolume" xml:space="preserve"> + <value>CargoVolume</value> + </data> </root> \ No newline at end of file diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONComponentInputData.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONComponentInputData.cs index 82417bc977800505bc30c9c94b45ad787d01e4dd..ab010235f378986903b1af873a005165f20338ae 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONComponentInputData.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONComponentInputData.cs @@ -47,7 +47,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON { public class JSONComponentInputData : IEngineeringInputDataProvider, IDeclarationInputDataProvider, IEngineeringJobInputData, IVehicleEngineeringInputData, IAdvancedDriverAssistantSystemDeclarationInputData, - IAdvancedDriverAssistantSystemsEngineering, IVehicleComponentsDeclaration, IVehicleComponentsEngineering, IDriverEngineeringInputData + IAdvancedDriverAssistantSystemsEngineering, IVehicleComponentsDeclaration, IVehicleComponentsEngineering, + IDriverEngineeringInputData { protected IGearboxEngineeringInputData Gearbox; protected IAxleGearInputData AxleGear; @@ -62,7 +63,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON private string _filename; private IAxlesDeclarationInputData _axleWheelsDecl; private IAxlesEngineeringInputData _axleWheelsEng; - + public JSONComponentInputData(string filename, IJSONVehicleComponents job, bool tolerateMissing = false) { @@ -106,7 +107,10 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON get { return this; } } - public virtual IPrimaryVehicleInformationInputDataProvider PrimaryVehicleData { get { return null; } } + public virtual IPrimaryVehicleInformationInputDataProvider PrimaryVehicleData + { + get { return null; } + } public XElement XMLHash { @@ -127,7 +131,12 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON public IOverSpeedEngineeringInputData OverSpeedData { get; } public IDriverAccelerationData AccelerationCurve { get; } public ILookaheadCoastingInputData Lookahead { get; } - public IGearshiftEngineeringInputData GearshiftInputData { get { return GearshiftData; } } + + public IGearshiftEngineeringInputData GearshiftInputData + { + get { return GearshiftData; } + } + public IEngineStopStartEngineeringInputData EngineStopStartData { get; } public IEcoRollEngineeringInputData EcoRollData { get; } public IPCCEngineeringInputData PCCData { get; } @@ -138,7 +147,10 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON get { return new DataSource { SourceType = DataSourceType.JSONFile, SourceFile = _filename }; } } - public string AppVersion { get { return "VECTO-JSON"; } } + public string AppVersion + { + get { return "VECTO-JSON"; } + } public string Source { @@ -230,27 +242,52 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON get { return _axleWheelsDecl; } } - public IBusAuxiliariesDeclarationData BusAuxiliaries { get { return null; } } + public IBusAuxiliariesDeclarationData BusAuxiliaries + { + get { return null; } + } public Meter DynamicTyreRadius { get { return VehicleData.DynamicTyreRadius; } } - - public bool Articulated { get { return VehicleData.Articulated; } } + + public bool Articulated + { + get { return VehicleData.Articulated; } + } public Meter Height { get { return VehicleData.Height; } } - public bool? ATEcoRollReleaseLockupClutch { get { return VehicleData.ADAS.ATEcoRollReleaseLockupClutch; } } - public XmlNode XMLSource { get { return null; } } + public bool? ATEcoRollReleaseLockupClutch + { + get { return VehicleData.ADAS.ATEcoRollReleaseLockupClutch; } + } + + public XmlNode XMLSource + { + get { return null; } + } + + public Meter Length + { + get { return VehicleData.Length; } + } + + public Meter Width + { + get { return VehicleData.Width; } + } + + public Meter EntranceHeight + { + get { return null; } + } - public Meter Length { get { return VehicleData.Length; } } - public Meter Width { get { return VehicleData.Width; } } - public Meter EntranceHeight { get { return null; } } public ConsumerTechnology DoorDriveTechnology { get { return VehicleData.DoorDriveTechnology; } @@ -422,11 +459,35 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON get { return null; } } - public RegistrationClass RegisteredClass { get { return RegistrationClass.unknown; } } - public int NumberOfPassengersUpperDeck { get { return 0; } } - public int NumberOfPassengersLowerDeck { get { return 0; } } - public VehicleCode VehicleCode { get { return VehicleCode.NOT_APPLICABLE; } } - public bool LowEntry { get { return VehicleData.LowEntry; } } + public RegistrationClass RegisteredClass + { + get { return RegistrationClass.unknown; } + } + + public int NumberOfPassengersUpperDeck + { + get { return 0; } + } + + public int NumberOfPassengersLowerDeck + { + get { return 0; } + } + + public CubicMeter CargoVolume + { + get { return VehicleData.CargoVolume; } + } + + public VehicleCode VehicleCode + { + get { return VehicleCode.NOT_APPLICABLE; } + } + + public bool LowEntry + { + get { return VehicleData.LowEntry; } + } IVehicleComponentsDeclaration IVehicleDeclarationInputData.Components { @@ -467,4 +528,4 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON #endregion } -} +} \ No newline at end of file diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs index f62ab2ab3bb089ae6a33cd68f85acc4b5bfc5b99..b578a131b286f8d1d96ec60655a384bad82187a9 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONVehicleData.cs @@ -602,6 +602,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON get { return 0; } } + public virtual CubicMeter CargoVolume + { + get { return 0.SI<CubicMeter>(); } + } + public virtual VehicleCode VehicleCode { get { return VehicleCode.NOT_APPLICABLE; } diff --git a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs index 323297f56edeb8edbd3b175686abbb1af5eed9e3..e79d1506daa9ed7de7e81ed8b5d2fef9192ba018 100644 --- a/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs +++ b/VectoCore/VectoCore/InputData/FileIO/XML/Declaration/DataProvider/XMLDeclarationVehicleDataProvider.cs @@ -288,6 +288,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return 0; } } + public virtual CubicMeter CargoVolume + { + get { return 0.SI<CubicMeter>(); } + } + public virtual VehicleCode VehicleCode { get { return VehicleCode.NOT_APPLICABLE; } @@ -754,14 +759,20 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider get { return null; } } - #region Overrides of XMLDeclarationVehicleDataProviderV10 - public override Kilogram GrossVehicleMassRating { get { return GetDouble(XMLNames.Vehicle_TPMLM).SI<Kilogram>(); } } - #endregion + public override CubicMeter CargoVolume + { + get + { + return ElementExists(XMLNames.Vehicle_CargoVolume) + ? GetDouble(XMLNames.Vehicle_CargoVolume).SI<CubicMeter>() + : 0.SI<CubicMeter>(); + } + } #endregion @@ -1036,6 +1047,10 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider public LegislativeClass LegislativeClass { get; } public int NumberOfPassengersUpperDeck { get; } public int NumberOfPassengersLowerDeck { get; } + public CubicMeter CargoVolume + { + get { return 0.SI<CubicMeter>(); } + } public Kilogram CurbMassChassis { get; } public bool VocationalVehicle { get; } public bool SleeperCab { get; } diff --git a/VectoCore/VectoCore/InputData/FileIO/XML/Engineering/DataProvider/XMLEngineeringVehicleDataProvider.cs b/VectoCore/VectoCore/InputData/FileIO/XML/Engineering/DataProvider/XMLEngineeringVehicleDataProvider.cs index 0a544541a50d81c2209e104e4ee94e4734ad32bc..5668a7d1d8867742ad6bda2971d62f632172cff1 100644 --- a/VectoCore/VectoCore/InputData/FileIO/XML/Engineering/DataProvider/XMLEngineeringVehicleDataProvider.cs +++ b/VectoCore/VectoCore/InputData/FileIO/XML/Engineering/DataProvider/XMLEngineeringVehicleDataProvider.cs @@ -167,6 +167,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Engineering.DataProvider public virtual RegistrationClass RegisteredClass { get { return RegistrationClass.unknown;} } public virtual int NumberOfPassengersUpperDeck { get { return 0; } } public virtual int NumberOfPassengersLowerDeck { get { return 0; } } + public CubicMeter CargoVolume { get; } public virtual VehicleCode VehicleCode { get { return VehicleCode.NOT_APPLICABLE; } } public virtual bool LowEntry { get { return false; } } public virtual bool Articulated { get { return false; } } diff --git a/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/DeclarationDataAdapterHeavyLorry.cs b/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/DeclarationDataAdapterHeavyLorry.cs index 9b924cdab1ea0b60e6b9b2f60bd47c54ba2da9ff..772cfe5f0e19b482b64458fa1b80289d92e5c366 100644 --- a/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/DeclarationDataAdapterHeavyLorry.cs +++ b/VectoCore/VectoCore/InputData/Reader/DataObjectAdapter/DeclarationDataAdapterHeavyLorry.cs @@ -134,7 +134,13 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter data.Components.AxleWheels.AxlesDeclaration.Where(axle => axle.AxleType == AxleType.VehicleDriven) .Select(da => DeclarationData.Wheels.Lookup(da.Tyre.Dimension).DynamicTyreRadius) .Average(); - retVal.CargoVolume = mission.MissionType != MissionType.Construction ? mission.TotalCargoVolume : 0.SI<CubicMeter>(); + if (segment.VehicleClass.IsMediumLorry() && segment.VehicleClass.IsVan()) { + retVal.CargoVolume = data.CargoVolume; + } else { + retVal.CargoVolume = mission.MissionType != MissionType.Construction + ? mission.TotalCargoVolume + : 0.SI<CubicMeter>(); + } retVal.VocationalVehicle = data.VocationalVehicle; retVal.ADAS = CreateADAS(data.ADAS); diff --git a/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorry-Van.xml b/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorry-Van.xml new file mode 100644 index 0000000000000000000000000000000000000000..5587ae41adc2e92c5479626522e2eae3c683d179 --- /dev/null +++ b/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorry-Van.xml @@ -0,0 +1,554 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationInput:v2.0" xmlns:v2.6="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6" xmlns:v2.2="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.2" xmlns:v2.1="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v1.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationJob E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationJob.xsd +urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1 E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationDefinitions.2.1.xsd urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6 E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationDefinitions.2.6_Buses.xsd"> + <v2.0:Vehicle id="VEH-class5_Class-5_5t0_van" xsi:type="VehicleMediumLorryDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <ManufacturerAddress>N.A.</ManufacturerAddress> + <Model>class 5_Class-5_5t0</Model> + <VIN>standard values_van</VIN> + <Date>2017-09-26T15:33:45.0798047Z</Date> + <LegislativeClass>N3</LegislativeClass> + <VehicleCategory>Van</VehicleCategory> + <AxleConfiguration>4x2F</AxleConfiguration> + <CurbMassChassis>4229</CurbMassChassis> + <TechnicalPermissibleMaximumLadenMass>7000</TechnicalPermissibleMaximumLadenMass> + <CargoVolume>8.55</CargoVolume> + <IdlingSpeed>100</IdlingSpeed> + <RetarderType>Transmission Output Retarder</RetarderType> + <RetarderRatio>1.000</RetarderRatio> + <AngledriveType>None</AngledriveType> + <ZeroEmissionVehicle>false</ZeroEmissionVehicle> + <v2.6:ADAS xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1" xsi:type="v2.1:AdvancedDriverAssistantSystemsType"> + <EngineStopStart>false</EngineStopStart> + <EcoRollWithoutEngineStop>false</EcoRollWithoutEngineStop> + <EcoRollWithEngineStop>false</EcoRollWithEngineStop> + <PredictiveCruiseControl>none</PredictiveCruiseControl> + </v2.6:ADAS> + <Components xsi:type="VehicleComponentsNoAxlegearType"> + <Engine> + <v2.0:Data id="ENG-350kW_IVT_12l" xsi:type="v1.0:EngineDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>350kW_IVT_12l</Model> + <CertificationNumber>ENG-350kW_IVT_12l</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <Displacement>12700</Displacement> + <IdlingSpeed>600</IdlingSpeed> + <RatedSpeed>1736</RatedSpeed> + <RatedPower>325032</RatedPower> + <MaxEngineTorque>2134</MaxEngineTorque> + <WHTCUrban>1.0400</WHTCUrban> + <WHTCRural>1.0100</WHTCRural> + <WHTCMotorway>1.0000</WHTCMotorway> + <BFColdHot>1.0000</BFColdHot> + <CFRegPer>1.0000</CFRegPer> + <CFNCV>1.0000</CFNCV> + <FuelType>Diesel CI</FuelType> + <FuelConsumptionMap> + <Entry engineSpeed="600.00" torque="-150.00" fuelConsumption="0.00"/> + <Entry engineSpeed="600.00" torque="0.00" fuelConsumption="1459.00"/> + <Entry engineSpeed="600.00" torque="216.90" fuelConsumption="3538.75"/> + <Entry engineSpeed="600.00" torque="433.80" fuelConsumption="5936.91"/> + <Entry engineSpeed="600.00" torque="650.70" fuelConsumption="8584.95"/> + <Entry engineSpeed="600.00" torque="867.60" fuelConsumption="10708.27"/> + <Entry engineSpeed="600.00" torque="1084.50" fuelConsumption="13054.00"/> + <Entry engineSpeed="600.00" torque="1301.40" fuelConsumption="15575.45"/> + <Entry engineSpeed="600.00" torque="1518.30" fuelConsumption="18097.57"/> + <Entry engineSpeed="600.00" torque="1735.20" fuelConsumption="20619.68"/> + <Entry engineSpeed="600.00" torque="1952.10" fuelConsumption="23141.80"/> + <Entry engineSpeed="600.00" torque="2169.00" fuelConsumption="25663.92"/> + <Entry engineSpeed="748.90" torque="-153.25" fuelConsumption="0.00"/> + <Entry engineSpeed="748.90" torque="0.00" fuelConsumption="1771.69"/> + <Entry engineSpeed="748.90" torque="216.90" fuelConsumption="4287.77"/> + <Entry engineSpeed="748.90" torque="433.80" fuelConsumption="7329.06"/> + <Entry engineSpeed="748.90" torque="650.70" fuelConsumption="10252.92"/> + <Entry engineSpeed="748.90" torque="867.60" fuelConsumption="13214.55"/> + <Entry engineSpeed="748.90" torque="1084.50" fuelConsumption="16271.09"/> + <Entry engineSpeed="748.90" torque="1301.40" fuelConsumption="19504.44"/> + <Entry engineSpeed="748.90" torque="1518.30" fuelConsumption="22715.90"/> + <Entry engineSpeed="748.90" torque="1735.20" fuelConsumption="26067.02"/> + <Entry engineSpeed="748.90" torque="1952.10" fuelConsumption="29381.05"/> + <Entry engineSpeed="748.90" torque="2169.00" fuelConsumption="32699.96"/> + <Entry engineSpeed="897.80" torque="-159.33" fuelConsumption="0.00"/> + <Entry engineSpeed="897.80" torque="0.00" fuelConsumption="2361.15"/> + <Entry engineSpeed="897.80" torque="216.90" fuelConsumption="5371.49"/> + <Entry engineSpeed="897.80" torque="433.80" fuelConsumption="8747.43"/> + <Entry engineSpeed="897.80" torque="650.70" fuelConsumption="12019.87"/> + <Entry engineSpeed="897.80" torque="867.60" fuelConsumption="15642.49"/> + <Entry engineSpeed="897.80" torque="1084.50" fuelConsumption="19348.62"/> + <Entry engineSpeed="897.80" torque="1301.40" fuelConsumption="23071.10"/> + <Entry engineSpeed="897.80" torque="1518.30" fuelConsumption="26864.31"/> + <Entry engineSpeed="897.80" torque="1735.20" fuelConsumption="30815.18"/> + <Entry engineSpeed="897.80" torque="1952.10" fuelConsumption="34854.40"/> + <Entry engineSpeed="897.80" torque="2169.00" fuelConsumption="39155.09"/> + <Entry engineSpeed="1046.70" torque="-167.79" fuelConsumption="0.00"/> + <Entry engineSpeed="1046.70" torque="0.00" fuelConsumption="2968.21"/> + <Entry engineSpeed="1046.70" torque="216.90" fuelConsumption="6463.69"/> + <Entry engineSpeed="1046.70" torque="433.80" fuelConsumption="10102.67"/> + <Entry engineSpeed="1046.70" torque="650.70" fuelConsumption="13853.76"/> + <Entry engineSpeed="1046.70" torque="867.60" fuelConsumption="18068.71"/> + <Entry engineSpeed="1046.70" torque="1084.50" fuelConsumption="22383.70"/> + <Entry engineSpeed="1046.70" torque="1301.40" fuelConsumption="26543.40"/> + <Entry engineSpeed="1046.70" torque="1518.30" fuelConsumption="30847.65"/> + <Entry engineSpeed="1046.70" torque="1735.20" fuelConsumption="35304.67"/> + <Entry engineSpeed="1046.70" torque="1952.10" fuelConsumption="40046.29"/> + <Entry engineSpeed="1046.70" torque="2169.00" fuelConsumption="45162.72"/> + <Entry engineSpeed="1195.57" torque="-178.58" fuelConsumption="0.00"/> + <Entry engineSpeed="1195.57" torque="0.00" fuelConsumption="3297.21"/> + <Entry engineSpeed="1195.57" torque="216.90" fuelConsumption="7191.55"/> + <Entry engineSpeed="1195.57" torque="433.80" fuelConsumption="11289.50"/> + <Entry engineSpeed="1195.57" torque="650.70" fuelConsumption="15720.59"/> + <Entry engineSpeed="1195.57" torque="867.60" fuelConsumption="20580.22"/> + <Entry engineSpeed="1195.57" torque="1084.50" fuelConsumption="25484.81"/> + <Entry engineSpeed="1195.57" torque="1301.40" fuelConsumption="30222.77"/> + <Entry engineSpeed="1195.57" torque="1518.30" fuelConsumption="35006.22"/> + <Entry engineSpeed="1195.57" torque="1735.20" fuelConsumption="40026.60"/> + <Entry engineSpeed="1195.57" torque="1952.10" fuelConsumption="45496.89"/> + <Entry engineSpeed="1195.57" torque="2169.00" fuelConsumption="50854.10"/> + <Entry engineSpeed="1359.19" torque="-197.42" fuelConsumption="0.00"/> + <Entry engineSpeed="1359.19" torque="0.00" fuelConsumption="4102.15"/> + <Entry engineSpeed="1359.19" torque="216.90" fuelConsumption="8260.52"/> + <Entry engineSpeed="1359.19" torque="433.80" fuelConsumption="13082.44"/> + <Entry engineSpeed="1359.19" torque="650.70" fuelConsumption="18126.41"/> + <Entry engineSpeed="1359.19" torque="867.60" fuelConsumption="23245.61"/> + <Entry engineSpeed="1359.19" torque="1084.50" fuelConsumption="28611.71"/> + <Entry engineSpeed="1359.19" torque="1301.40" fuelConsumption="34186.01"/> + <Entry engineSpeed="1359.19" torque="1518.30" fuelConsumption="39773.96"/> + <Entry engineSpeed="1359.19" torque="1735.20" fuelConsumption="45940.37"/> + <Entry engineSpeed="1359.19" torque="1952.10" fuelConsumption="52485.97"/> + <Entry engineSpeed="1359.19" torque="2169.00" fuelConsumption="58360.23"/> + <Entry engineSpeed="1484.00" torque="-216.03" fuelConsumption="0.00"/> + <Entry engineSpeed="1484.00" torque="0.00" fuelConsumption="4684.84"/> + <Entry engineSpeed="1484.00" torque="216.90" fuelConsumption="9190.80"/> + <Entry engineSpeed="1484.00" torque="433.80" fuelConsumption="14455.69"/> + <Entry engineSpeed="1484.00" torque="650.70" fuelConsumption="19929.18"/> + <Entry engineSpeed="1484.00" torque="867.60" fuelConsumption="25556.30"/> + <Entry engineSpeed="1484.00" torque="1084.50" fuelConsumption="31326.33"/> + <Entry engineSpeed="1484.00" torque="1301.40" fuelConsumption="37363.82"/> + <Entry engineSpeed="1484.00" torque="1518.30" fuelConsumption="43571.91"/> + <Entry engineSpeed="1484.00" torque="1735.20" fuelConsumption="50460.82"/> + <Entry engineSpeed="1484.00" torque="1952.10" fuelConsumption="57604.52"/> + <Entry engineSpeed="1484.00" torque="2169.00" fuelConsumption="64181.14"/> + <Entry engineSpeed="1608.90" torque="-236.34" fuelConsumption="0.00"/> + <Entry engineSpeed="1608.90" torque="0.00" fuelConsumption="5261.40"/> + <Entry engineSpeed="1608.90" torque="216.90" fuelConsumption="10199.91"/> + <Entry engineSpeed="1608.90" torque="433.80" fuelConsumption="15846.19"/> + <Entry engineSpeed="1608.90" torque="650.70" fuelConsumption="21747.18"/> + <Entry engineSpeed="1608.90" torque="867.60" fuelConsumption="28037.21"/> + <Entry engineSpeed="1608.90" torque="1084.50" fuelConsumption="34232.36"/> + <Entry engineSpeed="1608.90" torque="1301.40" fuelConsumption="40669.25"/> + <Entry engineSpeed="1608.90" torque="1518.30" fuelConsumption="47498.48"/> + <Entry engineSpeed="1608.90" torque="1735.20" fuelConsumption="55015.01"/> + <Entry engineSpeed="1608.90" torque="1952.10" fuelConsumption="62654.92"/> + <Entry engineSpeed="1608.90" torque="2169.00" fuelConsumption="70071.75"/> + <Entry engineSpeed="1733.80" torque="-253.92" fuelConsumption="0.00"/> + <Entry engineSpeed="1733.80" torque="0.00" fuelConsumption="6010.80"/> + <Entry engineSpeed="1733.80" torque="216.90" fuelConsumption="11536.09"/> + <Entry engineSpeed="1733.80" torque="433.80" fuelConsumption="17479.05"/> + <Entry engineSpeed="1733.80" torque="650.70" fuelConsumption="23999.56"/> + <Entry engineSpeed="1733.80" torque="867.60" fuelConsumption="30943.62"/> + <Entry engineSpeed="1733.80" torque="1084.50" fuelConsumption="37482.51"/> + <Entry engineSpeed="1733.80" torque="1301.40" fuelConsumption="44617.51"/> + <Entry engineSpeed="1733.80" torque="1518.30" fuelConsumption="52071.25"/> + <Entry engineSpeed="1733.80" torque="1735.20" fuelConsumption="60004.29"/> + <Entry engineSpeed="1733.80" torque="1952.10" fuelConsumption="68251.45"/> + <Entry engineSpeed="1733.80" torque="2169.00" fuelConsumption="76381.09"/> + <Entry engineSpeed="1858.61" torque="-274.22" fuelConsumption="0.00"/> + <Entry engineSpeed="1858.61" torque="0.00" fuelConsumption="7204.51"/> + <Entry engineSpeed="1858.61" torque="216.90" fuelConsumption="13143.55"/> + <Entry engineSpeed="1858.61" torque="433.80" fuelConsumption="19338.96"/> + <Entry engineSpeed="1858.61" torque="650.70" fuelConsumption="26272.46"/> + <Entry engineSpeed="1858.61" torque="867.60" fuelConsumption="33838.94"/> + <Entry engineSpeed="1858.61" torque="1084.50" fuelConsumption="41281.10"/> + <Entry engineSpeed="1858.61" torque="1301.40" fuelConsumption="49065.71"/> + <Entry engineSpeed="1858.61" torque="1518.30" fuelConsumption="57066.15"/> + <Entry engineSpeed="1858.61" torque="1735.20" fuelConsumption="65324.35"/> + <Entry engineSpeed="1858.61" torque="1952.10" fuelConsumption="73876.10"/> + <Entry engineSpeed="1858.61" torque="2169.00" fuelConsumption="82384.30"/> + </FuelConsumptionMap> + <FullLoadAndDragCurve> + <Entry engineSpeed="600.00" maxTorque="1188.00" dragTorque="-138.00"/> + <Entry engineSpeed="800.00" maxTorque="1661.00" dragTorque="-143.00"/> + <Entry engineSpeed="1000.00" maxTorque="2134.00" dragTorque="-152.00"/> + <Entry engineSpeed="1200.00" maxTorque="2134.00" dragTorque="-165.00"/> + <Entry engineSpeed="1400.00" maxTorque="2134.00" dragTorque="-187.00"/> + <Entry engineSpeed="1600.00" maxTorque="1928.00" dragTorque="-217.00"/> + <Entry engineSpeed="1800.00" maxTorque="1722.00" dragTorque="-244.00"/> + <Entry engineSpeed="2000.00" maxTorque="1253.00" dragTorque="-278.00"/> + <Entry engineSpeed="2100.00" maxTorque="1019.00" dragTorque="-296.00"/> + <Entry engineSpeed="2200.00" maxTorque="0.00" dragTorque="-314.00"/> + </FullLoadAndDragCurve> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#ENG-350kW_IVT_12l" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </v2.0:Signature> + </Engine> + <v2.6:Gearbox> + <v2.0:Data id="GBX-GB_12-gear" xsi:type="v2.6:GearboxDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>GB_12-gear</Model> + <CertificationNumber>GBX-GB_12-gear</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <TransmissionType>AMT</TransmissionType> + <MainCertificationMethod>Standard values</MainCertificationMethod> + <DifferentialIncluded>true</DifferentialIncluded> + <AxlegearRatio>2.600</AxlegearRatio> + <v2.6:Gears xsi:type="v2.0:GearsDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Gear number="1"> + <Ratio>14.930</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="2"> + <Ratio>11.640</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="3"> + <Ratio>9.020</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="4"> + <Ratio>7.040</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="5"> + <Ratio>5.640</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="6"> + <Ratio>4.400</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="7"> + <Ratio>3.390</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="8"> + <Ratio>2.650</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="9"> + <Ratio>2.050</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="10"> + <Ratio>1.600</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="11"> + <Ratio>1.280</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="12"> + <Ratio>1.000</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="0.00" inputTorque="-250.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="250.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-845.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="845.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="1000.00"/> + </TorqueLossMap> + </Gear> + </v2.6:Gears> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#GBX-GB_12-gear" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </v2.0:Signature> + </v2.6:Gearbox> + <v2.6:Retarder xsi:type="v2.0:RetarderComponentDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Data id="RET-RET-generic" xsi:type="RetarderDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>RET-generic</Model> + <CertificationNumber>standard values</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <CertificationMethod>Standard values</CertificationMethod> + <RetarderLossMap> + <Entry retarderSpeed="0.00" torqueLoss="10.00"/> + <Entry retarderSpeed="100.00" torqueLoss="10.00"/> + <Entry retarderSpeed="200.00" torqueLoss="10.10"/> + <Entry retarderSpeed="300.00" torqueLoss="10.20"/> + <Entry retarderSpeed="400.00" torqueLoss="10.30"/> + <Entry retarderSpeed="500.00" torqueLoss="10.50"/> + <Entry retarderSpeed="600.00" torqueLoss="10.70"/> + <Entry retarderSpeed="700.00" torqueLoss="11.00"/> + <Entry retarderSpeed="800.00" torqueLoss="11.30"/> + <Entry retarderSpeed="900.00" torqueLoss="11.60"/> + <Entry retarderSpeed="1000.00" torqueLoss="12.00"/> + <Entry retarderSpeed="1100.00" torqueLoss="12.40"/> + <Entry retarderSpeed="1200.00" torqueLoss="12.90"/> + <Entry retarderSpeed="1300.00" torqueLoss="13.40"/> + <Entry retarderSpeed="1400.00" torqueLoss="13.90"/> + <Entry retarderSpeed="1500.00" torqueLoss="14.50"/> + <Entry retarderSpeed="1600.00" torqueLoss="15.10"/> + <Entry retarderSpeed="1700.00" torqueLoss="15.80"/> + <Entry retarderSpeed="1800.00" torqueLoss="16.50"/> + <Entry retarderSpeed="1900.00" torqueLoss="17.20"/> + <Entry retarderSpeed="2000.00" torqueLoss="18.00"/> + <Entry retarderSpeed="2100.00" torqueLoss="18.80"/> + <Entry retarderSpeed="2200.00" torqueLoss="19.70"/> + <Entry retarderSpeed="2300.00" torqueLoss="20.60"/> + <Entry retarderSpeed="2400.00" torqueLoss="21.50"/> + <Entry retarderSpeed="2500.00" torqueLoss="22.50"/> + <Entry retarderSpeed="2600.00" torqueLoss="23.50"/> + <Entry retarderSpeed="2700.00" torqueLoss="24.60"/> + <Entry retarderSpeed="2800.00" torqueLoss="25.70"/> + <Entry retarderSpeed="2900.00" torqueLoss="26.80"/> + <Entry retarderSpeed="3000.00" torqueLoss="28.00"/> + </RetarderLossMap> + </Data> + <Signature> + <Reference URI="#RET-RET-generic" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </v2.6:Retarder> + <v2.6:AxleWheels xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AxleWheelsComponentDeclarationType"> + <Data xsi:type="AxleWheelsDataDeclarationType"> + <Axles> + <Axle axleNumber="1" xsi:type="AxleDataDeclarationType"> + <AxleType>VehicleNonDriven</AxleType> + <TwinTyres>false</TwinTyres> + <Steered>true</Steered> + <Tyre> + <Data id="TYRE-315_70R225" xsi:type="TyreDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>315/70 R22.5</Model> + <CertificationNumber>TYRE-315/70 R22.5</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <Dimension>315/70 R22.5</Dimension> + <RRCDeclared>0.0052</RRCDeclared> + <FzISO>33350</FzISO> + </Data> + <Signature> + <Reference URI="#TYRE-315_70R225" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </Tyre> + </Axle> + <Axle axleNumber="2" xsi:type="AxleDataDeclarationType"> + <AxleType>VehicleDriven</AxleType> + <TwinTyres>true</TwinTyres> + <Steered>false</Steered> + <Tyre> + <v2.0:Data id="WHL-5432198760-315-70-R22.5" xsi:type="v2.2:TyreDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.2"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>315/70 R22.5</Model> + <CertificationNumber>TYRE-315/70 R22.5</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <Dimension>235/60 R17C</Dimension> + <RRCDeclared>0.0061</RRCDeclared> + <FzISO>33350</FzISO> + </v2.0:Data> + <Signature> + <Reference URI="#TYRE-315_70R225" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </Tyre> + </Axle> + </Axles> + </Data> + </v2.6:AxleWheels> + <v2.6:Auxiliaries xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AuxiliariesComponentDeclarationType"> + <Data xsi:type="AuxiliariesDataDeclarationType"> + <Fan> + <Technology>Belt driven or driven via transm. - Electronically controlled visco clutch</Technology> + </Fan> + <SteeringPump> + <Technology>Fixed displacement with elec. control</Technology> + </SteeringPump> + <ElectricSystem> + <Technology>Standard technology</Technology> + </ElectricSystem> + <PneumaticSystem> + <Technology>Medium Supply 1-stage + ESS + AMS</Technology> + </PneumaticSystem> + <HVAC> + <Technology>Default</Technology> + </HVAC> + </Data> + </v2.6:Auxiliaries> + <v2.6:AirDrag xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AirDragComponentDeclarationType"> + <Data id="Airdrag-genericcabin" xsi:type="AirDragDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>N.A.</Model> + <CertificationNumber>generic cabin</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <CdxA_0>5.57</CdxA_0> + <TransferredCdxA>5.57</TransferredCdxA> + <DeclaredCdxA>5.57</DeclaredCdxA> + </Data> + <Signature> + <Reference URI="#Airdrag-genericcabin" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </v2.6:AirDrag> + </Components> + </v2.0:Vehicle> +</tns:VectoInputDeclaration> diff --git a/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorry.xml b/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorry.xml new file mode 100644 index 0000000000000000000000000000000000000000..cde693140435822b76c9123792203ae98422c9b6 --- /dev/null +++ b/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorry.xml @@ -0,0 +1,553 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationInput:v2.0" xmlns:v2.6="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6" xmlns:v2.2="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.2" xmlns:v2.1="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v1.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationJob E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationJob.xsd +urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1 E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationDefinitions.2.1.xsd urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6 E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationDefinitions.2.6_Buses.xsd"> + <v2.0:Vehicle id="VEH-class5_Class-5_5t0" xsi:type="VehicleMediumLorryDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <ManufacturerAddress>N.A.</ManufacturerAddress> + <Model>class 5_Class-5_5t0</Model> + <VIN>standard values</VIN> + <Date>2017-09-26T15:33:45.0798047Z</Date> + <LegislativeClass>N3</LegislativeClass> + <VehicleCategory>Rigid Lorry</VehicleCategory> + <AxleConfiguration>4x2F</AxleConfiguration> + <CurbMassChassis>4229</CurbMassChassis> + <TechnicalPermissibleMaximumLadenMass>7000</TechnicalPermissibleMaximumLadenMass> + <IdlingSpeed>100</IdlingSpeed> + <RetarderType>Transmission Output Retarder</RetarderType> + <RetarderRatio>1.000</RetarderRatio> + <AngledriveType>None</AngledriveType> + <ZeroEmissionVehicle>false</ZeroEmissionVehicle> + <v2.6:ADAS xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1" xsi:type="v2.1:AdvancedDriverAssistantSystemsType"> + <EngineStopStart>false</EngineStopStart> + <EcoRollWithoutEngineStop>false</EcoRollWithoutEngineStop> + <EcoRollWithEngineStop>false</EcoRollWithEngineStop> + <PredictiveCruiseControl>none</PredictiveCruiseControl> + </v2.6:ADAS> + <Components xsi:type="VehicleComponentsNoAxlegearType"> + <Engine> + <v2.0:Data id="ENG-350kW_IVT_12l" xsi:type="v1.0:EngineDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>350kW_IVT_12l</Model> + <CertificationNumber>ENG-350kW_IVT_12l</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <Displacement>12700</Displacement> + <IdlingSpeed>600</IdlingSpeed> + <RatedSpeed>1736</RatedSpeed> + <RatedPower>325032</RatedPower> + <MaxEngineTorque>2134</MaxEngineTorque> + <WHTCUrban>1.0400</WHTCUrban> + <WHTCRural>1.0100</WHTCRural> + <WHTCMotorway>1.0000</WHTCMotorway> + <BFColdHot>1.0000</BFColdHot> + <CFRegPer>1.0000</CFRegPer> + <CFNCV>1.0000</CFNCV> + <FuelType>Diesel CI</FuelType> + <FuelConsumptionMap> + <Entry engineSpeed="600.00" torque="-150.00" fuelConsumption="0.00"/> + <Entry engineSpeed="600.00" torque="0.00" fuelConsumption="1459.00"/> + <Entry engineSpeed="600.00" torque="216.90" fuelConsumption="3538.75"/> + <Entry engineSpeed="600.00" torque="433.80" fuelConsumption="5936.91"/> + <Entry engineSpeed="600.00" torque="650.70" fuelConsumption="8584.95"/> + <Entry engineSpeed="600.00" torque="867.60" fuelConsumption="10708.27"/> + <Entry engineSpeed="600.00" torque="1084.50" fuelConsumption="13054.00"/> + <Entry engineSpeed="600.00" torque="1301.40" fuelConsumption="15575.45"/> + <Entry engineSpeed="600.00" torque="1518.30" fuelConsumption="18097.57"/> + <Entry engineSpeed="600.00" torque="1735.20" fuelConsumption="20619.68"/> + <Entry engineSpeed="600.00" torque="1952.10" fuelConsumption="23141.80"/> + <Entry engineSpeed="600.00" torque="2169.00" fuelConsumption="25663.92"/> + <Entry engineSpeed="748.90" torque="-153.25" fuelConsumption="0.00"/> + <Entry engineSpeed="748.90" torque="0.00" fuelConsumption="1771.69"/> + <Entry engineSpeed="748.90" torque="216.90" fuelConsumption="4287.77"/> + <Entry engineSpeed="748.90" torque="433.80" fuelConsumption="7329.06"/> + <Entry engineSpeed="748.90" torque="650.70" fuelConsumption="10252.92"/> + <Entry engineSpeed="748.90" torque="867.60" fuelConsumption="13214.55"/> + <Entry engineSpeed="748.90" torque="1084.50" fuelConsumption="16271.09"/> + <Entry engineSpeed="748.90" torque="1301.40" fuelConsumption="19504.44"/> + <Entry engineSpeed="748.90" torque="1518.30" fuelConsumption="22715.90"/> + <Entry engineSpeed="748.90" torque="1735.20" fuelConsumption="26067.02"/> + <Entry engineSpeed="748.90" torque="1952.10" fuelConsumption="29381.05"/> + <Entry engineSpeed="748.90" torque="2169.00" fuelConsumption="32699.96"/> + <Entry engineSpeed="897.80" torque="-159.33" fuelConsumption="0.00"/> + <Entry engineSpeed="897.80" torque="0.00" fuelConsumption="2361.15"/> + <Entry engineSpeed="897.80" torque="216.90" fuelConsumption="5371.49"/> + <Entry engineSpeed="897.80" torque="433.80" fuelConsumption="8747.43"/> + <Entry engineSpeed="897.80" torque="650.70" fuelConsumption="12019.87"/> + <Entry engineSpeed="897.80" torque="867.60" fuelConsumption="15642.49"/> + <Entry engineSpeed="897.80" torque="1084.50" fuelConsumption="19348.62"/> + <Entry engineSpeed="897.80" torque="1301.40" fuelConsumption="23071.10"/> + <Entry engineSpeed="897.80" torque="1518.30" fuelConsumption="26864.31"/> + <Entry engineSpeed="897.80" torque="1735.20" fuelConsumption="30815.18"/> + <Entry engineSpeed="897.80" torque="1952.10" fuelConsumption="34854.40"/> + <Entry engineSpeed="897.80" torque="2169.00" fuelConsumption="39155.09"/> + <Entry engineSpeed="1046.70" torque="-167.79" fuelConsumption="0.00"/> + <Entry engineSpeed="1046.70" torque="0.00" fuelConsumption="2968.21"/> + <Entry engineSpeed="1046.70" torque="216.90" fuelConsumption="6463.69"/> + <Entry engineSpeed="1046.70" torque="433.80" fuelConsumption="10102.67"/> + <Entry engineSpeed="1046.70" torque="650.70" fuelConsumption="13853.76"/> + <Entry engineSpeed="1046.70" torque="867.60" fuelConsumption="18068.71"/> + <Entry engineSpeed="1046.70" torque="1084.50" fuelConsumption="22383.70"/> + <Entry engineSpeed="1046.70" torque="1301.40" fuelConsumption="26543.40"/> + <Entry engineSpeed="1046.70" torque="1518.30" fuelConsumption="30847.65"/> + <Entry engineSpeed="1046.70" torque="1735.20" fuelConsumption="35304.67"/> + <Entry engineSpeed="1046.70" torque="1952.10" fuelConsumption="40046.29"/> + <Entry engineSpeed="1046.70" torque="2169.00" fuelConsumption="45162.72"/> + <Entry engineSpeed="1195.57" torque="-178.58" fuelConsumption="0.00"/> + <Entry engineSpeed="1195.57" torque="0.00" fuelConsumption="3297.21"/> + <Entry engineSpeed="1195.57" torque="216.90" fuelConsumption="7191.55"/> + <Entry engineSpeed="1195.57" torque="433.80" fuelConsumption="11289.50"/> + <Entry engineSpeed="1195.57" torque="650.70" fuelConsumption="15720.59"/> + <Entry engineSpeed="1195.57" torque="867.60" fuelConsumption="20580.22"/> + <Entry engineSpeed="1195.57" torque="1084.50" fuelConsumption="25484.81"/> + <Entry engineSpeed="1195.57" torque="1301.40" fuelConsumption="30222.77"/> + <Entry engineSpeed="1195.57" torque="1518.30" fuelConsumption="35006.22"/> + <Entry engineSpeed="1195.57" torque="1735.20" fuelConsumption="40026.60"/> + <Entry engineSpeed="1195.57" torque="1952.10" fuelConsumption="45496.89"/> + <Entry engineSpeed="1195.57" torque="2169.00" fuelConsumption="50854.10"/> + <Entry engineSpeed="1359.19" torque="-197.42" fuelConsumption="0.00"/> + <Entry engineSpeed="1359.19" torque="0.00" fuelConsumption="4102.15"/> + <Entry engineSpeed="1359.19" torque="216.90" fuelConsumption="8260.52"/> + <Entry engineSpeed="1359.19" torque="433.80" fuelConsumption="13082.44"/> + <Entry engineSpeed="1359.19" torque="650.70" fuelConsumption="18126.41"/> + <Entry engineSpeed="1359.19" torque="867.60" fuelConsumption="23245.61"/> + <Entry engineSpeed="1359.19" torque="1084.50" fuelConsumption="28611.71"/> + <Entry engineSpeed="1359.19" torque="1301.40" fuelConsumption="34186.01"/> + <Entry engineSpeed="1359.19" torque="1518.30" fuelConsumption="39773.96"/> + <Entry engineSpeed="1359.19" torque="1735.20" fuelConsumption="45940.37"/> + <Entry engineSpeed="1359.19" torque="1952.10" fuelConsumption="52485.97"/> + <Entry engineSpeed="1359.19" torque="2169.00" fuelConsumption="58360.23"/> + <Entry engineSpeed="1484.00" torque="-216.03" fuelConsumption="0.00"/> + <Entry engineSpeed="1484.00" torque="0.00" fuelConsumption="4684.84"/> + <Entry engineSpeed="1484.00" torque="216.90" fuelConsumption="9190.80"/> + <Entry engineSpeed="1484.00" torque="433.80" fuelConsumption="14455.69"/> + <Entry engineSpeed="1484.00" torque="650.70" fuelConsumption="19929.18"/> + <Entry engineSpeed="1484.00" torque="867.60" fuelConsumption="25556.30"/> + <Entry engineSpeed="1484.00" torque="1084.50" fuelConsumption="31326.33"/> + <Entry engineSpeed="1484.00" torque="1301.40" fuelConsumption="37363.82"/> + <Entry engineSpeed="1484.00" torque="1518.30" fuelConsumption="43571.91"/> + <Entry engineSpeed="1484.00" torque="1735.20" fuelConsumption="50460.82"/> + <Entry engineSpeed="1484.00" torque="1952.10" fuelConsumption="57604.52"/> + <Entry engineSpeed="1484.00" torque="2169.00" fuelConsumption="64181.14"/> + <Entry engineSpeed="1608.90" torque="-236.34" fuelConsumption="0.00"/> + <Entry engineSpeed="1608.90" torque="0.00" fuelConsumption="5261.40"/> + <Entry engineSpeed="1608.90" torque="216.90" fuelConsumption="10199.91"/> + <Entry engineSpeed="1608.90" torque="433.80" fuelConsumption="15846.19"/> + <Entry engineSpeed="1608.90" torque="650.70" fuelConsumption="21747.18"/> + <Entry engineSpeed="1608.90" torque="867.60" fuelConsumption="28037.21"/> + <Entry engineSpeed="1608.90" torque="1084.50" fuelConsumption="34232.36"/> + <Entry engineSpeed="1608.90" torque="1301.40" fuelConsumption="40669.25"/> + <Entry engineSpeed="1608.90" torque="1518.30" fuelConsumption="47498.48"/> + <Entry engineSpeed="1608.90" torque="1735.20" fuelConsumption="55015.01"/> + <Entry engineSpeed="1608.90" torque="1952.10" fuelConsumption="62654.92"/> + <Entry engineSpeed="1608.90" torque="2169.00" fuelConsumption="70071.75"/> + <Entry engineSpeed="1733.80" torque="-253.92" fuelConsumption="0.00"/> + <Entry engineSpeed="1733.80" torque="0.00" fuelConsumption="6010.80"/> + <Entry engineSpeed="1733.80" torque="216.90" fuelConsumption="11536.09"/> + <Entry engineSpeed="1733.80" torque="433.80" fuelConsumption="17479.05"/> + <Entry engineSpeed="1733.80" torque="650.70" fuelConsumption="23999.56"/> + <Entry engineSpeed="1733.80" torque="867.60" fuelConsumption="30943.62"/> + <Entry engineSpeed="1733.80" torque="1084.50" fuelConsumption="37482.51"/> + <Entry engineSpeed="1733.80" torque="1301.40" fuelConsumption="44617.51"/> + <Entry engineSpeed="1733.80" torque="1518.30" fuelConsumption="52071.25"/> + <Entry engineSpeed="1733.80" torque="1735.20" fuelConsumption="60004.29"/> + <Entry engineSpeed="1733.80" torque="1952.10" fuelConsumption="68251.45"/> + <Entry engineSpeed="1733.80" torque="2169.00" fuelConsumption="76381.09"/> + <Entry engineSpeed="1858.61" torque="-274.22" fuelConsumption="0.00"/> + <Entry engineSpeed="1858.61" torque="0.00" fuelConsumption="7204.51"/> + <Entry engineSpeed="1858.61" torque="216.90" fuelConsumption="13143.55"/> + <Entry engineSpeed="1858.61" torque="433.80" fuelConsumption="19338.96"/> + <Entry engineSpeed="1858.61" torque="650.70" fuelConsumption="26272.46"/> + <Entry engineSpeed="1858.61" torque="867.60" fuelConsumption="33838.94"/> + <Entry engineSpeed="1858.61" torque="1084.50" fuelConsumption="41281.10"/> + <Entry engineSpeed="1858.61" torque="1301.40" fuelConsumption="49065.71"/> + <Entry engineSpeed="1858.61" torque="1518.30" fuelConsumption="57066.15"/> + <Entry engineSpeed="1858.61" torque="1735.20" fuelConsumption="65324.35"/> + <Entry engineSpeed="1858.61" torque="1952.10" fuelConsumption="73876.10"/> + <Entry engineSpeed="1858.61" torque="2169.00" fuelConsumption="82384.30"/> + </FuelConsumptionMap> + <FullLoadAndDragCurve> + <Entry engineSpeed="600.00" maxTorque="1188.00" dragTorque="-138.00"/> + <Entry engineSpeed="800.00" maxTorque="1661.00" dragTorque="-143.00"/> + <Entry engineSpeed="1000.00" maxTorque="2134.00" dragTorque="-152.00"/> + <Entry engineSpeed="1200.00" maxTorque="2134.00" dragTorque="-165.00"/> + <Entry engineSpeed="1400.00" maxTorque="2134.00" dragTorque="-187.00"/> + <Entry engineSpeed="1600.00" maxTorque="1928.00" dragTorque="-217.00"/> + <Entry engineSpeed="1800.00" maxTorque="1722.00" dragTorque="-244.00"/> + <Entry engineSpeed="2000.00" maxTorque="1253.00" dragTorque="-278.00"/> + <Entry engineSpeed="2100.00" maxTorque="1019.00" dragTorque="-296.00"/> + <Entry engineSpeed="2200.00" maxTorque="0.00" dragTorque="-314.00"/> + </FullLoadAndDragCurve> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#ENG-350kW_IVT_12l" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </v2.0:Signature> + </Engine> + <v2.6:Gearbox> + <v2.0:Data id="GBX-GB_12-gear" xsi:type="v2.6:GearboxDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>GB_12-gear</Model> + <CertificationNumber>GBX-GB_12-gear</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <TransmissionType>AMT</TransmissionType> + <MainCertificationMethod>Standard values</MainCertificationMethod> + <DifferentialIncluded>true</DifferentialIncluded> + <AxlegearRatio>2.600</AxlegearRatio> + <v2.6:Gears xsi:type="v2.0:GearsDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Gear number="1"> + <Ratio>14.930</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="2"> + <Ratio>11.640</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="3"> + <Ratio>9.020</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="4"> + <Ratio>7.040</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="5"> + <Ratio>5.640</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="6"> + <Ratio>4.400</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="7"> + <Ratio>3.390</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="8"> + <Ratio>2.650</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="9"> + <Ratio>2.050</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="10"> + <Ratio>1.600</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="11"> + <Ratio>1.280</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="12"> + <Ratio>1.000</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="0.00" inputTorque="-250.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="250.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-845.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="845.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="1000.00"/> + </TorqueLossMap> + </Gear> + </v2.6:Gears> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#GBX-GB_12-gear" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </v2.0:Signature> + </v2.6:Gearbox> + <v2.6:Retarder xsi:type="v2.0:RetarderComponentDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Data id="RET-RET-generic" xsi:type="RetarderDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>RET-generic</Model> + <CertificationNumber>standard values</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <CertificationMethod>Standard values</CertificationMethod> + <RetarderLossMap> + <Entry retarderSpeed="0.00" torqueLoss="10.00"/> + <Entry retarderSpeed="100.00" torqueLoss="10.00"/> + <Entry retarderSpeed="200.00" torqueLoss="10.10"/> + <Entry retarderSpeed="300.00" torqueLoss="10.20"/> + <Entry retarderSpeed="400.00" torqueLoss="10.30"/> + <Entry retarderSpeed="500.00" torqueLoss="10.50"/> + <Entry retarderSpeed="600.00" torqueLoss="10.70"/> + <Entry retarderSpeed="700.00" torqueLoss="11.00"/> + <Entry retarderSpeed="800.00" torqueLoss="11.30"/> + <Entry retarderSpeed="900.00" torqueLoss="11.60"/> + <Entry retarderSpeed="1000.00" torqueLoss="12.00"/> + <Entry retarderSpeed="1100.00" torqueLoss="12.40"/> + <Entry retarderSpeed="1200.00" torqueLoss="12.90"/> + <Entry retarderSpeed="1300.00" torqueLoss="13.40"/> + <Entry retarderSpeed="1400.00" torqueLoss="13.90"/> + <Entry retarderSpeed="1500.00" torqueLoss="14.50"/> + <Entry retarderSpeed="1600.00" torqueLoss="15.10"/> + <Entry retarderSpeed="1700.00" torqueLoss="15.80"/> + <Entry retarderSpeed="1800.00" torqueLoss="16.50"/> + <Entry retarderSpeed="1900.00" torqueLoss="17.20"/> + <Entry retarderSpeed="2000.00" torqueLoss="18.00"/> + <Entry retarderSpeed="2100.00" torqueLoss="18.80"/> + <Entry retarderSpeed="2200.00" torqueLoss="19.70"/> + <Entry retarderSpeed="2300.00" torqueLoss="20.60"/> + <Entry retarderSpeed="2400.00" torqueLoss="21.50"/> + <Entry retarderSpeed="2500.00" torqueLoss="22.50"/> + <Entry retarderSpeed="2600.00" torqueLoss="23.50"/> + <Entry retarderSpeed="2700.00" torqueLoss="24.60"/> + <Entry retarderSpeed="2800.00" torqueLoss="25.70"/> + <Entry retarderSpeed="2900.00" torqueLoss="26.80"/> + <Entry retarderSpeed="3000.00" torqueLoss="28.00"/> + </RetarderLossMap> + </Data> + <Signature> + <Reference URI="#RET-RET-generic" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </v2.6:Retarder> + <v2.6:AxleWheels xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AxleWheelsComponentDeclarationType"> + <Data xsi:type="AxleWheelsDataDeclarationType"> + <Axles> + <Axle axleNumber="1" xsi:type="AxleDataDeclarationType"> + <AxleType>VehicleNonDriven</AxleType> + <TwinTyres>false</TwinTyres> + <Steered>true</Steered> + <Tyre> + <Data id="TYRE-315_70R225" xsi:type="TyreDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>315/70 R22.5</Model> + <CertificationNumber>TYRE-315/70 R22.5</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <Dimension>315/70 R22.5</Dimension> + <RRCDeclared>0.0052</RRCDeclared> + <FzISO>33350</FzISO> + </Data> + <Signature> + <Reference URI="#TYRE-315_70R225" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </Tyre> + </Axle> + <Axle axleNumber="2" xsi:type="AxleDataDeclarationType"> + <AxleType>VehicleDriven</AxleType> + <TwinTyres>true</TwinTyres> + <Steered>false</Steered> + <Tyre> + <v2.0:Data id="WHL-5432198760-315-70-R22.5" xsi:type="v2.2:TyreDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.2"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>315/70 R22.5</Model> + <CertificationNumber>TYRE-315/70 R22.5</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <Dimension>235/60 R17C</Dimension> + <RRCDeclared>0.0061</RRCDeclared> + <FzISO>33350</FzISO> + </v2.0:Data> + <Signature> + <Reference URI="#TYRE-315_70R225" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </Tyre> + </Axle> + </Axles> + </Data> + </v2.6:AxleWheels> + <v2.6:Auxiliaries xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AuxiliariesComponentDeclarationType"> + <Data xsi:type="AuxiliariesDataDeclarationType"> + <Fan> + <Technology>Belt driven or driven via transm. - Electronically controlled visco clutch</Technology> + </Fan> + <SteeringPump> + <Technology>Fixed displacement with elec. control</Technology> + </SteeringPump> + <ElectricSystem> + <Technology>Standard technology</Technology> + </ElectricSystem> + <PneumaticSystem> + <Technology>Medium Supply 1-stage + ESS + AMS</Technology> + </PneumaticSystem> + <HVAC> + <Technology>Default</Technology> + </HVAC> + </Data> + </v2.6:Auxiliaries> + <v2.6:AirDrag xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AirDragComponentDeclarationType"> + <Data id="Airdrag-genericcabin" xsi:type="AirDragDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>N.A.</Model> + <CertificationNumber>generic cabin</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <CdxA_0>5.57</CdxA_0> + <TransferredCdxA>5.57</TransferredCdxA> + <DeclaredCdxA>5.57</DeclaredCdxA> + </Data> + <Signature> + <Reference URI="#Airdrag-genericcabin" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </v2.6:AirDrag> + </Components> + </v2.0:Vehicle> +</tns:VectoInputDeclaration> diff --git a/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorryFWD.xml b/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorryFWD.xml new file mode 100644 index 0000000000000000000000000000000000000000..b6c37cb955606e70361d062e1f976d694190d5f8 --- /dev/null +++ b/VectoCore/VectoCoreTest/TestData/Integration/MediumLorries/vecto_vehicle-medium_lorryFWD.xml @@ -0,0 +1,553 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationInput:v2.0" xmlns:v2.6="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6" xmlns:v2.2="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.2" xmlns:v2.1="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v1.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationJob E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationJob.xsd +urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1 E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationDefinitions.2.1.xsd urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:DEV:v2.6 E:\QUAM\Workspace\VECTO_DEV_Buses\VectoCore\VectoCore\Resources\XSD/VectoDeclarationDefinitions.2.6_Buses.xsd"> + <v2.0:Vehicle id="VEH-class5_Class-5_5t0_fwd" xsi:type="VehicleMediumLorryDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <ManufacturerAddress>N.A.</ManufacturerAddress> + <Model>class 5_Class-5_5t0</Model> + <VIN>standard values_fwd</VIN> + <Date>2017-09-26T15:33:45.0798047Z</Date> + <LegislativeClass>N3</LegislativeClass> + <VehicleCategory>Van</VehicleCategory> + <AxleConfiguration>4x2F</AxleConfiguration> + <CurbMassChassis>4229</CurbMassChassis> + <TechnicalPermissibleMaximumLadenMass>7000</TechnicalPermissibleMaximumLadenMass> + <IdlingSpeed>100</IdlingSpeed> + <RetarderType>Transmission Output Retarder</RetarderType> + <RetarderRatio>1.000</RetarderRatio> + <AngledriveType>None</AngledriveType> + <ZeroEmissionVehicle>false</ZeroEmissionVehicle> + <v2.6:ADAS xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.1" xsi:type="v2.1:AdvancedDriverAssistantSystemsType"> + <EngineStopStart>false</EngineStopStart> + <EcoRollWithoutEngineStop>false</EcoRollWithoutEngineStop> + <EcoRollWithEngineStop>false</EcoRollWithEngineStop> + <PredictiveCruiseControl>none</PredictiveCruiseControl> + </v2.6:ADAS> + <Components xsi:type="VehicleComponentsNoAxlegearType"> + <Engine> + <v2.0:Data id="ENG-350kW_IVT_12l" xsi:type="v1.0:EngineDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>350kW_IVT_12l</Model> + <CertificationNumber>ENG-350kW_IVT_12l</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <Displacement>12700</Displacement> + <IdlingSpeed>600</IdlingSpeed> + <RatedSpeed>1736</RatedSpeed> + <RatedPower>325032</RatedPower> + <MaxEngineTorque>2134</MaxEngineTorque> + <WHTCUrban>1.0400</WHTCUrban> + <WHTCRural>1.0100</WHTCRural> + <WHTCMotorway>1.0000</WHTCMotorway> + <BFColdHot>1.0000</BFColdHot> + <CFRegPer>1.0000</CFRegPer> + <CFNCV>1.0000</CFNCV> + <FuelType>Diesel CI</FuelType> + <FuelConsumptionMap> + <Entry engineSpeed="600.00" torque="-150.00" fuelConsumption="0.00"/> + <Entry engineSpeed="600.00" torque="0.00" fuelConsumption="1459.00"/> + <Entry engineSpeed="600.00" torque="216.90" fuelConsumption="3538.75"/> + <Entry engineSpeed="600.00" torque="433.80" fuelConsumption="5936.91"/> + <Entry engineSpeed="600.00" torque="650.70" fuelConsumption="8584.95"/> + <Entry engineSpeed="600.00" torque="867.60" fuelConsumption="10708.27"/> + <Entry engineSpeed="600.00" torque="1084.50" fuelConsumption="13054.00"/> + <Entry engineSpeed="600.00" torque="1301.40" fuelConsumption="15575.45"/> + <Entry engineSpeed="600.00" torque="1518.30" fuelConsumption="18097.57"/> + <Entry engineSpeed="600.00" torque="1735.20" fuelConsumption="20619.68"/> + <Entry engineSpeed="600.00" torque="1952.10" fuelConsumption="23141.80"/> + <Entry engineSpeed="600.00" torque="2169.00" fuelConsumption="25663.92"/> + <Entry engineSpeed="748.90" torque="-153.25" fuelConsumption="0.00"/> + <Entry engineSpeed="748.90" torque="0.00" fuelConsumption="1771.69"/> + <Entry engineSpeed="748.90" torque="216.90" fuelConsumption="4287.77"/> + <Entry engineSpeed="748.90" torque="433.80" fuelConsumption="7329.06"/> + <Entry engineSpeed="748.90" torque="650.70" fuelConsumption="10252.92"/> + <Entry engineSpeed="748.90" torque="867.60" fuelConsumption="13214.55"/> + <Entry engineSpeed="748.90" torque="1084.50" fuelConsumption="16271.09"/> + <Entry engineSpeed="748.90" torque="1301.40" fuelConsumption="19504.44"/> + <Entry engineSpeed="748.90" torque="1518.30" fuelConsumption="22715.90"/> + <Entry engineSpeed="748.90" torque="1735.20" fuelConsumption="26067.02"/> + <Entry engineSpeed="748.90" torque="1952.10" fuelConsumption="29381.05"/> + <Entry engineSpeed="748.90" torque="2169.00" fuelConsumption="32699.96"/> + <Entry engineSpeed="897.80" torque="-159.33" fuelConsumption="0.00"/> + <Entry engineSpeed="897.80" torque="0.00" fuelConsumption="2361.15"/> + <Entry engineSpeed="897.80" torque="216.90" fuelConsumption="5371.49"/> + <Entry engineSpeed="897.80" torque="433.80" fuelConsumption="8747.43"/> + <Entry engineSpeed="897.80" torque="650.70" fuelConsumption="12019.87"/> + <Entry engineSpeed="897.80" torque="867.60" fuelConsumption="15642.49"/> + <Entry engineSpeed="897.80" torque="1084.50" fuelConsumption="19348.62"/> + <Entry engineSpeed="897.80" torque="1301.40" fuelConsumption="23071.10"/> + <Entry engineSpeed="897.80" torque="1518.30" fuelConsumption="26864.31"/> + <Entry engineSpeed="897.80" torque="1735.20" fuelConsumption="30815.18"/> + <Entry engineSpeed="897.80" torque="1952.10" fuelConsumption="34854.40"/> + <Entry engineSpeed="897.80" torque="2169.00" fuelConsumption="39155.09"/> + <Entry engineSpeed="1046.70" torque="-167.79" fuelConsumption="0.00"/> + <Entry engineSpeed="1046.70" torque="0.00" fuelConsumption="2968.21"/> + <Entry engineSpeed="1046.70" torque="216.90" fuelConsumption="6463.69"/> + <Entry engineSpeed="1046.70" torque="433.80" fuelConsumption="10102.67"/> + <Entry engineSpeed="1046.70" torque="650.70" fuelConsumption="13853.76"/> + <Entry engineSpeed="1046.70" torque="867.60" fuelConsumption="18068.71"/> + <Entry engineSpeed="1046.70" torque="1084.50" fuelConsumption="22383.70"/> + <Entry engineSpeed="1046.70" torque="1301.40" fuelConsumption="26543.40"/> + <Entry engineSpeed="1046.70" torque="1518.30" fuelConsumption="30847.65"/> + <Entry engineSpeed="1046.70" torque="1735.20" fuelConsumption="35304.67"/> + <Entry engineSpeed="1046.70" torque="1952.10" fuelConsumption="40046.29"/> + <Entry engineSpeed="1046.70" torque="2169.00" fuelConsumption="45162.72"/> + <Entry engineSpeed="1195.57" torque="-178.58" fuelConsumption="0.00"/> + <Entry engineSpeed="1195.57" torque="0.00" fuelConsumption="3297.21"/> + <Entry engineSpeed="1195.57" torque="216.90" fuelConsumption="7191.55"/> + <Entry engineSpeed="1195.57" torque="433.80" fuelConsumption="11289.50"/> + <Entry engineSpeed="1195.57" torque="650.70" fuelConsumption="15720.59"/> + <Entry engineSpeed="1195.57" torque="867.60" fuelConsumption="20580.22"/> + <Entry engineSpeed="1195.57" torque="1084.50" fuelConsumption="25484.81"/> + <Entry engineSpeed="1195.57" torque="1301.40" fuelConsumption="30222.77"/> + <Entry engineSpeed="1195.57" torque="1518.30" fuelConsumption="35006.22"/> + <Entry engineSpeed="1195.57" torque="1735.20" fuelConsumption="40026.60"/> + <Entry engineSpeed="1195.57" torque="1952.10" fuelConsumption="45496.89"/> + <Entry engineSpeed="1195.57" torque="2169.00" fuelConsumption="50854.10"/> + <Entry engineSpeed="1359.19" torque="-197.42" fuelConsumption="0.00"/> + <Entry engineSpeed="1359.19" torque="0.00" fuelConsumption="4102.15"/> + <Entry engineSpeed="1359.19" torque="216.90" fuelConsumption="8260.52"/> + <Entry engineSpeed="1359.19" torque="433.80" fuelConsumption="13082.44"/> + <Entry engineSpeed="1359.19" torque="650.70" fuelConsumption="18126.41"/> + <Entry engineSpeed="1359.19" torque="867.60" fuelConsumption="23245.61"/> + <Entry engineSpeed="1359.19" torque="1084.50" fuelConsumption="28611.71"/> + <Entry engineSpeed="1359.19" torque="1301.40" fuelConsumption="34186.01"/> + <Entry engineSpeed="1359.19" torque="1518.30" fuelConsumption="39773.96"/> + <Entry engineSpeed="1359.19" torque="1735.20" fuelConsumption="45940.37"/> + <Entry engineSpeed="1359.19" torque="1952.10" fuelConsumption="52485.97"/> + <Entry engineSpeed="1359.19" torque="2169.00" fuelConsumption="58360.23"/> + <Entry engineSpeed="1484.00" torque="-216.03" fuelConsumption="0.00"/> + <Entry engineSpeed="1484.00" torque="0.00" fuelConsumption="4684.84"/> + <Entry engineSpeed="1484.00" torque="216.90" fuelConsumption="9190.80"/> + <Entry engineSpeed="1484.00" torque="433.80" fuelConsumption="14455.69"/> + <Entry engineSpeed="1484.00" torque="650.70" fuelConsumption="19929.18"/> + <Entry engineSpeed="1484.00" torque="867.60" fuelConsumption="25556.30"/> + <Entry engineSpeed="1484.00" torque="1084.50" fuelConsumption="31326.33"/> + <Entry engineSpeed="1484.00" torque="1301.40" fuelConsumption="37363.82"/> + <Entry engineSpeed="1484.00" torque="1518.30" fuelConsumption="43571.91"/> + <Entry engineSpeed="1484.00" torque="1735.20" fuelConsumption="50460.82"/> + <Entry engineSpeed="1484.00" torque="1952.10" fuelConsumption="57604.52"/> + <Entry engineSpeed="1484.00" torque="2169.00" fuelConsumption="64181.14"/> + <Entry engineSpeed="1608.90" torque="-236.34" fuelConsumption="0.00"/> + <Entry engineSpeed="1608.90" torque="0.00" fuelConsumption="5261.40"/> + <Entry engineSpeed="1608.90" torque="216.90" fuelConsumption="10199.91"/> + <Entry engineSpeed="1608.90" torque="433.80" fuelConsumption="15846.19"/> + <Entry engineSpeed="1608.90" torque="650.70" fuelConsumption="21747.18"/> + <Entry engineSpeed="1608.90" torque="867.60" fuelConsumption="28037.21"/> + <Entry engineSpeed="1608.90" torque="1084.50" fuelConsumption="34232.36"/> + <Entry engineSpeed="1608.90" torque="1301.40" fuelConsumption="40669.25"/> + <Entry engineSpeed="1608.90" torque="1518.30" fuelConsumption="47498.48"/> + <Entry engineSpeed="1608.90" torque="1735.20" fuelConsumption="55015.01"/> + <Entry engineSpeed="1608.90" torque="1952.10" fuelConsumption="62654.92"/> + <Entry engineSpeed="1608.90" torque="2169.00" fuelConsumption="70071.75"/> + <Entry engineSpeed="1733.80" torque="-253.92" fuelConsumption="0.00"/> + <Entry engineSpeed="1733.80" torque="0.00" fuelConsumption="6010.80"/> + <Entry engineSpeed="1733.80" torque="216.90" fuelConsumption="11536.09"/> + <Entry engineSpeed="1733.80" torque="433.80" fuelConsumption="17479.05"/> + <Entry engineSpeed="1733.80" torque="650.70" fuelConsumption="23999.56"/> + <Entry engineSpeed="1733.80" torque="867.60" fuelConsumption="30943.62"/> + <Entry engineSpeed="1733.80" torque="1084.50" fuelConsumption="37482.51"/> + <Entry engineSpeed="1733.80" torque="1301.40" fuelConsumption="44617.51"/> + <Entry engineSpeed="1733.80" torque="1518.30" fuelConsumption="52071.25"/> + <Entry engineSpeed="1733.80" torque="1735.20" fuelConsumption="60004.29"/> + <Entry engineSpeed="1733.80" torque="1952.10" fuelConsumption="68251.45"/> + <Entry engineSpeed="1733.80" torque="2169.00" fuelConsumption="76381.09"/> + <Entry engineSpeed="1858.61" torque="-274.22" fuelConsumption="0.00"/> + <Entry engineSpeed="1858.61" torque="0.00" fuelConsumption="7204.51"/> + <Entry engineSpeed="1858.61" torque="216.90" fuelConsumption="13143.55"/> + <Entry engineSpeed="1858.61" torque="433.80" fuelConsumption="19338.96"/> + <Entry engineSpeed="1858.61" torque="650.70" fuelConsumption="26272.46"/> + <Entry engineSpeed="1858.61" torque="867.60" fuelConsumption="33838.94"/> + <Entry engineSpeed="1858.61" torque="1084.50" fuelConsumption="41281.10"/> + <Entry engineSpeed="1858.61" torque="1301.40" fuelConsumption="49065.71"/> + <Entry engineSpeed="1858.61" torque="1518.30" fuelConsumption="57066.15"/> + <Entry engineSpeed="1858.61" torque="1735.20" fuelConsumption="65324.35"/> + <Entry engineSpeed="1858.61" torque="1952.10" fuelConsumption="73876.10"/> + <Entry engineSpeed="1858.61" torque="2169.00" fuelConsumption="82384.30"/> + </FuelConsumptionMap> + <FullLoadAndDragCurve> + <Entry engineSpeed="600.00" maxTorque="1188.00" dragTorque="-138.00"/> + <Entry engineSpeed="800.00" maxTorque="1661.00" dragTorque="-143.00"/> + <Entry engineSpeed="1000.00" maxTorque="2134.00" dragTorque="-152.00"/> + <Entry engineSpeed="1200.00" maxTorque="2134.00" dragTorque="-165.00"/> + <Entry engineSpeed="1400.00" maxTorque="2134.00" dragTorque="-187.00"/> + <Entry engineSpeed="1600.00" maxTorque="1928.00" dragTorque="-217.00"/> + <Entry engineSpeed="1800.00" maxTorque="1722.00" dragTorque="-244.00"/> + <Entry engineSpeed="2000.00" maxTorque="1253.00" dragTorque="-278.00"/> + <Entry engineSpeed="2100.00" maxTorque="1019.00" dragTorque="-296.00"/> + <Entry engineSpeed="2200.00" maxTorque="0.00" dragTorque="-314.00"/> + </FullLoadAndDragCurve> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#ENG-350kW_IVT_12l" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </v2.0:Signature> + </Engine> + <v2.6:Gearbox> + <v2.0:Data id="GBX-GB_12-gear" xsi:type="v2.6:GearboxDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>GB_12-gear</Model> + <CertificationNumber>GBX-GB_12-gear</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <TransmissionType>AMT</TransmissionType> + <MainCertificationMethod>Standard values</MainCertificationMethod> + <DifferentialIncluded>true</DifferentialIncluded> + <AxlegearRatio>2.600</AxlegearRatio> + <v2.6:Gears xsi:type="v2.0:GearsDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Gear number="1"> + <Ratio>14.930</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="2"> + <Ratio>11.640</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="3"> + <Ratio>9.020</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="4"> + <Ratio>7.040</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="5"> + <Ratio>5.640</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="6"> + <Ratio>4.400</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="7"> + <Ratio>3.390</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="8"> + <Ratio>2.650</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="9"> + <Ratio>2.050</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="10"> + <Ratio>1.600</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="11"> + <Ratio>1.280</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00"/> + </TorqueLossMap> + </Gear> + <Gear number="12"> + <Ratio>1.000</Ratio> + <TorqueLossMap> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="0.00" inputTorque="-250.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="250.00" torqueLoss="5.00"/> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="1000.00"/> + <Entry inputSpeed="5000.00" inputTorque="-845.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="0.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="845.00" torqueLoss="17.00"/> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="1000.00"/> + </TorqueLossMap> + </Gear> + </v2.6:Gears> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#GBX-GB_12-gear" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </v2.0:Signature> + </v2.6:Gearbox> + <v2.6:Retarder xsi:type="v2.0:RetarderComponentDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Data id="RET-RET-generic" xsi:type="RetarderDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>RET-generic</Model> + <CertificationNumber>standard values</CertificationNumber> + <Date>2017-09-26T15:33:45.0954248Z</Date> + <AppVersion>VectoCore</AppVersion> + <CertificationMethod>Standard values</CertificationMethod> + <RetarderLossMap> + <Entry retarderSpeed="0.00" torqueLoss="10.00"/> + <Entry retarderSpeed="100.00" torqueLoss="10.00"/> + <Entry retarderSpeed="200.00" torqueLoss="10.10"/> + <Entry retarderSpeed="300.00" torqueLoss="10.20"/> + <Entry retarderSpeed="400.00" torqueLoss="10.30"/> + <Entry retarderSpeed="500.00" torqueLoss="10.50"/> + <Entry retarderSpeed="600.00" torqueLoss="10.70"/> + <Entry retarderSpeed="700.00" torqueLoss="11.00"/> + <Entry retarderSpeed="800.00" torqueLoss="11.30"/> + <Entry retarderSpeed="900.00" torqueLoss="11.60"/> + <Entry retarderSpeed="1000.00" torqueLoss="12.00"/> + <Entry retarderSpeed="1100.00" torqueLoss="12.40"/> + <Entry retarderSpeed="1200.00" torqueLoss="12.90"/> + <Entry retarderSpeed="1300.00" torqueLoss="13.40"/> + <Entry retarderSpeed="1400.00" torqueLoss="13.90"/> + <Entry retarderSpeed="1500.00" torqueLoss="14.50"/> + <Entry retarderSpeed="1600.00" torqueLoss="15.10"/> + <Entry retarderSpeed="1700.00" torqueLoss="15.80"/> + <Entry retarderSpeed="1800.00" torqueLoss="16.50"/> + <Entry retarderSpeed="1900.00" torqueLoss="17.20"/> + <Entry retarderSpeed="2000.00" torqueLoss="18.00"/> + <Entry retarderSpeed="2100.00" torqueLoss="18.80"/> + <Entry retarderSpeed="2200.00" torqueLoss="19.70"/> + <Entry retarderSpeed="2300.00" torqueLoss="20.60"/> + <Entry retarderSpeed="2400.00" torqueLoss="21.50"/> + <Entry retarderSpeed="2500.00" torqueLoss="22.50"/> + <Entry retarderSpeed="2600.00" torqueLoss="23.50"/> + <Entry retarderSpeed="2700.00" torqueLoss="24.60"/> + <Entry retarderSpeed="2800.00" torqueLoss="25.70"/> + <Entry retarderSpeed="2900.00" torqueLoss="26.80"/> + <Entry retarderSpeed="3000.00" torqueLoss="28.00"/> + </RetarderLossMap> + </Data> + <Signature> + <Reference URI="#RET-RET-generic" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </v2.6:Retarder> + <v2.6:AxleWheels xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AxleWheelsComponentDeclarationType"> + <Data xsi:type="AxleWheelsDataDeclarationType"> + <Axles> + <Axle axleNumber="1" xsi:type="AxleDataDeclarationType"> + <AxleType>VehicleNonDriven</AxleType> + <TwinTyres>false</TwinTyres> + <Steered>true</Steered> + <Tyre> + <Data id="TYRE-315_70R225" xsi:type="TyreDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>315/70 R22.5</Model> + <CertificationNumber>TYRE-315/70 R22.5</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <Dimension>315/70 R22.5</Dimension> + <RRCDeclared>0.0052</RRCDeclared> + <FzISO>33350</FzISO> + </Data> + <Signature> + <Reference URI="#TYRE-315_70R225" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </Tyre> + </Axle> + <Axle axleNumber="2" xsi:type="AxleDataDeclarationType"> + <AxleType>VehicleDriven</AxleType> + <TwinTyres>true</TwinTyres> + <Steered>false</Steered> + <Tyre> + <v2.0:Data id="WHL-5432198760-315-70-R22.5" xsi:type="v2.2:TyreDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.2"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>315/70 R22.5</Model> + <CertificationNumber>TYRE-315/70 R22.5</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <Dimension>235/60 R17C</Dimension> + <RRCDeclared>0.0061</RRCDeclared> + <FzISO>33350</FzISO> + </v2.0:Data> + <Signature> + <Reference URI="#TYRE-315_70R225" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </Tyre> + </Axle> + </Axles> + </Data> + </v2.6:AxleWheels> + <v2.6:Auxiliaries xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AuxiliariesComponentDeclarationType"> + <Data xsi:type="AuxiliariesDataDeclarationType"> + <Fan> + <Technology>Belt driven or driven via transm. - Electronically controlled visco clutch</Technology> + </Fan> + <SteeringPump> + <Technology>Fixed displacement with elec. control</Technology> + </SteeringPump> + <ElectricSystem> + <Technology>Standard technology</Technology> + </ElectricSystem> + <PneumaticSystem> + <Technology>Medium Supply 1-stage + ESS + AMS</Technology> + </PneumaticSystem> + <HVAC> + <Technology>Default</Technology> + </HVAC> + </Data> + </v2.6:Auxiliaries> + <v2.6:AirDrag xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="AirDragComponentDeclarationType"> + <Data id="Airdrag-genericcabin" xsi:type="AirDragDataDeclarationType"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>N.A.</Model> + <CertificationNumber>generic cabin</CertificationNumber> + <Date>2017-09-26T15:33:45.1110278Z</Date> + <AppVersion>VectoCore</AppVersion> + <CdxA_0>5.57</CdxA_0> + <TransferredCdxA>5.57</TransferredCdxA> + <DeclaredCdxA>5.57</DeclaredCdxA> + </Data> + <Signature> + <Reference URI="#Airdrag-genericcabin" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithoutComments"/> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization"/> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> + <DigestValue/> + </Reference> + </Signature> + </v2.6:AirDrag> + </Components> + </v2.0:Vehicle> +</tns:VectoInputDeclaration> diff --git a/VectoCore/VectoCoreTest/Utils/MockDeclarationVehicleInputData.cs b/VectoCore/VectoCoreTest/Utils/MockDeclarationVehicleInputData.cs index 7e675380efad35ffc5f4b2e36fc321387814cb30..47877149d11fe4879a35bc16869b27cdf09f9494 100644 --- a/VectoCore/VectoCoreTest/Utils/MockDeclarationVehicleInputData.cs +++ b/VectoCore/VectoCoreTest/Utils/MockDeclarationVehicleInputData.cs @@ -48,6 +48,7 @@ namespace TUGraz.VectoCore.Tests.Utils { public RegistrationClass RegisteredClass { get; set; } public int NumberOfPassengersUpperDeck { get; set; } public int NumberOfPassengersLowerDeck { get; set; } + public CubicMeter CargoVolume { get; } public VehicleCode VehicleCode { get; set; } public bool LowEntry { get; } public bool Articulated { get; } @@ -112,6 +113,7 @@ namespace TUGraz.VectoCore.Tests.Utils { public RegistrationClass RegisteredClass { get; set; } public int NumberOfPassengersUpperDeck { get; set; } public int NumberOfPassengersLowerDeck { get; set; } + public CubicMeter CargoVolume { get; } public VehicleCode VehicleCode { get; set; } public bool LowEntry { get; } diff --git a/VectoCore/VectoCoreTest/VectoCoreTest.csproj b/VectoCore/VectoCoreTest/VectoCoreTest.csproj index d39ee221dced59916365f5413448a3ab99bd5c99..e8e7cf7f1cf11ceeb74809f9f8380288b1cf8d41 100644 --- a/VectoCore/VectoCoreTest/VectoCoreTest.csproj +++ b/VectoCore/VectoCoreTest/VectoCoreTest.csproj @@ -3565,6 +3565,15 @@ <Content Include="TestData\Integration\DeclarationMode\ExemptedVehicle\vecto_vehicle-sample_exempted.xml"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> + <Content Include="TestData\Integration\MediumLorries\vecto_vehicle-medium_lorry.xml"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="TestData\Integration\MediumLorries\vecto_vehicle-medium_lorry-Van.xml"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="TestData\Integration\MediumLorries\vecto_vehicle-medium_lorryFWD.xml"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> <Content Include="TestData\Integration\ShiftStrategyV2\SampleVehicles\Rigid Truck_4x2_vehicle-class-1_EURO6_2018.xml"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> diff --git a/VectoCore/VectoCoreTest/XML/XMLDeclarationReaderVersionsTest.cs b/VectoCore/VectoCoreTest/XML/XMLDeclarationReaderVersionsTest.cs index 5b9919d94061c64d4ba5938e9cd2316c9f27047f..f471bd5f2a2a61e35201bc03d2df5d1e47eccdbe 100644 --- a/VectoCore/VectoCoreTest/XML/XMLDeclarationReaderVersionsTest.cs +++ b/VectoCore/VectoCoreTest/XML/XMLDeclarationReaderVersionsTest.cs @@ -8,6 +8,7 @@ using TUGraz.VectoCore.InputData.FileIO.JSON; using TUGraz.VectoCore.InputData.FileIO.XML; using TUGraz.VectoCore.Models.Simulation; using TUGraz.VectoCore.Models.Simulation.Impl; +using TUGraz.VectoCore.OutputData; using TUGraz.VectoCore.OutputData.FileIO; using TUGraz.VectoCore.Tests.Models.Simulation; @@ -86,11 +87,14 @@ namespace TUGraz.VectoCore.Tests.XML } - [TestCase()] - public void CreateRunDataMediumLorry() + [TestCase(@"TestData\Integration\MediumLorries\vecto_vehicle-medium_lorry-Van.xml", TestName = "Medium Lorry Van"), + TestCase(@"TestData\Integration\MediumLorries\vecto_vehicle-medium_lorry.xml", TestName = "Medium Lorry"), + TestCase(@"TestData\Integration\MediumLorries\vecto_vehicle-medium_lorryFWD.xml", TestName = "Medium Lorry FWD"), + ] + public void CreateRunDataMediumLorry(string jobFile) { var runIdx = 0; - var jobFile = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.6_Buses\vecto_vehicle-medium_lorry-sample.xml"; + //var jobFile = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.6_Buses\vecto_vehicle-medium_lorry-sample.xml"; var writer = new FileOutputWriter(jobFile); var inputData = xmlInputReader.CreateDeclaration(jobFile); @@ -100,13 +104,23 @@ namespace TUGraz.VectoCore.Tests.XML //ActualModalData = true, Validate = false }; - var jobContainer = new JobContainer(new MockSumWriter()); - - var runs = factory.SimulationRuns().ToArray(); + var jobContainer = new JobContainer(new SummaryDataContainer(writer)); + jobContainer.AddRuns(factory); + jobContainer.Execute(); + jobContainer.WaitFinished(); + //var runs = factory.SimulationRuns().ToArray(); //jobContainer.AddRun(runs[runIdx]); - runs[runIdx].Run(); + //runs[runIdx].Run(); + + Assert.IsTrue(jobContainer.AllCompleted); + Assert.IsTrue(jobContainer.GetProgress().All(x => x.Value.Success)); - Assert.IsTrue(runs[runIdx].FinishedWithoutErrors); + var xml = new XmlDocument(); + xml.Load(writer.XMLCustomerReportName); + var volumeResults = + xml.SelectNodes( + ".//*[local-name()='Result']/*[local-name()='Fuel']/*[local-name()='FuelConsumption' and @unit='l/m³-km']"); + Assert.IsTrue(volumeResults.Count > 0); }