{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"🌱 How to estimate CO₂ emissions for ICE vehicles","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-how-to-estimate-co-emissions-for-ice-vehicles","__idx":0},"children":["🌱 How to estimate CO₂ emissions for ICE vehicles"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial explains how to configure the routing request to estimate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["energy consumption"]}," for Internal Combustion Engine (ICE) vehicles, and how to convert this energy into ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CO₂ emissions"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All source content below is preserved exactly as provided."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-required-fields-in-the-routing-request","__idx":1},"children":["🔧 Required fields in the routing request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You need to define a \"routingEnergyVehicleFeature\" in the routing request:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the following 4 fields of the ICE vehicle:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["dryWeight (kg)"]}," ","Note: includes 75kg of the driver’s estimated weight"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["auxConsumption (W)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["scx (m²)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["crr (kg/t)"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If necessary, you can also define the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["payload (in kg)"]},". Default value is 0."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You also need to define these 2 parameters (which reflect a driving profile):"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["maxAccel (m/s²)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["maxDecel (m/s²)"]}," ","You can use default parameters ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["1.25"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["-1.25"]}," respectively."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Finally set these other parameters to fixed values:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["engineEfficiency"]},": depends of the type of fuel used by the engine: diesel, petrol, LPG"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["petrol & LPG: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["0.25"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["diesel: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["0.3"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["regenerativeBraking"]},": false"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["batCapacity"]},": 1000 (kWh)"," ","Note: a non zero value needs to be defined but it does not affect the result."]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-co-emission-conversion-formula","__idx":2},"children":["📐 CO₂ emission conversion formula"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The estimation of CO₂ emission in kg is the value of the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["energyConsumption"]}," field in the response multiplied by ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["G / K"]},", where:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["G"]}," = the emission factor (kg CO₂ / L), depending on the fuel:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["petrol: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["2.31 kg/L"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["diesel: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["2.68 kg/L"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["LPG: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["1.66 kg/L"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(see ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["What is the Carbon Footprint of a Conventional Car? | D-Carbonize"]},")"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["K"]}," = the energy released by 1 liter of fuel (kWh/L):"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["petrol: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["9 kWh/L"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["diesel: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["10 kWh/L"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["LPG: approximately ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["7 kWh/L"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Therefore, to convert the energy consumption (in kWh) ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["E"]}," into CO₂ emissions (in kg):"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["petrol: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["2.31 / 9 = 0.256"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["diesel: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["2.68 / 10 = 0.268"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["LPG: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["1.66 / 7 = 0.237"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-example-request-for-a-diesel-car","__idx":3},"children":["📦 Example request for a diesel car"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request","__idx":4},"children":["Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"geoserver\": \"here\",\n  \"routingMode\": \"MODE_VIAS\",\n  \"outputLanguage\": \"fr\",\n  \"destinations\": [\n    {\n      \"coordinateSat\": {\n        \"lon\": 2.243,\n        \"lat\": 48.89661\n      }\n    },\n    {\n      \"coordinateSat\": {\n        \"lon\": 2.649556640625001,\n        \"lat\": 48.81703451637949\n      }\n    }\n  ],\n  \"options\": [\n    \"POLYLINE\", \"EVENT\", \"EVT_ENERGY_CONSUMPTION\"\n  ],\n  \"routingVehicleProfile\": {\n    \"transportMode\": \"CAR\",\n    \"routingEnergyVehicleFeature\": {\n      \"dryWeight\": 1000,\n      \"crr\": 0.007,\n      \"scx\": 0.7,\n      \"auxConsumption\": 400,\n      \"payload\": 150,\n      \"maxAccel\": 1.25,\n      \"maxDecel\": -1.25,\n      \"engineEfficiency\": 0.3,\n      \"regenerativeBraking\": false,\n      \"batCapacity\": 1000\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response","__idx":5},"children":["Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"\"energyConsumption\": 17.922892992408247\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"co-emission","__idx":6},"children":["CO₂ emission"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"→ CO2 emission = 17.922892992408247 * 0.268 = 4.8 kg\n"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-typical-physical-values-for-ice-vehicle-categories","__idx":7},"children":["🚗 Typical physical values for ICE vehicle categories"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here are typical values of dryWeight (kg), SCx (m²), RRC (t/t) and Auxiliary consumption (W) for the following categories of ICE vehicles (source chatGPT):"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-city-cars","__idx":8},"children":["1. City Cars"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry Weight: 800 - 1,100 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 0.60 - 0.75 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.007 - 0.009 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary Consumption: 400 - 600 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-compacts","__idx":9},"children":["2. Compacts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry Weight: 1,100 - 1,400 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 0.70 - 0.85 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.008 - 0.010 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary Consumption: 500 - 800 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-sedans","__idx":10},"children":["3. Sedans"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry Weight: 1,300 - 1,600 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 0.80 - 0.90 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.009 - 0.011 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary Consumption: 600 - 1,000 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-suvs","__idx":11},"children":["4. SUVs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry Weight: 1,500 - 2,200 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 0.85 - 1.00 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.010 - 0.012 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary Consumption: 700 - 1,200 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"5-mpvs--family-cars","__idx":12},"children":["5. MPVs / Family Cars"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry Weight: 1,500 - 2,000 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 0.85 - 1.00 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.009 - 0.011 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary Consumption: 600 - 1,100 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"6-pick-ups","__idx":13},"children":["6. Pick-ups"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry Weight: 1,800 - 2,500 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 1.00 - 1.20 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.011 - 0.013 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary Consumption: 800 - 1,500 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"7-light-commercial-vehicle-lcv","__idx":14},"children":["7. Light Commercial Vehicle (LCV)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry weight: 1,900 – 2,400 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 0.9 – 1.1 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.009 – 0.011 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary consumption: 600 – 1,000 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"8-trucks","__idx":15},"children":["8. Trucks"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"a-35-ton-truck","__idx":16},"children":["a. 3.5-ton truck"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry weight: 2,200 – 3,000 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 1.3 – 1.6 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.010 – 0.012 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary: 600 – 1,200 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"b-75-ton-truck","__idx":17},"children":["b. 7.5-ton truck"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry weight: 3,500 – 5,000 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 1.6 – 2.0 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.011 – 0.013 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary: 800 – 1,500 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"c-12-ton-truck","__idx":18},"children":["c. 12-ton truck"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry weight: 6,000 – 7,000 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 2.0 – 2.4 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.012 – 0.014 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary: 1,000 – 1,800 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"d-28-ton-truck","__idx":19},"children":["d. 28-ton truck"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry weight: 10,000 – 12,000 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 2.5 – 3.0 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.013 – 0.015 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary: 1,500 – 2,500 W"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"e-40-ton-truck","__idx":20},"children":["e. 40-ton truck"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dry weight: 14,000 – 16,500 kg"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SCx: 3.0 – 3.6 m²"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RRC: 0.014 – 0.017 t/t"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Auxiliary: 1,500 – 3,000+ W"]}]},"headings":[{"value":"🌱 How to estimate CO₂ emissions for ICE vehicles","id":"-how-to-estimate-co-emissions-for-ice-vehicles","depth":1},{"value":"🔧 Required fields in the routing request","id":"-required-fields-in-the-routing-request","depth":2},{"value":"📐 CO₂ emission conversion formula","id":"-co-emission-conversion-formula","depth":2},{"value":"📦 Example request for a diesel car","id":"-example-request-for-a-diesel-car","depth":2},{"value":"Request","id":"request","depth":3},{"value":"Response","id":"response","depth":3},{"value":"CO₂ emission","id":"co-emission","depth":3},{"value":"🚗 Typical physical values for ICE vehicle categories","id":"-typical-physical-values-for-ice-vehicle-categories","depth":2},{"value":"1. City Cars","id":"1-city-cars","depth":3},{"value":"2. Compacts","id":"2-compacts","depth":3},{"value":"3. Sedans","id":"3-sedans","depth":3},{"value":"4. SUVs","id":"4-suvs","depth":3},{"value":"5. MPVs / Family Cars","id":"5-mpvs--family-cars","depth":3},{"value":"6. Pick-ups","id":"6-pick-ups","depth":3},{"value":"7. Light Commercial Vehicle (LCV)","id":"7-light-commercial-vehicle-lcv","depth":3},{"value":"8. Trucks","id":"8-trucks","depth":3},{"value":"a. 3.5-ton truck","id":"a-35-ton-truck","depth":4},{"value":"b. 7.5-ton truck","id":"b-75-ton-truck","depth":4},{"value":"c. 12-ton truck","id":"c-12-ton-truck","depth":4},{"value":"d. 28-ton truck","id":"d-28-ton-truck","depth":4},{"value":"e. 40-ton truck","id":"e-40-ton-truck","depth":4}],"frontmatter":{"seo":{"title":"🌱 How to estimate CO₂ emissions for ICE vehicles"}},"lastModified":"2025-12-02T15:50:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/api-reference/routing/tutorial/co2_tutorial","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}