Comments (2)
Output json:
{
"enriched_data":
{
"configuration":
{
"cpu":
{
"core_units":
{
"input_value": 24,
"status": "used",
"used_value": 24
},
"die_size_per_core":
{
"input_value": null,
"status": "replaced",
"used_value": 0.245
},
"units": 2,
"impact":
{
"gwp": 12.0,
"pe": 15.0,
"adp": 0.06
}
}
},
"model":
{
"manufacturer": "Dell",
"name": "R740",
"type": "rack",
"year": "2020"
}
},
"impacts":
{
"impacts":
{
"adp": 0.1574874978742977,
"gwp": 987.4223516103959,
"pe": 13179.869589529004
}
}
}
from boaviztapi.
http://[host]:5000/v1/server/bottom-up?verbose=true
INPUT
{
"model":
{
"type": "rack",
"year": 2020
},
"configuration":
{
"cpu":
{
"units": 2,
"core_units": 24
},
"ram":
[
{
"units": 12,
"capacity": 32,
"manufacturer": "Samsung"
},
{
"units": 12,
"capacity": 16,
"manufacturer": "Samsung"
}
],
"disk":
[
{
"units": 1,
"type": "ssd",
"capacity": 400,
"manufacturer": "Samsung"
}
]
}
}
OUTPUT
{
"impacts": {
"gwp": 2587.0,
"pe": 33076.0,
"adp": 0.214
},
"verbose": {
"CPU-1": {
"unit": 2,
"hash": -3962482828824487674,
"core_units": {
"input_value": 24,
"used_value": 24,
"status": "UNCHANGED"
},
"die_size_per_core": {
"input_value": null,
"used_value": 0.245,
"status": "SET"
},
"impacts": {
"gwp": 43.0,
"pe": 650.0,
"adp": 0.041
}
},
"RAM-1": {
"unit": 12,
"hash": 8278795769310076923,
"capacity": {
"input_value": 32,
"used_value": 32,
"status": "UNCHANGED"
},
"density": {
"input_value": null,
"used_value": 0.625,
"status": "SET"
},
"manufacturer": {
"input_value": "Samsung",
"used_value": "Samsung",
"status": "UNCHANGED"
},
"impacts": {
"gwp": 1414.0,
"pe": 17661.0,
"adp": 0.059
}
},
"RAM-2": {
"unit": 12,
"hash": -6587936451960145089,
"capacity": {
"input_value": 16,
"used_value": 16,
"status": "UNCHANGED"
},
"density": {
"input_value": null,
"used_value": 0.625,
"status": "SET"
},
"manufacturer": {
"input_value": "Samsung",
"used_value": "Samsung",
"status": "UNCHANGED"
},
"impacts": {
"gwp": 738.0,
"pe": 9275.0,
"adp": 0.04
}
},
"SSD-1": {
"unit": 1,
"hash": 423934783906229733,
"capacity": {
"input_value": 400,
"used_value": 400,
"status": "UNCHANGED"
},
"density": {
"input_value": null,
"used_value": 53.6,
"status": "SET"
},
"manufacturer": {
"input_value": "Samsung",
"used_value": "Samsung",
"status": "UNCHANGED"
},
"impacts": {
"gwp": 23.0,
"pe": 281.0,
"adp": 0.001
}
},
"POWER_SUPPLY-1": {
"unit": 2,
"hash": -1047422884116850630,
"unit_weight": {
"input_value": null,
"used_value": 2.99,
"status": "SET"
},
"impacts": {
"gwp": 145.0,
"pe": 2105.0,
"adp": 0.05
}
},
"RACK-1": {
"unit": 1,
"hash": -6629974874962080201,
"impacts": {
"gwp": 150.0,
"pe": 2200.0,
"adp": 0.02
}
},
"MOTHERBOARD-1": {
"unit": 1,
"hash": -4622272671542880617,
"impacts": {
"gwp": 66.0,
"pe": 836.0,
"adp": 0.004
}
},
"ASSEMBLY-1": {
"unit": 1,
"hash": -2802829059627426375,
"impacts": {
"gwp": 7.0,
"pe": 69.0,
"adp": 0.0
}
}
}
}
from boaviztapi.
Related Issues (20)
- Automate documentation generation : Tutorial output (from query)
- Automate documentation generation : Impact factors (from factor.yml)
- Automate documentation generation : List of available routers (in the reference part)
- Default values for attributes
- Internal server error when requesting https://api.boavizta.org/v1/server/ with archetypes dellR740 and mac2.metal HOT 5
- No CPU core units default for lots of archetypes HOT 3
- Remove 0.491 in CPU die calculation
- GWP use impact value is "not implemented" in last version for at least desktop and laptop HOT 2
- Integrate DC (technical environment en building) footprint estimation
- Extending AWS servers lifetime in servers.csv, to match new official AWS refresh policy ?
- Missing AWS platforms / servers for several instance references
- cloud/instance with is4gen.8xlarge leads to "ZeroDivisionError: float division by zero" HOT 3
- Instances referencing non existing "platform_aws_m1" platform, leads to 500 error / HOT 1
- The impact of RAM and CPU usage is counted twice
- Chore[CI]: update github actions that rely on Node16
- Compliance with ISO 21031/GSF Software Carbon Intensity
- Update electricity impact factors
- Verbose output of CPU and RAM use impact values are inconsistent with total use impact values
- RAM coefficient value - implementation vs. HotCarbon paper
- Add a API route that returns current version of the API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boaviztapi.