Estimate UK transport emissions
Estimates the CO₂e of freight legs with UK government conversion factors: well to wheel, by mode, for the date of movement.
@lainstack/uk-emissions/estimate-transport · Emissions · Available on Lainstack Cloud
How to use it
Section titled “How to use it”Use Estimate UK transport emissions to put a CO₂e figure on each leg. The factors are the UK government’s (DESNZ and Defra); supply Own factors for other sources. It reads a Table of legs, such as Build route’s, and writes the legs it could and could not estimate.
Good to know:
- Legs is a Table with the shared legs columns: a mode, a mass in kg and a distance in km.
- The estimate is mass in tonnes times distance in km times a well-to-wheel factor: the publisher’s freighting-goods factor plus its well-to-tank factor. Source row names the rows added; Data version, Data status and Source name the publication.
- Factors for date picks the publication in force on that date, default today. Each year’s factors start on 1 January and apply until the next year’s are added; results name the factor year used. Before the first year, legs are Not estimated.
- Road vehicle, Sea vessel and Air flight type pick the published factor for each mode, as a leg does not say what moved it. Defaults: average HGV, average container ship, and international air freight (which the publisher sets equal to long-haul; legs carry no country, so choose domestic or short-haul yourself). Ferry legs always use RoRo ferry.
- Air non-CO₂ effects (on by default) uses the factor with the publisher’s allowance for contrails and other effects. Air factors already include an 8% great-circle uplift, so give great-circle distances.
- Inland waterway has no published factor: those legs are Not estimated unless Own factors covers them.
- Own factors is an optional Table of mode, factor (kg CO₂e per tonne kilometre) and source note. It replaces the published factor for its modes and is marked “customer:own-factors”. A factor of 0 is allowed.
- Not estimated gives each leg a reason.
Show the Attribution output with results (Open Government Licence v3.0). These are estimates, not an audited footprint, with no ISO 14083 or GLEC claim.
Settings
Section titled “Settings”| Setting | Key | Type | Details |
|---|---|---|---|
| Legs (required) | legs |
Value | A Table of legs with a mode, a mass in kg and a distance in km, such as Build route’s legs. |
| Factors for date | factorDate |
Text | Optional. Use the conversion factors in force on this date (YYYY-MM-DD), such as the date the goods moved. Defaults to today. A date before the first published year leaves every leg not estimated. |
| Own factors | ownFactors |
Value | Optional. A Table with a mode and a factor in kg CO₂e per tonne kilometre. A mode listed here uses your factor instead of the published one. |
| Road vehicle | roadVehicle |
One of Average HGV, average load, Rigid HGV, average load, Articulated HGV, average load, Van up to 3.5 tonnes, diesel |
Legs carry no vehicle type, so every road leg uses this one. Default average_hgv. |
| Sea vessel | seaVessel |
One of Container ship, General cargo ship, Bulk carrier, Vehicle carrier, RoRo ferry |
Every sea leg uses the publisher’s average for this kind of ship. Default container_ship. |
| Air flight type | airFlight |
One of International (default), Domestic, to or from the UK, Short-haul, to or from the UK, Long-haul, to or from the UK |
Legs carry no country, so Lainstack cannot tell a UK domestic or short-haul flight. International is the publisher’s factor for flights to or from non-UK destinations, which it sets equal to its long-haul factor. Default international. |
| Air non-CO₂ effects | airNonCo2 |
One of Included, Not included |
Include the publisher’s allowance for the warming from contrails and other non-CO₂ effects of flying. Default included. |
Outputs
Section titled “Outputs”| Output | Path | Type |
|---|---|---|
| Estimated | estimated |
Value |
| Not estimated | notEstimated |
Value |
| Estimated rows | summary.estimatedCount |
Number |
| Not estimated rows | summary.notEstimatedCount |
Number |
| Total CO₂e (kg) | summary.totalCo2eKg |
Number |
| Data version | summary.dataVersion |
Text |
| Attribution | summary.attribution |
Text |