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

Skip to content
Snippets Groups Projects
Commit e1aa0f96 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

xml schema documentaion as html

parent d8246957
No related branches found
No related tags found
No related merge requests found
Showing
with 1151 additions and 0 deletions
This diff is collapsed.
XML Schema 1.0
===============
XML schema for declaration input data according to EU Regulation 2017/2400 for component data and job data.
*Note: has been updated a few times to take into account changes in the regulation*
##VectoInputDeclaration
![](XMLSchema1.0/VectoInputDeclaration.png)
##VectoInputComponent
![](XMLSchema1.0/VectoInputComponent.png)
##VehicleDeclarationJobType
![](XMLSchema1.0/VehicleDeclarationType.png)
##VehicleComponents
![](XMLSchema1.0/VehicleComponents.png)
##Engine
![](XMLSchema1.0/EngineComponentDeclaration.png)
##Gearbox
![](XMLSchema1.0/Gearbox+TCComponent.png)
##Angledrive
![](XMLSchema1.0/AngledriveComponent.png)
##Retarder
![](XMLSchema1.0/RetarderComponent.png)
##Axlegear
![](XMLSchema1.0/AxlegearComponent.png)
##AxleWheels
![](XMLSchema1.0/AxleWheelsComponent.png)
##Tyre
![](XMLSchema1.0/TyreComponent.png)
##Auxiliaries
![](XMLSchema1.0/AuxiliairesComponent.png)
##Airdrag
![](XMLSchema1.0/AirdragComponent.png)
##Signature
![](XMLSchema1.0/SignatureType.png)
XML Schema 2.0
===============
Updated and more flexible XML schema for VECTO declaration input. This schema allows to
* update the XML schema for single components
* use component data certified with XML schema 1.0
* use component data certified with XML schema 2.x
The XML structure for the vehicle data references abstract XML base types. Component data is derived from the abstreact base type and thus can be used whereever the abstract base type is required.
XML Schema 2.0 contains the same structure as schema version 1.0 before all updates applied to version 1.0, i.e., the input parameters *VocationalVehicle*, *SleeperCab*, *ZeroEmissionVehicle*, *ADAS*, *NgTankSystem* are not allowed.
##VectoInputDeclaration
![](XMLSchema2.0/VectoInputDeclaration.png)
##VectoDeclarationJobType
![](XMLSchema2.0/VectoDeclarationJobType.png)
##VehicleDeclarationType
![](XMLSchema2.0/VehicleDeclarationType.png)
##PTOType
![](XMLSchema2.0/PTOType.png)
##VehicleComponentsType
![](XMLSchema2.0/VehicleComponentsType.png)
##EngineDataDeclarationType
![](XMLSchema2.0/EngineDataDeclarationType.png)
##GearboxDataDeclarationType
![](XMLSchema2.0/GearboxDataDeclarationType.png)
##GearsDeclarationType
![](XMLSchema2.0/GearsDeclarationType.png)
##TorqueConverterDataDeclarationType
![](XMLSchema2.0/TorqueConverterDataDeclarationType.png)
##AngledriveDataDeclarationType
![](XMLSchema2.0/AngledriveDataDeclarationType.png)
##RetarderDataDeclarationType
![](XMLSchema2.0/RetarderDataDeclarationType.png)
##AxlegearDataDeclarationType
![](XMLSchema2.0/AxlegearDataDeclarationType.png)
##AxleWheelsDataDeclarationType
![](XMLSchema2.0/AxleWheelsDataDeclarationType.png)
##AxleDataDeclarationType
![](XMLSchema2.0/AxleDataDeclarationType.png)
##TyreDataDeclarationType
![](XMLSchema2.0/TyreDataDeclarationType.png)
##AuxiliariesDataDeclarationType
![](XMLSchema2.0/AuxiliariesDataDeclarationType.png)
##AirdragDataDeclarationType
![](XMLSchema2.0/AirdragDataDeclarationType.png)
XML Schema 2.1
===============
Schema version 2.1 includes all changes introduced with the first amendment of EU Regulation 2017/2400. The following parameters are mandatory:
* ZeroEmissionVehicle
* VocationalVehicle
* SleeperCab
* NgTankSystem (only for vehicles with natural gas as fuel type)
* ADAS Parameters (advanced driver assistant system): Engine Stop/Start, EcoRoll without engine stop, EcoRoll with engine stop, Predictive CruiseControl
Introduction of a new Vehicle type: Exempted vehicles. No VECTO simulation is performed for such vehicles.
##VehicleDeclarationType
![](XMLSchema2.1/VehicleDeclarationType.png)
##ExemptedVehicleDeclarationType
![](XMLSchema2.1/ExemptedVehicleDeclarationType.png)
##AdvancedDriverAssistantSystemsType
![](XMLSchema2.1/AdvancedDriverAssistantSystemsType.png)
##EngineDataDeclarationType
![](XMLSchema2.1/EngineDataDeclarationType.png)
XML Schema 2.3
===============
* Introduction of a new model parameter for ADAS in combination with AT transmisisons: ATEcoRollReleaseLockupClutch
* New Engine component data:
+ Adding model parameters for WHR systems: WHR Type, electrical and/or mechanical WHR Power
+ Adding support for dual fuel engines, adding support for dual mode engines
* New gearbox component data: adding parameter whether Differential (axlegear) is included in the loss-map (required for FWD vehicles)
##AdvancedDriverAssistantSystemsType
![](XMLSchema2.3_DEV/AdvancedDriverAssistantSystemsType.png)
##EngineDataDeclarationType
![](XMLSchema2.3_DEV/EngineDataDeclarationType.png)
##GearboxDataDeclarationType
![](XMLSchema2.3_DEV/GearboxDataDeclarationType.png)
XML Schema 2.6
===============
* New Vehicle type: Heavy Bus Primary Vehicle
* New Vehiclee type: Heavy Bus Completed Vehicle
##PrimaryVehicleDeclarationType
![](XMLSchema2.6_DEV-Buses/PrimaryVehicleDeclarationType.png)
##PrimaryVehicleComponentsDeclarationType
![](XMLSchema2.6_DEV-Buses/PrimaryVehicleComponentsDeclarationType.png)
##PrimaryVehicleAuxiliairesDataDeclarationType
![](XMLSchema2.6_DEV-Buses/PrimaryVehicleAuxiliairesDataDeclarationType.png)
##CompletedVehicleDeclarationType
![](XMLSchema2.6_DEV-Buses/CompletedVehicleDeclarationType.png)
##CompletedVehicleComponentsDeclarationType
![](XMLSchema2.6_DEV-Buses/CompletedVehicleComponentsDeclarationType.png)
##CompletedVehicleAuxiliariesDataDeclarationType
![](XMLSchema2.6_DEV-Buses/CompletedVehicleAuxiliariesDataDeclarationType.png)
XML Schema Primary Vehicle Information File
===========================================
VECTO Output generated for primary vehicles (heavy bus). Used as input for the second stage simulation.
##VectoOutputPrimaryVehicle
![](XMLSchemaPIF/VectoOutputPrimaryVehicle.png)
##PrimaryVehicleHeavyBusDataType
![](XMLSchemaPIF/PrimaryVehicleHeavyBusDataType.png)
##VehiclePIFType
![](XMLSchemaPIF/VehiclePIFType.png)
##VehicleComponentsPIFType
![](XMLSchemaPIF/VehicleComponentsPIFType.png)
##EngineDataPIFType
![](XMLSchemaPIF/EngineDataPIFType.png)
##TransmissionDataPIFType
![](XMLSchemaPIF/TransmissionDataPIFType.png)
##TransmissionGearsPIFType
![](XMLSchemaPIF/TransmissionGearsPIFType.png)
##AngledriveDataPIFType
![](XMLSchemaPIF/AngledriveDataPIFType.png)
##AxlegearDataPIFType
![](XMLSchemaPIF/AxlegearDataPIFType.png)
@echo off
echo Starting Help-file generation...
setlocal enabledelayedexpansion enableextensions
set LIST=
for /f %%f in (files.txt) do set LIST=!LIST! "%%f"
REM pandoc --verbose -f markdown+raw_html %LIST% -s -S --toc --toc-depth=2 --self-contained --email-obfuscation=none --section-divs --mathjax=includes/mathjax.js -c includes/style.css -c includes/print.css -B includes/header.html -A includes/footer.html -o help.html -H includes/jquery.js -H includes/jquery-ui.js -H includes/include.js
REM %LOCALAPPDATA%\Pandoc\pandoc --verbose -f markdown+raw_html %LIST% -s --toc --toc-depth=2 --self-contained --email-obfuscation=none --section-divs --webtex -c includes/style.css -c includes/print.css -B includes/header.html -A includes/footer.html -o help.html -H includes/jquery.js -H includes/jquery-ui.js -H includes/include.js
%LOCALAPPDATA%\Pandoc\pandoc --verbose -f markdown+raw_html %LIST% -s -S --toc --toc-depth=2 --self-contained --email-obfuscation=none --section-divs --webtex -c includes/style.css -c includes/print.css -B includes/header.html -A includes/footer.html -o XML-Schema.html -H includes/jquery.js -H includes/jquery-ui.js -H includes/include.js
REM pandoc %LIST% -s -S --toc --toc-depth=2 --self-contained --email-obfuscation=none --section-divs --webtex -c includes/style.css -B includes/header.html -A includes/footer.html -o help.html -H includes/jquery.js -H includes/jquery-ui.js -H includes/include.js
REM pandoc %LIST% -s -S --toc --toc-depth=2 --self-contained --email-obfuscation=none --section-divs --webtex="https://latex.codecogs.com/svg.latex?\large " -c includes/style.css -B includes/header.html -A includes/footer.html -o help.html -H includes/jquery.js -H includes/jquery-ui.js -H includes/include.js
echo Generated outputfile: XML-Schema.html
REM pandoc -s -S --toc --toc-depth=2 -N %LIST% -o help.docx
REM pandoc -s -S --toc --toc-depth=2 -N %LIST% -o help.pdf
REM pandoc -s -S --toc --toc-depth=2 -N %LIST% -o help.latex
XMLSchema1.0/Schema1.0.md
XMLSchema2.0/Schema2.0.md
XMLSchema2.1/Schema2.1.md
XMLSchema2.3_DEV/Schema2.3.md
XMLSchema2.6_DEV-Buses/Schema2.6.md
XMLSchemaPIF/SchemaPIF.md
\ No newline at end of file
<div id="FOOTER">
<a target="mainframe" href="mailto:vecto@jrc.ec.europa.eu">Contact</a>
<span style="text-align:right; float:right">Print View: <a href="javascript:$('div').show().not('.vecto2').not('.vecto3').css({'padding-left':'0px'}).filter('#CONTENT,#TOC,#HEADER,#FOOTER,#MathJax_Message').hide();void(0);">All</a>, <a href="javascript:$('div').not('.vecto2').not('.vecto3').css({'padding-left':'0px'}).filter('#TOC,#HEADER,#FOOTER,#MathJax_Message').hide();$('#CONTENT').css({'display':'inline'});void(0);">Current</a>
</div>
\ No newline at end of file
<div id="HEADER">
<div style="float:left">
<a href="#"><img style="vertical-align:middle" alt="VECTO-Logo" src="pics/VECTO-small.PNG"></a>
<a href="#">XML Schema Documentation</a>
</div>
<div style="text-align: right">
<a href="https://ec.europa.eu/clima/" target="_blank"><img style="border: 0px solid; height: 40px;" alt="European Commission" src="pics/EuropeanCommission.jpg" hspace="5"></a>
<!-- <a href="http://www.ivt.tugraz.at/" target="_blank"><img src="pics/IVT.png" alt="IVT-Logo" style="border: 0px solid; width: 74px; height: 36px;" hspace="5"></a>
<a href="http://portal.tugraz.at/pls/portal/url/page/TU_Graz" target="_blank"><img src="pics/TUG.png" alt="TUG-Logo" style="border: 0px solid; width: 96px; height: 36px;" hspace="5"></a>
--> </div>
</div>
<div id="CONTENT">
</div>
\ No newline at end of file
<script type="text/javascript">
$(function(){
var OnClick = function() {
showContent($($(this).attr("href").replace(".", "\\.")));
};
var showContent = function(element){
$("#CONTENT").html(element.html());
$("#CONTENT > a").click(OnClick);
$("#CONTENT").show();
window.scrollTo(0, 0);
};
$("body > div:not(#TOC):not(#HEADER):not(#FOOTER):not(.vecto2):not(.vecto3)").hide();
$("body > div:not(#TOC):not(#HEADER):not(#FOOTER) > div:not(.vecto2):not(.vecto3)").hide();
window.onhashchange=function(){showContent($(window.location.hash.replace(".", "\\.")));};
if (window.location.hash) {
showContent($(window.location.hash.replace(".", "\\.")));
} else {
showContent($("#user-manual"));
}
$("#TOC").resizable();
$("#TOC").resizable({
handles: "e",
resize: function(event, ui) {
$("body > div:not(#TOC):not(#HEADER):not(#FOOTER)").css("padding-left", ui.size.width);
}
});
$("#TOC").scroll(function() {
$(".ui-resizable-handle").css('top', $("#TOC").scrollTop());
});
/* hide some items from TOC */
$("#TOC li a[href='#electrical-auxiliaries-editor']").parent().hide()
$("#TOC li a[href='#combined-alternator-map-file-.aalt']").parent().hide()
$("#TOC li a[href='#pneumatic-auxiliaries-editor']").parent().hide()
$("#TOC li a[href='#hvac-auxiliaries-editor']").parent().hide()
/*-------------------------*/
$("td[align=left").filter(function() {return $(this).text().indexOf("Locked default")===0 || $(this).text().indexOf("Locked Calc") === 0; }).addClass("aaux_locked")
});
/*
javascript to check if all links are valid:
*/
function CheckGeneratedLinks() {
var content = jQuery("#CONTENT");
content.html("");
jQuery("a[href]").each(function(idx, elem) {
var link=jQuery(elem).attr("href");
if(link.startsWith("javascript:")) {return true}
if (!link.startsWith("#")) { content.append("ignoring: " + link +"<br/>"); return true; }
var node=jQuery("*[id='" + link.replace("#", "") + "']");
if (node.length) {
content.append("found: " + link)
} else {
content.append("missing: " + link)
};
content.append("<br/>");
});
}
</script>
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
@media print {
#CONTENT {
display: none;
}
#HEADER {
display: none;
}
body > div {
display: block;
padding-left: 2em;
}
.section.level2 {
page-break-before: always;
}
a, a:visited, a:link {
color: blue;
}
}
\ No newline at end of file
body {
height: 100%;
min-height: 100%;
font-family: Calibri, sans-serif;
}
.section.level1 {padding-left:336px}
nav, #TOC {
position: fixed;
width: 21em;
left: 0px;
top: 3.5em;
bottom: 2em;
background-color: #eee;
overflow: scroll;
}
#HEADER{
top: 0px;
left: 1px;
border-bottom-style: solid;
border-bottom-width: thin;
border-bottom-color: #aaa;
height: 2.5em;
}
#FOOTER {
border-top-style: solid;
border-top-width: thin;
border-top-color: #aaa;
bottom: 0px;
left: 1px;
}
#HEADER, #FOOTER {
width: auto;
position: fixed;
width: 99%;
background: white;
padding: 5px;
}
body > div:not(#TOC):not(#HEADER):not(#FOOTER) {
display: none;
padding-left: 21em;
padding-top: 2em;
padding-bottom: 2em;
margin-left: 1em;
width: 50em;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
nav ul {
line-height: 1.7em;
list-style-type: none;
list-style-position: inside;
}
th {
font-weight: bold;
}
th, td {
padding: 6px;
border-width: 1px;
border-style: solid;
border-color: #aaa;
}
h1, h2, h3 {
padding-bottom: 3px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #aaa;
}
dt {
font-style: italic;
font-weight: bold;
}
.ui-resizable-handle {
position: absolute;
width: 20px;
cursor: ew-resize;
right: 0px;
height: 100%;
top: 0px;
}
div.vecto2 {
border-left: 3px solid gray;
padding-left: 5px;
margin-top: 2em;
background: rgba(128,128,128,0.05);
}
div.vecto2:before {
content: 'Note: Vecto 2.2!';
background: gray;
color: white;
padding: 5px 5px 5px 5px;
margin-left: -8px;
font-weight: bold;
display: inline-block;
font-size: smaller;
}
div.vecto3 {
border-left: 3px solid green;
padding-left: 5px;
margin-top: 2em;
background: rgba(0,128,0,0.05);
}
div.vecto3:before {
content: 'Note: Vecto 3.x!';
background: green;
color: white;
padding: 5px 5px 5px 5px;
margin-left: -8px;
font-weight: bold;
display: inline-block;
font-size: smaller;
}
div.engineering{
border-right: 5px solid #d51000;
margin-right: -50px;
/* background-image: url("../pics/icon_engineering-mode.svg"); */
background-color: rgba(255,0,0,0.2);
padding: 2px 50px 2px 5px;
margin-bottom: 0.5em;
background-repeat: no-repeat;
background-size: 38px;
background-position: top right;
}
div.declaration {
border-right: 5px solid #08c300;
margin-right: -50px;
/* background-image: url("../pics/icon_declaration-mode.svg"); */
background-color: rgba(0,255,0,0.2);
padding: 2px 50px 2px 5px;
margin-bottom: 0.5em;
background-repeat: no-repeat;
background-size: 38px;
background-position: top right;
}
pre {
padding: 2px;
border: 1px solid #EEEEEE;
}
.aaux_locked {
background: gray;
color: white;
}
\ No newline at end of file
Documentation/XML/pics/EuropeanCommission.jpg

6.14 KiB

Documentation/XML/pics/VECTO-small.PNG

3.5 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment