CARVIEW |
Select Language
HTTP/2 200
date: Wed, 15 Oct 2025 00:09:53 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"c8342c002122f42feb9089cc3c122aff"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Fs1ldmI3gd896bqZcx9LDrry3%2F6bBt5XPPvQyxuZNQJUTQ5y2owDc2NyaIilb7VEYAJyJouTg7N6tgNx8ge%2BEr2G8%2BTKRU8%2BCWzjHPNt%2B0kGh5FOU21TgsOYf1po7YkmwWghSidTDsf3DrRso3u14jZeVMAlKxdV98hKxkKUFFBYx%2BSVbjlmZqRxk%2B%2FW55dAHr5Q2Yqms30p7kQnjaxSTgXv0Ld33DnA9IpbiXBgKZBhw5DKJicb3ouWL1JGYkoVuD%2BVwC4kMNLqfcTVarKkAA%3D%3D--DQekZo%2BYM3lXBkBK--18%2BXbyr3l4icKl4466512Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.117886699.1760486992; Path=/; Domain=github.com; Expires=Thu, 15 Oct 2026 00:09:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 15 Oct 2026 00:09:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D272:FD968:1131262:14843F5:68EEE650
GitHub - JRCSTU/CO2MPAS-TA: EU's Type-Approving vehicle simulator predicting NEDC CO2 emissions from WLTP
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 13
EU's Type-Approving vehicle simulator predicting NEDC CO2 emissions from WLTP
License
JRCSTU/CO2MPAS-TA
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
.. image:: doc/_static/image/banner.png :width: 100% .. _start-info: ###################################################################### |co2mpas|: Vehicle simulator predicting NEDC |CO2| emissions from WLTP ###################################################################### :release: 4.3.5 :rel_date: 2023-11-13 15:00:00 :home: https://co2mpas.readthedocs.io/ :repository: https://github.com/JRCSTU/CO2MPAS-TA :pypi-repo: https://pypi.org/project/co2mpas/ :keywords: |CO2|, fuel-consumption, WLTP, NEDC, vehicle, automotive, EU, JRC, IET, STU, correlation, back-translation, policy, monitoring, M1, N1, simulator, engineering, scientific :mail box: <JRC-CO2DICE@ec.europa.eu> :team: .. include:: AUTHORS.rst ©️ 2015-2023 European Commission (`JRC <https://ec.europa.eu/jrc/>`_) :license: `EUPL 1.1+ <https://joinup.ec.europa.eu/software/page/eupl>`_ .. _end-info: .. _start-intro: What is |co2mpas|? ================== |co2mpas| is backward-looking longitudinal-dynamics |CO2| and fuel-consumption simulator for light-duty M1 & N1 vehicles (cars and vans), specially crafted to *estimate the CO2 emissions of vehicles undergoing NEDC* testing based on the emissions produced *WLTP testing* during :term:`type-approval`, according to the :term:`EU legislation`\s *1152/EUR/2017 and 1153/EUR/2017* (see `History`_ section, below). It is an open-source project (`EUPL 1.1+ <https://joinup.ec.europa.eu/software/page/eupl>`_) developed for Python-3.6+. It runs either as a *console command* or as a *desktop GUI application*, and it uses Excel-files or pure python structures (dictionary and lists) for its input & output data. History ------- The *European Commission* has introduced the *WLTP* as the test procedure for the type I test of the European type-approval of Light-duty vehicles as of September 2017. Its introduction has required the adaptation of |CO2| certification and monitoring procedures set by European regulations (443/2009, 510/2011, 1152/EUR/2017 and 1153/EUR/2017). European Commission’s *Joint Research Centre* (JRC) has been assigned the development of this vehicle simulator to facilitate this adaptation. The European Regulation setting the conditions for using |co2mpas| can be found in `the Comitology Register <https://ec.europa.eu/transparency/regcomitology/index.cfm?do=search.documentdetail&dos_id=0&ds_id=45835&version=2>`_ after its adoption by the *Climate Change Committee* which took place on June 23, 2016, and its 2nd vote for modifications, in April 27, 2017. .. _end-intro: .. _start-install: Installation ============ .. _start-install-dev: To install |co2mpas| use (with root privileges): .. code-block:: console $ pip install co2mpas Or download the latest git version and use (with root privileges): .. code-block:: console $ python setup.py install Install extras ^^^^^^^^^^^^^^ Some additional functionality is enabled installing the following extras: - ``cli``: enables the command line interface. - ``sync``: enables the time series synchronization tool (i.e., `syncing <https://github.com/vinci1it2000/syncing>`_ previously named ``datasync``). - ``gui``: enables the graphical user interface. - ``plot``: enables to plot the |co2mpas| model and the workflow of each run. - ``io``: enables to read/write excel files. - ``driver``: enables the driver model (currently is not available). To install co2mpas and all extras, do: .. code-block:: console $ pip install 'co2mpas[all]' .. _end-install-dev: .. _end-install: .. _start-quick: Quick Start =========== The following steps are basic commands to get familiar with |co2mpas| procedural workflow using the command line interface: - `Run`_ - `Input file`_ - `Data synchronization`_ Run --- To run |co2mpas| with some sample data, you have to: 1. Generate some demo files inside the ``./input`` folder, to get familiar with the input data (for more info check the `link <_build/co2mpas/co2mpas.cli.html#co2mpas-demo>`__):: ## Generate the demo files and open a demo file. $ co2mpas demo ./input $ start ./input/co2mpas_conventional.xlsx 2. Run |co2mpas| and inspect the results in the ``./output`` folder. The workflow is plotted on the browser (for more info check the `link <_build/co2mpas/co2mpas.cli.html#co2mpas-run>`__):: ## Run co2mpas and open the output folder. $ co2mpas run ./input/co2mpas_conventional.xlsx -O ./output -PL $ start ./output .. image:: _static/image/output_workflow.png :width: 100% :alt: Output workflow :align: center Input file ---------- To create an input file with your data, you have to: 1. Generate an empty input template file (i.e., ``vehicle.xlsx``) inside the ``./input`` folder:: ## Generate template file. $ co2mpas template ./input/vehicle.xlsx -TT input 2. Follow the instructions provided in the excel file to fill the required inputs:: ## Open the input template. $ start ./input/vehicle.xlsx .. image:: _static/image/input_template.png :width: 100% :alt: Input template :align: center Data synchronization -------------------- To synchronize the `dyno` and `OBD` data with the theoretical cycle, you have to: 1. Generate a `synchronization template` file ``wltp.xlsx``:: ## Generate template file. $ co2mpas syncing template ./to_sync/wltp.xlsx -CT wltp -WC class3b -GB automatic .. note:: With the command above, the file contains the theoretical ``WLTP`` velocity profile for an ``automatic`` vehicle of ``class3b``. For more info type ``co2mpas syncing template -h`` or click the `link <_build/co2mpas/co2mpas.cli.html#co2mpas-syncing-template>`__ 2. Fill the ``dyno`` and ``obd`` sheets with the relative data collected in the laboratory:: ## Open the input template. $ start ./to_sync/wltp.xlsx 3. Synchronize the data with the theoretical velocity profile:: $ co2mpas syncing sync ./to_sync/wltp.xlsx ./sync/wltp.sync.xlsx 4. Copy/Paste the synchronized data (``wltp.sync.xlsx``) contained in the ``synced`` sheet into the relative sheet of the input template:: ## Open the synchronized data. $ start ./sync/wltp.sync.xlsx .. _end-quick: .. _start-sub: .. |co2mpas| replace:: CO\ :sub:`2`\ MPAS .. |CO2| replace:: CO\ :sub:`2` .. _end-sub:
About
EU's Type-Approving vehicle simulator predicting NEDC CO2 emissions from WLTP
Topics
Resources
License
Contributing
Stars
Watchers
Forks
Packages 0
No packages published
You can’t perform that action at this time.