Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
68 stars 23 forks source link

Adding transport phase in impacts object #72

Open da-ekchajzer opened 2 years ago

da-ekchajzer commented 2 years ago

Problem

Today, only Manufacture and Usage impacts are implemented. We could add the impacts of device transportation.

Solution

We should consider two transportation phases :

The functional unit should be kg per km.

"model":{
   "weight": 35,
    ...
},
"transport":{
   "interstate-km": 20204,
   "intrastate-km": 1000,
   "interstate-mode": "plane",
   "intrastate-mode": "truck"
}

interstate_impact = weight * interstate_km * allocation_factor(interstate_impact) intrastate_impact = weight * intrastate_km * allocation_factor(intrastate_mode)

Default values

Additional context or elements