Overview of the EU ETS Reporting Language (XETL)

Similar documents
XML. Document Type Definitions XML Schema. Database Systems and Concepts, CSCI 3030U, UOIT, Course Instructor: Jarek Szlichta

The Accreditation and Verification Regulation - Verification report

X3D Unit Specification Updates Myeong Won Lee The University of Suwon

TED schemas. Governance and latest updates

CSC503 Exam 2. Assume that the following functional dependencies beyond that of the primary key are valid:

[MS-MSL]: Mapping Specification Language File Format. Intellectual Property Rights Notice for Open Specifications Documentation

<xs:element name="record" type="recordtype" maxoccurs="unbounded" /> </xs:sequence> </xs:complextype>

Level of Assurance Authentication Context Profiles for SAML 2.0

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

QosPolicyHolder 1.0. For UPnP Version Date: March 10th, 2005

QosPolicyHolder:1 Erratum

Restricting complextypes that have mixed content

!" DTDs rely on a mechanism based on the use of. !" It is intended to specify cross references" !" Reference to a figure, chapter, section, etc.!

[MS-TSWP]: Terminal Services Workspace Provisioning Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Session 2: CORSIA MRV System: Monitoring of CO 2 Emissions. ICAO Secretariat

edmr2.0 XML Documentation Last Updated: 5/12/2010

/// Rapport. / Testdocumentatie nieuwe versie Register producten en dienstverlening (IPDC)

Brief guide for XML, XML Schema, XQuery for YAWL data perspective

Price Modeling in Standards for Electronic Product Catalogs Based on XML

UPDATES TO THE LRIT SYSTEM. Report of the Drafting Group

PTS XML STANDARD GUIDELINE

HVDC LINK DOCUMENT UML MODEL AND SCHEMA

XML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28

TS SIGNATURE VALIDATION REPORT

Introducing our First Schema

HISTORICAL ACTIVATION DOCUMENT UML MODEL AND SCHEMA

IMPLICIT AUCTION RESULT DOCUMENT UML MODEL AND SCHEMA

Messages are securely encrypted using HTTPS. HTTPS is the most commonly used secure method of exchanging data among web browsers.

XML Schema Element and Attribute Reference

Markup Languages. Lecture 4. XML Schema

XML extensible Markup Language

Modelling XML Applications (part 2)

Software Engineering Methods, XML extensible Markup Language. Tutorial Outline. An Example File: Note.xml XML 1

Last week we saw how to use the DOM parser to read an XML document. The DOM parser can also be used to create and modify nodes.

REPORTING INFORMATION DOCUMENT UML MODEL AND SCHEMA

REDISPATCH DOCUMENT UML MODEL AND SCHEMA

file://c:\michael\prog\mast\docs\tmp0000.xsd

PESC Compliant JSON Version /19/2018. A publication of the Technical Advisory Board Postsecondary Electronic Standards Council

EA Document for Recognition of Verifiers under the EU ETS Directive

Chapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch

RESERVE ALLOCATION RESULT DOCUMENT UML MODEL AND SCHEMA

[MS-TMPLDISC]: Template Discovery Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

GUIDANCE AND INTERPRETATION DOCUMENTS TO THE REQUIREMENTS FOR THE COMPETENCE OF CONFORMITY ASSESSMENT BODIES

SMKI Repository Interface Design Specification TPMAG baseline submission draft version 8 September 2015

Trustmark Framework Technical Specification

Service Modeling Language (SML) Pratul Dublish Principal Program Manager Microsoft Corporation

Performing XML Data Validation in the Global Force Management Data Initiative

XML, DTD, and XML Schema. Introduction to Databases CompSci 316 Fall 2014

Specifications for SHORT System Document Submission Service

Intellectual Property Rights Notice for Open Specifications Documentation

Schema Element Name Has Extra Content

ՕՐԻՆԱԿ. <xs:schema targetnamespace=" xmlns:tax="

[MS-SSISPARAMS-Diff]: Integration Services Project Parameter File Format. Intellectual Property Rights Notice for Open Specifications Documentation

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004

Automatic Configurator for Application Code

Intellectual Property Rights Notice for Open Specifications Documentation

IODEF Data Model Status (progress from 03) <draft-ietf-inch-iodef-03>

PLANNED RESOURCE SCHEDULE DOCUMENT UML MODEL AND SCHEMA

RESOURCE SCHEDULE CONFIRMATION DOCUMENT UML MODEL AND SCHEMA

The Accreditation and Verification Regulation - Sampling

XML. Part II DTD (cont.) and XML Schema

Fall, 2005 CIS 550. Database and Information Systems Homework 5 Solutions

ACCREDITATION: A BRIEFING FOR GOVERNMENTS AND REGULATORS

Oracle Enterprise Data Quality

2006 Martin v. Löwis. Data-centric XML. XML Schema (Part 1)

Technical requirements

Document Metadata: document technical metadata for digital preservation

AEM REPORTING FOR VERIFIERS IN ETSWAP. Climate, Resource and Research Environmental Protection Agency Ireland

SCHEDULE DOCUMENT UML MODEL AND SCHEMA

Framing how values are extracted from the data stream. Includes properties for alignment, length, and delimiters.

SCHEDULE DOCUMENT UML MODEL AND SCHEMA

ADT 2005 Lecture 7 Chapter 10: XML

TCG. TCG Infrastructure Working Group Security Qualities Schema. TCG PUBLISHED Copyright TCG 2007

[MS-OXWSMSHR]: Folder Sharing Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

BEAWebLogic. Integration. Transforming Data Using XQuery Mapper

[MS-SSDL]: Store Schema Definition Language File Format. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-OXSHRMSG]: Sharing Message Attachment Schema. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-WORDSSP]: Word Automation Services Stored Procedures Protocol Specification

Infor Enterprise Server User Guide for Triggering

Document erratum applies to QosDevice:1. List other Erratum s or Documents that this change may apply to or have associated changes with

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Complex type. This subset is enough to model the logical structure of all kinds of non-xml data.

TRANSMISSION NETWORK DOCUMENT UML MODEL AND SCHEMA

UNAVAILABILITY DOCUMENT UML MODEL AND SCHEMA

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Tool Supported Aspectual Predesign

Capability Advertisement Messages

Submission of information in the public consultation on potential candidates for substitution under the Biocidal Products Regulation

ACCREDITATION COMMISSION FOR CONFORMITY ASSESSMENT BODIES

CAPACITY DOCUMENT UML MODEL AND SCHEMA

CONVERTING CONCEPTUAL MODEL XUML TO XML SCHEMA

Test Assertions Part 2 - Test Assertion Markup Language Version 1.0

CSC503 Exam 2. (AnimalID, VisitDate, OwnerID, AnimalName, OwnerName, AnimalDOB, OwnerPhone, Diagnosis, Cost, VetID, VetName)

Documentación GT_Complemento_Exportaciones xsd Factura Electrónica en Línea

Positioning Additional Constraints

Framing how values are extracted from the data stream. Includes properties for alignment, length, and delimiters.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Certification Scheme

ACCREDITATION COMMISSION FOR CONFORMITY ASSESSMENT BODIES

Information Document Wind and Solar Power Forecasting ID # R

Transcription:

Overview of the EU ETS Reporting Language (XETL) General The EU ETS Reporting Language is an electronic ing language supporting EU ETS Monitoring, Reporting and Validation (MRV) activities such as submitting monitoring plans, ing annual emissions or verification and improvement s, both for stationary installations and aircraft operators. The Reporting Language has updated by the European Commission in 2015 with the support of a Technical Working Group consisting of emissions trading specialists from many Member States. Architecture The EU ETS Reporting Language is an XML-based language designed using version 1.1 of the XML Schema Definition (XSD) standard. The Reporting Language consists of a modular set of XML schemas that can be seen from two perspectives: the type of operator or the type of document they allow to create. The table below groups the 10 main schema files following these perspectives. Operator / Document type Monitoring plan Annual emissions Improvement Stationary installation installation_monitoring_plan.xsd installation_annual_.xsd installation_improvement_.xsd Aircraft operator aircraft_operator_monitoring_plan_ae.xsd aircraft_operator_monitoring_plan_tkm.xsd aircraft_operator_annual ae.xsd aircraft_operator_annual tkm.xsd aircraft_operator_improvement_.xsd Verification installation_verification_.xsd aircraft_operator_verification_.xsd Each of these schema file has one or several root element serving at instantiating an XLM document. They are listed in the table below. Operator / Document type Stationary installation Aircraft operator Monitoring plan monitoringplan monitoringplan Annual emissions Improvement RawData Summary improvementreport RawData Summary improvementreport Verification verificationreport verificationreport As the definition of three root elements in the annual emissions schema indicates, XETL allows the generation of annual emissions documents in several ways: 1

A document including only the final, calculated figures, called summary. A document including only the base information necessary to calculate the summary figures, called raw data. A document including summary and raw data, called. This is the document that is expected to be sent to authorities as it is a legal obligation for operators to submit a complete including both the base and calculated figures. It is worth noting that the other types of documents (monitoring plan, improvement and verification ) also include values that are the results of calculations. Unlike for annual emissions s, these values cannot stand on their own in a separate document. Therefore, an explicit root element does not exist for them and the root element for monitoring plan, improvement or verification simply includes a deriveddata child element, grouping and highlighting derived values without separating them or allowing their instantiation as a distinct document. In addition to the 10 main schema files, a set of other schema documents that provide common type definitions are also part of the XETL language. They are: types_common.xsd, types_common_annual_.xsd, types_common_improvement_.xsd, types_common_monitoring_plan.xsd types_common_verification_.xsd types_aircraft_operator.xsd types_aircraft_operator_annual_.xsd types_aircraft_operator_authorities.xsd types_aircraft_operator_monitoring_plan.xsd types_aircraft_operator_tiers.xsd types_aircraft_operator_tools.xsd types_installation.xsd types_installation_activities.xsd types_installation_crf.xsd types_installation_eprtr.xsd types_installation_tiers.xsd types_country_codes.xsd Features Data validation The EU ETS Reporting Language provides a wide range of validation features. They are described below. 2

Validation category Data type String formatting Description Data types specify the type of each data in the document: integer, string of characters, etc. E.g. the concentration in GHG of a flue gas is a percentage (that is, a value between 0 and 100) with up to 4 fractional digits. Restriction of data types are enforced by the type attribute on each element or XETL attribute. These types are either Native XML Schema types 1 ; e.g. <xs:attribute name="reference" type="xs:id" use="required"> XETL specific simple types; e.g. <xs:element name="emissionco2e" type="inst:emission"/> Where inst:emission is defined as <xs:simpletype name="emission"> <xs:restriction base="xs:decimal"> <xs:fractiondigits value="4"/> <xs:mininclusive value="0"/> XETL complex types; e.g. <xs:element name="monitoringplanreference" type="ns:monitoringplanreference" minoccurs="0"> Where ns:monitoringplanreference is defined as <xs:complextype name="monitoringplanreference"> <xs:sequence> <xs:element name="version" type="cmn:versionnumber"/> <xs:element name="deviation" type="cmn:description" minoccurs="0" maxoccurs="unbounded"/> Specific formatting can apply to some strings of characters. E.g. a permit number is constituted of the 2-character code of the Member State that issued the permit and a numerical part. Note, formatting rules can be dynamic and depend on some other data in the document. E.g. the format of VAT numbers is Member State dependent. The dynamic aspect is not part of this category. Formatting is enforced by a pattern in XML Schema. E.g. <xs:simpletype name="aircraftregistrationnumber"> <xs:restriction base="xs:string"> <xs:pattern value="[a-z0-9][a-z0-9\- ]+"> 1 The namespace alias xs is consistently used across all files to refer to what belongs to XML Schema; that is, what is in the namespace http://www.w3.org/2001/xmlschema. 3

Validation category Multiplicity Dependent mandatory/optio nal data Description Multiplicities specify the number of times an information or group of information can/must be repeated. This notably partly defines what is optional or mandatory in the document (see also dependent mandatory/optional data category below). E.g. The multiplicity of the waste catalogue number for a source stream is 0 to 1 as there is at most one. The multiplicity for the description of activities is 1 to unbounded as at least one activity must be described but there is no upper limit. Multiplicities are specified by the minoccurs and maxoccurs attributes on the elements. Note that, when minoccurs or maxoccurs is not specified it defaults to 1. E.g. <xs:element name="deviation" type="cmn:description" minoccurs="0" maxoccurs="unbounded"/> Additionally to constraints expressed by the multiplicities above whether an information or group of information is mandatory or optional (or forbidden) can depend on other data. E.g. choosing whether method A or B is applied for the calculation of emissions of PFC defines the set of (mandatory) factors that must be supplied to perform the calculation. Note, this can also apply to attached documents. E.g. evidence of competencies of laboratory must be provided if it is not ISO accredited. When such constraint exist on an element it is enforced either By defining a specific complex type that explicitly defines what information is expected; e.g. <xs:complextype name="slopepfcemission"> <xs:element name="aeduration" type="ns:pfccalculationfactor"/> <xs:element name="aefrequency" type="ns:pfccalculationfactor"/> <xs:element name="sef" type="ns:pfcdefaultablecalculationfactor"/> Or expressed with an XML Schema 1.1 assertion; e.g. for the procedure related to the method for monitoring CO 2 transfers. <xs:assert test="(monitoringmethod = 'method_b') = exists(uncertaintyanalysis)" xpathdefaultnamespace="##targetnamespace"/> Which requires the uncertainty analysis if (and only if) the monitoring method B is applied. 4

Validation category Referential integrity Enumerated values Description When information refers to some other information (defined elsewhere) the latter must effectively exist. E.g. when providing the data about calculated emissions a reference to the source stream must be given; the latter must be defined in the monitoring plan or, if applicable, in the itself. Referential integrity is enforced using the key / keyref mechanism of XML Schema. E.g. for the reference to the source streams from the emission s or data gap information; <xs:keyref name="keyrefvarioussourcestream" refer="ns:keysourcestream"> <xs:selector xpath="ns:emission ns:datagap"/> <xs:field xpath="ns:sourcestreamreference"/> Where keysourcestream is the key given to the source streams (based on their reference attribute), <xs:key name="keysourcestream"> <xs:selector xpath="ns:sourcestream"/> <xs:field xpath="@reference"/> Enumerated values constraint the values admissible for a certain data. E.g. the type of an activity must be selected among the list of Annex 1 activities. Enumerated values are defined as XML Schema simple types with restriction on the admissible values. E.g. <xs:simpletype name="ghg"> <xs:restriction base="xs:token"> <xs:enumeration value="co2"/> <xs:enumeration value="n2o"/> <xs:enumeration value="pfc"/> Assertions In addition to the above validation principles, XETL includes a series of business rules expressed as XSD 1.1 assertions. They are listed below. For each assertion one can read: Its purpose, briefly described in natural language. For instance, The conversion factor value must be supplied when tier 1 is not applied. The assertion itself, expressed using the XML/XPath syntax. For instance, (appliedtier!= '1') or exists(value). The type in the schema to which the assertion applied. For instance, ConversionFactor. The document type where the assertion exists. For instance, annual and monitoring plan. Note that executing the assertions requires a XSD 1.1 validator. To support developers who cannot rely on that version of XSD yet, an XSD 1.0 version of the XETL schemas, stripped from the assertions, is also available. 5

Assertions for installations Assertion Net Calorific Value is required when an energy based emission is used. (ef/unit = 'tco2_tj') = exists(ncv) The conversion factor value must be supplied when tier 1 is not applied. (appliedtier!= '1') or exists(value) The net calorific value value must be supplied when tier 1 is not applied. (appliedtier!= '1') or exists(value) The oxidation factor value must be supplied when tier 1 is not applied. (appliedtier!= '1') or exists(value) The PFC calculation factor value must be supplied when tier 1 is not applied. (appliedtier!= '1') or exists(value) Emission factor unit must be specified when using a default value. exists(defaultvalue) = exists(unit) Net Calorific Value unit must be specified when using a default value. exists(defaultvalue) = exists(unit) If Method B is applied, description of the procedure used for validating the result of method B with method A at least annually is required. (monitoringmethod = 'method_b') = exists(resultvalidationprocedure) If method B is applied, description of the procedure used for determining fugitive emissions is required. (monitoringmethod = 'method_b') = exists(fugitiveprocedure) If method B is applied, description of the procedure used for determining vented emissions is required. (monitoringmethod = 'method_b') = exists(ventedemissionsprocedure) If method B is applied, uncertainty analysis is required. (monitoringmethod = 'method_b') = exists(uncertaintyanalysis) If method B is applied, description of equipment used for temperature and pressure measurement is required. (monitoringmethod = 'method_b') or exists(temperatureorpressuremeasurementinstrument) CombustionCalculatedEmission (annual and monitoring plan) ConversionFactor (annual ) NetCalorificValue (annual ) OxidationFactor (annual ) PFCDefaultableCalculationFactor (annual ) EmissionFactor NetCalorificValue 6

Assertion Procedure used for determining stock piles at end of year is required for batch determination method. (activitydatadeterminationmethod = 'batch') = exists(endofyearstockpilesprocedure) The relation with the trade partner must be described if (and only if) the instrument is not under control of the operator. (instrumentsupervisor = 'trade_partner') = exists(tradepartnerrelation) Lower end of range must be lower (or equal) to upper end. lowerend <= upperend The identifier or the name of the installation must be provided (or both). identifier or name SourceStreamEmissionCalculation ActivityDataMeasurementInstru ment (common installation types) MeasurementRange (common installation types) RemoteInstallation (common installation types) Assertions for aircraft operators Assertion The number of flights must be ed for each of the 3 fourmonth period when (and only when) a simplified approach is followed. (simplifiedprocedure = true() and count(flightnumberperperiod) = 3) or (simplifiedprocedure = false() and count(flightnumberperperiod) = 0) The on-board equipment uncertainty must be provided if (and only if) on-board equipment is used to measure fuel uplifts and the quantity remaining in the tank. (fuelupliftdatasource = 'onboard_equipment') = exists(onboardequipmentuncertainty) Only low emitters can opt for a simplified procedure. lowemitter = true() Risk assessment is applicable for small emitters who do not intend to use the small emitters tool. (consumptionestimationtool/ao:standardtool = 'small_emitters_tool')!= exists(riskassessment) Consumption estimation tool either refers to a tool from the approved list or provide the name of an alternate tool. exists(standardtool)!= exists(othertoolname) ReportRawData (annual emissions ) ActivityDataCalculation (annual emission monitoring plan) SimplifiedProcedureMonitoringPl an (annual emission monitoring plan) SimplifiedProcedureMonitoringPl an (annual emission monitoring plan) ConsumptionEstimationTool (common aircraft operator types) 7

Assertion The country and Member State must be different for a nondomestic flight. not(exists(nondomesticflightendpoint)) or (nondomesticflightendpoint/country!= memberstate) A name must be provided in case of alternate fuel. type!= 'other_alternative_fuel' or name If a unique ICAO designator is not available, the identification for ATC purposes (tail numbers) of all the aircraft operated as used in box 7 of the flight plan must be provided. exists(designator)!= exists(aircraftregistrationnumber) FlightEndpoints (common aircraft operator types) Fuel (common aircraft operator types) Operator (common aircraft operator types) Common assertions Assertion For WGS84 latitude must be between -90 and +90 and longitude between -180 and +180. datum!= 'wgs84' or (coordinate[1] ge -90 and coordinate[1] le 90 and coordinate[2] ge -180 and coordinate[2] le 180) Evidence must only be provided by non EN ISO/IEC 17025 accredited laboratories. iso17025accredited = not(exists(evidence)) Coordinates (common types) Laboratory (common types) Schema namespace and versioning XML namespaces are used to reflect the organisation of the schemas and to distinguish types having the same name in different schema files. XETL namespace names are given a structure that directly reflects the architecture of the XML schema files, based on the type of operator and the type of document: with eu:europa:ec:clima:xetl:version[:operator_type[:document_type:[ao_sub_type]]] version = major version number operator_type = inst or ao document_type = mp,, verification or improvement ao_sub_type = ae or tkm, only when operator type = ao and document type = mp or. The table below lists the main namespaces. Operator / Document type Monitoring plan Stationary installation eu:europa:ec:clima:xetl:0:inst:mp Aircraft operator eu:europa:ec:clima:xetl:0:ao:mp:ae eu:europa:ec:clima:xetl:0:ao:mp:tkm 8

Annual emissions eu:europa:ec:clima:xetl:0:inst: eu:europa:ec:clima:xetl:0:ao::ae eu:europa:ec:clima:xetl:0:ao::tkm Improvement eu:europa:ec:clima:xetl:0:inst:improvement eu:europa:ec:clima:xetl:0:ao:improvement Verification eu:europa:ec:clima:xetl:0:inst:verification eu:europa:ec:clima:xetl:0:ao:verification Schema versioning is linked with the schema namespace and the major version number it includes. Non-backward compatible change When a major, non-backward compatible change will be made to a schema file, the version ID in the namespace will be incremented. A non-backward compatible change is one that is not structurally compatible with the previous version: adding elements or types, changing elements or types in non-compatible ways: e.g. adding child elements, going from optional to mandatory, changing the order of elements. Changing the namespace in such cases is a sure way to invalidate all existing documents that make use of a previous version. Backward compatible change When a minor, backward compatible change is made to a schema file the schema namespace must not change as a document valid under the new version remains valid with the new version. Typical examples of backward-compatible changes are: adding optional elements or attributes, adding enumeration values to a type, making a pattern less strict, going from mandatory to optional. A minor version numbering is provided by the schemaversion attribute to the BaseDocument element serving as the root from which all main elements are derived. When a new, backward compatible version will be created, a value will be added to the schemaversion enumeration. Software manipulating instance documents are then able to distinguish between minor versions by reading the schemaversion attribute in the document root element. Further information For further information about the EU ETS Reporting Language, please contact the European Commission's Directorate-General for Climate Action 9