This plugin calculates the number of people that have to leave their home after emitting this amount of carbon
units
: the amount of functional units you want to look at. Maybe the amount of requests your api get per month or year (Optional, Default: 1)
units
: the amount of functional units you want to look at. Maybe the amount of requests your api get per month or year (Optional, Default: 1)
carbon
: either the total carbon or the carbon per functional unit, in gCO2eq
displaced-people
: The number of people that have to leave their home from emitting the amount of carbon
displaced-people = ((carbon * units) / 1000000) * 0.0004
More details about the calculation can be found in the wiki
name: displacement-demo
description: example invoking displacement plugin
tags:
initialize:
plugins:
displacement:
path: 'https://github.com/hoernschen/grasp'
method: Displacement
config:
units: 1000
tree:
children:
child:
pipeline:
- displacement
inputs:
- timestamp: 2023-07-06T00:00
carbon: 5
duration: 1