diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ADC.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ADC.xml new file mode 100644 index 0000000000000000000000000000000000000000..5e1df42c655a57f5b7af58991947fd71d5b41809 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ADC.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ADC> + <Data xsi:type="ADCDataDeclarationType" id="ADC-123"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>ADC 20</Model> + <CertificationNumber>ADC-20-CERT</CertificationNumber> + <Date>2021-11-18T14:09:17.2810263Z</Date> + <AppVersion>VectoCore</AppVersion> + <Ratio>0.035</Ratio> + <CertificationMethod>Option 1</CertificationMethod> + <TorqueLossMap> + <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" /> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="4000.00" inputTorque="-680.00" torqueLoss="31.00" /> + <Entry inputSpeed="4000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00" /> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00" /> + <Entry inputSpeed="4000.00" inputTorque="680.00" torqueLoss="31.00" /> + <Entry inputSpeed="4000.00" inputTorque="60000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00" /> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="4000.00" inputTorque="-60000.00" torqueLoss="2000.00" /> + + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00" /> + + </TorqueLossMap> + <!-- <FooBarElement></FooBarElement> --> + </Data> + </tns:ADC> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ADC_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ADC_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..bfe23808f16045ac27c39d8769e228d813cb00fe --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ADC_hashed.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ADC> + <Data xsi:type="ADCDataDeclarationType" id="ADC-123"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>ADC 20</Model> + <CertificationNumber>ADC-20-CERT</CertificationNumber> + <Date>2022-03-15T09:44:59.5844849Z</Date> + <AppVersion>VectoCore</AppVersion> + <Ratio>0.035</Ratio> + <CertificationMethod>Option 1</CertificationMethod> + <TorqueLossMap> + <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" /> + <Entry inputSpeed="0.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="4000.00" inputTorque="-680.00" torqueLoss="31.00" /> + <Entry inputSpeed="4000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="0.00" inputTorque="-125.00" torqueLoss="5.00" /> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="5.00" /> + <Entry inputSpeed="4000.00" inputTorque="680.00" torqueLoss="31.00" /> + <Entry inputSpeed="4000.00" inputTorque="60000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="125.00" torqueLoss="5.00" /> + <Entry inputSpeed="0.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="4000.00" inputTorque="-60000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="5000.00" inputTorque="-780.00" torqueLoss="31.00" /> + </TorqueLossMap> + <!-- <FooBarElement></FooBarElement> --> + </Data> + <Signature> + <di:Reference URI="#ADC-123"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>EMAHEupP8X1sCjh85U3SZX8pv/gWKvL/GhgRGfr+0xU=</di:DigestValue> + </di:Reference> + </Signature> + </tns:ADC> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Angledrive.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Angledrive.xml new file mode 100644 index 0000000000000000000000000000000000000000..80b342837d3cd62361f57cbf20d59a9d19d0d4c5 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Angledrive.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.0" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Angledrive> + <v2.0:Data xsi:type="AngledriveDataDeclarationType" id="ANGL-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>ANGL-1234</CertificationNumber> + <Date>2021-11-18T14:09:17.2810263Z</Date> + <AppVersion>aaaaa</AppVersion> + <Ratio>1.123</Ratio> + <CertificationMethod>Option 1</CertificationMethod> + <TorqueLossMap> + <Entry inputSpeed="800.00" inputTorque="0.00" torqueLoss="10.00" /> + <Entry inputSpeed="800.00" inputTorque="1200.00" torqueLoss="100.00" /> + <Entry inputSpeed="0.00" inputTorque="-10000.00" torqueLoss="100.00" /> + <Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="10.00" /> + <Entry inputSpeed="1000.00" inputTorque="0.00" torqueLoss="10.00" /> + <Entry inputSpeed="1000.00" inputTorque="1000.00" torqueLoss="100.00" /> + <Entry inputSpeed="0.00" inputTorque="10000.00" torqueLoss="100.00" /> + <Entry inputSpeed="800.00" inputTorque="-1200.00" torqueLoss="100.00" /> + + <Entry inputSpeed="1000.00" inputTorque="-1000.00" torqueLoss="100.00" /> + + </TorqueLossMap> + </v2.0:Data> + + </tns:Angledrive> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Angledrive_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Angledrive_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..12c3f7a2fe2473def12d5e86693be569670ee696 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Angledrive_hashed.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.0" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Angledrive> + <v2.0:Data xsi:type="AngledriveDataDeclarationType" id="ANGL-asdf"> + <v2.0:Manufacturer>Generic Vendor</v2.0:Manufacturer> + <v2.0:Model>Generic Model</v2.0:Model> + <v2.0:CertificationNumber>ANGL-1234</v2.0:CertificationNumber> + <v2.0:Date>2022-03-15T08:07:47.3247043Z</v2.0:Date> + <v2.0:AppVersion>aaaaa</v2.0:AppVersion> + <v2.0:Ratio>1.123</v2.0:Ratio> + <v2.0:CertificationMethod>Option 1</v2.0:CertificationMethod> + <v2.0:TorqueLossMap> + <v2.0:Entry inputSpeed="800.00" inputTorque="0.00" torqueLoss="10.00" /> + <v2.0:Entry inputSpeed="800.00" inputTorque="1200.00" torqueLoss="100.00" /> + <v2.0:Entry inputSpeed="0.00" inputTorque="-10000.00" torqueLoss="100.00" /> + <v2.0:Entry inputSpeed="0.00" inputTorque="0.00" torqueLoss="10.00" /> + <v2.0:Entry inputSpeed="1000.00" inputTorque="0.00" torqueLoss="10.00" /> + <v2.0:Entry inputSpeed="1000.00" inputTorque="1000.00" torqueLoss="100.00" /> + <v2.0:Entry inputSpeed="0.00" inputTorque="10000.00" torqueLoss="100.00" /> + <v2.0:Entry inputSpeed="800.00" inputTorque="-1200.00" torqueLoss="100.00" /> + <v2.0:Entry inputSpeed="1000.00" inputTorque="-1000.00" torqueLoss="100.00" /> + </v2.0:TorqueLossMap> + </v2.0:Data> + <v2.0:Signature> + <di:Reference URI="#ANGL-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>asw2ba3MdPZnNCJLjaSzGfqKGWAn8RaZPUPaTyMB0Qg=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:Angledrive> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Axlegear.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Axlegear.xml new file mode 100644 index 0000000000000000000000000000000000000000..42de7b65f1c04694d321fd6374309c33836e86e9 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Axlegear.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Axlegear> + <v2.0:Data xsi:type="AxlegearDataDeclarationType" id="AXL-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>AXL-AXL_12</CertificationNumber> + <Date>2021-11-18T14:23:31.4958567Z</Date> + <AppVersion>VectoCore</AppVersion> + <LineType>Single portal axle</LineType> + <Ratio>1.000</Ratio> + <CertificationMethod>Measured</CertificationMethod> + <TorqueLossMap> + <Entry inputSpeed="4000.00" inputTorque="-788.10" torqueLoss="31.10" /> + <Entry inputSpeed="4000.00" inputTorque="0.11" torqueLoss="31.10" /> + <Entry inputSpeed="0.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="0.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="4000.00" inputTorque="-60000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="4000.00" inputTorque="788.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="0.00" inputTorque="-125.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="0.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="125.10" torqueLoss="5.10" /> + <Entry inputSpeed="5000.00" inputTorque="-780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="0.10" torqueLoss="31.10" /> + <Entry inputSpeed="4000.00" inputTorque="60000.10" torqueLoss="2000.10" /> + </TorqueLossMap> + </v2.0:Data> + </tns:Axlegear> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Axlegear_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Axlegear_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..5873a17603c4a0e0cb3b1980329195a8e64aba56 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Axlegear_hashed.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Axlegear> + <Data xsi:type="AxlegearDataDeclarationType" id="AXL-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>AXL-AXL_12</CertificationNumber> + <Date>2022-03-15T07:56:55.9921729Z</Date> + <AppVersion>VectoCore</AppVersion> + <LineType>Single portal axle</LineType> + <Ratio>1.000</Ratio> + <CertificationMethod>Measured</CertificationMethod> + <TorqueLossMap> + <Entry inputSpeed="4000.00" inputTorque="-788.10" torqueLoss="31.10" /> + <Entry inputSpeed="4000.00" inputTorque="0.11" torqueLoss="31.10" /> + <Entry inputSpeed="0.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="0.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="4000.00" inputTorque="-60000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="4000.00" inputTorque="788.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="0.00" inputTorque="-125.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="0.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="125.10" torqueLoss="5.10" /> + <Entry inputSpeed="5000.00" inputTorque="-780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="0.10" torqueLoss="31.10" /> + <Entry inputSpeed="4000.00" inputTorque="60000.10" torqueLoss="2000.10" /> + </TorqueLossMap> + </Data> + <Signature> + <di:Reference URI="#AXL-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>qHzQhldCbAWKb/fZNpesx4TUa3NkLWySQUK4L8Ahapk=</di:DigestValue> + </di:Reference> + </Signature> + </tns:Axlegear> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/BatterySystem_1.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/BatterySystem_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..421463d9a5c8dca077d2b1b929e67e8eae2b93e6 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/BatterySystem_1.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:BatterySystem> + <Data xsi:type="BatterySystemDataType" id="BAT-asdf"> + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:11:51.3452323Z</Date> + <AppVersion>aaaaa</AppVersion> + <CertificationMethod>Measured</CertificationMethod> + <BatteryType>HPBS</BatteryType> + <RatedCapacity>72.00</RatedCapacity> + <ConnectorsSubsystemsIncluded>true</ConnectorsSubsystemsIncluded> + <JunctionboxIncluded>true</JunctionboxIncluded> + <TestingTemperature>20</TestingTemperature> + <OCV> + <Entry SoC="88" OCV="640.00" /> + <Entry SoC="89" OCV="641.00" /> + <Entry SoC="0" OCV="620.00" /> + <Entry SoC="100" OCV="640.00" /> + </OCV> + <InternalResistance> + <Entry SoC="88" R_2="14.00" R_10="14.00" R_20="16.00" /> + <Entry SoC="0" R_2="10.00" R_10="11.00" R_20="12.00" /> + <Entry SoC="100" R_2="12.00" R_10="14.00" R_20="16.00" /> + <Entry SoC="88" R_2="13.00" R_10="14.00" R_20="16.00" /> + </InternalResistance> + <CurrentLimits> + <Entry SoC="88" maxChargingCurrent="21.00" maxDischargingCurrent="50.00" /> + <Entry SoC="0" maxChargingCurrent="50.00" maxDischargingCurrent="0.00" /> + <Entry SoC="88" maxChargingCurrent="20.00" maxDischargingCurrent="50.00" /> + <Entry SoC="100" maxChargingCurrent="0.00" maxDischargingCurrent="50.00" /> + + </CurrentLimits> + </Data> + + </tns:BatterySystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/BatterySystem_1_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/BatterySystem_1_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..a44059c68d34d1fdd4226621bd62181ad1705768 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/BatterySystem_1_hashed.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:BatterySystem> + <v2.3:Data xsi:type="BatterySystemDataType" id="BAT-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:08:02.3716173Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:CertificationMethod>Measured</v2.3:CertificationMethod> + <v2.3:BatteryType>HPBS</v2.3:BatteryType> + <v2.3:RatedCapacity>72.00</v2.3:RatedCapacity> + <v2.3:ConnectorsSubsystemsIncluded>true</v2.3:ConnectorsSubsystemsIncluded> + <v2.3:JunctionboxIncluded>true</v2.3:JunctionboxIncluded> + <v2.3:TestingTemperature>20</v2.3:TestingTemperature> + <v2.3:OCV> + <v2.3:Entry SoC="88" OCV="640.00" /> + <v2.3:Entry SoC="89" OCV="641.00" /> + <v2.3:Entry SoC="0" OCV="620.00" /> + <v2.3:Entry SoC="100" OCV="640.00" /> + </v2.3:OCV> + <v2.3:InternalResistance> + <v2.3:Entry SoC="88" R_2="14.00" R_10="14.00" R_20="16.00" /> + <v2.3:Entry SoC="0" R_2="10.00" R_10="11.00" R_20="12.00" /> + <v2.3:Entry SoC="100" R_2="12.00" R_10="14.00" R_20="16.00" /> + <v2.3:Entry SoC="88" R_2="13.00" R_10="14.00" R_20="16.00" /> + </v2.3:InternalResistance> + <v2.3:CurrentLimits> + <v2.3:Entry SoC="88" maxChargingCurrent="21.00" maxDischargingCurrent="50.00" /> + <v2.3:Entry SoC="0" maxChargingCurrent="50.00" maxDischargingCurrent="0.00" /> + <v2.3:Entry SoC="88" maxChargingCurrent="20.00" maxDischargingCurrent="50.00" /> + <v2.3:Entry SoC="100" maxChargingCurrent="0.00" maxDischargingCurrent="50.00" /> + </v2.3:CurrentLimits> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#BAT-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>BQ4EAWXDJzzw5Vg2DvTKN4PP/gXDBwuFUdPuRnFoVZc=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:BatterySystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/CapacitorSystem_1.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/CapacitorSystem_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..630d0683feeb2c6be78c17e7ddc8923fe4c8d10b --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/CapacitorSystem_1.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:CapacitorSystem> + <Data xsi:type="v2.3:CapacitorSystemDataType" id="CAP-asdf"> + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:14:06.0791626Z</Date> + <AppVersion>aaaaa</AppVersion> + <CertificationMethod>Measured</CertificationMethod> + <Capacitance>1.00</Capacitance> + <InternalResistance>23.45</InternalResistance> + <MinVoltage>3.55</MinVoltage> + <MaxVoltage>30.45</MaxVoltage> + <MaxChargingCurrent>100.00</MaxChargingCurrent> + <MaxDischargingCurrent>99.45</MaxDischargingCurrent> + <TestingTemperature>30</TestingTemperature> + </Data> + </tns:CapacitorSystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/CapacitorSystem_1_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/CapacitorSystem_1_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..ba7cc3df2b95bfaccb9b3ce342e081c3a5c31279 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/CapacitorSystem_1_hashed.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:CapacitorSystem> + <v2.3:Data xsi:type="v2.3:CapacitorSystemDataType" id="CAP-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:08:17.841244Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:CertificationMethod>Measured</v2.3:CertificationMethod> + <v2.3:Capacitance>1.00</v2.3:Capacitance> + <v2.3:InternalResistance>23.45</v2.3:InternalResistance> + <v2.3:MinVoltage>3.55</v2.3:MinVoltage> + <v2.3:MaxVoltage>30.45</v2.3:MaxVoltage> + <v2.3:MaxChargingCurrent>100.00</v2.3:MaxChargingCurrent> + <v2.3:MaxDischargingCurrent>99.45</v2.3:MaxDischargingCurrent> + <v2.3:TestingTemperature>30</v2.3:TestingTemperature> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#CAP-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>eyp7l0REvKF7yJKRvv9O8jR2xi0ozKYtWjYSNCwkJN0=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:CapacitorSystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem-IHPC_1.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem-IHPC_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..9810c7ba03a7ea18c38f12dd91e45981381dfbb5 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem-IHPC_1.xml @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ElectricMachineSystem> + <Data xsi:type="ElectricMachineSystemIHPCMeasuredDataDeclarationType" id="EM-asdf"> + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:22:33.399635Z</Date> + <AppVersion>aaaaa</AppVersion> + <ElectricMachineType>ASM</ElectricMachineType> + <CertificationMethod>Measured</CertificationMethod> + <R85RatedPower>1</R85RatedPower> + <RotationalInertia>0.10</RotationalInertia> + <DcDcConverterIncluded>true</DcDcConverterIncluded> + <IHPCType>IHPC Type 1</IHPCType> + + <VoltageLevel> + <Voltage>500</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="5000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + + </MaxTorqueCurve> + <PowerMap gear="1"> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + <PowerMap gear="3"> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + <PowerMap gear="2"> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + + </VoltageLevel> + <VoltageLevel> + <Voltage>400</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4001.00" maxTorque="101.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + + </MaxTorqueCurve> + <PowerMap gear="1"> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + <PowerMap gear="3"> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + <PowerMap gear="2"> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + + </VoltageLevel> + + + <VoltageLevel> + <Voltage>600</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="4001.00" maxTorque="101.00" minTorque="-100.00"/> + + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + + </MaxTorqueCurve> + + <PowerMap gear="2"> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + </PowerMap> + <PowerMap gear="1"> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + + </PowerMap> + <PowerMap gear="3"> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00"/> + </PowerMap> + </VoltageLevel> + <DragCurve> + <Entry outShaftSpeed="4000.00" dragTorque="30.00" /> + <Entry outShaftSpeed="0.00" dragTorque="10.00" /> + + <Entry outShaftSpeed="5000.00" dragTorque="30.00" /> + </DragCurve> + <Conditioning> + <Entry coolantTempInlet="50" coolingPower="5000" /> + <Entry coolantTempInlet="30" coolingPower="5000" /> + + <Entry coolantTempInlet="60" coolingPower="5000" /> + </Conditioning> + </Data> + </tns:ElectricMachineSystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem-IHPC_1_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem-IHPC_1_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..c04491d58e4ba97fe5360e49daf8bd4c7c4161f0 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem-IHPC_1_hashed.xml @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ElectricMachineSystem> + <v2.3:Data xsi:type="ElectricMachineSystemIHPCMeasuredDataDeclarationType" id="EM-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:10:07.0963495Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:ElectricMachineType>ASM</v2.3:ElectricMachineType> + <v2.3:CertificationMethod>Measured</v2.3:CertificationMethod> + <v2.3:R85RatedPower>1</v2.3:R85RatedPower> + <v2.3:RotationalInertia>0.10</v2.3:RotationalInertia> + <v2.3:DcDcConverterIncluded>true</v2.3:DcDcConverterIncluded> + <v2.3:IHPCType>IHPC Type 1</v2.3:IHPCType> + <v2.3:VoltageLevel> + <v2.3:Voltage>500</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="5000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap gear="1"> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="3"> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="2"> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:VoltageLevel> + <v2.3:Voltage>400</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4001.00" maxTorque="101.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap gear="1"> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="3"> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="2"> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:VoltageLevel> + <v2.3:Voltage>600</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="4001.00" maxTorque="101.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap gear="2"> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="1"> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="3"> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:DragCurve> + <v2.3:Entry outShaftSpeed="4000.00" dragTorque="30.00" /> + <v2.3:Entry outShaftSpeed="0.00" dragTorque="10.00" /> + <v2.3:Entry outShaftSpeed="5000.00" dragTorque="30.00" /> + </v2.3:DragCurve> + <v2.3:Conditioning> + <v2.3:Entry coolantTempInlet="50" coolingPower="5000" /> + <v2.3:Entry coolantTempInlet="30" coolingPower="5000" /> + <v2.3:Entry coolantTempInlet="60" coolingPower="5000" /> + </v2.3:Conditioning> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#EM-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>1QFIO45UcfZm2R4Lb5gwrs2UooC9FuCng1QDZvWvlm0=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:ElectricMachineSystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_1.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..d35041134cf7869729bbd1cf27acec4b018f12ee --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_1.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ElectricMachineSystem > + <Data xsi:type="ElectricMachineSystemMeasuredDataDeclarationType" id="EM-asdf"> + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:20:11.60244Z</Date> + <AppVersion>aaaaa</AppVersion> + <ElectricMachineType>ASM</ElectricMachineType> + <CertificationMethod>Measured</CertificationMethod> + <R85RatedPower>1</R85RatedPower> + <RotationalInertia>0.10</RotationalInertia> + <DcDcConverterIncluded>true</DcDcConverterIncluded> + <IHPCType>None</IHPCType> + <VoltageLevel> + <Voltage>600</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + </MaxTorqueCurve> + <PowerMap> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + </PowerMap> + </VoltageLevel> + <VoltageLevel> + <Voltage>400</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + </MaxTorqueCurve> + <PowerMap> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + </PowerMap> + </VoltageLevel> + + <DragCurve> + <Entry outShaftSpeed="4000.00" dragTorque="30.00"/> + <Entry outShaftSpeed="0.00" dragTorque="10.00"/> + </DragCurve> + <Conditioning> + <Entry coolantTempInlet="60" coolingPower="6000"/> + <Entry coolantTempInlet="30" coolingPower="5000"/> + </Conditioning> + </Data> + </tns:ElectricMachineSystem> +</tns:VectoInputDeclaration> diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_1_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_1_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..3c95dbdb0e0fe84c35c4657d1b90075ae97ae3c4 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_1_hashed.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ElectricMachineSystem> + <v2.3:Data xsi:type="ElectricMachineSystemMeasuredDataDeclarationType" id="EM-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:08:39.6384573Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:ElectricMachineType>ASM</v2.3:ElectricMachineType> + <v2.3:CertificationMethod>Measured</v2.3:CertificationMethod> + <v2.3:R85RatedPower>1</v2.3:R85RatedPower> + <v2.3:RotationalInertia>0.10</v2.3:RotationalInertia> + <v2.3:DcDcConverterIncluded>true</v2.3:DcDcConverterIncluded> + <v2.3:IHPCType>None</v2.3:IHPCType> + <v2.3:VoltageLevel> + <v2.3:Voltage>600</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:VoltageLevel> + <v2.3:Voltage>400</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:DragCurve> + <v2.3:Entry outShaftSpeed="4000.00" dragTorque="30.00" /> + <v2.3:Entry outShaftSpeed="0.00" dragTorque="10.00" /> + </v2.3:DragCurve> + <v2.3:Conditioning> + <v2.3:Entry coolantTempInlet="60" coolingPower="6000" /> + <v2.3:Entry coolantTempInlet="30" coolingPower="5000" /> + </v2.3:Conditioning> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#EM-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>iMvpgVyPQywA/+J7wpyV99cb6FL/Pcu+DSoSyqTdpqY=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:ElectricMachineSystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_StdValues.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_StdValues.xml new file mode 100644 index 0000000000000000000000000000000000000000..4be78747996ee66782561eb30c8e1407b796e5ad --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_StdValues.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ElectricMachineSystem> + <Data xsi:type="ElectricMachineSystemStandardValuesDataDeclarationType" id="EM-asdf"> + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:21:25.8564983Z</Date> + <AppVersion>aaaaa</AppVersion> + <ElectricMachineType>ASM</ElectricMachineType> + <CertificationMethod>Standard values</CertificationMethod> + <R85RatedPower>1</R85RatedPower> + <RotationalInertia>0.10</RotationalInertia> + <DcDcConverterIncluded>true</DcDcConverterIncluded> + <IHPCType>None</IHPCType> + <VoltageLevel> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="4000.00" maxTorque="101.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + </MaxTorqueCurve> + <PowerMap> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + </PowerMap> + </VoltageLevel> + <DragCurve> + <Entry outShaftSpeed="4000.00" dragTorque="30.00"/> + <Entry outShaftSpeed="0.00" dragTorque="10.00"/> + </DragCurve> + </Data> + </tns:ElectricMachineSystem> +</tns:VectoInputDeclaration> diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_StdValues_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_StdValues_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..4cc74b22ff09045b913932b1091b4cabb1327130 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/ElectricMachineSystem_StdValues_hashed.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:ElectricMachineSystem> + <v2.3:Data xsi:type="ElectricMachineSystemStandardValuesDataDeclarationType" id="EM-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:09:42.8676852Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:ElectricMachineType>ASM</v2.3:ElectricMachineType> + <v2.3:CertificationMethod>Standard values</v2.3:CertificationMethod> + <v2.3:R85RatedPower>1</v2.3:R85RatedPower> + <v2.3:RotationalInertia>0.10</v2.3:RotationalInertia> + <v2.3:DcDcConverterIncluded>true</v2.3:DcDcConverterIncluded> + <v2.3:IHPCType>None</v2.3:IHPCType> + <v2.3:VoltageLevel> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="101.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:DragCurve> + <v2.3:Entry outShaftSpeed="4000.00" dragTorque="30.00" /> + <v2.3:Entry outShaftSpeed="0.00" dragTorque="10.00" /> + </v2.3:DragCurve> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#EM-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>4JNjQii+2r1TfReOX1OsUW+lnqlnZ/6F1zT0oXACs6A=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:ElectricMachineSystem> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Engine.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Engine.xml new file mode 100644 index 0000000000000000000000000000000000000000..2754145c14694b06406727c68e978b65ffbb5d23 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Engine.xml @@ -0,0 +1,429 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Engine> + <v2.0:Data id="ENG-gooZah3D" xsi:type="EngineDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3"> + <Manufacturer>Generic Engine Manufacturer</Manufacturer> + <Model>Generic 40t Long Haul Truck Engine</Model> + <CertificationNumber>e12*0815/8051*2017/05E0000*00</CertificationNumber> + <Date>2017-02-15T11:00:00Z</Date> + <AppVersion>VectoEngine x.y</AppVersion> + <Displacement>12730</Displacement> + <RatedSpeed>2200</RatedSpeed> + <RatedPower>380000</RatedPower> + <MaxEngineTorque>2300</MaxEngineTorque> + <WHRType> + <MechanicalOutputICE>false</MechanicalOutputICE> + <MechanicalOutputDrivetrain>false</MechanicalOutputDrivetrain> + <ElectricalOutput>false</ElectricalOutput> + </WHRType> + <Mode> + <IdlingSpeed>570</IdlingSpeed> + <FullLoadAndDragCurve> + <Entry engineSpeed="800.30" maxTorque="1791.00" dragTorque="-149.00" /> + <Entry engineSpeed="1000.30" maxTorque="2300.00" dragTorque="-160.00" /> + <Entry engineSpeed="1200.30" maxTorque="2300.00" dragTorque="-179.00" /> + <Entry engineSpeed="1400.30" maxTorque="2300.00" dragTorque="-203.00" /> + <Entry engineSpeed="560.30" maxTorque="1180.00" dragTorque="-149.00" /> + <Entry engineSpeed="600.30" maxTorque="1282.00" dragTorque="-148.00" /> + + <Entry engineSpeed="1600.30" maxTorque="2079.00" dragTorque="-235.00" /> + <Entry engineSpeed="1800.30" maxTorque="1857.00" dragTorque="-264.00" /> + <Entry engineSpeed="2000.30" maxTorque="1352.00" dragTorque="-301.00" /> + <Entry engineSpeed="2100.30" maxTorque="1100.00" dragTorque="-320.00" /> + </FullLoadAndDragCurve> + <Fuel type="Ethanol CI"> + <WHTCUrban>4.0097</WHTCUrban> + <WHTCRural>4.0035</WHTCRural> + <WHTCMotorway>4.0200</WHTCMotorway> + <BFColdHot>4.0000</BFColdHot> + <CFRegPer>4.0000</CFRegPer> + <CFNCV>4.0000</CFNCV> + <FuelConsumptionMap> + <Entry engineSpeed="560.40" torque="200.00" fuelConsumption="3197.00" /> + <Entry engineSpeed="560.40" torque="400.00" fuelConsumption="5295.00" /> + <Entry engineSpeed="560.40" torque="600.00" fuelConsumption="7615.00" /> + <Entry engineSpeed="560.40" torque="800.00" fuelConsumption="9375.00" /> + <Entry engineSpeed="560.40" torque="1000.00" fuelConsumption="11239.00" /> + + <Entry engineSpeed="560.40" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="560.40" torque="0.00" fuelConsumption="1256.00" /> + + <Entry engineSpeed="560.40" torque="1180.00" fuelConsumption="12869.00" /> + <Entry engineSpeed="600.40" torque="-148.00" fuelConsumption="0.00" /> + <Entry engineSpeed="600.40" torque="0.00" fuelConsumption="1459.00" /> + <Entry engineSpeed="600.40" torque="200.00" fuelConsumption="3358.00" /> + <Entry engineSpeed="600.40" torque="400.00" fuelConsumption="5498.00" /> + <Entry engineSpeed="600.40" torque="600.00" fuelConsumption="8101.00" /> + <Entry engineSpeed="600.40" torque="800.00" fuelConsumption="10014.00" /> + <Entry engineSpeed="600.40" torque="1000.00" fuelConsumption="12071.00" /> + <Entry engineSpeed="600.40" torque="1200.00" fuelConsumption="14201.00" /> + <Entry engineSpeed="600.40" torque="1282.00" fuelConsumption="15304.00" /> + <Entry engineSpeed="800.40" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="800.40" torque="0.00" fuelConsumption="1879.00" /> + <Entry engineSpeed="800.40" torque="200.00" fuelConsumption="4286.00" /> + <Entry engineSpeed="800.40" torque="400.00" fuelConsumption="7021.00" /> + <Entry engineSpeed="800.40" torque="600.00" fuelConsumption="10059.00" /> + <Entry engineSpeed="800.40" torque="800.00" fuelConsumption="13086.00" /> + <Entry engineSpeed="800.40" torque="1000.00" fuelConsumption="16015.00" /> + <Entry engineSpeed="800.40" torque="1200.00" fuelConsumption="19239.00" /> + <Entry engineSpeed="800.40" torque="1400.00" fuelConsumption="22426.00" /> + <Entry engineSpeed="800.40" torque="1600.00" fuelConsumption="25483.00" /> + <Entry engineSpeed="800.40" torque="1791.00" fuelConsumption="28905.00" /> + <Entry engineSpeed="1000.40" torque="-160.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1000.40" torque="0.00" fuelConsumption="2865.00" /> + <Entry engineSpeed="1000.40" torque="200.00" fuelConsumption="5963.00" /> + <Entry engineSpeed="1000.40" torque="400.00" fuelConsumption="9198.00" /> + <Entry engineSpeed="1000.40" torque="600.00" fuelConsumption="12354.00" /> + <Entry engineSpeed="1000.40" torque="800.00" fuelConsumption="15965.00" /> + <Entry engineSpeed="1000.40" torque="1000.00" fuelConsumption="19864.00" /> + <Entry engineSpeed="1000.40" torque="1200.00" fuelConsumption="23530.00" /> + <Entry engineSpeed="1000.40" torque="1400.00" fuelConsumption="27202.00" /> + <Entry engineSpeed="1000.40" torque="1600.00" fuelConsumption="31165.00" /> + <Entry engineSpeed="1000.40" torque="1800.00" fuelConsumption="35103.00" /> + <Entry engineSpeed="1000.40" torque="2000.00" fuelConsumption="39360.00" /> + <Entry engineSpeed="1000.40" torque="2200.00" fuelConsumption="44120.00" /> + <Entry engineSpeed="1000.40" torque="2300.00" fuelConsumption="46836.00" /> + <Entry engineSpeed="1200.40" torque="-179.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1200.40" torque="0.00" fuelConsumption="3307.00" /> + <Entry engineSpeed="1200.40" torque="200.00" fuelConsumption="6897.00" /> + <Entry engineSpeed="1200.40" torque="400.00" fuelConsumption="10651.00" /> + <Entry engineSpeed="1200.40" torque="600.00" fuelConsumption="14645.00" /> + <Entry engineSpeed="1200.40" torque="800.00" fuelConsumption="19115.00" /> + <Entry engineSpeed="1200.40" torque="1000.00" fuelConsumption="23677.00" /> + <Entry engineSpeed="1200.40" torque="1200.00" fuelConsumption="28180.00" /> + <Entry engineSpeed="1200.40" torque="1400.00" fuelConsumption="32431.00" /> + <Entry engineSpeed="1200.40" torque="1600.00" fuelConsumption="36698.00" /> + <Entry engineSpeed="1200.40" torque="1800.00" fuelConsumption="41691.00" /> + <Entry engineSpeed="1200.40" torque="2000.00" fuelConsumption="46915.00" /> + <Entry engineSpeed="1200.40" torque="2200.00" fuelConsumption="51783.00" /> + <Entry engineSpeed="1200.40" torque="2300.00" fuelConsumption="54932.00" /> + <Entry engineSpeed="1400.40" torque="-203.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1400.40" torque="0.00" fuelConsumption="4306.00" /> + <Entry engineSpeed="1400.40" torque="200.00" fuelConsumption="8143.00" /> + <Entry engineSpeed="1400.40" torque="400.00" fuelConsumption="12723.00" /> + <Entry engineSpeed="1400.40" torque="600.00" fuelConsumption="17523.00" /> + <Entry engineSpeed="1400.40" torque="800.00" fuelConsumption="22288.00" /> + <Entry engineSpeed="1400.40" torque="1000.00" fuelConsumption="27093.00" /> + <Entry engineSpeed="1400.40" torque="1200.00" fuelConsumption="32536.00" /> + <Entry engineSpeed="1400.40" torque="1400.00" fuelConsumption="37746.00" /> + <Entry engineSpeed="1400.40" torque="1600.00" fuelConsumption="43194.00" /> + <Entry engineSpeed="1400.40" torque="1800.00" fuelConsumption="49453.00" /> + <Entry engineSpeed="1400.40" torque="2000.00" fuelConsumption="55830.00" /> + <Entry engineSpeed="1400.40" torque="2200.00" fuelConsumption="61072.00" /> + <Entry engineSpeed="1400.40" torque="2300.00" fuelConsumption="64377.00" /> + <Entry engineSpeed="1600.40" torque="-235.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1600.40" torque="0.00" fuelConsumption="5209.00" /> + <Entry engineSpeed="1600.40" torque="200.00" fuelConsumption="9669.00" /> + <Entry engineSpeed="1600.40" torque="400.00" fuelConsumption="14838.00" /> + <Entry engineSpeed="1600.40" torque="600.00" fuelConsumption="20127.00" /> + <Entry engineSpeed="1600.40" torque="800.00" fuelConsumption="25894.00" /> + <Entry engineSpeed="1600.40" torque="1000.00" fuelConsumption="31631.00" /> + <Entry engineSpeed="1600.40" torque="1200.00" fuelConsumption="37248.00" /> + <Entry engineSpeed="1600.40" torque="1400.00" fuelConsumption="42826.00" /> + <Entry engineSpeed="1600.40" torque="1600.00" fuelConsumption="49752.00" /> + <Entry engineSpeed="1600.40" torque="1800.00" fuelConsumption="57020.00" /> + <Entry engineSpeed="1600.40" torque="2000.00" fuelConsumption="63914.00" /> + <Entry engineSpeed="1600.40" torque="2079.00" fuelConsumption="66520.00" /> + <Entry engineSpeed="1800.40" torque="-264.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1800.40" torque="0.00" fuelConsumption="6409.00" /> + <Entry engineSpeed="1800.40" torque="200.00" fuelConsumption="11777.00" /> + <Entry engineSpeed="1800.40" torque="400.00" fuelConsumption="17320.00" /> + <Entry engineSpeed="1800.40" torque="600.00" fuelConsumption="23394.00" /> + <Entry engineSpeed="1800.40" torque="800.00" fuelConsumption="30501.00" /> + <Entry engineSpeed="1800.40" torque="1000.00" fuelConsumption="36378.00" /> + <Entry engineSpeed="1800.40" torque="1200.00" fuelConsumption="43079.00" /> + <Entry engineSpeed="1800.40" torque="1400.00" fuelConsumption="49796.00" /> + <Entry engineSpeed="1800.40" torque="1600.00" fuelConsumption="57436.00" /> + <Entry engineSpeed="1800.40" torque="1800.00" fuelConsumption="65157.00" /> + <Entry engineSpeed="1800.40" torque="1857.00" fuelConsumption="67574.00" /> + <Entry engineSpeed="2000.40" torque="-301.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2000.40" torque="0.00" fuelConsumption="9127.00" /> + <Entry engineSpeed="2000.40" torque="200.00" fuelConsumption="14822.00" /> + <Entry engineSpeed="2000.40" torque="400.00" fuelConsumption="20655.00" /> + <Entry engineSpeed="2000.40" torque="600.00" fuelConsumption="27076.00" /> + <Entry engineSpeed="2000.40" torque="800.00" fuelConsumption="34188.00" /> + <Entry engineSpeed="2000.40" torque="1000.00" fuelConsumption="42837.00" /> + <Entry engineSpeed="2000.40" torque="1200.00" fuelConsumption="51018.00" /> + <Entry engineSpeed="2000.40" torque="1352.00" fuelConsumption="56618.00" /> + <Entry engineSpeed="2100.40" torque="-320.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2100.40" torque="0.00" fuelConsumption="10470.00" /> + <Entry engineSpeed="2100.40" torque="200.00" fuelConsumption="16332.00" /> + <Entry engineSpeed="2100.40" torque="400.00" fuelConsumption="22396.00" /> + <Entry engineSpeed="2100.40" torque="600.00" fuelConsumption="28914.00" /> + <Entry engineSpeed="2100.40" torque="800.00" fuelConsumption="35717.00" /> + <Entry engineSpeed="2100.40" torque="1000.00" fuelConsumption="45643.00" /> + <Entry engineSpeed="2100.40" torque="1100.00" fuelConsumption="50653.00" /> + </FuelConsumptionMap> + </Fuel> + <Fuel type="Diesel CI"> + <WHTCUrban>3.0097</WHTCUrban> + <WHTCRural>3.0035</WHTCRural> + <WHTCMotorway>3.0200</WHTCMotorway> + <BFColdHot>3.0000</BFColdHot> + <CFRegPer>3.0000</CFRegPer> + <CFNCV>3.0000</CFNCV> + <FuelConsumptionMap> + <Entry engineSpeed="800.30" torque="200.00" fuelConsumption="4286.00" /> + <Entry engineSpeed="800.30" torque="400.00" fuelConsumption="7021.00" /> + <Entry engineSpeed="800.30" torque="600.00" fuelConsumption="10059.00" /> + <Entry engineSpeed="800.30" torque="800.00" fuelConsumption="13086.00" /> + <Entry engineSpeed="800.30" torque="1000.00" fuelConsumption="16015.00" /> + <Entry engineSpeed="800.30" torque="1200.00" fuelConsumption="19239.00" /> + <Entry engineSpeed="800.30" torque="1400.00" fuelConsumption="22426.00" /> + <Entry engineSpeed="800.30" torque="1600.00" fuelConsumption="25483.00" /> + <Entry engineSpeed="800.30" torque="1791.00" fuelConsumption="28905.00" /> + <Entry engineSpeed="560.30" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="560.30" torque="0.00" fuelConsumption="1256.00" /> + <Entry engineSpeed="560.30" torque="200.00" fuelConsumption="3197.00" /> + <Entry engineSpeed="560.30" torque="400.00" fuelConsumption="5295.00" /> + <Entry engineSpeed="560.30" torque="600.00" fuelConsumption="7615.00" /> + <Entry engineSpeed="560.30" torque="800.00" fuelConsumption="9375.00" /> + <Entry engineSpeed="560.30" torque="1000.00" fuelConsumption="11239.00" /> + <Entry engineSpeed="560.30" torque="1180.00" fuelConsumption="12869.00" /> + <Entry engineSpeed="600.30" torque="-148.00" fuelConsumption="0.00" /> + <Entry engineSpeed="600.30" torque="0.00" fuelConsumption="1459.00" /> + <Entry engineSpeed="600.30" torque="200.00" fuelConsumption="3358.00" /> + <Entry engineSpeed="600.30" torque="400.00" fuelConsumption="5498.00" /> + <Entry engineSpeed="600.30" torque="600.00" fuelConsumption="8101.00" /> + <Entry engineSpeed="600.30" torque="800.00" fuelConsumption="10014.00" /> + <Entry engineSpeed="600.30" torque="1000.00" fuelConsumption="12071.00" /> + <Entry engineSpeed="600.30" torque="1200.00" fuelConsumption="14201.00" /> + <Entry engineSpeed="600.30" torque="1282.00" fuelConsumption="15304.00" /> + <Entry engineSpeed="800.30" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="800.30" torque="0.00" fuelConsumption="1879.00" /> + + <Entry engineSpeed="1000.30" torque="-160.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1000.30" torque="0.00" fuelConsumption="2865.00" /> + <Entry engineSpeed="1000.30" torque="200.00" fuelConsumption="5963.00" /> + <Entry engineSpeed="1000.30" torque="400.00" fuelConsumption="9198.00" /> + <Entry engineSpeed="1000.30" torque="600.00" fuelConsumption="12354.00" /> + <Entry engineSpeed="1000.30" torque="800.00" fuelConsumption="15965.00" /> + <Entry engineSpeed="1000.30" torque="1000.00" fuelConsumption="19864.00" /> + <Entry engineSpeed="1000.30" torque="1200.00" fuelConsumption="23530.00" /> + <Entry engineSpeed="1000.30" torque="1400.00" fuelConsumption="27202.00" /> + <Entry engineSpeed="1000.30" torque="1600.00" fuelConsumption="31165.00" /> + <Entry engineSpeed="1000.30" torque="1800.00" fuelConsumption="35103.00" /> + <Entry engineSpeed="1000.30" torque="2000.00" fuelConsumption="39360.00" /> + <Entry engineSpeed="1000.30" torque="2200.00" fuelConsumption="44120.00" /> + <Entry engineSpeed="1000.30" torque="2300.00" fuelConsumption="46836.00" /> + <Entry engineSpeed="1200.30" torque="-179.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1200.30" torque="0.00" fuelConsumption="3307.00" /> + <Entry engineSpeed="1200.30" torque="200.00" fuelConsumption="6897.00" /> + <Entry engineSpeed="1200.30" torque="400.00" fuelConsumption="10651.00" /> + <Entry engineSpeed="1200.30" torque="600.00" fuelConsumption="14645.00" /> + <Entry engineSpeed="1200.30" torque="800.00" fuelConsumption="19115.00" /> + <Entry engineSpeed="1200.30" torque="1000.00" fuelConsumption="23677.00" /> + <Entry engineSpeed="1200.30" torque="1200.00" fuelConsumption="28180.00" /> + <Entry engineSpeed="1200.30" torque="1400.00" fuelConsumption="32431.00" /> + <Entry engineSpeed="1200.30" torque="1600.00" fuelConsumption="36698.00" /> + <Entry engineSpeed="1200.30" torque="1800.00" fuelConsumption="41691.00" /> + <Entry engineSpeed="1200.30" torque="2000.00" fuelConsumption="46915.00" /> + <Entry engineSpeed="1200.30" torque="2200.00" fuelConsumption="51783.00" /> + <Entry engineSpeed="1200.30" torque="2300.00" fuelConsumption="54932.00" /> + <Entry engineSpeed="1400.30" torque="-203.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1400.30" torque="0.00" fuelConsumption="4306.00" /> + <Entry engineSpeed="1400.30" torque="200.00" fuelConsumption="8143.00" /> + <Entry engineSpeed="1400.30" torque="400.00" fuelConsumption="12723.00" /> + <Entry engineSpeed="1400.30" torque="600.00" fuelConsumption="17523.00" /> + <Entry engineSpeed="1400.30" torque="800.00" fuelConsumption="22288.00" /> + <Entry engineSpeed="1400.30" torque="1000.00" fuelConsumption="27093.00" /> + <Entry engineSpeed="1400.30" torque="1200.00" fuelConsumption="32536.00" /> + <Entry engineSpeed="1400.30" torque="1400.00" fuelConsumption="37746.00" /> + <Entry engineSpeed="1400.30" torque="1600.00" fuelConsumption="43194.00" /> + <Entry engineSpeed="1400.30" torque="1800.00" fuelConsumption="49453.00" /> + <Entry engineSpeed="1400.30" torque="2000.00" fuelConsumption="55830.00" /> + <Entry engineSpeed="1400.30" torque="2200.00" fuelConsumption="61072.00" /> + <Entry engineSpeed="1400.30" torque="2300.00" fuelConsumption="64377.00" /> + <Entry engineSpeed="1600.30" torque="-235.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1600.30" torque="0.00" fuelConsumption="5209.00" /> + <Entry engineSpeed="1600.30" torque="200.00" fuelConsumption="9669.00" /> + <Entry engineSpeed="1600.30" torque="400.00" fuelConsumption="14838.00" /> + <Entry engineSpeed="1600.30" torque="600.00" fuelConsumption="20127.00" /> + <Entry engineSpeed="1600.30" torque="800.00" fuelConsumption="25894.00" /> + <Entry engineSpeed="1600.30" torque="1000.00" fuelConsumption="31631.00" /> + <Entry engineSpeed="1600.30" torque="1200.00" fuelConsumption="37248.00" /> + <Entry engineSpeed="1600.30" torque="1400.00" fuelConsumption="42826.00" /> + <Entry engineSpeed="1600.30" torque="1600.00" fuelConsumption="49752.00" /> + <Entry engineSpeed="1600.30" torque="1800.00" fuelConsumption="57020.00" /> + <Entry engineSpeed="1600.30" torque="2000.00" fuelConsumption="63914.00" /> + <Entry engineSpeed="1600.30" torque="2079.00" fuelConsumption="66520.00" /> + <Entry engineSpeed="1800.30" torque="-264.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1800.30" torque="0.00" fuelConsumption="6409.00" /> + <Entry engineSpeed="1800.30" torque="200.00" fuelConsumption="11777.00" /> + <Entry engineSpeed="1800.30" torque="400.00" fuelConsumption="17320.00" /> + <Entry engineSpeed="1800.30" torque="600.00" fuelConsumption="23394.00" /> + <Entry engineSpeed="1800.30" torque="800.00" fuelConsumption="30501.00" /> + <Entry engineSpeed="1800.30" torque="1000.00" fuelConsumption="36378.00" /> + <Entry engineSpeed="1800.30" torque="1200.00" fuelConsumption="43079.00" /> + <Entry engineSpeed="1800.30" torque="1400.00" fuelConsumption="49796.00" /> + <Entry engineSpeed="1800.30" torque="1600.00" fuelConsumption="57436.00" /> + <Entry engineSpeed="1800.30" torque="1800.00" fuelConsumption="65157.00" /> + <Entry engineSpeed="1800.30" torque="1857.00" fuelConsumption="67574.00" /> + <Entry engineSpeed="2000.30" torque="-301.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2000.30" torque="0.00" fuelConsumption="9127.00" /> + <Entry engineSpeed="2000.30" torque="200.00" fuelConsumption="14822.00" /> + <Entry engineSpeed="2000.30" torque="400.00" fuelConsumption="20655.00" /> + <Entry engineSpeed="2000.30" torque="600.00" fuelConsumption="27076.00" /> + <Entry engineSpeed="2000.30" torque="800.00" fuelConsumption="34188.00" /> + <Entry engineSpeed="2000.30" torque="1000.00" fuelConsumption="42837.00" /> + <Entry engineSpeed="2000.30" torque="1200.00" fuelConsumption="51018.00" /> + <Entry engineSpeed="2000.30" torque="1352.00" fuelConsumption="56618.00" /> + <Entry engineSpeed="2100.30" torque="-320.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2100.30" torque="0.00" fuelConsumption="10470.00" /> + <Entry engineSpeed="2100.30" torque="200.00" fuelConsumption="16332.00" /> + <Entry engineSpeed="2100.30" torque="400.00" fuelConsumption="22396.00" /> + <Entry engineSpeed="2100.30" torque="600.00" fuelConsumption="28914.00" /> + <Entry engineSpeed="2100.30" torque="800.00" fuelConsumption="35717.00" /> + <Entry engineSpeed="2100.30" torque="1000.00" fuelConsumption="45643.00" /> + <Entry engineSpeed="2100.30" torque="1100.00" fuelConsumption="50653.00" /> + </FuelConsumptionMap> + </Fuel> + + </Mode> + <Mode> + <IdlingSpeed>560</IdlingSpeed> + <FullLoadAndDragCurve> + <Entry engineSpeed="1000.10" maxTorque="2300.00" dragTorque="-160.00" /> + <Entry engineSpeed="1200.10" maxTorque="2300.00" dragTorque="-179.00" /> + <Entry engineSpeed="1400.10" maxTorque="2300.00" dragTorque="-203.00" /> + <Entry engineSpeed="1600.10" maxTorque="2079.00" dragTorque="-235.00" /> + <Entry engineSpeed="560.10" maxTorque="1180.00" dragTorque="-149.00" /> + <Entry engineSpeed="600.10" maxTorque="1282.00" dragTorque="-148.00" /> + <Entry engineSpeed="800.10" maxTorque="1791.00" dragTorque="-149.00" /> + <Entry engineSpeed="2000.10" maxTorque="1352.00" dragTorque="-301.00" /> + <Entry engineSpeed="2100.10" maxTorque="1100.00" dragTorque="-320.00" /> + <Entry engineSpeed="1800.10" maxTorque="1857.00" dragTorque="-264.00" /> + + </FullLoadAndDragCurve> + <Fuel type="Diesel CI"> + <WHTCUrban>1.0097</WHTCUrban> + <WHTCRural>1.0035</WHTCRural> + <WHTCMotorway>1.0200</WHTCMotorway> + <BFColdHot>1.0000</BFColdHot> + <CFRegPer>1.0000</CFRegPer> + <CFNCV>1.0000</CFNCV> + <FuelConsumptionMap> + <Entry engineSpeed="560.10" torque="600.00" fuelConsumption="7615.00" /> + <Entry engineSpeed="560.10" torque="800.00" fuelConsumption="9375.00" /> + <Entry engineSpeed="560.10" torque="1000.00" fuelConsumption="11239.00" /> + <Entry engineSpeed="560.10" torque="1180.00" fuelConsumption="12869.00" /> + <Entry engineSpeed="560.10" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="560.10" torque="0.00" fuelConsumption="1256.00" /> + <Entry engineSpeed="560.10" torque="200.00" fuelConsumption="3197.00" /> + <Entry engineSpeed="560.10" torque="400.00" fuelConsumption="5295.00" /> + + <Entry engineSpeed="600.10" torque="-148.00" fuelConsumption="0.00" /> + <Entry engineSpeed="600.10" torque="0.00" fuelConsumption="1459.00" /> + <Entry engineSpeed="600.10" torque="200.00" fuelConsumption="3358.00" /> + <Entry engineSpeed="600.10" torque="400.00" fuelConsumption="5498.00" /> + <Entry engineSpeed="600.10" torque="600.00" fuelConsumption="8101.00" /> + <Entry engineSpeed="600.10" torque="800.00" fuelConsumption="10014.00" /> + <Entry engineSpeed="600.10" torque="1000.00" fuelConsumption="12071.00" /> + <Entry engineSpeed="600.10" torque="1200.00" fuelConsumption="14201.00" /> + <Entry engineSpeed="600.10" torque="1282.00" fuelConsumption="15304.00" /> + <Entry engineSpeed="800.10" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="800.10" torque="0.00" fuelConsumption="1879.00" /> + <Entry engineSpeed="800.10" torque="200.00" fuelConsumption="4286.00" /> + <Entry engineSpeed="800.10" torque="400.00" fuelConsumption="7021.00" /> + <Entry engineSpeed="800.10" torque="600.00" fuelConsumption="10059.00" /> + <Entry engineSpeed="800.10" torque="800.00" fuelConsumption="13086.00" /> + <Entry engineSpeed="800.10" torque="1000.00" fuelConsumption="16015.00" /> + <Entry engineSpeed="800.10" torque="1200.00" fuelConsumption="19239.00" /> + <Entry engineSpeed="800.10" torque="1400.00" fuelConsumption="22426.00" /> + <Entry engineSpeed="800.10" torque="1600.00" fuelConsumption="25483.00" /> + <Entry engineSpeed="800.10" torque="1791.00" fuelConsumption="28905.00" /> + <Entry engineSpeed="1000.10" torque="-160.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1000.10" torque="0.00" fuelConsumption="2865.00" /> + <Entry engineSpeed="1000.10" torque="200.00" fuelConsumption="5963.00" /> + <Entry engineSpeed="1000.10" torque="400.00" fuelConsumption="9198.00" /> + <Entry engineSpeed="1000.10" torque="600.00" fuelConsumption="12354.00" /> + <Entry engineSpeed="1000.10" torque="800.00" fuelConsumption="15965.00" /> + <Entry engineSpeed="1000.10" torque="1000.00" fuelConsumption="19864.00" /> + + <Entry engineSpeed="1200.10" torque="-179.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1200.10" torque="0.00" fuelConsumption="3307.00" /> + <Entry engineSpeed="1200.10" torque="200.00" fuelConsumption="6897.00" /> + <Entry engineSpeed="1200.10" torque="400.00" fuelConsumption="10651.00" /> + <Entry engineSpeed="1200.10" torque="600.00" fuelConsumption="14645.00" /> + <Entry engineSpeed="1200.10" torque="800.00" fuelConsumption="19115.00" /> + <Entry engineSpeed="1200.10" torque="1000.00" fuelConsumption="23677.00" /> + <Entry engineSpeed="1200.10" torque="1200.00" fuelConsumption="28180.00" /> + <Entry engineSpeed="1200.10" torque="1400.00" fuelConsumption="32431.00" /> + <Entry engineSpeed="1200.10" torque="1600.00" fuelConsumption="36698.00" /> + <Entry engineSpeed="1200.10" torque="1800.00" fuelConsumption="41691.00" /> + <Entry engineSpeed="1200.10" torque="2000.00" fuelConsumption="46915.00" /> + <Entry engineSpeed="1200.10" torque="2200.00" fuelConsumption="51783.00" /> + <Entry engineSpeed="1200.10" torque="2300.00" fuelConsumption="54932.00" /> + <Entry engineSpeed="1400.10" torque="-203.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1400.10" torque="0.00" fuelConsumption="4306.00" /> + <Entry engineSpeed="1400.10" torque="200.00" fuelConsumption="8143.00" /> + <Entry engineSpeed="1400.10" torque="400.00" fuelConsumption="12723.00" /> + <Entry engineSpeed="1400.10" torque="600.00" fuelConsumption="17523.00" /> + <Entry engineSpeed="1400.10" torque="800.00" fuelConsumption="22288.00" /> + <Entry engineSpeed="1400.10" torque="1000.00" fuelConsumption="27093.00" /> + <Entry engineSpeed="1400.10" torque="1200.00" fuelConsumption="32536.00" /> + <Entry engineSpeed="1400.10" torque="1400.00" fuelConsumption="37746.00" /> + <Entry engineSpeed="1400.10" torque="1600.00" fuelConsumption="43194.00" /> + <Entry engineSpeed="1400.10" torque="1800.00" fuelConsumption="49453.00" /> + <Entry engineSpeed="1400.10" torque="2000.00" fuelConsumption="55830.00" /> + <Entry engineSpeed="1400.10" torque="2200.00" fuelConsumption="61072.00" /> + <Entry engineSpeed="1400.10" torque="2300.00" fuelConsumption="64377.00" /> + <Entry engineSpeed="1600.10" torque="-235.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1600.10" torque="0.00" fuelConsumption="5209.00" /> + <Entry engineSpeed="1600.10" torque="200.00" fuelConsumption="9669.00" /> + <Entry engineSpeed="1600.10" torque="400.00" fuelConsumption="14838.00" /> + <Entry engineSpeed="1600.10" torque="600.00" fuelConsumption="20127.00" /> + <Entry engineSpeed="1600.10" torque="800.00" fuelConsumption="25894.00" /> + <Entry engineSpeed="1600.10" torque="1000.00" fuelConsumption="31631.00" /> + <Entry engineSpeed="1600.10" torque="1200.00" fuelConsumption="37248.00" /> + <Entry engineSpeed="1600.10" torque="1400.00" fuelConsumption="42826.00" /> + <Entry engineSpeed="1600.10" torque="1600.00" fuelConsumption="49752.00" /> + <Entry engineSpeed="1600.10" torque="1800.00" fuelConsumption="57020.00" /> + <Entry engineSpeed="1600.10" torque="2000.00" fuelConsumption="63914.00" /> + <Entry engineSpeed="1600.10" torque="2079.00" fuelConsumption="66520.00" /> + <Entry engineSpeed="1800.10" torque="-264.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1800.10" torque="0.00" fuelConsumption="6409.00" /> + <Entry engineSpeed="1800.10" torque="200.00" fuelConsumption="11777.00" /> + <Entry engineSpeed="1800.10" torque="400.00" fuelConsumption="17320.00" /> + <Entry engineSpeed="1800.10" torque="600.00" fuelConsumption="23394.00" /> + <Entry engineSpeed="1800.10" torque="800.00" fuelConsumption="30501.00" /> + <Entry engineSpeed="1800.10" torque="1000.00" fuelConsumption="36378.00" /> + <Entry engineSpeed="1800.10" torque="1200.00" fuelConsumption="43079.00" /> + <Entry engineSpeed="1800.10" torque="1400.00" fuelConsumption="49796.00" /> + <Entry engineSpeed="1800.10" torque="1600.00" fuelConsumption="57436.00" /> + <Entry engineSpeed="1800.10" torque="1800.00" fuelConsumption="65157.00" /> + <Entry engineSpeed="1800.10" torque="1857.00" fuelConsumption="67574.00" /> + <Entry engineSpeed="2000.10" torque="-301.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2000.10" torque="0.00" fuelConsumption="9127.00" /> + <Entry engineSpeed="2000.10" torque="200.00" fuelConsumption="14822.00" /> + <Entry engineSpeed="2000.10" torque="400.00" fuelConsumption="20655.00" /> + <Entry engineSpeed="2000.10" torque="600.00" fuelConsumption="27076.00" /> + <Entry engineSpeed="2000.10" torque="800.00" fuelConsumption="34188.00" /> + <Entry engineSpeed="2000.10" torque="1000.00" fuelConsumption="42837.00" /> + <Entry engineSpeed="2000.10" torque="1200.00" fuelConsumption="51018.00" /> + <Entry engineSpeed="2000.10" torque="1352.00" fuelConsumption="56618.00" /> + <Entry engineSpeed="2100.10" torque="-320.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2100.10" torque="0.00" fuelConsumption="10470.00" /> + <Entry engineSpeed="2100.10" torque="200.00" fuelConsumption="16332.00" /> + <Entry engineSpeed="2100.10" torque="400.00" fuelConsumption="22396.00" /> + <Entry engineSpeed="2100.10" torque="600.00" fuelConsumption="28914.00" /> + <Entry engineSpeed="2100.10" torque="800.00" fuelConsumption="35717.00" /> + <Entry engineSpeed="2100.10" torque="1000.00" fuelConsumption="45643.00" /> + <Entry engineSpeed="2100.10" torque="1100.00" fuelConsumption="50653.00" /> + <Entry engineSpeed="1000.10" torque="1200.00" fuelConsumption="23530.00" /> + <Entry engineSpeed="1000.10" torque="1400.00" fuelConsumption="27202.00" /> + <Entry engineSpeed="1000.10" torque="1600.00" fuelConsumption="31165.00" /> + <Entry engineSpeed="1000.10" torque="1800.00" fuelConsumption="35103.00" /> + <Entry engineSpeed="1000.10" torque="2000.00" fuelConsumption="39360.00" /> + <Entry engineSpeed="1000.10" torque="2200.00" fuelConsumption="44120.00" /> + <Entry engineSpeed="1000.10" torque="2300.00" fuelConsumption="46836.00" /> + </FuelConsumptionMap> + </Fuel> + </Mode> + + </v2.0:Data> + </tns:Engine> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Engine_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Engine_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..13bf37ab1cf4cffd6871873b8d1cde798542752b --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Engine_hashed.xml @@ -0,0 +1,427 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Engine> + <v2.0:Data id="ENG-gooZah3D" xsi:type="EngineDataDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3"> + <Manufacturer>Generic Engine Manufacturer</Manufacturer> + <Model>Generic 40t Long Haul Truck Engine</Model> + <CertificationNumber>e12*0815/8051*2017/05E0000*00</CertificationNumber> + <Date>2022-03-15T08:10:22.5745225Z</Date> + <AppVersion>VectoEngine x.y</AppVersion> + <Displacement>12730</Displacement> + <RatedSpeed>2200</RatedSpeed> + <RatedPower>380000</RatedPower> + <MaxEngineTorque>2300</MaxEngineTorque> + <WHRType> + <MechanicalOutputICE>false</MechanicalOutputICE> + <MechanicalOutputDrivetrain>false</MechanicalOutputDrivetrain> + <ElectricalOutput>false</ElectricalOutput> + </WHRType> + <Mode> + <IdlingSpeed>570</IdlingSpeed> + <FullLoadAndDragCurve> + <Entry engineSpeed="800.30" maxTorque="1791.00" dragTorque="-149.00" /> + <Entry engineSpeed="1000.30" maxTorque="2300.00" dragTorque="-160.00" /> + <Entry engineSpeed="1200.30" maxTorque="2300.00" dragTorque="-179.00" /> + <Entry engineSpeed="1400.30" maxTorque="2300.00" dragTorque="-203.00" /> + <Entry engineSpeed="560.30" maxTorque="1180.00" dragTorque="-149.00" /> + <Entry engineSpeed="600.30" maxTorque="1282.00" dragTorque="-148.00" /> + <Entry engineSpeed="1600.30" maxTorque="2079.00" dragTorque="-235.00" /> + <Entry engineSpeed="1800.30" maxTorque="1857.00" dragTorque="-264.00" /> + <Entry engineSpeed="2000.30" maxTorque="1352.00" dragTorque="-301.00" /> + <Entry engineSpeed="2100.30" maxTorque="1100.00" dragTorque="-320.00" /> + </FullLoadAndDragCurve> + <Fuel type="Ethanol CI"> + <WHTCUrban>4.0097</WHTCUrban> + <WHTCRural>4.0035</WHTCRural> + <WHTCMotorway>4.0200</WHTCMotorway> + <BFColdHot>4.0000</BFColdHot> + <CFRegPer>4.0000</CFRegPer> + <CFNCV>4.0000</CFNCV> + <FuelConsumptionMap> + <Entry engineSpeed="560.40" torque="200.00" fuelConsumption="3197.00" /> + <Entry engineSpeed="560.40" torque="400.00" fuelConsumption="5295.00" /> + <Entry engineSpeed="560.40" torque="600.00" fuelConsumption="7615.00" /> + <Entry engineSpeed="560.40" torque="800.00" fuelConsumption="9375.00" /> + <Entry engineSpeed="560.40" torque="1000.00" fuelConsumption="11239.00" /> + <Entry engineSpeed="560.40" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="560.40" torque="0.00" fuelConsumption="1256.00" /> + <Entry engineSpeed="560.40" torque="1180.00" fuelConsumption="12869.00" /> + <Entry engineSpeed="600.40" torque="-148.00" fuelConsumption="0.00" /> + <Entry engineSpeed="600.40" torque="0.00" fuelConsumption="1459.00" /> + <Entry engineSpeed="600.40" torque="200.00" fuelConsumption="3358.00" /> + <Entry engineSpeed="600.40" torque="400.00" fuelConsumption="5498.00" /> + <Entry engineSpeed="600.40" torque="600.00" fuelConsumption="8101.00" /> + <Entry engineSpeed="600.40" torque="800.00" fuelConsumption="10014.00" /> + <Entry engineSpeed="600.40" torque="1000.00" fuelConsumption="12071.00" /> + <Entry engineSpeed="600.40" torque="1200.00" fuelConsumption="14201.00" /> + <Entry engineSpeed="600.40" torque="1282.00" fuelConsumption="15304.00" /> + <Entry engineSpeed="800.40" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="800.40" torque="0.00" fuelConsumption="1879.00" /> + <Entry engineSpeed="800.40" torque="200.00" fuelConsumption="4286.00" /> + <Entry engineSpeed="800.40" torque="400.00" fuelConsumption="7021.00" /> + <Entry engineSpeed="800.40" torque="600.00" fuelConsumption="10059.00" /> + <Entry engineSpeed="800.40" torque="800.00" fuelConsumption="13086.00" /> + <Entry engineSpeed="800.40" torque="1000.00" fuelConsumption="16015.00" /> + <Entry engineSpeed="800.40" torque="1200.00" fuelConsumption="19239.00" /> + <Entry engineSpeed="800.40" torque="1400.00" fuelConsumption="22426.00" /> + <Entry engineSpeed="800.40" torque="1600.00" fuelConsumption="25483.00" /> + <Entry engineSpeed="800.40" torque="1791.00" fuelConsumption="28905.00" /> + <Entry engineSpeed="1000.40" torque="-160.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1000.40" torque="0.00" fuelConsumption="2865.00" /> + <Entry engineSpeed="1000.40" torque="200.00" fuelConsumption="5963.00" /> + <Entry engineSpeed="1000.40" torque="400.00" fuelConsumption="9198.00" /> + <Entry engineSpeed="1000.40" torque="600.00" fuelConsumption="12354.00" /> + <Entry engineSpeed="1000.40" torque="800.00" fuelConsumption="15965.00" /> + <Entry engineSpeed="1000.40" torque="1000.00" fuelConsumption="19864.00" /> + <Entry engineSpeed="1000.40" torque="1200.00" fuelConsumption="23530.00" /> + <Entry engineSpeed="1000.40" torque="1400.00" fuelConsumption="27202.00" /> + <Entry engineSpeed="1000.40" torque="1600.00" fuelConsumption="31165.00" /> + <Entry engineSpeed="1000.40" torque="1800.00" fuelConsumption="35103.00" /> + <Entry engineSpeed="1000.40" torque="2000.00" fuelConsumption="39360.00" /> + <Entry engineSpeed="1000.40" torque="2200.00" fuelConsumption="44120.00" /> + <Entry engineSpeed="1000.40" torque="2300.00" fuelConsumption="46836.00" /> + <Entry engineSpeed="1200.40" torque="-179.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1200.40" torque="0.00" fuelConsumption="3307.00" /> + <Entry engineSpeed="1200.40" torque="200.00" fuelConsumption="6897.00" /> + <Entry engineSpeed="1200.40" torque="400.00" fuelConsumption="10651.00" /> + <Entry engineSpeed="1200.40" torque="600.00" fuelConsumption="14645.00" /> + <Entry engineSpeed="1200.40" torque="800.00" fuelConsumption="19115.00" /> + <Entry engineSpeed="1200.40" torque="1000.00" fuelConsumption="23677.00" /> + <Entry engineSpeed="1200.40" torque="1200.00" fuelConsumption="28180.00" /> + <Entry engineSpeed="1200.40" torque="1400.00" fuelConsumption="32431.00" /> + <Entry engineSpeed="1200.40" torque="1600.00" fuelConsumption="36698.00" /> + <Entry engineSpeed="1200.40" torque="1800.00" fuelConsumption="41691.00" /> + <Entry engineSpeed="1200.40" torque="2000.00" fuelConsumption="46915.00" /> + <Entry engineSpeed="1200.40" torque="2200.00" fuelConsumption="51783.00" /> + <Entry engineSpeed="1200.40" torque="2300.00" fuelConsumption="54932.00" /> + <Entry engineSpeed="1400.40" torque="-203.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1400.40" torque="0.00" fuelConsumption="4306.00" /> + <Entry engineSpeed="1400.40" torque="200.00" fuelConsumption="8143.00" /> + <Entry engineSpeed="1400.40" torque="400.00" fuelConsumption="12723.00" /> + <Entry engineSpeed="1400.40" torque="600.00" fuelConsumption="17523.00" /> + <Entry engineSpeed="1400.40" torque="800.00" fuelConsumption="22288.00" /> + <Entry engineSpeed="1400.40" torque="1000.00" fuelConsumption="27093.00" /> + <Entry engineSpeed="1400.40" torque="1200.00" fuelConsumption="32536.00" /> + <Entry engineSpeed="1400.40" torque="1400.00" fuelConsumption="37746.00" /> + <Entry engineSpeed="1400.40" torque="1600.00" fuelConsumption="43194.00" /> + <Entry engineSpeed="1400.40" torque="1800.00" fuelConsumption="49453.00" /> + <Entry engineSpeed="1400.40" torque="2000.00" fuelConsumption="55830.00" /> + <Entry engineSpeed="1400.40" torque="2200.00" fuelConsumption="61072.00" /> + <Entry engineSpeed="1400.40" torque="2300.00" fuelConsumption="64377.00" /> + <Entry engineSpeed="1600.40" torque="-235.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1600.40" torque="0.00" fuelConsumption="5209.00" /> + <Entry engineSpeed="1600.40" torque="200.00" fuelConsumption="9669.00" /> + <Entry engineSpeed="1600.40" torque="400.00" fuelConsumption="14838.00" /> + <Entry engineSpeed="1600.40" torque="600.00" fuelConsumption="20127.00" /> + <Entry engineSpeed="1600.40" torque="800.00" fuelConsumption="25894.00" /> + <Entry engineSpeed="1600.40" torque="1000.00" fuelConsumption="31631.00" /> + <Entry engineSpeed="1600.40" torque="1200.00" fuelConsumption="37248.00" /> + <Entry engineSpeed="1600.40" torque="1400.00" fuelConsumption="42826.00" /> + <Entry engineSpeed="1600.40" torque="1600.00" fuelConsumption="49752.00" /> + <Entry engineSpeed="1600.40" torque="1800.00" fuelConsumption="57020.00" /> + <Entry engineSpeed="1600.40" torque="2000.00" fuelConsumption="63914.00" /> + <Entry engineSpeed="1600.40" torque="2079.00" fuelConsumption="66520.00" /> + <Entry engineSpeed="1800.40" torque="-264.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1800.40" torque="0.00" fuelConsumption="6409.00" /> + <Entry engineSpeed="1800.40" torque="200.00" fuelConsumption="11777.00" /> + <Entry engineSpeed="1800.40" torque="400.00" fuelConsumption="17320.00" /> + <Entry engineSpeed="1800.40" torque="600.00" fuelConsumption="23394.00" /> + <Entry engineSpeed="1800.40" torque="800.00" fuelConsumption="30501.00" /> + <Entry engineSpeed="1800.40" torque="1000.00" fuelConsumption="36378.00" /> + <Entry engineSpeed="1800.40" torque="1200.00" fuelConsumption="43079.00" /> + <Entry engineSpeed="1800.40" torque="1400.00" fuelConsumption="49796.00" /> + <Entry engineSpeed="1800.40" torque="1600.00" fuelConsumption="57436.00" /> + <Entry engineSpeed="1800.40" torque="1800.00" fuelConsumption="65157.00" /> + <Entry engineSpeed="1800.40" torque="1857.00" fuelConsumption="67574.00" /> + <Entry engineSpeed="2000.40" torque="-301.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2000.40" torque="0.00" fuelConsumption="9127.00" /> + <Entry engineSpeed="2000.40" torque="200.00" fuelConsumption="14822.00" /> + <Entry engineSpeed="2000.40" torque="400.00" fuelConsumption="20655.00" /> + <Entry engineSpeed="2000.40" torque="600.00" fuelConsumption="27076.00" /> + <Entry engineSpeed="2000.40" torque="800.00" fuelConsumption="34188.00" /> + <Entry engineSpeed="2000.40" torque="1000.00" fuelConsumption="42837.00" /> + <Entry engineSpeed="2000.40" torque="1200.00" fuelConsumption="51018.00" /> + <Entry engineSpeed="2000.40" torque="1352.00" fuelConsumption="56618.00" /> + <Entry engineSpeed="2100.40" torque="-320.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2100.40" torque="0.00" fuelConsumption="10470.00" /> + <Entry engineSpeed="2100.40" torque="200.00" fuelConsumption="16332.00" /> + <Entry engineSpeed="2100.40" torque="400.00" fuelConsumption="22396.00" /> + <Entry engineSpeed="2100.40" torque="600.00" fuelConsumption="28914.00" /> + <Entry engineSpeed="2100.40" torque="800.00" fuelConsumption="35717.00" /> + <Entry engineSpeed="2100.40" torque="1000.00" fuelConsumption="45643.00" /> + <Entry engineSpeed="2100.40" torque="1100.00" fuelConsumption="50653.00" /> + </FuelConsumptionMap> + </Fuel> + <Fuel type="Diesel CI"> + <WHTCUrban>3.0097</WHTCUrban> + <WHTCRural>3.0035</WHTCRural> + <WHTCMotorway>3.0200</WHTCMotorway> + <BFColdHot>3.0000</BFColdHot> + <CFRegPer>3.0000</CFRegPer> + <CFNCV>3.0000</CFNCV> + <FuelConsumptionMap> + <Entry engineSpeed="800.30" torque="200.00" fuelConsumption="4286.00" /> + <Entry engineSpeed="800.30" torque="400.00" fuelConsumption="7021.00" /> + <Entry engineSpeed="800.30" torque="600.00" fuelConsumption="10059.00" /> + <Entry engineSpeed="800.30" torque="800.00" fuelConsumption="13086.00" /> + <Entry engineSpeed="800.30" torque="1000.00" fuelConsumption="16015.00" /> + <Entry engineSpeed="800.30" torque="1200.00" fuelConsumption="19239.00" /> + <Entry engineSpeed="800.30" torque="1400.00" fuelConsumption="22426.00" /> + <Entry engineSpeed="800.30" torque="1600.00" fuelConsumption="25483.00" /> + <Entry engineSpeed="800.30" torque="1791.00" fuelConsumption="28905.00" /> + <Entry engineSpeed="560.30" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="560.30" torque="0.00" fuelConsumption="1256.00" /> + <Entry engineSpeed="560.30" torque="200.00" fuelConsumption="3197.00" /> + <Entry engineSpeed="560.30" torque="400.00" fuelConsumption="5295.00" /> + <Entry engineSpeed="560.30" torque="600.00" fuelConsumption="7615.00" /> + <Entry engineSpeed="560.30" torque="800.00" fuelConsumption="9375.00" /> + <Entry engineSpeed="560.30" torque="1000.00" fuelConsumption="11239.00" /> + <Entry engineSpeed="560.30" torque="1180.00" fuelConsumption="12869.00" /> + <Entry engineSpeed="600.30" torque="-148.00" fuelConsumption="0.00" /> + <Entry engineSpeed="600.30" torque="0.00" fuelConsumption="1459.00" /> + <Entry engineSpeed="600.30" torque="200.00" fuelConsumption="3358.00" /> + <Entry engineSpeed="600.30" torque="400.00" fuelConsumption="5498.00" /> + <Entry engineSpeed="600.30" torque="600.00" fuelConsumption="8101.00" /> + <Entry engineSpeed="600.30" torque="800.00" fuelConsumption="10014.00" /> + <Entry engineSpeed="600.30" torque="1000.00" fuelConsumption="12071.00" /> + <Entry engineSpeed="600.30" torque="1200.00" fuelConsumption="14201.00" /> + <Entry engineSpeed="600.30" torque="1282.00" fuelConsumption="15304.00" /> + <Entry engineSpeed="800.30" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="800.30" torque="0.00" fuelConsumption="1879.00" /> + <Entry engineSpeed="1000.30" torque="-160.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1000.30" torque="0.00" fuelConsumption="2865.00" /> + <Entry engineSpeed="1000.30" torque="200.00" fuelConsumption="5963.00" /> + <Entry engineSpeed="1000.30" torque="400.00" fuelConsumption="9198.00" /> + <Entry engineSpeed="1000.30" torque="600.00" fuelConsumption="12354.00" /> + <Entry engineSpeed="1000.30" torque="800.00" fuelConsumption="15965.00" /> + <Entry engineSpeed="1000.30" torque="1000.00" fuelConsumption="19864.00" /> + <Entry engineSpeed="1000.30" torque="1200.00" fuelConsumption="23530.00" /> + <Entry engineSpeed="1000.30" torque="1400.00" fuelConsumption="27202.00" /> + <Entry engineSpeed="1000.30" torque="1600.00" fuelConsumption="31165.00" /> + <Entry engineSpeed="1000.30" torque="1800.00" fuelConsumption="35103.00" /> + <Entry engineSpeed="1000.30" torque="2000.00" fuelConsumption="39360.00" /> + <Entry engineSpeed="1000.30" torque="2200.00" fuelConsumption="44120.00" /> + <Entry engineSpeed="1000.30" torque="2300.00" fuelConsumption="46836.00" /> + <Entry engineSpeed="1200.30" torque="-179.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1200.30" torque="0.00" fuelConsumption="3307.00" /> + <Entry engineSpeed="1200.30" torque="200.00" fuelConsumption="6897.00" /> + <Entry engineSpeed="1200.30" torque="400.00" fuelConsumption="10651.00" /> + <Entry engineSpeed="1200.30" torque="600.00" fuelConsumption="14645.00" /> + <Entry engineSpeed="1200.30" torque="800.00" fuelConsumption="19115.00" /> + <Entry engineSpeed="1200.30" torque="1000.00" fuelConsumption="23677.00" /> + <Entry engineSpeed="1200.30" torque="1200.00" fuelConsumption="28180.00" /> + <Entry engineSpeed="1200.30" torque="1400.00" fuelConsumption="32431.00" /> + <Entry engineSpeed="1200.30" torque="1600.00" fuelConsumption="36698.00" /> + <Entry engineSpeed="1200.30" torque="1800.00" fuelConsumption="41691.00" /> + <Entry engineSpeed="1200.30" torque="2000.00" fuelConsumption="46915.00" /> + <Entry engineSpeed="1200.30" torque="2200.00" fuelConsumption="51783.00" /> + <Entry engineSpeed="1200.30" torque="2300.00" fuelConsumption="54932.00" /> + <Entry engineSpeed="1400.30" torque="-203.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1400.30" torque="0.00" fuelConsumption="4306.00" /> + <Entry engineSpeed="1400.30" torque="200.00" fuelConsumption="8143.00" /> + <Entry engineSpeed="1400.30" torque="400.00" fuelConsumption="12723.00" /> + <Entry engineSpeed="1400.30" torque="600.00" fuelConsumption="17523.00" /> + <Entry engineSpeed="1400.30" torque="800.00" fuelConsumption="22288.00" /> + <Entry engineSpeed="1400.30" torque="1000.00" fuelConsumption="27093.00" /> + <Entry engineSpeed="1400.30" torque="1200.00" fuelConsumption="32536.00" /> + <Entry engineSpeed="1400.30" torque="1400.00" fuelConsumption="37746.00" /> + <Entry engineSpeed="1400.30" torque="1600.00" fuelConsumption="43194.00" /> + <Entry engineSpeed="1400.30" torque="1800.00" fuelConsumption="49453.00" /> + <Entry engineSpeed="1400.30" torque="2000.00" fuelConsumption="55830.00" /> + <Entry engineSpeed="1400.30" torque="2200.00" fuelConsumption="61072.00" /> + <Entry engineSpeed="1400.30" torque="2300.00" fuelConsumption="64377.00" /> + <Entry engineSpeed="1600.30" torque="-235.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1600.30" torque="0.00" fuelConsumption="5209.00" /> + <Entry engineSpeed="1600.30" torque="200.00" fuelConsumption="9669.00" /> + <Entry engineSpeed="1600.30" torque="400.00" fuelConsumption="14838.00" /> + <Entry engineSpeed="1600.30" torque="600.00" fuelConsumption="20127.00" /> + <Entry engineSpeed="1600.30" torque="800.00" fuelConsumption="25894.00" /> + <Entry engineSpeed="1600.30" torque="1000.00" fuelConsumption="31631.00" /> + <Entry engineSpeed="1600.30" torque="1200.00" fuelConsumption="37248.00" /> + <Entry engineSpeed="1600.30" torque="1400.00" fuelConsumption="42826.00" /> + <Entry engineSpeed="1600.30" torque="1600.00" fuelConsumption="49752.00" /> + <Entry engineSpeed="1600.30" torque="1800.00" fuelConsumption="57020.00" /> + <Entry engineSpeed="1600.30" torque="2000.00" fuelConsumption="63914.00" /> + <Entry engineSpeed="1600.30" torque="2079.00" fuelConsumption="66520.00" /> + <Entry engineSpeed="1800.30" torque="-264.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1800.30" torque="0.00" fuelConsumption="6409.00" /> + <Entry engineSpeed="1800.30" torque="200.00" fuelConsumption="11777.00" /> + <Entry engineSpeed="1800.30" torque="400.00" fuelConsumption="17320.00" /> + <Entry engineSpeed="1800.30" torque="600.00" fuelConsumption="23394.00" /> + <Entry engineSpeed="1800.30" torque="800.00" fuelConsumption="30501.00" /> + <Entry engineSpeed="1800.30" torque="1000.00" fuelConsumption="36378.00" /> + <Entry engineSpeed="1800.30" torque="1200.00" fuelConsumption="43079.00" /> + <Entry engineSpeed="1800.30" torque="1400.00" fuelConsumption="49796.00" /> + <Entry engineSpeed="1800.30" torque="1600.00" fuelConsumption="57436.00" /> + <Entry engineSpeed="1800.30" torque="1800.00" fuelConsumption="65157.00" /> + <Entry engineSpeed="1800.30" torque="1857.00" fuelConsumption="67574.00" /> + <Entry engineSpeed="2000.30" torque="-301.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2000.30" torque="0.00" fuelConsumption="9127.00" /> + <Entry engineSpeed="2000.30" torque="200.00" fuelConsumption="14822.00" /> + <Entry engineSpeed="2000.30" torque="400.00" fuelConsumption="20655.00" /> + <Entry engineSpeed="2000.30" torque="600.00" fuelConsumption="27076.00" /> + <Entry engineSpeed="2000.30" torque="800.00" fuelConsumption="34188.00" /> + <Entry engineSpeed="2000.30" torque="1000.00" fuelConsumption="42837.00" /> + <Entry engineSpeed="2000.30" torque="1200.00" fuelConsumption="51018.00" /> + <Entry engineSpeed="2000.30" torque="1352.00" fuelConsumption="56618.00" /> + <Entry engineSpeed="2100.30" torque="-320.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2100.30" torque="0.00" fuelConsumption="10470.00" /> + <Entry engineSpeed="2100.30" torque="200.00" fuelConsumption="16332.00" /> + <Entry engineSpeed="2100.30" torque="400.00" fuelConsumption="22396.00" /> + <Entry engineSpeed="2100.30" torque="600.00" fuelConsumption="28914.00" /> + <Entry engineSpeed="2100.30" torque="800.00" fuelConsumption="35717.00" /> + <Entry engineSpeed="2100.30" torque="1000.00" fuelConsumption="45643.00" /> + <Entry engineSpeed="2100.30" torque="1100.00" fuelConsumption="50653.00" /> + </FuelConsumptionMap> + </Fuel> + </Mode> + <Mode> + <IdlingSpeed>560</IdlingSpeed> + <FullLoadAndDragCurve> + <Entry engineSpeed="1000.10" maxTorque="2300.00" dragTorque="-160.00" /> + <Entry engineSpeed="1200.10" maxTorque="2300.00" dragTorque="-179.00" /> + <Entry engineSpeed="1400.10" maxTorque="2300.00" dragTorque="-203.00" /> + <Entry engineSpeed="1600.10" maxTorque="2079.00" dragTorque="-235.00" /> + <Entry engineSpeed="560.10" maxTorque="1180.00" dragTorque="-149.00" /> + <Entry engineSpeed="600.10" maxTorque="1282.00" dragTorque="-148.00" /> + <Entry engineSpeed="800.10" maxTorque="1791.00" dragTorque="-149.00" /> + <Entry engineSpeed="2000.10" maxTorque="1352.00" dragTorque="-301.00" /> + <Entry engineSpeed="2100.10" maxTorque="1100.00" dragTorque="-320.00" /> + <Entry engineSpeed="1800.10" maxTorque="1857.00" dragTorque="-264.00" /> + </FullLoadAndDragCurve> + <Fuel type="Diesel CI"> + <WHTCUrban>1.0097</WHTCUrban> + <WHTCRural>1.0035</WHTCRural> + <WHTCMotorway>1.0200</WHTCMotorway> + <BFColdHot>1.0000</BFColdHot> + <CFRegPer>1.0000</CFRegPer> + <CFNCV>1.0000</CFNCV> + <FuelConsumptionMap> + <Entry engineSpeed="560.10" torque="600.00" fuelConsumption="7615.00" /> + <Entry engineSpeed="560.10" torque="800.00" fuelConsumption="9375.00" /> + <Entry engineSpeed="560.10" torque="1000.00" fuelConsumption="11239.00" /> + <Entry engineSpeed="560.10" torque="1180.00" fuelConsumption="12869.00" /> + <Entry engineSpeed="560.10" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="560.10" torque="0.00" fuelConsumption="1256.00" /> + <Entry engineSpeed="560.10" torque="200.00" fuelConsumption="3197.00" /> + <Entry engineSpeed="560.10" torque="400.00" fuelConsumption="5295.00" /> + <Entry engineSpeed="600.10" torque="-148.00" fuelConsumption="0.00" /> + <Entry engineSpeed="600.10" torque="0.00" fuelConsumption="1459.00" /> + <Entry engineSpeed="600.10" torque="200.00" fuelConsumption="3358.00" /> + <Entry engineSpeed="600.10" torque="400.00" fuelConsumption="5498.00" /> + <Entry engineSpeed="600.10" torque="600.00" fuelConsumption="8101.00" /> + <Entry engineSpeed="600.10" torque="800.00" fuelConsumption="10014.00" /> + <Entry engineSpeed="600.10" torque="1000.00" fuelConsumption="12071.00" /> + <Entry engineSpeed="600.10" torque="1200.00" fuelConsumption="14201.00" /> + <Entry engineSpeed="600.10" torque="1282.00" fuelConsumption="15304.00" /> + <Entry engineSpeed="800.10" torque="-149.00" fuelConsumption="0.00" /> + <Entry engineSpeed="800.10" torque="0.00" fuelConsumption="1879.00" /> + <Entry engineSpeed="800.10" torque="200.00" fuelConsumption="4286.00" /> + <Entry engineSpeed="800.10" torque="400.00" fuelConsumption="7021.00" /> + <Entry engineSpeed="800.10" torque="600.00" fuelConsumption="10059.00" /> + <Entry engineSpeed="800.10" torque="800.00" fuelConsumption="13086.00" /> + <Entry engineSpeed="800.10" torque="1000.00" fuelConsumption="16015.00" /> + <Entry engineSpeed="800.10" torque="1200.00" fuelConsumption="19239.00" /> + <Entry engineSpeed="800.10" torque="1400.00" fuelConsumption="22426.00" /> + <Entry engineSpeed="800.10" torque="1600.00" fuelConsumption="25483.00" /> + <Entry engineSpeed="800.10" torque="1791.00" fuelConsumption="28905.00" /> + <Entry engineSpeed="1000.10" torque="-160.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1000.10" torque="0.00" fuelConsumption="2865.00" /> + <Entry engineSpeed="1000.10" torque="200.00" fuelConsumption="5963.00" /> + <Entry engineSpeed="1000.10" torque="400.00" fuelConsumption="9198.00" /> + <Entry engineSpeed="1000.10" torque="600.00" fuelConsumption="12354.00" /> + <Entry engineSpeed="1000.10" torque="800.00" fuelConsumption="15965.00" /> + <Entry engineSpeed="1000.10" torque="1000.00" fuelConsumption="19864.00" /> + <Entry engineSpeed="1200.10" torque="-179.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1200.10" torque="0.00" fuelConsumption="3307.00" /> + <Entry engineSpeed="1200.10" torque="200.00" fuelConsumption="6897.00" /> + <Entry engineSpeed="1200.10" torque="400.00" fuelConsumption="10651.00" /> + <Entry engineSpeed="1200.10" torque="600.00" fuelConsumption="14645.00" /> + <Entry engineSpeed="1200.10" torque="800.00" fuelConsumption="19115.00" /> + <Entry engineSpeed="1200.10" torque="1000.00" fuelConsumption="23677.00" /> + <Entry engineSpeed="1200.10" torque="1200.00" fuelConsumption="28180.00" /> + <Entry engineSpeed="1200.10" torque="1400.00" fuelConsumption="32431.00" /> + <Entry engineSpeed="1200.10" torque="1600.00" fuelConsumption="36698.00" /> + <Entry engineSpeed="1200.10" torque="1800.00" fuelConsumption="41691.00" /> + <Entry engineSpeed="1200.10" torque="2000.00" fuelConsumption="46915.00" /> + <Entry engineSpeed="1200.10" torque="2200.00" fuelConsumption="51783.00" /> + <Entry engineSpeed="1200.10" torque="2300.00" fuelConsumption="54932.00" /> + <Entry engineSpeed="1400.10" torque="-203.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1400.10" torque="0.00" fuelConsumption="4306.00" /> + <Entry engineSpeed="1400.10" torque="200.00" fuelConsumption="8143.00" /> + <Entry engineSpeed="1400.10" torque="400.00" fuelConsumption="12723.00" /> + <Entry engineSpeed="1400.10" torque="600.00" fuelConsumption="17523.00" /> + <Entry engineSpeed="1400.10" torque="800.00" fuelConsumption="22288.00" /> + <Entry engineSpeed="1400.10" torque="1000.00" fuelConsumption="27093.00" /> + <Entry engineSpeed="1400.10" torque="1200.00" fuelConsumption="32536.00" /> + <Entry engineSpeed="1400.10" torque="1400.00" fuelConsumption="37746.00" /> + <Entry engineSpeed="1400.10" torque="1600.00" fuelConsumption="43194.00" /> + <Entry engineSpeed="1400.10" torque="1800.00" fuelConsumption="49453.00" /> + <Entry engineSpeed="1400.10" torque="2000.00" fuelConsumption="55830.00" /> + <Entry engineSpeed="1400.10" torque="2200.00" fuelConsumption="61072.00" /> + <Entry engineSpeed="1400.10" torque="2300.00" fuelConsumption="64377.00" /> + <Entry engineSpeed="1600.10" torque="-235.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1600.10" torque="0.00" fuelConsumption="5209.00" /> + <Entry engineSpeed="1600.10" torque="200.00" fuelConsumption="9669.00" /> + <Entry engineSpeed="1600.10" torque="400.00" fuelConsumption="14838.00" /> + <Entry engineSpeed="1600.10" torque="600.00" fuelConsumption="20127.00" /> + <Entry engineSpeed="1600.10" torque="800.00" fuelConsumption="25894.00" /> + <Entry engineSpeed="1600.10" torque="1000.00" fuelConsumption="31631.00" /> + <Entry engineSpeed="1600.10" torque="1200.00" fuelConsumption="37248.00" /> + <Entry engineSpeed="1600.10" torque="1400.00" fuelConsumption="42826.00" /> + <Entry engineSpeed="1600.10" torque="1600.00" fuelConsumption="49752.00" /> + <Entry engineSpeed="1600.10" torque="1800.00" fuelConsumption="57020.00" /> + <Entry engineSpeed="1600.10" torque="2000.00" fuelConsumption="63914.00" /> + <Entry engineSpeed="1600.10" torque="2079.00" fuelConsumption="66520.00" /> + <Entry engineSpeed="1800.10" torque="-264.00" fuelConsumption="0.00" /> + <Entry engineSpeed="1800.10" torque="0.00" fuelConsumption="6409.00" /> + <Entry engineSpeed="1800.10" torque="200.00" fuelConsumption="11777.00" /> + <Entry engineSpeed="1800.10" torque="400.00" fuelConsumption="17320.00" /> + <Entry engineSpeed="1800.10" torque="600.00" fuelConsumption="23394.00" /> + <Entry engineSpeed="1800.10" torque="800.00" fuelConsumption="30501.00" /> + <Entry engineSpeed="1800.10" torque="1000.00" fuelConsumption="36378.00" /> + <Entry engineSpeed="1800.10" torque="1200.00" fuelConsumption="43079.00" /> + <Entry engineSpeed="1800.10" torque="1400.00" fuelConsumption="49796.00" /> + <Entry engineSpeed="1800.10" torque="1600.00" fuelConsumption="57436.00" /> + <Entry engineSpeed="1800.10" torque="1800.00" fuelConsumption="65157.00" /> + <Entry engineSpeed="1800.10" torque="1857.00" fuelConsumption="67574.00" /> + <Entry engineSpeed="2000.10" torque="-301.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2000.10" torque="0.00" fuelConsumption="9127.00" /> + <Entry engineSpeed="2000.10" torque="200.00" fuelConsumption="14822.00" /> + <Entry engineSpeed="2000.10" torque="400.00" fuelConsumption="20655.00" /> + <Entry engineSpeed="2000.10" torque="600.00" fuelConsumption="27076.00" /> + <Entry engineSpeed="2000.10" torque="800.00" fuelConsumption="34188.00" /> + <Entry engineSpeed="2000.10" torque="1000.00" fuelConsumption="42837.00" /> + <Entry engineSpeed="2000.10" torque="1200.00" fuelConsumption="51018.00" /> + <Entry engineSpeed="2000.10" torque="1352.00" fuelConsumption="56618.00" /> + <Entry engineSpeed="2100.10" torque="-320.00" fuelConsumption="0.00" /> + <Entry engineSpeed="2100.10" torque="0.00" fuelConsumption="10470.00" /> + <Entry engineSpeed="2100.10" torque="200.00" fuelConsumption="16332.00" /> + <Entry engineSpeed="2100.10" torque="400.00" fuelConsumption="22396.00" /> + <Entry engineSpeed="2100.10" torque="600.00" fuelConsumption="28914.00" /> + <Entry engineSpeed="2100.10" torque="800.00" fuelConsumption="35717.00" /> + <Entry engineSpeed="2100.10" torque="1000.00" fuelConsumption="45643.00" /> + <Entry engineSpeed="2100.10" torque="1100.00" fuelConsumption="50653.00" /> + <Entry engineSpeed="1000.10" torque="1200.00" fuelConsumption="23530.00" /> + <Entry engineSpeed="1000.10" torque="1400.00" fuelConsumption="27202.00" /> + <Entry engineSpeed="1000.10" torque="1600.00" fuelConsumption="31165.00" /> + <Entry engineSpeed="1000.10" torque="1800.00" fuelConsumption="35103.00" /> + <Entry engineSpeed="1000.10" torque="2000.00" fuelConsumption="39360.00" /> + <Entry engineSpeed="1000.10" torque="2200.00" fuelConsumption="44120.00" /> + <Entry engineSpeed="1000.10" torque="2300.00" fuelConsumption="46836.00" /> + </FuelConsumptionMap> + </Fuel> + </Mode> + </v2.0:Data> + <v2.0:Signature> + <di:Reference URI="#ENG-gooZah3D"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>KDW9qOoFFe8gAVvOtzQ9lMOOaksXtpMriiwJEjK0U7U=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:Engine> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_APT-N.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_APT-N.xml new file mode 100644 index 0000000000000000000000000000000000000000..eba756f9fa172ba310442c2e134b567987b8d58c --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_APT-N.xml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Gearbox> + <v2.0:Data xsi:type="GearboxDataDeclarationType" id="GBX-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>GB_12-gear</Model> + <CertificationNumber>GBX-GB_12-gear</CertificationNumber> + <Date>2021-11-18T14:23:31.4958567Z</Date> + <AppVersion>VectoCore</AppVersion> + <TransmissionType>APT-N</TransmissionType> + <MainCertificationMethod>Standard values</MainCertificationMethod> + <v2.3:Gears xsi:type="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="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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + </TorqueLossMap> + </Gear> + <Gear number="3"> + <Ratio>9.020</Ratio> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <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="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + + </v2.3:Gears> + </v2.0:Data> + </tns:Gearbox> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_APT-N_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_APT-N_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..d191c7b94a9e602d31436bee21d12338fa8d9526 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_APT-N_hashed.xml @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Gearbox> + <v2.0:Data xsi:type="GearboxDataDeclarationType" id="GBX-asdf"> + <v2.3:Manufacturer>Generic Vendor</v2.3:Manufacturer> + <v2.3:Model>GB_12-gear</v2.3:Model> + <v2.3:CertificationNumber>GBX-GB_12-gear</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:10:36.8806567Z</v2.3:Date> + <v2.3:AppVersion>VectoCore</v2.3:AppVersion> + <v2.3:TransmissionType>APT-N</v2.3:TransmissionType> + <v2.3:MainCertificationMethod>Standard values</v2.3:MainCertificationMethod> + <v2.3:Gears xsi:type="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="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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + </TorqueLossMap> + </Gear> + <Gear number="3"> + <Ratio>9.020</Ratio> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <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="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + </v2.3:Gears> + </v2.0:Data> + <v2.0:Signature> + <di:Reference URI="#GBX-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>q8rEv/JLdlyX2WlBoNWaax/f/E/aUsffJmeOSaOr4ms=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:Gearbox> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_FWD.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_FWD.xml new file mode 100644 index 0000000000000000000000000000000000000000..9f957bb70ebc272865867ecea27b93586e84a018 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_FWD.xml @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Gearbox> + <v2.0:Data xsi:type="GearboxFWDDataDeclarationType" id="GBX-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>GB_12-gear</Model> + <CertificationNumber>GBX-GB_12-gear</CertificationNumber> + <Date>2021-11-18T14:23:31.4958567Z</Date> + <AppVersion>VectoCore</AppVersion> + <TransmissionType>APT-P</TransmissionType> + <MainCertificationMethod>Standard values</MainCertificationMethod> + <DifferentialIncluded>true</DifferentialIncluded> + <AxlegearRatio>1.000</AxlegearRatio> + <v2.3:Gears xsi:type="GearsDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Gear number="3"> + <Ratio>9.020</Ratio> + <MaxTorque>1300</MaxTorque> + <MaxSpeed>112</MaxSpeed> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="0.30" torqueLoss="31.30" /> + <Entry inputSpeed="5000.00" inputTorque="780.30" torqueLoss="31.30" /> + <Entry inputSpeed="5000.00" inputTorque="50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="-50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="0.00" inputTorque="-125.30" torqueLoss="5.30" /> + <Entry inputSpeed="0.00" inputTorque="0.30" torqueLoss="5.30" /> + <Entry inputSpeed="0.00" inputTorque="125.30" torqueLoss="5.30" /> + <Entry inputSpeed="0.00" inputTorque="50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="5000.00" inputTorque="-780.30" torqueLoss="31.30" /> + + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="2"> + <Ratio>11.640</Ratio> + <MaxTorque>1200</MaxTorque> + <MaxSpeed>110</MaxSpeed> + <TorqueLossMap> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + + <Entry inputSpeed="0.00" inputTorque="-50000.20" torqueLoss="2000.20" /> + <Entry inputSpeed="0.00" inputTorque="-125.20" torqueLoss="5.20" /> + <Entry inputSpeed="0.00" inputTorque="0.20" torqueLoss="5.20" /> + <Entry inputSpeed="0.00" inputTorque="125.20" torqueLoss="5.20" /> + + <Entry inputSpeed="5000.00" inputTorque="-780.20" torqueLoss="31.20" /> + <Entry inputSpeed="5000.00" inputTorque="0.20" torqueLoss="31.20" /> + <Entry inputSpeed="5000.00" inputTorque="780.20" torqueLoss="31.20" /> + <Entry inputSpeed="5000.00" inputTorque="50000.20" torqueLoss="2000.20" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="0.00" inputTorque="50000.20" torqueLoss="2000.20" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.20" torqueLoss="2000.20" /> + </TorqueLossMap> + </Gear> + <Gear number="1"> + <Ratio>14.930</Ratio> + <MaxTorque>1000</MaxTorque> + <MaxSpeed>100</MaxSpeed> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="5000.00" inputTorque="-780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="0.10" torqueLoss="31.10" /> + + <Entry inputSpeed="0.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="0.00" inputTorque="-125.10" torqueLoss="5.10" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="0.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="125.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="50000.10" torqueLoss="2000.10" /> + + <Entry inputSpeed="5000.00" inputTorque="780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + + </TorqueLossMap> + </Gear> + </v2.3:Gears> + </v2.0:Data> + </tns:Gearbox> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_FWD_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_FWD_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..b1bc0edf415174e472ed9180e4bfbb46fda4f727 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_FWD_hashed.xml @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Gearbox> + <v2.0:Data xsi:type="GearboxFWDDataDeclarationType" id="GBX-asdf"> + <v2.3:Manufacturer>Generic Vendor</v2.3:Manufacturer> + <v2.3:Model>GB_12-gear</v2.3:Model> + <v2.3:CertificationNumber>GBX-GB_12-gear</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:10:51.9758105Z</v2.3:Date> + <v2.3:AppVersion>VectoCore</v2.3:AppVersion> + <v2.3:TransmissionType>APT-P</v2.3:TransmissionType> + <v2.3:MainCertificationMethod>Standard values</v2.3:MainCertificationMethod> + <v2.3:DifferentialIncluded>true</v2.3:DifferentialIncluded> + <v2.3:AxlegearRatio>1.000</v2.3:AxlegearRatio> + <v2.3:Gears xsi:type="GearsDeclarationType" xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0"> + <Gear number="3"> + <Ratio>9.020</Ratio> + <MaxTorque>1300</MaxTorque> + <MaxSpeed>112</MaxSpeed> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="0.30" torqueLoss="31.30" /> + <Entry inputSpeed="5000.00" inputTorque="780.30" torqueLoss="31.30" /> + <Entry inputSpeed="5000.00" inputTorque="50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="-50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="0.00" inputTorque="-125.30" torqueLoss="5.30" /> + <Entry inputSpeed="0.00" inputTorque="0.30" torqueLoss="5.30" /> + <Entry inputSpeed="0.00" inputTorque="125.30" torqueLoss="5.30" /> + <Entry inputSpeed="0.00" inputTorque="50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.30" torqueLoss="2000.30" /> + <Entry inputSpeed="5000.00" inputTorque="-780.30" torqueLoss="31.30" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="2"> + <Ratio>11.640</Ratio> + <MaxTorque>1200</MaxTorque> + <MaxSpeed>110</MaxSpeed> + <TorqueLossMap> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="-50000.20" torqueLoss="2000.20" /> + <Entry inputSpeed="0.00" inputTorque="-125.20" torqueLoss="5.20" /> + <Entry inputSpeed="0.00" inputTorque="0.20" torqueLoss="5.20" /> + <Entry inputSpeed="0.00" inputTorque="125.20" torqueLoss="5.20" /> + <Entry inputSpeed="5000.00" inputTorque="-780.20" torqueLoss="31.20" /> + <Entry inputSpeed="5000.00" inputTorque="0.20" torqueLoss="31.20" /> + <Entry inputSpeed="5000.00" inputTorque="780.20" torqueLoss="31.20" /> + <Entry inputSpeed="5000.00" inputTorque="50000.20" torqueLoss="2000.20" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="0.00" inputTorque="50000.20" torqueLoss="2000.20" /> + <Entry inputSpeed="5000.00" inputTorque="-50000.20" torqueLoss="2000.20" /> + </TorqueLossMap> + </Gear> + <Gear number="1"> + <Ratio>14.930</Ratio> + <MaxTorque>1000</MaxTorque> + <MaxSpeed>100</MaxSpeed> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="5000.00" inputTorque="-780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="0.10" torqueLoss="31.10" /> + <Entry inputSpeed="0.00" inputTorque="-50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="0.00" inputTorque="-125.10" torqueLoss="5.10" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="0.00" inputTorque="0.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="125.10" torqueLoss="5.10" /> + <Entry inputSpeed="0.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="5000.00" inputTorque="780.10" torqueLoss="31.10" /> + <Entry inputSpeed="5000.00" inputTorque="50000.10" torqueLoss="2000.10" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + </TorqueLossMap> + </Gear> + </v2.3:Gears> + </v2.0:Data> + <v2.0:Signature> + <di:Reference URI="#GBX-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>7Jm+EXKu2MsOfwaOaPRFsPaktEPACid8QuTuSfeUC8U=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:Gearbox> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_IHPC.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_IHPC.xml new file mode 100644 index 0000000000000000000000000000000000000000..b6b9ac8a0d80583011d3f57bdef6f4d04bd065a2 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_IHPC.xml @@ -0,0 +1,280 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Gearbox> + <v2.0:Data xsi:type="GearboxDataDeclarationType" id="GBX-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>GB_12-gear</Model> + <CertificationNumber>GBX-GB_12-gear</CertificationNumber> + <Date>2021-11-18T14:30:10.5091769Z</Date> + <AppVersion>VectoCore</AppVersion> + <TransmissionType>IHPC Type 1</TransmissionType> + <MainCertificationMethod>Standard values</MainCertificationMethod> + <v2.3: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="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="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="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + + <Gear number="4"> + <Ratio>7.040</Ratio> + <TorqueLossMap> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <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" /> + <Entry inputSpeed="6000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + + <Gear number="7"> + <Ratio>3.390</Ratio> + <TorqueLossMap> + <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="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="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="5"> + <Ratio>5.640</Ratio> + <TorqueLossMap> + <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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + + <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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="5000.00" inputTorque="-50000.00" torqueLoss="1000.00" /> + <Entry inputSpeed="5000.00" inputTorque="-845.00" torqueLoss="17.00" /> + <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="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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + + <Gear number="8"> + <Ratio>2.650</Ratio> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + </TorqueLossMap> + </Gear> + + + <Gear number="9"> + <Ratio>2.050</Ratio> + <TorqueLossMap> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.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="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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + </TorqueLossMap> + </Gear> + + + + </v2.3:Gears> + </v2.0:Data> + </tns:Gearbox> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_IHPC_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_IHPC_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..12d77ad284b5f1e1202a507ec65ca79d4aaede50 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Gearbox_IHPC_hashed.xml @@ -0,0 +1,266 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Gearbox> + <v2.0:Data xsi:type="GearboxDataDeclarationType" id="GBX-asdf"> + <v2.3:Manufacturer>Generic Vendor</v2.3:Manufacturer> + <v2.3:Model>GB_12-gear</v2.3:Model> + <v2.3:CertificationNumber>GBX-GB_12-gear</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:13:35.0858393Z</v2.3:Date> + <v2.3:AppVersion>VectoCore</v2.3:AppVersion> + <v2.3:TransmissionType>IHPC Type 1</v2.3:TransmissionType> + <v2.3:MainCertificationMethod>Standard values</v2.3:MainCertificationMethod> + <v2.3: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="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="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="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="4"> + <Ratio>7.040</Ratio> + <TorqueLossMap> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <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" /> + <Entry inputSpeed="6000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="7"> + <Ratio>3.390</Ratio> + <TorqueLossMap> + <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="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="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="5"> + <Ratio>5.640</Ratio> + <TorqueLossMap> + <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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="5000.00" inputTorque="-50000.00" torqueLoss="1000.00" /> + <Entry inputSpeed="5000.00" inputTorque="-845.00" torqueLoss="17.00" /> + <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="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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + </TorqueLossMap> + </Gear> + <Gear number="8"> + <Ratio>2.650</Ratio> + <TorqueLossMap> + <Entry inputSpeed="5000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="5000.00" inputTorque="50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <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="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.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="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + </TorqueLossMap> + </Gear> + <Gear number="9"> + <Ratio>2.050</Ratio> + <TorqueLossMap> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.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="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" /> + <Entry inputSpeed="6000.00" inputTorque="-50000.00" torqueLoss="2000.00" /> + <Entry inputSpeed="6000.00" inputTorque="-780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="0.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="780.00" torqueLoss="31.00" /> + <Entry inputSpeed="6000.00" inputTorque="50000.00" torqueLoss="2000.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" /> + </TorqueLossMap> + </Gear> + </v2.3:Gears> + </v2.0:Data> + <v2.0:Signature> + <di:Reference URI="#GBX-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>u/3pX6GcmHGk1ui9vKRxz1ClBGBeVoASaeDcvFTQbo8=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:Gearbox> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_1.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..be66b9bc3f7b58204672ad18a1874926bb130e62 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_1.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:IEPC> + <Data xsi:type="IEPCMeasuredDataDeclarationType" id="IEPC-asdf"> + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:31:52.4460619Z</Date> + <AppVersion>aaaaa</AppVersion> + <ElectricMachineType>ASM</ElectricMachineType> + <CertificationMethod>Measured for complete component</CertificationMethod> + <R85RatedPower>1</R85RatedPower> + <RotationalInertia>0.10</RotationalInertia> + <DifferentialIncluded>false</DifferentialIncluded> + <DesignTypeWheelMotor>true</DesignTypeWheelMotor> + <Gears xsi:type="IEPCGearsDeclarationType"> + <Gear number="2"> + <Ratio>1.000</Ratio> + <MaxOutShaftTorque>2000</MaxOutShaftTorque> + </Gear> + <Gear number="1"> + <Ratio>3.000</Ratio> + </Gear> + </Gears> + <VoltageLevel> + <Voltage>600</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + </MaxTorqueCurve> + <PowerMap gear="2"> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-25000.00"/> + <Entry outShaftSpeed="0.00" torque="-500.00" electricPower="-1500.00"/> + <Entry outShaftSpeed="0.00" torque="500.00" electricPower="1500.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="25000.00"/> + </PowerMap> + <PowerMap gear="1"> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + </PowerMap> + </VoltageLevel> + <VoltageLevel> + <Voltage>400</Voltage> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + </MaxTorqueCurve> + <PowerMap gear="2"> + <Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-25000.00"/> + <Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="25000.00"/> + <Entry outShaftSpeed="0.00" torque="-500.00" electricPower="-1500.00"/> + <Entry outShaftSpeed="0.00" torque="500.00" electricPower="1500.00"/> + </PowerMap> + <PowerMap gear="1"> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + </PowerMap> + </VoltageLevel> + <DragCurve gear="2"> + <Entry outShaftSpeed="4500.00" dragTorque="35.00"/> + <Entry outShaftSpeed="0.00" dragTorque="15.00"/> + </DragCurve> + <DragCurve gear="1"> + <Entry outShaftSpeed="4000.00" dragTorque="30.00"/> + <Entry outShaftSpeed="0.00" dragTorque="10.00"/> + </DragCurve> + <Conditioning> + <Entry coolantTempInlet="30" coolingPower="5000"/> + </Conditioning> + </Data> + </tns:IEPC> +</tns:VectoInputDeclaration> diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_1_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_1_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..20d5588960568e0418f3b19f486ae999f40a4000 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_1_hashed.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:IEPC> + <v2.3:Data xsi:type="IEPCMeasuredDataDeclarationType" id="IEPC-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:14:22.2781233Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:ElectricMachineType>ASM</v2.3:ElectricMachineType> + <v2.3:CertificationMethod>Measured for complete component</v2.3:CertificationMethod> + <v2.3:R85RatedPower>1</v2.3:R85RatedPower> + <v2.3:RotationalInertia>0.10</v2.3:RotationalInertia> + <v2.3:DifferentialIncluded>false</v2.3:DifferentialIncluded> + <v2.3:DesignTypeWheelMotor>true</v2.3:DesignTypeWheelMotor> + <v2.3:Gears xsi:type="IEPCGearsDeclarationType"> + <v2.3:Gear number="2"> + <v2.3:Ratio>1.000</v2.3:Ratio> + <v2.3:MaxOutShaftTorque>2000</v2.3:MaxOutShaftTorque> + </v2.3:Gear> + <v2.3:Gear number="1"> + <v2.3:Ratio>3.000</v2.3:Ratio> + </v2.3:Gear> + </v2.3:Gears> + <v2.3:VoltageLevel> + <v2.3:Voltage>600</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap gear="2"> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-25000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-500.00" electricPower="-1500.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="500.00" electricPower="1500.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="25000.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="1"> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:VoltageLevel> + <v2.3:Voltage>400</v2.3:Voltage> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap gear="2"> + <v2.3:Entry outShaftSpeed="5000.00" torque="-5000.00" electricPower="-25000.00" /> + <v2.3:Entry outShaftSpeed="5000.00" torque="5000.00" electricPower="25000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-500.00" electricPower="-1500.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="500.00" electricPower="1500.00" /> + </v2.3:PowerMap> + <v2.3:PowerMap gear="1"> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:DragCurve gear="2"> + <v2.3:Entry outShaftSpeed="4500.00" dragTorque="35.00" /> + <v2.3:Entry outShaftSpeed="0.00" dragTorque="15.00" /> + </v2.3:DragCurve> + <v2.3:DragCurve gear="1"> + <v2.3:Entry outShaftSpeed="4000.00" dragTorque="30.00" /> + <v2.3:Entry outShaftSpeed="0.00" dragTorque="10.00" /> + </v2.3:DragCurve> + <v2.3:Conditioning> + <v2.3:Entry coolantTempInlet="30" coolingPower="5000" /> + </v2.3:Conditioning> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#IEPC-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>neHHOskXxCKhM8kWNhwGMeeUN0viOnctoqXT6nTZyaE=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:IEPC> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_StdValues.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_StdValues.xml new file mode 100644 index 0000000000000000000000000000000000000000..038bbf5b254a284ff1ed9a784250fb190653b31b --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_StdValues.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:IEPC> + <Data xsi:type="IEPCStandardValuesDataDeclarationType" id="IEPC-asdf" > + <Manufacturer>a</Manufacturer> + <Model>a</Model> + <CertificationNumber>token</CertificationNumber> + <Date>2021-11-18T14:33:55.6801441Z</Date> + <AppVersion>aaaaa</AppVersion> + <ElectricMachineType>ASM</ElectricMachineType> + <CertificationMethod>Standard values for all components</CertificationMethod> + <R85RatedPower>1</R85RatedPower> + <RotationalInertia>0.10</RotationalInertia> + <DifferentialIncluded>false</DifferentialIncluded> + <DesignTypeWheelMotor>true</DesignTypeWheelMotor> + <Gears xsi:type="IEPCGearsDeclarationType"> + <Gear number="2"> + <Ratio>1.000</Ratio> + <MaxOutShaftTorque>2000</MaxOutShaftTorque> + </Gear> + <Gear number="1"> + <Ratio>3.000</Ratio> + </Gear> + + </Gears> + <VoltageLevel> + <ContinuousTorque>200.00</ContinuousTorque> + <TestSpeedContinuousTorque>2000.00</TestSpeedContinuousTorque> + <OverloadTorque>400.00</OverloadTorque> + <TestSpeedOverloadTorque>2000.00</TestSpeedOverloadTorque> + <OverloadDuration>30.00</OverloadDuration> + <MaxTorqueCurve> + <Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00"/> + <Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00"/> + </MaxTorqueCurve> + <PowerMap> + <Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00"/> + <Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00"/> + <Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00"/> + <Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00"/> + </PowerMap> + </VoltageLevel> + <DragCurve> + <Entry outShaftSpeed="4000.00" dragTorque="30.00"/> + <Entry outShaftSpeed="0.00" dragTorque="10.00"/> + </DragCurve> + </Data> + </tns:IEPC> +</tns:VectoInputDeclaration> diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_StdValues_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_StdValues_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..6f9bc756441b076b3555176653a4240acdcd42dc --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/IEPC_StdValues_hashed.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:IEPC> + <v2.3:Data xsi:type="IEPCStandardValuesDataDeclarationType" id="IEPC-asdf"> + <v2.3:Manufacturer>a</v2.3:Manufacturer> + <v2.3:Model>a</v2.3:Model> + <v2.3:CertificationNumber>token</v2.3:CertificationNumber> + <v2.3:Date>2022-03-15T08:25:17.9153057Z</v2.3:Date> + <v2.3:AppVersion>aaaaa</v2.3:AppVersion> + <v2.3:ElectricMachineType>ASM</v2.3:ElectricMachineType> + <v2.3:CertificationMethod>Standard values for all components</v2.3:CertificationMethod> + <v2.3:R85RatedPower>1</v2.3:R85RatedPower> + <v2.3:RotationalInertia>0.10</v2.3:RotationalInertia> + <v2.3:DifferentialIncluded>false</v2.3:DifferentialIncluded> + <v2.3:DesignTypeWheelMotor>true</v2.3:DesignTypeWheelMotor> + <v2.3:Gears xsi:type="IEPCGearsDeclarationType"> + <v2.3:Gear number="2"> + <v2.3:Ratio>1.000</v2.3:Ratio> + <v2.3:MaxOutShaftTorque>2000</v2.3:MaxOutShaftTorque> + </v2.3:Gear> + <v2.3:Gear number="1"> + <v2.3:Ratio>3.000</v2.3:Ratio> + </v2.3:Gear> + </v2.3:Gears> + <v2.3:VoltageLevel> + <v2.3:ContinuousTorque>200.00</v2.3:ContinuousTorque> + <v2.3:TestSpeedContinuousTorque>2000.00</v2.3:TestSpeedContinuousTorque> + <v2.3:OverloadTorque>400.00</v2.3:OverloadTorque> + <v2.3:TestSpeedOverloadTorque>2000.00</v2.3:TestSpeedOverloadTorque> + <v2.3:OverloadDuration>30.00</v2.3:OverloadDuration> + <v2.3:MaxTorqueCurve> + <v2.3:Entry outShaftSpeed="4000.00" maxTorque="100.00" minTorque="-100.00" /> + <v2.3:Entry outShaftSpeed="0.00" maxTorque="450.00" minTorque="-450.00" /> + </v2.3:MaxTorqueCurve> + <v2.3:PowerMap> + <v2.3:Entry outShaftSpeed="4000.00" torque="-4000.00" electricPower="-20000.00" /> + <v2.3:Entry outShaftSpeed="4000.00" torque="4000.00" electricPower="20000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="-400.00" electricPower="-1000.00" /> + <v2.3:Entry outShaftSpeed="0.00" torque="400.00" electricPower="1000.00" /> + </v2.3:PowerMap> + </v2.3:VoltageLevel> + <v2.3:DragCurve> + <v2.3:Entry outShaftSpeed="4000.00" dragTorque="30.00" /> + <v2.3:Entry outShaftSpeed="0.00" dragTorque="10.00" /> + </v2.3:DragCurve> + </v2.3:Data> + <v2.3:Signature> + <di:Reference URI="#IEPC-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>qf3qtFGyFZBiBOZp4BuBvnD0emOW9jyxdZh+iqNSJII=</di:DigestValue> + </di:Reference> + </v2.3:Signature> + </tns:IEPC> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Retarder.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Retarder.xml new file mode 100644 index 0000000000000000000000000000000000000000..21009e43921937ec86cb391f4e451e2aee61f9e3 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Retarder.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.0" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Retarder xsi:type="v2.0:RetarderComponentDeclarationType"> + <v2.0:Data xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="RetarderDataDeclarationType" id="RET-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>RET-1234</CertificationNumber> + <Date>2021-11-18T14:09:17.2810263Z</Date> + <AppVersion>aaaaa</AppVersion> + <CertificationMethod>Measured</CertificationMethod> + <RetarderLossMap> + <Entry retarderSpeed="1001.00" torqueLoss="10.00" /> + <Entry retarderSpeed="1000.00" torqueLoss="10.00" /> + <Entry retarderSpeed="1005.00" torqueLoss="100.00" /> + <Entry retarderSpeed="0.00" torqueLoss="10.00" /> + </RetarderLossMap> + </v2.0:Data> + </tns:Retarder> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Retarder_hahsed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Retarder_hahsed.xml new file mode 100644 index 0000000000000000000000000000000000000000..e8f3341e0b5b28c59e16d2c2a3c89e24ca7efc3b --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Retarder_hahsed.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.0" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:Retarder xsi:type="v2.0:RetarderComponentDeclarationType"> + <Data xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="RetarderDataDeclarationType" id="RET-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>RET-1234</CertificationNumber> + <Date>2022-03-15T08:26:09.6167797Z</Date> + <AppVersion>aaaaa</AppVersion> + <CertificationMethod>Measured</CertificationMethod> + <RetarderLossMap> + <Entry retarderSpeed="1001.00" torqueLoss="10.00" /> + <Entry retarderSpeed="1000.00" torqueLoss="10.00" /> + <Entry retarderSpeed="1005.00" torqueLoss="100.00" /> + <Entry retarderSpeed="0.00" torqueLoss="10.00" /> + </RetarderLossMap> + </Data> + <v2.0:Signature> + <di:Reference URI="#RET-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>5S5q/oSNH7wKPjBUwZKxkZIeIxZw8KQ++RH/KQm0754=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:Retarder> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/TorqueConverter.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/TorqueConverter.xml new file mode 100644 index 0000000000000000000000000000000000000000..9894f46942dbd3d1bdcd404474e1f75133778a2a --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/TorqueConverter.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" +xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:TorqueConverter xsi:type="v2.0:TorqueConverterComponentDeclarationType"> + <v2.0:Data xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="TorqueConverterDataDeclarationType" id="TC-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>TC-1234</CertificationNumber> + <Date>2021-11-18T14:09:17.2810263Z</Date> + <AppVersion>aaaaa</AppVersion> + <CertificationMethod>Measured</CertificationMethod> + <Characteristics> + <Entry speedRatio='0.0001' torqueRatio='1.75' inputTorqueRef='367.68'/> + <Entry speedRatio='0.1003' torqueRatio='1.71' inputTorqueRef='355.43'/> + <Entry speedRatio='0.0000' torqueRatio='1.80' inputTorqueRef='367.65'/> + <Entry speedRatio='0.1002' torqueRatio='1.72' inputTorqueRef='355.42'/> + </Characteristics> + </v2.0:Data> + </tns:TorqueConverter> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/TorqueConverter_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/TorqueConverter_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..5a0bc568084bf797cb7fbef508524c0da6eac641 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/TorqueConverter_hashed.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:v2.3="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:di="http://www.w3.org/2000/09/xmldsig#" schemaVersion="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent v:\VectoCore\VectoCore\Resources\XSD/VectoDeclarationComponent.xsd"> + <tns:TorqueConverter xsi:type="v2.0:TorqueConverterComponentDeclarationType"> + <Data xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xsi:type="TorqueConverterDataDeclarationType" id="TC-asdf"> + <Manufacturer>Generic Vendor</Manufacturer> + <Model>Generic Model</Model> + <CertificationNumber>TC-1234</CertificationNumber> + <Date>2022-03-15T08:26:23.1645201Z</Date> + <AppVersion>aaaaa</AppVersion> + <CertificationMethod>Measured</CertificationMethod> + <Characteristics> + <Entry speedRatio="0.0001" torqueRatio="1.75" inputTorqueRef="367.68" /> + <Entry speedRatio="0.1003" torqueRatio="1.71" inputTorqueRef="355.43" /> + <Entry speedRatio="0.0000" torqueRatio="1.80" inputTorqueRef="367.65" /> + <Entry speedRatio="0.1002" torqueRatio="1.72" inputTorqueRef="355.42" /> + </Characteristics> + </Data> + <v2.0:Signature> + <di:Reference URI="#TC-asdf"> + <di:Transforms> + <di:Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <di:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </di:Transforms> + <di:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <di:DigestValue>l6asBcah3FpRvGDPjNpTPdx7ayeAXUxTvbqk41uc19c=</di:DigestValue> + </di:Reference> + </v2.0:Signature> + </tns:TorqueConverter> +</tns:VectoInputDeclaration> \ No newline at end of file diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Tyre.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Tyre.xml new file mode 100644 index 0000000000000000000000000000000000000000..81bbda7ba68032307e245b506c12d8d77a22479a --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Tyre.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaVersion="1.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" +xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1 v:\VectoCore\VectoCore\Resources\XSD\VectoComponent.2.1.xsd"> + <tns:Tyre> + <v2.0:Data id="CON_123456" xsi:type="TyreDataDeclarationType"> + <Manufacturer>Continental</Manufacturer> + <Model>CONTINENTAL CONTIVANCONTACT 100</Model> + <CertificationNumber>e4*2017/2400*2019/318*T*0799*00</CertificationNumber> + <Date>2018-01-01T00:00:00Z</Date> + <AppVersion>not available</AppVersion> + <Dimension>205/70 R17C</Dimension> + <TyreClass>C2</TyreClass> + <FuelEfficiencyClass>C</FuelEfficiencyClass> + <RRCDeclared>0.0075</RRCDeclared> + <FzISO>10131</FzISO> + </v2.0:Data> + </tns:Tyre> +</tns:VectoInputDeclaration> diff --git a/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Tyre_hashed.xml b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Tyre_hashed.xml new file mode 100644 index 0000000000000000000000000000000000000000..ae920396e5f9d7249429d2f3770b0aa25cf68e00 --- /dev/null +++ b/VectoCommon/VectoHashingTest/Testdata/XML/Sort/Component/ToHash/Tyre_hashed.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<tns:VectoInputDeclaration xmlns="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.3" xmlns:v2.0="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaVersion="1.0" xmlns:tns="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1" xsi:schemaLocation="urn:tugraz:ivt:VectoAPI:DeclarationComponent:v2.1 v:\VectoCore\VectoCore\Resources\XSD\VectoComponent.2.1.xsd"> + <tns:Tyre> + <v2.0:Data id="CON_123456" xsi:type="TyreDataDeclarationType"> + <Manufacturer>Continental</Manufacturer> + <Model>CONTINENTAL CONTIVANCONTACT 100</Model> + <CertificationNumber>e4*2017/2400*2019/318*T*0799*00</CertificationNumber> + <Date>2022-04-21T16:29:52.9428139Z</Date> + <AppVersion>not available</AppVersion> + <Dimension>205/70 R17C</Dimension> + <TyreClass>C2</TyreClass> + <FuelEfficiencyClass>C</FuelEfficiencyClass> + <RRCDeclared>0.0075</RRCDeclared> + <FzISO>10131</FzISO> + </v2.0:Data> + <v2.0:Signature> + <Reference URI="#CON_123456" xmlns="http://www.w3.org/2000/09/xmldsig#"> + <Transforms> + <Transform Algorithm="urn:vecto:xml:2017:canonicalization" /> + <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> + </Transforms> + <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> + <DigestValue>plljfjf0kzIAy19CMI2xu30AHfMcB5VlqLlmTKiSkKA=</DigestValue> + </Reference> + </v2.0:Signature> + </tns:Tyre> +</tns:VectoInputDeclaration> \ No newline at end of file