Energy
Climatiq is in the process of preparing our Energy feature for General availability with a V1 release. This is the changelog & upgrade guide for the release candidate v1-preview2. See our API versioning guide for how API versioning works at Climatiq.
- Energy v1-preview2 is the second preview version of energy v1. See the reference documentation.
- It is available at the URLs
https://preview.api.climatiq.io/energy/v1-preview2/
followed byelectricity
,heat
orfuel
. - This document will now list updates that are new in v1-preview2.
Backported non-breaking feature additions
These features have been added since v1-preview1 was released, and are present in both versions.
- We have added electricity support for 17 new countries to the core dataset, bringing the total available without an IEA license to 63. An IEA license brings the number to 149.
- We now also support more flexible region selection in electricity, so in addition to a country code eg.
DE
, we also support subdivisions, eg.DE-BB
, UN/Locodes, eg.DE-BER
and ZIP codes in the US, eg.US-12345
. In each of these cases we will fallback to the best surrounding region that we have data available for. - Limited support for biogenic CO2 reporting has been added to the fuel feature, with a new field
co2_biogenic
. - We regularly update the data used by these endpoints and review and improve the methodology - these changes don't require any action to take advantage of.
API Changes (Request)
The requests you send to the API should still look very familiar.
Fuel endpoint fuel_type
normalization
We undertook a major normalization of fuel types as part of data release 16, this makes it easier to switch between units and regions and makes for better coverage. These fuel_type
s are already available and suggested by default in v1-preview1, but in v1-preview2 the fuel_type
s from before normalization are removed and stop working.
If you hardcode fuel_type
s in your application, you should test those out with the new version to see if they are working, or get the new list of fuel_type
s, see choosing a fuel_type
.
Electricity endpoint supplier name updates
A few supplier names have changed, if you hard code these in your application, you should test they still work or get the new list of supplier
s, see choosing a supplier
.
loss_factor
not allowed on grid
electricity components
For electricity components where connection_type
: grid
, we no longer allow you to provide a loss_factor
as we always use the loss factor of the region. We accepted and ignored this parameter in v1-preview1, but providing it is now an error.
API Changes (Response)
The response format has been updated to match changes which we have already applied in some other endpoints.
-
co2e_calculation_method
replacescalculation_method
, it has a new format which is more future proof and represents our interest in supporting other CO2-equivalences in the future. The oldcalculation_method
used to returnar4
,ar5
orar6
and the new valuesco2e_calculation_method
can return areipcc_ar4_gwp100
,ipcc_ar5_gwp100
,ipcc_ar6_gwp100
oripcc_mixed_gwp100
. AR5 or AR6 methods, as we didn't have a way to indicate a mixed calculation. Mostly this is a naming change, but it also introduces a new option:ipcc_mixed_gwp100
. While Climatiq attempts using a consistent method for calculations, this is not always possible.ipcc_mixed_gwp100
is returned in cases where we have had to mix calculation methods to provide an estimate. -
The deprecated
source_data
has been removed, all the data it provided can be seen in a different format insource_trail
. -
A new field
constituent_gases
gives you a breakdown of which gases contributed to the CO2e total, where that data is available from sources. This is the case for all IEA consumption estimates, and some national sources used in each of the endpoints.
Methodological changes
- Calculation method can now be mixed, enabling us to use a few more national sources which provide co2e data only using AR5 or AR6.
- The region CA-PE is no longer supported for electricity. The underlying data was removed due to data quality issues.
- Some emission factors with incorrect applicability years has been removed.