package carbon

  1. Overview
  2. Docs
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 CarbonSource

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:

Low-level API Access

Sourcemodule Gb : sig ... end
Sourcemodule Fr : sig ... end
Sourcemodule Co2_signal : sig ... end

Generic Interface

Sourcemodule Intensity : sig ... end
OCaml

Innovation. Community. Security.