EnergyIntensity#
- class impacthpc.EnergyIntensity(value: Impacts)
Bases:
object
Environnental impact of 1 kWh of electricty. If you don’t know the exact value, you can use the
at_location()
to find the energy intensity in a country or a region.- value
the impact of 1 kWh of electricity.
- Type:
Impact
Attributes Summary
Methods Summary
at_location
(location)Find the energy intensity at the specify location.
Attributes Documentation
Methods Documentation
- static at_location(location: str)#
Find the energy intensity at the specify location.
location
should be a three letter country code as defined in ISO 3166-1 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3.- Parameters:
location (str) – three letter country code
- Returns:
an Impact instance containing the energy intensity at
location
.- Return type:
_type_
- __repr__()
Return repr(self).
- static at_location(location: str)
Find the energy intensity at the specify location.
location
should be a three letter country code as defined in ISO 3166-1 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3.- Parameters:
location (str) – three letter country code
- Returns:
an Impact instance containing the energy intensity at
location
.- Return type:
_type_
- value: Impacts = <dataclasses._MISSING_TYPE object>