Add new end-user devices from Base Empreinte (ADEME)
Add PEF impacts criteria from Base Empreinte (ADEME)
Add IoT device impacts from Pierson & Bol adapted by TIDE
Add min/max values depending on user input completeness
Round value based on distance between min and max
Add warnings
Improvement of the completion process from CPU name
Adding around 2000 CPUs for completion
Adding utils routers (list available data for string fields, archetypes routers, etc.)
Users can now choose the impact factors to compute
Users can now add a special message to the home page of the API
Refactor and normalize routes names
CPU die is now express in mm2 instead of cm2
Refactor the allocation process based on duration
Internal changes
Facilitating the completion process
Facilitating the process of adding new devices
Facilitating the archetype process
Externalize the impact factors in a separate file
Create a config file
CPU die completion now use cpu spec file
CPU uses die_size instead of die_size_per_core
Breaking changes
Cloud routers
Before
We add one rout per cloud provider (e.g. /v1/cloud/aws)
Now
We have only one route for all cloud providers (e.g. /v1/cloud/instance)
Each route has a parameter called provider (in the url for GET requests, in the body for POST requests).
Duration & allocation
Before
Duration was a field in the usage object called hours_use_time.
{
"usage": {
"hours_use_time": 2,
}
}
Allocation was a route parameter.
Now
Duration is now a route parameter. Allocation is no longer used
If not provided, we use the lifetime of the device as duration.
We compute usage impacts hover the duration and allocate embedded impacts on the duration hover the lifetime of the device.
We introduce the notion of use_time_ratio which is the proportion of time the device is used during the given duration. When a device is always used, the usage ratio is 1. When a device is never used, the usage ratio is 0.
"impacts": {
"gwp": {
"embedded": {
"value": 6.68,
"min": 6.68,
"max": 6.68,
"warnings": [
"End of life is not included in the calculation"
]
},
"use": "not implemented",
"unit": "kgCO2eq",
"description": "Total climate change"
},
v1.0.0
New features
Internal changes
Breaking changes
Cloud routers
Before
/v1/cloud/aws
)Now
/v1/cloud/instance
)provider
(in the url for GET requests, in the body for POST requests).Duration & allocation
Before
hours_use_time
.Now
duration
and allocate embedded impacts on theduration
hover the lifetime of the device.use_time_ratio
which is the proportion of time the device is used during the given duration. When a device is always used, the usage ratio is 1. When a device is never used, the usage ratio is 0.Impacts format
Before
or
Now
Verbose format
Before
Now
Contributors
@airloren @csauge @da-ekchajzer @samuelrince @dorev @demeringo @PierreRust @JacobValdemar
Known future requirements