UK fuel or electricity emissions
Estimates the CO₂e of fuel burned and UK grid electricity used, with UK government conversion factors.
@lainstack/uk-emissions/fuel-or-electricity · Emissions · Available on Lainstack Cloud
How to use it
Section titled “How to use it”Use UK fuel or electricity emissions to put a CO₂e figure on fuel burned, such as diesel for a depot’s vehicles, and on UK grid electricity used, such as a warehouse’s meter readings. The factors are the UK government’s (DESNZ and Defra) and UK grid electricity only; this block has no own-factor option. It writes the rows it could estimate and the rows it could not.
Good to know:
- Activities is a Table with one row per use: a label, a kind (fuel or electricity), the fuel name for fuel, a quantity, a unit (litres or kg for fuel, kWh for electricity) and an optional date. Columns the block doesn’t know are left out of its output.
- Fuel names are the publisher’s, matched without letter case, such as “LPG” or “Burning oil”. “Diesel” and “petrol” mean the average biofuel blend; write “Diesel (100% mineral diesel)” for mineral diesel.
- Litres use the per-litre factor; kilograms use the per-tonne factor divided by 1,000. A fuel in kWh isn’t supported: the publisher splits net and gross calorific value and Lainstack won’t guess.
- Upstream emissions (included by default) adds the well-to-tank emissions of the fuel, and for electricity the transmission and distribution losses too. Not included counts only direct emissions.
- Factors for date applies to rows with no date of their own, 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 published year, rows are Not estimated.
- Not estimated gives each row a reason, such as an unknown fuel or no factor for the unit.
- Source row, Data version, Data status and Source name the published rows and the publication.
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 |
|---|---|---|---|
| Activities (required) | activities |
Value | A Table with one row per use: a kind (fuel or electricity), a fuel name for fuel, a quantity, and a unit (litres or kg for fuel, kWh for electricity). |
| Factors for date | factorDate |
Text | Optional. Use the conversion factors in force on this date (YYYY-MM-DD) for rows with no date of their own. Defaults to today. |
| Upstream emissions | upstream |
One of Included, Not included |
Included adds each fuel’s well-to-tank emissions, and for electricity the losses in transmission and distribution and the fuel’s well-to-tank emissions. Excluded counts only the direct emissions. 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 |