This plugin allows you to estimate the energy required to store data in the cloud, based on the amount of data and storage time.
Not Needed
duration
: Length of time the data will be stored in secondsstorage/data-stored
: Amount of data stored in GB
An array containing:
duration
: Length of time the data will be stored in secondsstorage/data-stored
: Amount of data stored in GBstorage/energy
: The energy apportioned to the stored data in kWh
Can throw errors in the following situations:
- Any of
duration
orstorage/data-stored
are not present in the input. - Any of
duration
orstorage/data-stored
are not numbers. - Any of
duration
orstorage/data-stored
are not positive.
Based on Ramboll and Resilio paper available here: Assessment of the energy footprint of digital actions and services
This particular estimate is based on Google's own storage figures, using the storage allocated per user and annual energy consumption by user. The paper notes that the amount of storage is arbitrary and the energy consumption relies on information from the company whose services it is trying to model. The figures used in the estimation are:
Unit tests available here
Example manifest available here