package carbon
OCaml library for accessing various Carbon Intensity APIs
Install
Dune Dependency
Authors
Maintainers
Sources
carbon-0.1.0.tbz
sha256=7fa704f5c5ff3bbc17d8e1cb8360e1dcb8e12fe909d5eac43a1242232560a97a
sha512=88cd08f1f12911bfc8651297111a45972e972278ae137b4bc3e28fddd02f57ced1d10b25fafc57fb760b9424cfd686d4ca48f3292ed4030838e2f66021440d8b
doc/carbon/Carbon/index.html
Module Carbon
Source
Carbon
is a library for inquiring information about the carbon intensity of energy grids around the world. It integrates various APIs to be able to do this. Some require API keys others do not.
Carbon intensity values are measured in grams of carbon dioxide equivalent per kilowatt hour. Carbon dioxide equivalent (CO2-eq) is a unit for measuring the impact of various greenhouse gases. This makes it possible to compare say methane and CO2 for their global-warming potential.
A killowatt hour is a measurement of energy use. 1kWh is the energy used by an appliance with a 1kW power rating for one hour.
So far there are two APIs available for use:
Gb
uses carbonintensity.org.uk which does not require any API key, but it only works for Great Britain.Co2_signal
uses co2signal.com which does require an API key but has many more countries available.
Low-level API Access
Generic Interface
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page