├── .gitignore ├── .python-version ├── LICENSE ├── Procfile ├── README.md ├── app.py ├── assets ├── 0_styles_typography.css ├── 1_styles_layout.css ├── 2_styles_tablet.css ├── 3_styles_small_desktop.css ├── 4_styles_large_desktop.css ├── favicon.ico ├── images │ ├── View_v3_classic.png │ ├── logo_car_3.svg │ ├── logo_co2.svg │ ├── logo_plane_1.svg │ ├── logo_power_1.svg │ ├── logo_tree_1.svg │ └── screenshot_app.png ├── loaderio-1360e50f4009cc7a15a00c7087429524.txt ├── myClientsideCallbacks.js ├── script-analytics.js ├── stripes_sym2.png └── stripes_sym3.png ├── blueprints ├── form │ ├── form_blueprint.py │ └── form_layout.py ├── import_export │ ├── import_export_blueprint.py │ └── import_export_layout.py ├── methodology │ ├── methodology_blueprint.py │ └── methodology_layout.py └── metrics │ ├── metrics_blueprint.py │ ├── metrics_layout.py │ └── utils.py ├── data ├── dev │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ └── servers_offset.csv ├── latest │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ └── servers_offset.csv ├── v1.0 │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ ├── servers_PUE.csv │ └── servers_offset.csv ├── v1.1 │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ ├── servers_PUE.csv │ └── servers_offset.csv ├── v2.0 │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ └── servers_offset.csv ├── v2.1 │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ └── servers_offset.csv ├── v2.2 │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ └── servers_offset.csv ├── v3.0 │ ├── CI_aggregated.csv │ ├── TDP_cpu.csv │ ├── TDP_gpu.csv │ ├── cloudProviders_datacenters.csv │ ├── defaults_PUE.csv │ ├── localProviders_datacenters.csv │ ├── providersNamesCodes.csv │ ├── providers_hardware.csv │ ├── referenceValues.csv │ └── servers_offset.csv └── world.geo.json ├── images ├── _stripes_GLOBE---1850-2018-MO.png ├── cbsgi_logo_100dpi.png ├── icons.drawio ├── logo_car.png ├── logo_co2.png ├── logo_plane.png ├── logo_tree_1.png └── stripes_edit.psd ├── pages ├── ai.py └── home.py ├── requirements.txt └── utils ├── graphics.py ├── handle_inputs.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- 1 | /carbonIntensity/access_tokens.json 2 | /carbonIntensity/logFile.txt 3 | .idea/* 4 | *.pyc 5 | .DS_Store 6 | .env 7 | *.psd 8 | minimal_examples 9 | 10 | sandbox** -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.11 -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: newrelic-admin run-program gunicorn app:server -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Green Algorithms 2 | **www.green-algorithms.org** 3 | 4 | [![Generic badge](https://img.shields.io/badge/Version-v3.0-blue.svg)](https://shields.io/) 5 | 6 | [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) 7 | [![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/purple?icon=github)](https://github.com/Naereen/badges/) 8 | 9 | --- 10 | 11 | 12 | 13 | 14 | ## Methods and data 15 | 16 | The methodology behind the Green Algorithms project is described in our publication: 17 | https://onlinelibrary.wiley.com/doi/10.1002/advs.202100707 18 | 19 | All the data used for the calculator are in the `/data` directory above. 20 | 21 | ## Questions, issues, suggestions? Want to contribute? 22 | 23 | Start by opening an issue here, and we will try to address it quickly: 24 | https://github.com/GreenAlgorithms/green-algorithms-tool/issues 25 | 26 | You can also contact us at: green.algorithms@gmail.com 27 | 28 | ## How to cite this work 29 | > Lannelongue, L., Grealey, J., Inouye, M., 30 | > Green Algorithms: Quantifying the Carbon Footprint of Computation. 31 | > Adv. Sci. 2021, 2100707. https://doi.org/10.1002/advs.202100707 32 | 33 | ## FAQ 34 | [![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://GitHub.com/Naereen/ama) 35 | 36 | 37 | > Should I include the number of processors, number of cores, or number of threads used? 38 | 39 | For CPUs, the number of cores (CPUs usually have 4-12 cores per processor). For GPUs, the number of GPUs. 40 | If using multi-threading on CPUs (i.e. using more threads than cores), still input the number of cores, 41 | but be aware that your emissions might be underestimated. 42 | 43 | > What if my processor is not in the list? 44 | 45 | You can select "Other" and find the TDP (Thermal Design Power) value on the manufacturer's website. 46 | Plus, add a comment on [this issue](https://github.com/GreenAlgorithms/green-algorithms-tool/issues/1) so that we can add it to the list! 47 | 48 | > What if my country is not in the list? 49 | 50 | Add a comment on [this issue](https://github.com/GreenAlgorithms/green-algorithms-tool/issues/2) so that we can add it to the list! 51 | (some countries are more secretive than others about their energy mix). 52 | You can use the world average, or a close proxy, for your estimations. 53 | 54 | > Can I compare algorithms impact independantly of the location? 55 | 56 | Yes, simply use the "Energy needed" (in W) displayed next to the carbon emissions. 57 | 58 | > How do I find the usage factor of my processors? 59 | 60 | It depends on your system. For example if you're using SLURM, `seff ` will give you the "CPU Efficiency". 61 | Similar commands exist for the different systems, and if you can't find it, you can just leave the default value of 1. 62 | 63 | > How do I estimate my Multiplicative Factor? 64 | 65 | Try to estimate how many times you need to run your full analysis to get results you're happy with. 66 | It can be trials and errors, parameters optimisations, memory issues etc. 67 | 68 | > What if I found a bug in the tool? 69 | 70 | [Open an issue](https://github.com/GreenAlgorithms/green-algorithms-tool/issues) on the GitHub so that we can look at it. 71 | 72 | ## Credits 73 | 74 | The Green Algorithms project is led by [Dr Loïc Lannelongue](https://www.lannelongue-group.org) 75 | with the support of [Prof Michael Inouye](https://www.inouyelab.org/) from the University of Cambridge (UK). 76 | 77 | ### Other contributors 78 | 79 | - [Dr Jason Grealey](https://scholar.google.com/citations?user=DiAlGKAAAAAJ&hl=en) (then: Baker Heart and Diabetes Institute, Melbourne, Australia) helped to start this project. 80 | - Even Matencio ([GitHub](https://github.com/evenmatencio), [LinkedIn](www.linkedin.com/in/evenmatencio)) (then: French Department for the Environment, Paris, France) developed the v3.0 of the calculator and in particular the AI view. 81 | - The app has also been improved by [ongcp97](https://www.fiverr.com/ongcp97) 82 | 83 | 84 | ### Software and images 85 | - The app was designed using [Plotly Dash](https://plot.ly/dash/). 86 | - The background image is realised by [Ed Hawkins](https://showyourstripes.info) from the University of Reading. 87 | - The icons used are under [CC Attribution licence](https://creativecommons.org/licenses/by/4.0/) 88 | and have been designed by 89 | [Laura Reen](https://icon-icons.com/icon/weather-co2-pollution/90772), 90 | [Jeremiah](https://icon-icons.com/icon/preferences-system-power-energy/103835), 91 | [Sergei Kokota](https://icon-icons.com/icon/tree-greenery-nature/53329), 92 | [Baianat](https://icon-icons.com/icon/car/61086) and 93 | [RoundIcons](https://icon-icons.com/icon/plane-airplane/89770). 94 | . 95 | 96 | ## Licence 97 | 98 | This work is licensed under a 99 | [Creative Commons Attribution 4.0 International License][cc-by]. 100 | 101 | [![CC BY 4.0][cc-by-shield]][cc-by] 102 | 103 | [![CC BY 4.0][cc-by-image]][cc-by] 104 | 105 | [cc-by]: http://creativecommons.org/licenses/by/4.0/ 106 | [cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png 107 | [cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg 108 | 109 | -------------------------------------------------------------------------------- /assets/0_styles_typography.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-size: 50%; 3 | } 4 | 5 | body { 6 | font-size: 18px; 7 | font-size: 1.8rem; 8 | font-family: 'Raleway', serif; 9 | color: rgb(60, 60, 60); 10 | font-weight: 300; 11 | line-height: 1.3; 12 | } 13 | 14 | h1,h2,h3,h4,h5,h6 { 15 | font-family: 'Ruda', sans-serif; 16 | font-weight: 500; 17 | text-align: center; 18 | letter-spacing: -0.15rem; 19 | line-height: 1.2; 20 | } 21 | 22 | strong { 23 | font-weight: 600; 24 | } 25 | 26 | h1 { 27 | font-size: 37px; 28 | font-size: 3.7rem; 29 | font-weight: 700; 30 | margin-bottom: 9px; 31 | } 32 | 33 | h2 { 34 | font-size: 28px; 35 | font-size: 2.8rem; 36 | margin-bottom: 11px; 37 | } 38 | 39 | h3 { 40 | font-size: 20px; 41 | font-size: 2rem; 42 | margin-bottom: 10px; 43 | color: rgb(100, 100, 100); 44 | } 45 | 46 | h4 { 47 | font-size: 18px; 48 | margin-bottom: 10px; 49 | } 50 | 51 | p:not(:last-of-type) { 52 | margin-bottom: 1rem; 53 | } 54 | 55 | #website-link-button { 56 | font-size: 1.8rem; 57 | font-weight: 400; 58 | font-style: italic; 59 | font-family: 'Raleway', serif; 60 | color: rgb(100, 100, 100); 61 | line-height: 1.3; 62 | } 63 | 64 | /* 65 | ---------------------------------- HEADER ---------------------------------------- 66 | */ 67 | 68 | .header p { 69 | font-family: 'Ruda', sans-serif; 70 | font-weight: 400; 71 | font-style: italic; 72 | font-size: 21px; 73 | font-size: 2.1rem; 74 | letter-spacing: -0.02rem; 75 | margin-bottom: 0; 76 | } 77 | 78 | .change_version_text a:link, 79 | .change_version_text a:visited { 80 | color: rgb(120, 120, 120); 81 | } 82 | 83 | .change_version_text a:hover { 84 | color: rgb(80, 80, 80); 85 | } 86 | 87 | .change_version_text p { 88 | color: rgb(60, 60, 60); 89 | text-decoration: underline; 90 | font-size: 0.8em; 91 | font-style: normal; 92 | } 93 | 94 | .change_version_text p:hover { 95 | color: rgb(80, 80, 80); 96 | } 97 | 98 | /* 99 | ---------------------------------- INPUT FORM ---------------------------------------- 100 | */ 101 | 102 | form p { 103 | font-style: italic; 104 | text-align: center; 105 | margin-bottom: 20px; 106 | font-size: 1.7rem; 107 | } 108 | 109 | .form-row > label { 110 | font-weight: 400; 111 | } 112 | 113 | input, select, .Select, textarea { 114 | font-family: inherit; 115 | font-weight: inherit; 116 | color: inherit; 117 | font-size: 15px; 118 | font-size: 1.5rem; 119 | } 120 | 121 | .form-row input[type='number'], .form-row .box-fields { 122 | text-align: center; 123 | } 124 | 125 | 126 | .tab-label { 127 | font-size: 15px; 128 | margin-right: 15px; 129 | margin-left: 15px; 130 | } 131 | 132 | .mantine-Switch-label{ 133 | font-size: 1.7rem; 134 | margin-left: 6px; 135 | } 136 | 137 | .form-help-markdown { 138 | font-size: 17px; 139 | } 140 | 141 | 142 | 143 | /* 144 | ---------------------------------- Tooltip ---------------------------------------- 145 | */ 146 | 147 | .tooltip { 148 | position: relative; 149 | } 150 | 151 | .tooltip-icon { 152 | display: inline-block; 153 | /* Text content of the icon */ 154 | font-style: bold; 155 | font-size: 0.8em; 156 | text-align: center; 157 | color: rgb(100, 100, 100); 158 | /* Border of the icon */ 159 | height: 1.1em; 160 | width: 1.2em; 161 | line-height: 1.1em; 162 | border-radius: 50%; 163 | border: .5px solid rgb(100, 100, 100); 164 | /* Position of the icon */ 165 | position: relative; 166 | left: 0.3em; 167 | top: 0.05em; 168 | } 169 | 170 | .tooltip-text { 171 | font-size: .8em; 172 | visibility: hidden; 173 | width: 12em; 174 | background-color: black; 175 | color: #fff; 176 | text-align: center; 177 | border-radius: 6px; 178 | padding: 5px 0; 179 | font-style: normal; 180 | /* Position of the text */ 181 | position: absolute; 182 | right: 1em; 183 | z-index: 1; 184 | } 185 | 186 | 187 | #data_version_tooltip .tooltip-text { 188 | font-family: 'Raleway', serif; 189 | font-style: normal; 190 | font-weight: 200; 191 | } 192 | 193 | 194 | 195 | /* 196 | ---------------------------------- IMPORT-EXPORT ---------------------------------------- 197 | */ 198 | 199 | #export-result { 200 | font-size: 22px; 201 | font-size: 2.2rem; 202 | justify-content: center; 203 | align-items: center; 204 | } 205 | 206 | #export-content { 207 | vertical-align: middle; 208 | } 209 | 210 | #import-result { 211 | font-size: 22px; 212 | font-size: 2.2rem; 213 | } 214 | 215 | #log-error-subtitle { 216 | font-size: 12px ; 217 | } 218 | 219 | #log-error-content { 220 | font-size: 12px ; 221 | font-style: italic; 222 | } 223 | 224 | 225 | /* 226 | ---------------------------------- MINI-BOX ---------------------------------------- 227 | */ 228 | 229 | .caption-icons p { 230 | margin-bottom: 0; 231 | } 232 | 233 | .caption-icons p:first-of-type { 234 | font-weight: 600; 235 | font-size: 25px; 236 | font-size: 2.5rem; 237 | margin-bottom: 6px; 238 | } 239 | 240 | .caption-icons p:last-of-type { 241 | font-weight: 400; 242 | } 243 | 244 | .detailed-metric-container { 245 | font-size: 12px 246 | } 247 | 248 | .metric-per-form-value { 249 | font-weight: 600; 250 | font-size: 12px; 251 | margin-right: 6px; 252 | margin-left: 2px; 253 | } 254 | 255 | 256 | /* 257 | ---------------------------------- DESCRIPTIONS ---------------------------------------- 258 | */ 259 | 260 | .report p { 261 | margin-bottom: 1rem; 262 | } 263 | 264 | blockquote { 265 | font-style: italic; 266 | font-weight:400; 267 | } 268 | 269 | /* 270 | ---------------------------------- ABOUT US ---------------------------------------- 271 | */ 272 | 273 | .authors p:first-of-type { 274 | margin-bottom: 0.5rem; 275 | } 276 | 277 | .affiliations p { 278 | text-align: left; 279 | font-size: 14px; 280 | font-size: 1.4rem; 281 | } 282 | 283 | .affiliations p:not(:last-of-type) { 284 | margin-bottom: 0.5rem; 285 | } 286 | 287 | .affiliations p:first-of-type { 288 | margin-top: 1rem; 289 | } 290 | 291 | .affiliations p:last-of-type { 292 | margin-bottom: 1rem; 293 | } 294 | 295 | .show-stripes p:last-of-type { 296 | margin-top: 3rem 297 | } 298 | 299 | /* 300 | ---------------------------------- Footer ---------------------------------------- 301 | */ 302 | 303 | .citation-report p { 304 | font-size: 15px; 305 | font-size: 1.5rem; 306 | text-align: left; 307 | } 308 | 309 | .footnote-authorship p { 310 | font-size: 15px; 311 | font-size: 1.5rem; 312 | margin-top: 1rem; 313 | } 314 | 315 | .text-italic { 316 | font-style: italic; 317 | } 318 | 319 | 320 | 321 | 322 | -------------------------------------------------------------------------------- /assets/2_styles_tablet.css: -------------------------------------------------------------------------------- 1 | /* Tablet Styles */ 2 | 3 | @media only screen and (min-width: 550px) and (max-width: 1000px) { 4 | 5 | html { 6 | font-size: 57%; 7 | } 8 | 9 | 10 | 11 | /* 12 | ---------------------------------- NAVBAR ---------------------------------------- 13 | */ 14 | 15 | .Hr_div_header{ 16 | width: 30em; 17 | } 18 | 19 | .pages-menu { 20 | flex-direction: row; 21 | } 22 | 23 | #Ai-navlink{ 24 | text-align: left; 25 | } 26 | 27 | #Home-navlink{ 28 | text-align: right; 29 | } 30 | 31 | .navlink-label { 32 | font-size: 2.5em; 33 | } 34 | 35 | #versions_div { 36 | margin-left: auto; 37 | } 38 | 39 | #version-button { 40 | font-size: 1em; 41 | } 42 | 43 | #data_version_tooltip .tooltip-icon{ 44 | top: 0.25em; 45 | } 46 | 47 | #data_version_tooltip .tooltip-text{ 48 | font-size: 0.8em; 49 | top: 2.2em 50 | } 51 | 52 | /* 53 | ---------------------------------- INPUT FORM ---------------------------------------- 54 | */ 55 | 56 | 57 | .form-row > label { 58 | width: 70%; 59 | margin-bottom: 7; 60 | } 61 | 62 | /* The sum of the following three widths should be 100% */ 63 | .short-input label { 64 | width: 45%; 65 | margin-bottom: 0; 66 | } 67 | 68 | .form-row .tooltip { 69 | width: 5%; 70 | } 71 | 72 | .short-input .box-fields, 73 | .short-input > input[type = 'number'] { 74 | width: 50%; 75 | } 76 | 77 | 78 | /* This one is used to match the height of both the input and box fields of the repoting scope */ 79 | .reporting-row input[type='number']{ 80 | padding: 8px; 81 | } 82 | 83 | /* This one is used to cancel the effet of the .short-input related properties (defined above)*/ 84 | .reporting-row input[type='number'] , 85 | .reporting-row .box-fields{ 86 | height: 100%; 87 | width: 42%; 88 | } 89 | 90 | /* The following one is used for location and cloud computing */ 91 | .long-input .box-fields { 92 | width: 95%; 93 | } 94 | 95 | .TDP > label { 96 | box-sizing: border-box; 97 | width: 70%; 98 | padding-right: 25px; 99 | } 100 | 101 | .TDP > input[type = 'number'] { 102 | width: 25%; 103 | } 104 | 105 | .form-row .box-runtime input:first-of-type { 106 | margin-right:0; 107 | margin-bottom:0px; 108 | } 109 | 110 | .form-row input:last-of-type { 111 | margin-left:0; 112 | } 113 | 114 | .radio-row label{ 115 | width: 45%; 116 | } 117 | 118 | .radio-and-field{ 119 | width: 50% 120 | /* equivalent to the .short-input .box-fields selector */ 121 | } 122 | 123 | .radio-input { 124 | width: 50%; 125 | margin: 0; 126 | padding-left: 20px; 127 | } 128 | 129 | .radio-row input[type='number'] { 130 | width: 45%; 131 | } 132 | 133 | /* CONTINUOUS INFERENCE SCHEME */ 134 | 135 | .continuous-switcher { 136 | width: 97% 137 | } 138 | 139 | .input_data_time-section input:first-of-type { 140 | margin-right:0px; 141 | } 142 | 143 | .input_data_time-section > input[type = 'number'], 144 | .input_data_time-section .box-fields { 145 | width: 25%; 146 | } 147 | 148 | .change_version_text { 149 | margin-bottom: 10px; 150 | margin-top: 20px; 151 | } 152 | 153 | .tooltip-text { 154 | font-size: 0.8em; 155 | } 156 | 157 | /* 158 | ---------------------------------- IMPORT-EXPORT ---------------------------------- 159 | */ 160 | 161 | #import-export-buttons { 162 | display: flex; 163 | flex-direction: row; 164 | } 165 | 166 | #export-result { 167 | margin-right: 4px; 168 | width: calc((50%) - (4px)); 169 | } 170 | 171 | #import-result { 172 | margin-left: 4px; 173 | width: calc((50%) - (4px)); 174 | } 175 | 176 | #import-error-message{ 177 | width: 100%; 178 | } 179 | 180 | 181 | /* 182 | ---------------------------------- MINI-BOX ---------------------------------------- 183 | */ 184 | 185 | .mini-box { 186 | margin-right: 12px; 187 | height: 180px; 188 | } 189 | 190 | /* We target the extreme right mini-box(s) */ 191 | .mini-box:nth-of-type(2), .mini-box:nth-of-type(5) { 192 | margin-right: 0; 193 | } 194 | 195 | /* We target the top row of mini-box(s) */ 196 | .mini-box:nth-of-type(1), .mini-box:nth-of-type(2) { 197 | width: calc((50%) - (6px)); 198 | } 199 | 200 | /* We target the second row of mini-boxe(s) */ 201 | .mini-box:nth-of-type(n+3) { 202 | width: calc((33%) - (8px)); 203 | flex-direction: column; 204 | height: 240px; 205 | } 206 | 207 | /* 208 | ---------------------------------- FIRST OUTPUT ---------------------------------------- 209 | */ 210 | 211 | .one-of-two-graphs { 212 | width: calc((50%) - (10px)); 213 | } 214 | 215 | .one-of-two-graphs:first-of-type { 216 | margin-right: 20px; 217 | margin-bottom: 0; 218 | } 219 | 220 | .pie-graph { 221 | margin-top: 70px; 222 | } 223 | 224 | /* 225 | ---------------------------------- MAP AND DEFINITIONS ---------------------------------------- 226 | */ 227 | 228 | .definitions { 229 | flex-direction: row; 230 | align-items: stretch; 231 | } 232 | 233 | .definitions .container:first-of-type { 234 | margin-right: 12px; 235 | width: calc((55%) - (6px)); 236 | } 237 | 238 | .definitions .container:last-of-type { 239 | width: calc((45%) - (6px)); 240 | } 241 | 242 | /* 243 | ---------------------------------- FOOTER ---------------------------------------- 244 | */ 245 | 246 | .data-questions { 247 | flex-direction: row; 248 | align-items: stretch; 249 | } 250 | 251 | .data-questions .container:first-of-type { 252 | margin-right: 12px; 253 | width: calc((40%) - (6px)); 254 | } 255 | 256 | .data-questions .container:last-of-type { 257 | width: calc((60%) - (6px)); 258 | } 259 | 260 | .about-us { 261 | margin-right: 12px; 262 | width: calc((55%) - (6px)); 263 | } 264 | 265 | .show-stripes { 266 | width: calc((45%) - (6px)); 267 | } 268 | 269 | .citation { 270 | order: 1; 271 | } 272 | } 273 | -------------------------------------------------------------------------------- /assets/3_styles_small_desktop.css: -------------------------------------------------------------------------------- 1 | /* Small desktop Styles */ 2 | @media only screen and (min-width: 1001px) { 3 | 4 | html { 5 | font-size: 62.5%; 6 | } 7 | 8 | .fullPage { 9 | width: 95%; 10 | margin: 0 auto; 11 | } 12 | 13 | .page_content{ 14 | width: 100%; 15 | display: flex; 16 | flex-wrap: wrap; 17 | align-items: stretch; 18 | flex-direction: unset; 19 | } 20 | 21 | 22 | /* 23 | ---------------------------------- NAVBAR ---------------------------------------- 24 | */ 25 | 26 | .Hr_div_header{ 27 | width: 40em; 28 | } 29 | 30 | .pages-menu { 31 | flex-direction: row; 32 | } 33 | 34 | #Ai-navlink{ 35 | text-align: left; 36 | } 37 | 38 | #Home-navlink{ 39 | text-align: right; 40 | } 41 | 42 | .navlink-label { 43 | font-size: 2.9em; 44 | } 45 | 46 | #versions_div { 47 | margin-left: auto; 48 | } 49 | 50 | #version-button { 51 | font-size: 1.2em; 52 | } 53 | 54 | #data_version_tooltip .tooltip-text{ 55 | font-size: 0.9em; 56 | } 57 | 58 | 59 | /* 60 | ---------------------------------- INPUT FORM ---------------------------------------- 61 | */ 62 | 63 | .input-form { 64 | margin-right: 12px; 65 | width: calc((33.3%) - (6px)); 66 | } 67 | 68 | .ai-input-forms { 69 | display: flex; 70 | flex-wrap: wrap; 71 | align-items: stretch; 72 | flex-direction: row; 73 | width: 100%; 74 | } 75 | 76 | .ai-input-forms .tab-container { 77 | width: calc((50%) - (6px)); 78 | margin-right: 12px; 79 | } 80 | 81 | .ai-input-forms .tab-container:last-of-type{ 82 | margin-right: 0px; 83 | } 84 | 85 | .ai-input-forms form { 86 | width: 100%; 87 | } 88 | 89 | .form-row .box-fields, 90 | .form-row .radio-and-field, 91 | .form-row > input[type = 'number'] { 92 | width: 91%; 93 | } 94 | 95 | /* CONTINUOUS INFERENCE SCHEME */ 96 | 97 | .continuous-switcher { 98 | width: 93% 99 | } 100 | 101 | .input_data_time-section input:first-of-type { 102 | margin-right:4px; 103 | } 104 | 105 | .input_data_time-section > input[type = 'number'], 106 | .input_data_time-section .box-fields { 107 | width: 45%; 108 | } 109 | 110 | .input_data_time-section > input[type = 'number']{ 111 | padding: 7.5px; 112 | } 113 | 114 | /* REPORTING SCOPE */ 115 | 116 | /* This one is used to match the height of both the input and box fields of the repoting scope */ 117 | .reporting-row input[type='number']{ 118 | padding: 7px; 119 | } 120 | 121 | 122 | /* 123 | ---------------------------------- Tooltip ---------------------------------------- 124 | */ 125 | 126 | .form-row .tooltip { 127 | width: 4%; 128 | margin-left: -0.5em; 129 | } 130 | 131 | .tooltip-text { 132 | position: absolute; 133 | right: 0.1em 134 | } 135 | 136 | 137 | .tooltip-icon { 138 | /* Position of the icon */ 139 | position: relative; 140 | left: 0.3em; 141 | top: 0.05em; 142 | } 143 | 144 | 145 | /* 146 | ---------------------------------- IMPORT-EXPORT ---------------------------------------- 147 | */ 148 | 149 | #import-export-buttons { 150 | display: flex; 151 | flex-direction: row; 152 | } 153 | 154 | #import-result { 155 | margin-left: 6px 156 | } 157 | 158 | 159 | 160 | /* 161 | ---------------------------------- MINI-BOX ---------------------------------------- 162 | */ 163 | 164 | .caption-icons p:first-of-type { 165 | font-size: 22px; 166 | font-size: 2.2rem; 167 | } 168 | 169 | .mini-box { 170 | margin-right: 12px; 171 | height: 170px; 172 | padding-bottom: 25px; 173 | } 174 | 175 | /* We target the extreme right mini-box(s) */ 176 | .mini-box:nth-of-type(2), .mini-box:nth-of-type(5) { 177 | margin-right: 0; 178 | } 179 | 180 | /* We target the top row of mini-box(s) */ 181 | .mini-box:nth-of-type(1), .mini-box:nth-of-type(2) { 182 | width: calc((50%) - (6px)); 183 | } 184 | 185 | /* We target the second row of mini-boxe(s) */ 186 | .mini-box:nth-of-type(n+3) { 187 | width: calc((33%) - (8px)); 188 | flex-direction: column; 189 | height: 260px; 190 | } 191 | 192 | 193 | /* 194 | ---------------------------------- FIRST OUTPUT ---------------------------------------- 195 | */ 196 | 197 | .first-output { 198 | width:calc((66.6%) - (6px)); 199 | } 200 | 201 | .two-graphs-box { 202 | flex-grow: 1; 203 | } 204 | 205 | 206 | .one-of-two-graphs:last-of-type { 207 | padding-right: 80px; 208 | padding-left: 80px; 209 | /*margin-bottom: 0;*/ 210 | } 211 | 212 | 213 | /* 214 | ---------------------------------- FORMULA AND DEFINITIONS ---------------------------------------- 215 | */ 216 | 217 | .formula { 218 | margin-right: 12px; 219 | width: calc((60%) - (6px)); 220 | } 221 | 222 | .definitions { 223 | width: calc((40%) - (6px)); 224 | } 225 | 226 | .definitions .container { 227 | height: calc((50%) - (12px)); 228 | } 229 | 230 | .methodology-container { 231 | display: flex; 232 | flex-wrap: wrap; 233 | align-items: stretch; 234 | } 235 | 236 | 237 | /* 238 | ---------------------------------- REPORT and CORES COMPARISON ---------------------------------------- 239 | */ 240 | 241 | .report { 242 | order: 1; 243 | margin-right: 10px; 244 | width: calc((45%) - (6px)); 245 | } 246 | 247 | .core-comparison { 248 | width: calc((55%) - (6px)); 249 | order: 1; 250 | } 251 | 252 | /* 253 | ---------------------------------- WHAT CAN YOU DO ---------------------------------------- 254 | */ 255 | 256 | /*.to-do {*/ 257 | /* width: calc((45%) - (6px));*/ 258 | /* margin-right: 12px;*/ 259 | /* order: 1;*/ 260 | /*}*/ 261 | 262 | 263 | /* 264 | ---------------------------------- FOOTER ---------------------------------------- 265 | */ 266 | 267 | .about-us { 268 | order: 1; 269 | margin-right: 12px; 270 | width: calc((33.3%) - (8px)); 271 | } 272 | 273 | .data-questions { 274 | order: 2; 275 | margin-right: 12px; 276 | width: calc((33.3%) - (8px)); 277 | align-content: stretch; 278 | } 279 | 280 | .show-stripes { 281 | order: 2; 282 | width: calc((33.3%) - (8px)); 283 | } 284 | 285 | .citation { 286 | order: 1; 287 | } 288 | } -------------------------------------------------------------------------------- /assets/4_styles_large_desktop.css: -------------------------------------------------------------------------------- 1 | /* Large desktop Styles */ 2 | @media only screen and (min-width: 1281px) { 3 | 4 | body { 5 | background-image: url("stripes_sym2.png"); 6 | } 7 | 8 | .fullPage { 9 | width: 95%; 10 | margin: 0 auto; 11 | } 12 | 13 | .page_content{ 14 | width: 100%; 15 | display: flex; 16 | flex-wrap: wrap; 17 | align-items: stretch; 18 | flex-direction: unset; 19 | } 20 | 21 | 22 | /* 23 | ---------------------------------- INPUT FORM ---------------------------------------- 24 | */ 25 | 26 | .short-input .box-runtime { 27 | display:block; 28 | width: 50%; 29 | } 30 | 31 | .short-input .box-runtime input:first-of-type { 32 | margin-right:0; 33 | margin-bottom:2px; 34 | } 35 | 36 | .box-runtime input:last-of-type { 37 | margin-left:0; 38 | } 39 | 40 | .form-row .box-fields, 41 | .form-row .radio-and-field { 42 | width: 94% 43 | } 44 | 45 | .short-input label { 46 | width: 47%; 47 | margin-bottom: 0; 48 | } 49 | 50 | .short-input > input[type='number'], 51 | .short-input .box-fields { 52 | width: 47%; 53 | } 54 | 55 | 56 | 57 | .continuous-switcher { 58 | width: 95.5% 59 | } 60 | 61 | .input_data_time-section input:first-of-type { 62 | margin-right:0px; 63 | } 64 | 65 | .input_data_time-section > input[type = 'number'], 66 | .input_data_time-section .box-fields { 67 | width: 23.5%; 68 | } 69 | 70 | 71 | .tooltip { 72 | width: 4%; 73 | margin-left: 0em; 74 | margin-right: -1em; 75 | } 76 | 77 | #data_version_tooltip .tooltip-icon{ 78 | left: -2.8em; 79 | } 80 | 81 | 82 | /* 83 | ---------------------------------- MINI-BOX ---------------------------------------- 84 | */ 85 | 86 | .mini-box:nth-of-type(n+3) { 87 | height: 240px; 88 | } 89 | 90 | .training-metric { 91 | margin-right: 50px; 92 | } 93 | 94 | 95 | /* 96 | ---------------------------------- FIRST OUTPUT ---------------------------------------- 97 | */ 98 | 99 | .one-of-two-graphs { 100 | width: calc((50%) - (10px)); 101 | } 102 | 103 | .one-of-two-graphs:first-of-type { 104 | margin-right: 20px; 105 | margin-bottom: 0; 106 | } 107 | 108 | .one-of-two-graphs:last-of-type { 109 | padding-right: 0; 110 | padding-left: 0; 111 | /*margin-bottom: 0;*/ 112 | } 113 | 114 | .pie-graph { 115 | margin-top: 100px; 116 | } 117 | 118 | /* 119 | ---------------------------------- FOOTER ---------------------------------------- 120 | */ 121 | 122 | .data-questions .container { 123 | flex-grow:1; 124 | } 125 | 126 | } -------------------------------------------------------------------------------- /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/assets/favicon.ico -------------------------------------------------------------------------------- /assets/images/View_v3_classic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/assets/images/View_v3_classic.png -------------------------------------------------------------------------------- /assets/images/logo_car_3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 9 | 11 | 13 | 15 | 19 | 21 | 24 | 27 | 30 | 32 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /assets/images/logo_co2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/logo_power_1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 22 | 24 | image/svg+xml 25 | 27 | 28 | 29 | 30 | 31 | 33 | 56 | 63 | 67 | 73 | 79 | 80 | 84 | 90 | 96 | 97 | 101 | 105 | 106 | -------------------------------------------------------------------------------- /assets/images/logo_tree_1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/screenshot_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/assets/images/screenshot_app.png -------------------------------------------------------------------------------- /assets/loaderio-1360e50f4009cc7a15a00c7087429524.txt: -------------------------------------------------------------------------------- 1 | loaderio-1360e50f4009cc7a15a00c7087429524 -------------------------------------------------------------------------------- /assets/myClientsideCallbacks.js: -------------------------------------------------------------------------------- 1 | window.dash_clientside = Object.assign({}, window.dash_clientside, { 2 | clientside: { 3 | reset_function: function(clicks) { 4 | if (clicks > 0) { 5 | window.location.href = "https://www.green-algorithms.org"; 6 | // window.location.href = "http://127.0.0.1:8050/"; 7 | // DEBUGONLY remove that before releasing 8 | return String(clicks) 9 | } else { 10 | return 'Nope '+String(clicks) 11 | } 12 | } 13 | } 14 | }); -------------------------------------------------------------------------------- /assets/script-analytics.js: -------------------------------------------------------------------------------- 1 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 2 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 3 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 4 | })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 5 | 6 | ga('create', 'UA-161168162-1', 'auto'); 7 | ga('send', 'pageview'); -------------------------------------------------------------------------------- /assets/stripes_sym2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/assets/stripes_sym2.png -------------------------------------------------------------------------------- /assets/stripes_sym3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/assets/stripes_sym3.png -------------------------------------------------------------------------------- /blueprints/import_export/import_export_blueprint.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Implements the import-export blueprint. 3 | 4 | When a csv is uploaded, the dcc.Upload component (id=upload-data) is 5 | automatically flushed after few seconds to let the user upload the same file again. 6 | Otherwise, the callbacks with Input upload-data would not trigger because upload-data 7 | actually remained the same. 8 | ''' 9 | 10 | import pandas as pd 11 | import datetime 12 | 13 | from dash import ctx, dcc 14 | from dash_extensions.enrich import DashBlueprint, PrefixIdTransform, Output, Input, State 15 | from dash.exceptions import PreventUpdate 16 | 17 | from blueprints.import_export.import_export_layout import get_green_algo_import_export_layout 18 | 19 | 20 | def get_import_expot_blueprint( # TODO correct typo 21 | id_prefix: str, 22 | csv_flushing_delay: int = 1500, 23 | ): 24 | """ 25 | Args: 26 | id_prefix (str): id prefix automatically applied to all components. 27 | csv_flushing_delay (int, optional): time delay between csv upload and csv flushing. 28 | Given in miliseconds. Defaults to 1500. 29 | """ 30 | import_export_blueprint = DashBlueprint( 31 | transforms=[ 32 | PrefixIdTransform( 33 | prefix=id_prefix 34 | ) 35 | ] 36 | ) 37 | 38 | ##### IMPORT THE COMPONENT LAYOUT 39 | ################################# 40 | 41 | import_export_blueprint.layout = get_green_algo_import_export_layout(csv_flushing_delay) 42 | 43 | 44 | ##### DEFINE ITS CALLBACKS 45 | ########################## 46 | 47 | ################## EXPORT DATA 48 | 49 | @import_export_blueprint.callback( 50 | Output("aggregate-data-csv", "data"), 51 | Input("export-content", "data"), 52 | prevent_initial_call=True, 53 | ) 54 | def export_as_csv(aggregate_data): 55 | """ 56 | Exports the aggregate_data. 57 | TODO: modify the suffix strategy because not robust with respect to the prefix of the AI page's components 58 | """ 59 | file_suffixe = '' 60 | if ctx.triggered_id is not None and 'ai-' in ctx.triggered_id: 61 | file_suffixe = 'AI' 62 | to_export_dict = {key: [str(val)] for key, val in aggregate_data.items()} 63 | now = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S") 64 | to_export = pd.DataFrame.from_dict(to_export_dict, orient='columns') 65 | return dcc.send_data_frame(to_export.to_csv, f"GreenAlgorithms_results_{file_suffixe}_{now}.csv", index=False, sep=';') 66 | 67 | ################## IMPORT DATA 68 | 69 | @import_export_blueprint.callback( 70 | Output('import-content', 'data'), 71 | Input('upload-data', 'contents'), 72 | State('import-content', 'data'), 73 | ) 74 | def read_input(upload_content: dict, current_import_data: dict): 75 | """ 76 | Open input file and extract data from csv if possible. 77 | Does not process the content, just proceeds to raw extraction. 78 | """ 79 | # NOTE this callback fires for no reason (ctx.triggered_id is None) which happens after each regular trigger of the callback 80 | # this is also the case for most of the callbacks taking the csv upload content as input, and was already the case when using 81 | # the url instead of csv files for sharing the results 82 | # TODO understand this behaviour 83 | if ctx.triggered_id is None: 84 | raise PreventUpdate 85 | 86 | # The following case only happens when the upload-data is automatically flushed 87 | # Therefore, we want to return the data that was previously uploaded 88 | if upload_content is None: 89 | return current_import_data 90 | 91 | return upload_content 92 | 93 | @import_export_blueprint.callback( 94 | Output('upload-data', 'contents'), 95 | Input('csv-input-timer', 'n_intervals'), 96 | prevent_initial_call=True, 97 | ) 98 | def flush_input_csv_content(n): 99 | """ 100 | Flushes the input csv. 101 | This is required if we want to enable the user to load the same csv again. 102 | Otherwise, if not flushed, the csv content does not change so it does not trigger 103 | the reading of its content. 104 | """ 105 | return None 106 | 107 | @import_export_blueprint.callback( 108 | Output('csv-input-timer', 'disabled'), 109 | Input('upload-data', 'contents'), 110 | prevent_initial_call=True, 111 | ) 112 | def trigger_timer_to_flush_input_csv(input_csv): 113 | """ 114 | When a csv is dropped, triggers a timer that allows to flush this csv. 115 | If the input is none, this means that we just flushed it so we do not 116 | trigger the timer again. 117 | """ 118 | return input_csv is None 119 | 120 | return import_export_blueprint -------------------------------------------------------------------------------- /blueprints/import_export/import_export_layout.py: -------------------------------------------------------------------------------- 1 | """ Import-export layout. """ 2 | 3 | from dash import html, dcc 4 | import dash_bootstrap_components as dbc 5 | 6 | 7 | def get_green_algo_import_export_layout( 8 | csv_flushing_delay: int 9 | ): 10 | return html.Div( 11 | [ 12 | 13 | #### BACKEND DATA #### 14 | 15 | # Intermediate variable used to read the uploaded data only once 16 | # Its is then forwared to the target form(s) depending on the page 17 | dcc.Store(id='import-content'), 18 | # Intermediate variable that is updated only when the user want to export data as csv. 19 | # It is useful as it allows to run the callback only once per export, not after each form modification. 20 | dcc.Store(id='export-content'), 21 | 22 | 23 | html.Div( 24 | [ 25 | #### EXPORT DATA #### 26 | 27 | html.Div( 28 | [ 29 | html.Div( 30 | [ 31 | html.B("Share your results "), 32 | html.A(html.B('as a csv file!'), id='btn-download_csv', className='btn-download_csv'), 33 | dcc.Download(id="aggregate-data-csv"), 34 | ], 35 | ) 36 | ], 37 | className='container footer import-export', 38 | id='export-result', 39 | ), 40 | 41 | #### IMPORT DATA #### 42 | 43 | html.Div( 44 | dcc.Upload( 45 | html.Div( 46 | [ 47 | html.B("Import resuts"), 48 | html.Div( 49 | [ 50 | html.A("Drag and drop or click to select your .csv file.") 51 | ], 52 | style={'font-size': '12px', 'margin-top': '3px', 'text-decoration': 'underline'} 53 | ) 54 | ] 55 | ), 56 | id='upload-data', 57 | className='upload-data', 58 | ), 59 | className='container footer import-export import-result', 60 | id='import-result', 61 | ), 62 | ], 63 | className='import-export-buttons', 64 | ), 65 | 66 | #### ERROR MESSAGE #### 67 | 68 | dbc.Alert( 69 | [ 70 | html.B('Filling values from csv: error'), 71 | html.Div(id='log-error-subtitle'), 72 | html.Div(id='log-error-content'), 73 | ], 74 | className='container footer import-error-message', 75 | id='import-error-message', 76 | is_open=False, 77 | duration=60000, 78 | ), 79 | 80 | dcc.Interval( 81 | id='csv-input-timer', 82 | interval=csv_flushing_delay, 83 | # in milliseconds, should not be lower than 1000 84 | # otherwise the update of the upload csv content is done too soon 85 | # and there is not consistency between the state of the form and 86 | # the content of the csv 87 | disabled=True 88 | ), 89 | ], 90 | id='import-export', 91 | className='import-export-container' 92 | ) 93 | -------------------------------------------------------------------------------- /blueprints/methodology/methodology_blueprint.py: -------------------------------------------------------------------------------- 1 | """ 2 | Implements the methodology blueprint. 3 | 4 | Actually, as the methodology content is static, there is no callback to implement. 5 | The reason for this file is mostly to respect the structure of the other blueprint folders. 6 | """ 7 | 8 | from dash_extensions.enrich import DashBlueprint, PrefixIdTransform 9 | from dash import dcc 10 | 11 | from blueprints.methodology.methodology_layout import get_green_algo_methodology_layout 12 | 13 | 14 | def get_methodology_blueprint( 15 | id_prefix: str, 16 | additional_formula_content: dcc.Markdown = dcc.Markdown() 17 | ): 18 | 19 | methodo_blueprint = DashBlueprint( 20 | transforms=[ 21 | PrefixIdTransform( 22 | prefix=id_prefix 23 | ) 24 | ] 25 | ) 26 | 27 | ##### IMPORT THE COMPONENT LAYOUT 28 | ################################# 29 | 30 | methodo_blueprint.layout = get_green_algo_methodology_layout(additional_formula_content) 31 | 32 | return methodo_blueprint -------------------------------------------------------------------------------- /blueprints/metrics/metrics_blueprint.py: -------------------------------------------------------------------------------- 1 | from types import SimpleNamespace 2 | from dash_extensions.enrich import DashBlueprint, PrefixIdTransform, Output, Input, State 3 | from dash import html 4 | 5 | from utils.utils import custom_prefix_escape 6 | from blueprints.metrics.metrics_layout import get_green_algo_metrics_layout 7 | import blueprints.metrics.utils as utils 8 | 9 | 10 | def get_metrics_blueprint( 11 | id_prefix: str, 12 | energy_needed_details: html.Div = html.Div(style={"display": "none"}), 13 | carbon_footprint_details: html.Div = html.Div(style={"display": "none"}), 14 | ): 15 | 16 | results_blueprint = DashBlueprint( 17 | transforms=[ 18 | PrefixIdTransform( 19 | prefix=id_prefix, 20 | escape=custom_prefix_escape 21 | ) 22 | ] 23 | 24 | ) 25 | 26 | ##### IMPORT THE COMPONENT LAYOUT 27 | ################################# 28 | 29 | results_blueprint.layout = get_green_algo_metrics_layout( 30 | carbon_footprint_details, 31 | energy_needed_details 32 | ) 33 | 34 | 35 | ##### DEFINE ITS CALLBACKS 36 | ########################## 37 | 38 | @results_blueprint.callback( 39 | [ 40 | Output("carbonEmissions_text", "children"), 41 | Output("energy_text", "children"), 42 | Output("treeMonths_text", "children"), 43 | Output("driving_text", "children"), 44 | Output("flying_text", "children"), 45 | Output("flying_label", "children"), 46 | ], 47 | [ 48 | Input(f'base_results', 'data'), 49 | ], 50 | State('versioned_data', 'data'), 51 | ) 52 | def update_results_and_texts(results_dict, versioned_data): 53 | # Retrieve base results 54 | energy_needed = results_dict['energy_needed'] # in kWh 55 | text_energy = utils.format_energy_text(energy_needed) 56 | carbon_emissions = results_dict['carbonEmissions'] # in g CO2e 57 | text_CE = utils.format_CE_text(carbon_emissions) 58 | # Compute corresponding metrics 59 | if versioned_data is not None: 60 | versioned_data = SimpleNamespace(**versioned_data) 61 | text_ty = utils.write_tree_months_equivalent(carbon_emissions, versioned_data.refValues_dict) 62 | text_car = utils.write_driving_equivalent(carbon_emissions, versioned_data.refValues_dict) 63 | text_trip_proportion, flying_text = utils.write_plane_trip_equivalent(carbon_emissions, versioned_data.refValues_dict) 64 | else: 65 | text_ty, text_car, text_trip_proportion, flying_text = '', '', '', '' 66 | return text_CE, text_energy, text_ty, text_car, text_trip_proportion, flying_text 67 | 68 | return results_blueprint 69 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /blueprints/metrics/metrics_layout.py: -------------------------------------------------------------------------------- 1 | """ 2 | This script contains: 3 | - the layout of the metrics and "equivalents" (tree absorption, km driving and plane trip) section 4 | - the layout of the textual content that gives training and inference results 5 | 6 | It is important to note that the electricity consumption and carbon emissions sections 7 | have a different structure than the three "equivalents" sections. 8 | This is because the first also contain the training and inference results. 9 | The latter only display the total value. 10 | """ 11 | 12 | import os 13 | 14 | from dash import html, dcc 15 | from utils.graphics import loading_wrapper 16 | 17 | image_dir = os.path.join('assets/images') 18 | 19 | ################################################### 20 | # METRICS MODULE LAYOUT 21 | 22 | 23 | def get_green_algo_metrics_layout( 24 | carbon_footprint_details: html.Div, 25 | energy_needed_details: html.Div, 26 | ): 27 | return html.Div( 28 | [ 29 | #### BACKEND DATA #### 30 | 31 | dcc.Store(id='base_results'), 32 | 33 | #### CARBON EMISSIONS #### 34 | 35 | html.Div( 36 | [ 37 | html.Div( 38 | [ 39 | 40 | html.Img( 41 | src=os.path.join(image_dir, 'logo_co2.svg'), 42 | id="logo_co2", 43 | className="style-icon", 44 | style={ 45 | 'margin-top': '-7px', 46 | 'margin-bottom': '7px' 47 | }, 48 | ), 49 | 50 | html.Div( 51 | [ 52 | loading_wrapper(html.Div( 53 | id="carbonEmissions_text", 54 | )), 55 | 56 | html.P( 57 | "Carbon footprint", 58 | ) 59 | ], 60 | className='caption-icons' 61 | ), 62 | ], 63 | className='mini-box-main-content' 64 | 65 | ), 66 | 67 | carbon_footprint_details, 68 | ], 69 | className="container mini-box" 70 | ), 71 | 72 | #### ELECTRICITY CONSUMPTION #### 73 | 74 | html.Div( 75 | [ 76 | html.Div( 77 | [ 78 | html.Img( 79 | src=os.path.join(image_dir, 'logo_power_1.svg'), 80 | id="logo_power", 81 | className="style-icon", 82 | style={ 83 | 'margin': '0px', 84 | 'padding': '15px' 85 | }, 86 | ), 87 | 88 | html.Div( 89 | [ 90 | loading_wrapper(html.Div( 91 | id="energy_text", 92 | )), 93 | 94 | html.P( 95 | "Energy needed", 96 | ) 97 | ], 98 | className='caption-icons' 99 | ), 100 | ], 101 | className='mini-box-main-content' 102 | ), 103 | 104 | energy_needed_details, 105 | ], 106 | className="container mini-box" 107 | ), 108 | 109 | #### TREE ABSOPRTION EQUIVALENT #### 110 | 111 | html.Div( 112 | [ 113 | html.Img( 114 | src=os.path.join(image_dir, 'logo_tree_1.svg'), 115 | id="logo_tree", 116 | className="style-icon", 117 | style={ 118 | 'padding': '15px' 119 | }, 120 | ), 121 | 122 | html.Div( 123 | [ 124 | loading_wrapper(html.Div( 125 | id="treeMonths_text", 126 | )), 127 | 128 | html.P( 129 | "Carbon sequestration" 130 | ) 131 | ], 132 | className='caption-icons' 133 | ) 134 | 135 | ], 136 | className="container mini-box" 137 | ), 138 | 139 | #### CAR KILOMETERS EQUIVALENT #### 140 | 141 | html.Div( 142 | [ 143 | html.Img( 144 | src=os.path.join(image_dir, 'logo_car_3.svg'), 145 | id="logo_car", 146 | className="style-icon", 147 | style={ 148 | 'padding': '13px' 149 | }, 150 | ), 151 | 152 | html.Div( 153 | [ 154 | loading_wrapper(html.Div( 155 | id="driving_text", 156 | )), 157 | 158 | html.P( 159 | "in a passenger car", 160 | ) 161 | ], 162 | className='caption-icons' 163 | ) 164 | ], 165 | className="container mini-box" 166 | ), 167 | 168 | #### PLANE TRIPS EQUIVALENT #### 169 | 170 | html.Div( 171 | [ 172 | html.Img( 173 | src=os.path.join(image_dir, 'logo_plane_1.svg'), 174 | id="logo_plane", 175 | className="style-icon", 176 | style={ 177 | 'padding': '4px' 178 | }, 179 | ), 180 | 181 | html.Div( 182 | [ 183 | loading_wrapper(html.Div( 184 | id="flying_text", 185 | )), 186 | 187 | html.P( 188 | id="flying_label", 189 | ), 190 | ], 191 | className='caption-icons' 192 | ) 193 | ], 194 | className="container mini-box" 195 | ), 196 | ], 197 | className='super-section mini-boxes' 198 | ) 199 | 200 | 201 | ################################################### 202 | # METRICS PER FORM LAYOUT 203 | 204 | def get_metric_per_form_layout(training_id, inference_id): 205 | return html.P( 206 | [ 207 | html.B('Training:'), 208 | html.B(id=training_id, className='metric-per-form-value training-metric'), 209 | html.B('Inference:', style={'padding-left': '10px'}), 210 | html.B(id=inference_id, className='metric-per-form-value'), 211 | ], 212 | className='detailed-metric-container' 213 | ) -------------------------------------------------------------------------------- /blueprints/metrics/utils.py: -------------------------------------------------------------------------------- 1 | """ 2 | Python utils intended to correctly format the texts associated with the 3 | results shown to the user. The text adapts to the result range and its unit. 4 | """ 5 | 6 | 7 | def format_energy_text(energy_needed: float): 8 | """ 9 | Adapt the value and unit of the energy based on the raw value. 10 | Args: 11 | energy_needed (float): in kWh. 12 | """ 13 | energyNeeded_unit = "kWh" 14 | if energy_needed >= 1e3: 15 | energy_needed /= 1e3 16 | energyNeeded_unit = "MWh" 17 | elif energy_needed < 1: 18 | energy_needed *= 1e3 19 | energyNeeded_unit = "Wh" 20 | if (energy_needed != 0) & ((energy_needed >= 1e3) | (energy_needed < 1)): 21 | text_energy = f"{energy_needed:,.2e} {energyNeeded_unit}" 22 | else: 23 | text_energy = f"{energy_needed:,.2f} {energyNeeded_unit}" 24 | return text_energy 25 | 26 | 27 | def format_CE_text(carbon_emissions: float): 28 | """ 29 | Adapt the value and unit of the carbon emissions based on the raw value. 30 | Args: 31 | carbon_emissions (float): in g CO2e 32 | """ 33 | carbonEmissions_unit = "g" 34 | if carbon_emissions >= 1e6: 35 | carbon_emissions /= 1e6 36 | carbonEmissions_unit = "T" 37 | elif carbon_emissions >= 1e3: 38 | carbon_emissions /= 1e3 39 | carbonEmissions_unit = "kg" 40 | elif carbon_emissions < 1: 41 | carbon_emissions *= 1e3 42 | carbonEmissions_unit = "mg" 43 | if (carbon_emissions != 0)&((carbon_emissions >= 1e3)|(carbon_emissions < 1)): 44 | text_CE = f"{carbon_emissions:,.2e} {carbonEmissions_unit}CO2e" 45 | else: 46 | text_CE = f"{carbon_emissions:,.2f} {carbonEmissions_unit}CO2e" 47 | return text_CE 48 | 49 | 50 | def write_tree_months_equivalent(carbon_emissions: float, ref_values: dict): 51 | """ 52 | Compute the tree-month equivalent and format unit along with value. 53 | Args: 54 | carbon_emissions (float): in g CO2e 55 | ref_values (dict): a versioned dictionary containing ref values for equivalents 56 | """ 57 | treeTime_value = carbon_emissions / ref_values['treeYear'] * 12 # in tree-months 58 | treeTime_unit = "tree-months" 59 | if treeTime_value >= 24: 60 | treeTime_value /= 12 61 | treeTime_unit = "tree-years" 62 | if (treeTime_value != 0) & ((treeTime_value >= 1e3) | (treeTime_value < 0.1)): 63 | text_ty = f"{treeTime_value:,.2e} {treeTime_unit}" 64 | else: 65 | text_ty = f"{treeTime_value:,.2f} {treeTime_unit}" 66 | return text_ty 67 | 68 | 69 | def write_driving_equivalent(carbon_emissions: float, ref_values: dict): 70 | """ 71 | Compute the driving equivalent and format unit along with value. 72 | Args: 73 | carbon_emissions (float): in g CO2e 74 | ref_values (dict): a versioned dictionary containing ref values for equivalents 75 | """ 76 | nkm_drivingEU = carbon_emissions / ref_values['passengerCar_EU_perkm'] # in km 77 | if (nkm_drivingEU != 0) & ((nkm_drivingEU >= 1e3) | (nkm_drivingEU < 0.1)): 78 | text_car = f"{nkm_drivingEU:,.2e} km" 79 | else: 80 | text_car = f"{nkm_drivingEU:,.2f} km" 81 | return text_car 82 | 83 | 84 | def write_plane_trip_equivalent(carbon_emissions: float, ref_values: dict): 85 | """ 86 | Pick the most appropriate plane trip and compute the proportion 87 | of it giving equivalent emissions to the input one. 88 | Args: 89 | carbon_emissions (float): in g CO2e 90 | ref_values (dict): a versioned dictionary containing ref values for equivalents 91 | """ 92 | if carbon_emissions < 0.5 * ref_values['flight_NY-SF']: 93 | trip_proportion = carbon_emissions / ref_values['flight_PAR-DUB'] 94 | flying_label = "Paris-Dublin" 95 | elif carbon_emissions < 0.5 * ref_values['flight_NYC-MEL']: 96 | trip_proportion = carbon_emissions / ref_values['flight_NY-SF'] 97 | flying_label = "NYC-San Francisco" 98 | else: 99 | trip_proportion = carbon_emissions / ref_values['flight_NYC-MEL'] 100 | flying_label = "NYC-Melbourne" 101 | if trip_proportion == 0: 102 | text_trip_proportion = "0" 103 | elif trip_proportion > 1e6: 104 | text_trip_proportion = f"{trip_proportion:,.0e}" 105 | elif trip_proportion >= 1: 106 | text_trip_proportion = f"{trip_proportion:,.1f}" 107 | elif trip_proportion >= 0.01: 108 | text_trip_proportion = f"{trip_proportion:,.0%}" 109 | elif trip_proportion >= 1e-4: 110 | text_trip_proportion = f"{trip_proportion:,.2%}" 111 | else: 112 | text_trip_proportion = f"{trip_proportion*100:,.0e} %" 113 | if (trip_proportion >= 1) | (trip_proportion == 0): 114 | flying_text = f"flights {flying_label}" 115 | else: 116 | flying_text = f"of a flight {flying_label}" 117 | return text_trip_proportion, flying_text 118 | 119 | 120 | -------------------------------------------------------------------------------- /data/dev/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | A8-7680,45,4,11.3,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 5 | AMD 7552,200,48,4.2,https://www.amd.com/system/files/documents/AMD-EPYC-7002-Series-Datasheet.pdf 6 | AMD EPYC 7251,120,8,15.0,https://www.amd.com/en/products/cpu/amd-epyc-7251 7 | AMD EPYC 7343,190,16,11.9,https://www.amd.com/en/products/cpu/amd-epyc-7343 8 | AMD EPYC 7513,200,32,6.3,https://www.amd.com/en/products/cpu/amd-epyc-7513 9 | Any,,,12.0, 10 | Athlon 3000G,35,2,17.5,https://www.techpowerup.com/cpu-specs/ 11 | Core 2 Quad Q6600,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 12 | Core i3-10100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 13 | Core i3-10300,62,4,15.5,https://www.techpowerup.com/cpu-specs/ 14 | Core i3-10320,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 15 | Core i3-10350K,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 16 | Core i3-9100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 17 | Core i3-9100F,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 18 | Core i5-10400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 19 | Core i5-10400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 20 | Core i5-10500,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 21 | Core i5-10600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 22 | Core i5-10600K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 23 | Core i5-1145G7,28,4,7.0,https://www.intel.co.uk/content/www/uk/en/products/sku/208660/intel-core-i51145g7-processor-8m-cache-up-to-4-40-ghz-with-ipu/specifications.html 24 | Core i5-3570K,77,4,19.3,https://www.techpowerup.com/cpu-specs/ 25 | Core i5-4460,84,4,21.0,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 26 | Core i5-9400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 27 | Core i5-9400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 28 | Core i5-9600KF,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 29 | Core i7-10700,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 30 | Core i7-10700K,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 31 | Core i7-4790,84,4,21.0,https://www.intel.co.uk/content/www/uk/en/products/sku/80806/intel-core-i74790-processor-8m-cache-up-to-4-00-ghz/specifications.html 32 | Core i7-4930K,130,6,21.7,https://www.techpowerup.com/cpu-specs/ 33 | Core i7-6700K,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 34 | Core i7-8700K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 35 | Core i7-9700F,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 36 | Core i7-9700K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 37 | Core i9-10900K,125,10,12.5,https://www.techpowerup.com/cpu-specs/ 38 | Core i9-10900KF,105,10,10.5,https://www.techpowerup.com/cpu-specs/ 39 | Core i9-10900XE,165,10,16.5,https://www.techpowerup.com/cpu-specs/ 40 | Core i9-10920XE,165,12,13.8,https://www.techpowerup.com/cpu-specs/ 41 | Core i9-12900K,125,16,7.8,https://ark.intel.com/content/www/us/en/ark/products/134599/intel-core-i912900k-processor-30m-cache-up-to-5-20-ghz.html 42 | Core i9-9900K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 43 | FX-6300,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 44 | FX-8350,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 45 | Ryzen 3 2200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 46 | Ryzen 3 3200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 47 | Ryzen 3 3200U,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 48 | Ryzen 5 1600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 49 | Ryzen 5 2600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 50 | Ryzen 5 3400G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 51 | Ryzen 5 3500U,15,4,3.8,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 5 3600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen 5 3600X,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen 7 2700X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 55 | Ryzen 7 3700X,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 56 | Ryzen 7 3800X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 57 | Ryzen 9 3900X,125,12,10.4,https://www.techpowerup.com/cpu-specs/ 58 | Ryzen 9 3950X,105,16,6.6,https://www.techpowerup.com/cpu-specs/ 59 | Ryzen Threadripper 2990WX,250,32,7.8,https://www.techpowerup.com/cpu-specs/ 60 | Ryzen Threadripper 3990X,280,64,4.4,https://www.techpowerup.com/cpu-specs/ 61 | Xeon E5-2660 v3,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/81706/intel-xeon-processor-e5-2660-v3-25m-cache-2-60-ghz.html 62 | Xeon E5-2665,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 63 | Xeon E5-2670,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 64 | Xeon E5-2670 v2,115,10,11.5,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 65 | Xeon E5-2680 v3,120,12,10.0,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 66 | Xeon E5-2683 v4,120,16,7.5,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 67 | Xeon E5-2690 v2,130,10,13.0,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 68 | Xeon E5-2690 v3,135,12,11.3,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 69 | Xeon E5-2695 v4,120,18,6.7,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 70 | Xeon E5-2697 v4,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 71 | Xeon E5-2699 v3,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 72 | Xeon E5-2699 v4,145,22,6.6,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 73 | Xeon E5-4610 v4,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 74 | Xeon E5-4620,95,8,11.9,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 75 | Xeon E5-4650L,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 76 | Xeon E7-8867 v3,165,16,10.3,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 77 | Xeon E7-8880 v4,150,22,6.8,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 78 | Xeon Gold 6142,150,16,9.4,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 79 | Xeon Gold 6148,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 80 | Xeon Gold 6248,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz.html 81 | Xeon Gold 6252,150,24,6.3,https://ark.intel.com/content/www/us/en/ark/products/192447/intel-xeon-gold-6252-processor-35-75m-cache-2-10-ghz.html 82 | Xeon L5640 ,60,6,10.0,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 83 | Xeon Phi 5110P,225,60,3.8,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 84 | Xeon Platinum 9282,400,56,7.1,https://www.techpowerup.com/cpu-specs/ 85 | Xeon X3430,95,4,23.8,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 86 | Xeon X5660,95,6,15.8,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html -------------------------------------------------------------------------------- /data/dev/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | NVIDIA Jetson AGX Xavier,30,,30,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 4 | NVIDIA Tesla T4,70,,70,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 5 | AMD RX480,150,,150,techpowerup.com 6 | NVIDIA GTX 1080,180,,180,techpowerup.com 7 | TPU v3,220,,220,https://cloud.google.com/tpu/docs/system-architecture-tpu-vm 8 | Any,,,200, 9 | NVIDIA RTX 2080,215,,215,techpowerup.com 10 | NVIDIA RTX 2080 Ti,250,,250,techpowerup.com 11 | NVIDIA GTX 1080 Ti,250,,250,techpowerup.com 12 | NVIDIA Titan V,250,,250,techpowerup.com 13 | NVIDIA GTX TITAN X,250,,250,techpowerup.com 14 | NVIDIA TITAN X Pascal,250,,250,techpowerup.com 15 | NVIDIA Tesla P100 PCIe,250,,250,techpowerup.com 16 | NVIDIA Tesla V100,300,,300,techpowerup.com 17 | NVIDIA A100 40GB PCIe,250,,250,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/a100-80gb-datasheet-update-nvidia-us-1521051-r2-web.pdf 18 | NVIDIA Tesla P4,75,,75,https://www.techpowerup.com/gpu-specs/tesla-p4.c2879 19 | NVIDIA Tesla K80,300,,300,https://www.techpowerup.com/gpu-specs/tesla-k80.c2616 20 | NVIDIA A100 80GB PCIe,300,,300,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/PB-10577-001_v02.pdf 21 | TPU v2,280,,280,http://arxiv.org/abs/2104.10350 22 | TPU v4,170,,170,https://cloud.google.com/tpu/docs/system-architecture-tpu-vm -------------------------------------------------------------------------------- /data/dev/cloudProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE 3 | gcp,us-west1,US-OR,,Oregon ,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 4 | gcp,us-west2,US-CA,Los Angeles,Los Angeles,https://cloud.google.com/about/locations (29/09/2020),, 5 | gcp,us-west3,US-UT,Salt Lake City,Salt Lake City,https://cloud.google.com/about/locations (29/09/2020),, 6 | gcp,us-west4,US-NV,Las Vegas,Las Vegas,https://cloud.google.com/about/locations (29/09/2020),, 7 | gcp,us-central1,US-IA,,Iowa,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 8 | gcp,us-east1,US-SC,,South Carolina,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 9 | gcp,us-east4,US-VA,North Virginia,North Virginia,https://cloud.google.com/about/locations (29/09/2020),, 10 | gcp,northamerica-northeast1,CA-QC,Montréal,Montréal,https://cloud.google.com/about/locations (29/09/2020),, 11 | gcp,southamerica-east1,BR,Sao Paulo,Sao Paulo,https://cloud.google.com/about/locations (29/09/2020),, 12 | gcp,europe-west1,BE,,Belgium,https://cloud.google.com/about/locations (29/09/2020),1.08,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 13 | gcp,europe-west2,GB,London,London,https://cloud.google.com/about/locations (29/09/2020),, 14 | gcp,europe-west3,DE,Frankfurt,Frankfurt,https://cloud.google.com/about/locations (29/09/2020),, 15 | gcp,europe-west4,NL,,Netherlands,https://cloud.google.com/about/locations (29/09/2020),, 16 | gcp,europe-west6,CH,,Zurich,https://cloud.google.com/about/locations (29/09/2020),, 17 | gcp,europe-north1,FI,,Finland,https://cloud.google.com/about/locations (29/09/2020),1.09,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 18 | gcp,asia-south1,IN,Mumbai,Mumbai,https://cloud.google.com/about/locations (29/09/2020),, 19 | gcp,asia-southeast1,SG,,Singapore,https://cloud.google.com/about/locations (29/09/2020),1.15,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 20 | gcp,asia-southeast2,ID,,Jakarta,https://cloud.google.com/about/locations (29/09/2020),, 21 | gcp,asia-east2,CN-HK,,Hong Kong,https://cloud.google.com/about/locations (29/09/2020),, 22 | gcp,asia-east1,TW,,Taiwan,https://cloud.google.com/about/locations (29/09/2020),1.13,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 23 | gcp,asia-northeast1,JP,Tokyo,Tokyo,https://cloud.google.com/about/locations (29/09/2020),, 24 | gcp,asia-northeast2,JP,Osaka,Osaka,https://cloud.google.com/about/locations (29/09/2020),, 25 | gcp,asia-northeast3,KR,Seoul,Seoul,https://cloud.google.com/about/locations (29/09/2020),, 26 | gcp,australia-southeast1,AU-NSW,,Sydney,https://cloud.google.com/about/locations (29/09/2020),, 27 | azure,South Africa North,ZA,Johannesburg,Johannesburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 28 | azure,South Africa West,ZA,Cape Town,Cape Town,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 29 | azure,East Asia,CN-HK,,Hong Kong,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 30 | azure,Southeast Asia,SG,,Singapore,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 31 | azure,Australia Central,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 32 | azure,Australia Central 2,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 33 | azure,Australia East,AU-NSW,,New South Wales,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 34 | azure,Australia Southeast,AU-VIC,,Victoria,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 35 | azure,Brazil South,BR,Sao Paulo,Sao Paulo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 36 | azure,Canada Central,CA-ON,Toronto,Toronto,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 37 | azure,Canada East,CA-QC,Quebec City,Quebec City,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 38 | azure,China East,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 39 | azure,China East 2,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 40 | azure,China North,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 41 | azure,China North 2,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 42 | azure,North Europe,IE,,Ireland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 43 | azure,West Europe,NL,,Netherlands,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 44 | azure,France Central,FR,Paris,Paris,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 45 | azure,France South,FR,Marseille,Marseille,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 46 | azure,Germany Central (Sovereign),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 47 | azure,Germany North (Public),DE,Berlin,Berlin,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 48 | azure,Germany Northeastt (Sovereign),DE,Magdeburg,Magdeburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 49 | azure,Germany West Central (Public),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 50 | azure,Central India,IN,Pune,Pune,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 51 | azure,South India,IN,Chennai,Chennai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 52 | azure,West India,IN,Mumbai,Mumbai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 53 | azure,Israel Central,IL,,Israel,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 54 | azure,Italy North,IT,Milan,Milan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 55 | azure,Japan East,JP,Tokyo,"Tokyo, Saitama",https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 56 | azure,Japan West,JP,Osaka,Osaka,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 57 | azure,Korea Central,KR,Seoul,Seoul,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 58 | azure,Korea South,KR,Busan,Busan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 59 | azure,Mexico Central,MX,Querétaro,Querétaro State,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 60 | azure,New Zealand North,NZ,Auckland,Auckland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 61 | azure,Norway East,NO,Oslo,Oslo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 62 | azure,Norway West,NO,Stavanger,Stavanger,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 63 | azure,Poland Central,PL,Warsaw,Warsaw,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 64 | azure,Qatar Central,,,Doha,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 65 | azure,Spain Central,ES,Madrid,Madrid,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 66 | azure,Switzerland North,CH,Zurich,Zurich,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 67 | azure,Switzerland West,CH,Geneva,Geneva,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 68 | azure,UAE Central,AE,Abu Dhabi,Abu Dhabi,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 69 | azure,UAE North,AE,Dubai,Dubai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 70 | azure,UK South,GB,London,London,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 71 | azure,UK West,GB,Cardiff,Cardiff,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 72 | azure,Central US,US-IA,,Iowa,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 73 | azure,East US,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 74 | azure,East US 2,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 75 | azure,North Central US,US-IL,,Illinois,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 76 | azure,South Central US,US-TX,,Texas,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 77 | azure,West Central US,US-WY,,Wyoming,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 78 | azure,West US,US-CA,,California,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 79 | azure,West US 2,US-WA,,Washington,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 80 | azure,West US 3,US-AZ,,Arizona,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, -------------------------------------------------------------------------------- /data/dev/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/dev/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/dev/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/dev/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source 3 | gcp,CPU,,Intel Xeon Scalable Proocessor (cascade lake) 4 | gcp,CPU,,Intel Xeon Scalable Proocessor (skylake) 5 | gcp,CPU,Xeon E7-8880 v4,(Best fit for Xeon E7) https://cloud.google.com/compute/docs/cpu-platforms 6 | gcp,CPU,Xeon E5-2699 v4,(Best fit for Xeon E5 v4) https://cloud.google.com/compute/docs/cpu-platforms 7 | gcp,CPU,Xeon E5-2699 v3,(Best fit for Xeon E5 v3) https://cloud.google.com/compute/docs/cpu-platforms 8 | gcp,CPU,Xeon E5-2670 v2,(Best fit for Xeon E5 v2) https://cloud.google.com/compute/docs/cpu-platforms 9 | gcp,CPU,Xeon E5-2670,(Best fit for Xeon E5) https://cloud.google.com/compute/docs/cpu-platforms 10 | gcp,CPU,AMD 7552,"Could also be 7742 or 7642, but this one is in the middle in terms of TDP per core, so best estimate https://cloud.google.com/compute/docs/cpu-platforms " 11 | gcp,GPU,NVIDIA A100 PCIe,https://cloud.google.com/compute/docs/gpus 12 | gcp,GPU,NVIDIA Tesla T4,https://cloud.google.com/compute/docs/gpus 13 | gcp,GPU,NVIDIA Tesla P100 PCIe,https://cloud.google.com/compute/docs/gpus 14 | gcp,GPU,NVIDIA Tesla V100,https://cloud.google.com/compute/docs/gpus 15 | gcp,GPU,NVIDIA Tesla P4,https://cloud.google.com/compute/docs/gpus 16 | gcp,GPU,NVIDIA Tesla K80,https://cloud.google.com/compute/docs/gpus -------------------------------------------------------------------------------- /data/dev/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | streaming_netflix_perhour,36,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix (update) 13 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 14 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/dev/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/latest/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,,,in nm,in cm2, 2 | model,TDP,n_cores,TDP_per_core,Release_year,feature_size,die_area,source 3 | A8-7680,45,4,11.3,,,,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,,,,https://www.techpowerup.com/cpu-specs/ 5 | AMD 7552,200,48,4.2,,,,https://www.amd.com/system/files/documents/AMD-EPYC-7002-Series-Datasheet.pdf 6 | AMD EPYC 7251,120,8,15.0,,,,https://www.amd.com/en/products/cpu/amd-epyc-7251 7 | AMD EPYC 7343,190,16,11.9,,,,https://www.amd.com/en/products/cpu/amd-epyc-7343 8 | AMD EPYC 7513,200,32,6.3,,,,https://www.amd.com/en/products/cpu/amd-epyc-7513 9 | AMD EPYC 7642,225,48,4.7,,,,https://www.techpowerup.com/cpu-specs/epyc-7642.c2247 10 | AMD EPYC 7763,280,64,4.4,,,,https://www.amd.com/en/products/cpu/amd-epyc-7763 11 | AMD EPYC 7773X,280,64,4.4,,,,https://www.amd.com/en/products/cpu/amd-epyc-7773x 12 | AMD EPYC 7H12,280,64,4.4,,,,https://www.amd.com/en/product/9131 13 | AMD EPYC 7V73X,280,64,4.4,,,,https://wccftech.com/amd-epyc-7v73x-cpu-with-3d-v-cache-tested-milan-x-offers-impressive-cache-latency-better-boost-clocks-versus-standard-milan/ 14 | Any,,,12.0,,,, 15 | Athlon 3000G,35,2,17.5,,,,https://www.techpowerup.com/cpu-specs/ 16 | Core 2 Quad Q6600,95,4,23.8,,,,https://www.techpowerup.com/cpu-specs/ 17 | Core i3-10100,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 18 | Core i3-10300,62,4,15.5,,,,https://www.techpowerup.com/cpu-specs/ 19 | Core i3-10320,91,4,22.8,,,,https://www.techpowerup.com/cpu-specs/ 20 | Core i3-10350K,91,4,22.8,,,,https://www.techpowerup.com/cpu-specs/ 21 | Core i3-9100,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 22 | Core i3-9100F,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 23 | Core i5-10400,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 24 | Core i5-10400F,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 25 | Core i5-10500,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 26 | Core i5-10600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 27 | Core i5-10600K,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 28 | Core i5-1145G7,28,4,7.0,,,,https://www.intel.co.uk/content/www/uk/en/products/sku/208660/intel-core-i51145g7-processor-8m-cache-up-to-4-40-ghz-with-ipu/specifications.html 29 | Core i5-3570K,77,4,19.3,,,,https://www.techpowerup.com/cpu-specs/ 30 | Core i5-4460,84,4,21.0,,,,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 31 | Core i5-9400,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 32 | Core i5-9400F,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 33 | Core i5-9600KF,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 34 | Core i7-10700,65,8,8.1,,,,https://www.techpowerup.com/cpu-specs/ 35 | Core i7-10700K,125,8,15.6,,,,https://www.techpowerup.com/cpu-specs/ 36 | Core i7-4790,84,4,21.0,,,,https://www.intel.co.uk/content/www/uk/en/products/sku/80806/intel-core-i74790-processor-8m-cache-up-to-4-00-ghz/specifications.html 37 | Core i7-4930K,130,6,21.7,,,,https://www.techpowerup.com/cpu-specs/ 38 | Core i7-6700K,95,4,23.8,,,,https://www.techpowerup.com/cpu-specs/ 39 | Core i7-8700K,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 40 | Core i7-9700F,65,8,8.1,,,,https://www.techpowerup.com/cpu-specs/ 41 | Core i7-9700K,95,8,11.9,,,,https://www.techpowerup.com/cpu-specs/ 42 | Core i9-10900K,125,10,12.5,,,,https://www.techpowerup.com/cpu-specs/ 43 | Core i9-10900KF,105,10,10.5,,,,https://www.techpowerup.com/cpu-specs/ 44 | Core i9-10900XE,165,10,16.5,,,,https://www.techpowerup.com/cpu-specs/ 45 | Core i9-10920XE,165,12,13.8,,,,https://www.techpowerup.com/cpu-specs/ 46 | Core i9-12900K,125,16,7.8,,,,https://ark.intel.com/content/www/us/en/ark/products/134599/intel-core-i912900k-processor-30m-cache-up-to-5-20-ghz.html 47 | Core i9-9900K,95,8,11.9,,,,https://www.techpowerup.com/cpu-specs/ 48 | FX-6300,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 49 | FX-8350,125,8,15.6,,,,https://www.techpowerup.com/cpu-specs/ 50 | Rasberry Pi 4,6.4,4,1.6,,,,https://raspberrypi.stackexchange.com/questions/114239/pi-4-maximum-power-consumption 51 | Ryzen 3 2200G,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 3 3200G,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen 3 3200U,15,2,7.5,,,,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen 5 1600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 55 | Ryzen 5 2600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 56 | Ryzen 5 3400G,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 57 | Ryzen 5 3500U,15,4,3.8,,,,https://www.techpowerup.com/cpu-specs/ 58 | Ryzen 5 3600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 59 | Ryzen 5 3600X,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 60 | Ryzen 7 2700X,105,8,13.1,,,,https://www.techpowerup.com/cpu-specs/ 61 | Ryzen 7 3700X,65,8,8.1,,,,https://www.techpowerup.com/cpu-specs/ 62 | Ryzen 7 3800X,105,8,13.1,,,,https://www.techpowerup.com/cpu-specs/ 63 | Ryzen 9 3900X,125,12,10.4,,,,https://www.techpowerup.com/cpu-specs/ 64 | Ryzen 9 3950X,105,16,6.6,,,,https://www.techpowerup.com/cpu-specs/ 65 | Ryzen Threadripper 2990WX,250,32,7.8,,,,https://www.techpowerup.com/cpu-specs/ 66 | Ryzen Threadripper 3990X,280,64,4.4,,,,https://www.techpowerup.com/cpu-specs/ 67 | Xeon E5-2650 v2,95,8,11.9,,,,https://www.techpowerup.com/cpu-specs/xeon-e5-2650-v2.c1661 68 | Xeon E5-2660 v3,105,10,10.5,,,,https://ark.intel.com/content/www/us/en/ark/products/81706/intel-xeon-processor-e5-2660-v3-25m-cache-2-60-ghz.html 69 | Xeon E5-2665,115,8,14.4,,,,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 70 | Xeon E5-2670,115,8,14.4,,,,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 71 | Xeon E5-2670 v2,115,10,11.5,,,,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 72 | Xeon E5-2680 v3,120,12,10.0,,,,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 73 | Xeon E5-2683 v4,120,16,7.5,,,,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 74 | Xeon E5-2690 v2,130,10,13.0,,,,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 75 | Xeon E5-2690 v3,135,12,11.3,,,,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 76 | Xeon E5-2695 v3,120,14,8.6,,,,https://www.techpowerup.com/cpu-specs/xeon-e5-2695-v3.c2894 77 | Xeon E5-2695 v4,120,18,6.7,,,,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 78 | Xeon E5-2697 v4,145,18,8.1,,,,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 79 | Xeon E5-2699 v3,145,18,8.1,,,,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 80 | Xeon E5-2699 v4,145,22,6.6,,,,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 81 | Xeon E5-4610 v4,105,10,10.5,,,,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 82 | Xeon E5-4620,95,8,11.9,,,,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 83 | Xeon E5-4650L,115,8,14.4,,,,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 84 | Xeon E7-4850 v2,105,12,8.8,,,,https://ark.intel.com/content/www/us/en/ark/products/75248/intel-xeon-processor-e7-4850-v2-24m-cache-2-30-ghz.html 85 | Xeon E7-8867 v3,165,16,10.3,,,,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 86 | Xeon E7-8880 v4,150,22,6.8,,,,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 87 | Xeon Gold 6142,150,16,9.4,,,,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 88 | Xeon Gold 6148,150,20,7.5,,,,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 89 | Xeon Gold 6248,150,20,7.5,,,,https://ark.intel.com/content/www/us/en/ark/products/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz.html 90 | Xeon Gold 6252,150,24,6.3,,,,https://ark.intel.com/content/www/us/en/ark/products/192447/intel-xeon-gold-6252-processor-35-75m-cache-2-10-ghz.html 91 | Xeon L5640 ,60,6,10.0,,,,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 92 | Xeon Phi 5110P,225,60,3.8,,,,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 93 | Xeon Platinum 8260,165,24,6.9,,,,https://www.intel.com/content/www/us/en/products/sku/192474/intel-xeon-platinum-8260-processor-35-75m-cache-2-40-ghz/specifications.html 94 | Xeon Platinum 8268,205,24,8.5,,,,https://www.intel.com/content/www/us/en/products/sku/192481/intel-xeon-platinum-8268-processor-35-75m-cache-2-90-ghz/specifications.html 95 | Xeon Platinum 9282,400,56,7.1,,,,https://www.techpowerup.com/cpu-specs/ 96 | Xeon X3430,95,4,23.8,,,,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 97 | Xeon X5660,95,6,15.8,,,,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html -------------------------------------------------------------------------------- /data/latest/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,,,in nm,in cm2,in GB, 2 | model,TDP,n_cores,TDP_per_core,Release_year,feature_size,die_area,memory,source 3 | AMD RX480,150,,150,,,,,techpowerup.com 4 | Any,,,200,,,,, 5 | NVIDIA A100 40GB PCIe,250,,250,,,,,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/a100-80gb-datasheet-update-nvidia-us-1521051-r2-web.pdf 6 | NVIDIA A100 80GB PCIe,300,,300,,,,,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/PB-10577-001_v02.pdf 7 | NVIDIA GTX 1080,180,,180,,,,,techpowerup.com 8 | NVIDIA GTX 1080 Ti,250,,250,,,,,techpowerup.com 9 | NVIDIA GTX TITAN X,250,,250,,,,,techpowerup.com 10 | NVIDIA Jetson AGX Xavier,30,,30,,,,,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 11 | NVIDIA RTX 2080,215,,215,,,,,techpowerup.com 12 | NVIDIA RTX 2080 Ti,250,,250,,,,,techpowerup.com 13 | NVIDIA Tesla K80,300,,300,,,,,https://www.techpowerup.com/gpu-specs/tesla-k80.c2616 14 | NVIDIA Tesla P100,250,,250,,,,,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/tesla-p100/pdf/nvidia-tesla-p100-PCIe-datasheet.pdf 15 | NVIDIA Tesla P100 PCIe,250,,250,,,,,techpowerup.com 16 | NVIDIA Tesla P4,75,,75,,,,,https://www.techpowerup.com/gpu-specs/tesla-p4.c2879 17 | NVIDIA Tesla T4,70,,70,,,,,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 18 | NVIDIA Tesla V100,300,,300,,,,,techpowerup.com 19 | NVIDIA Tesla V100S,250,,250,,,,,https://technical.city/en/video/Tesla-V100S-PCIe-32-GB 20 | NVIDIA Titan V,250,,250,,,,,techpowerup.com 21 | NVIDIA TITAN X Pascal,250,,250,,,,,techpowerup.com 22 | TPU v2,280,,280,,,,,http://arxiv.org/abs/2104.10350 23 | TPU v3,220,,220,,,,,https://cloud.google.com/tpu/docs/v3 24 | TPU v4,170,,170,,,,,https://cloud.google.com/tpu/docs/system-architecture-tpu-vm -------------------------------------------------------------------------------- /data/latest/cloudProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE 3 | gcp,us-west1,US-OR,,Oregon ,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 4 | gcp,us-west2,US-CA,Los Angeles,Los Angeles,https://cloud.google.com/about/locations (29/09/2020),, 5 | gcp,us-west3,US-UT,Salt Lake City,Salt Lake City,https://cloud.google.com/about/locations (29/09/2020),, 6 | gcp,us-west4,US-NV,Las Vegas,Las Vegas,https://cloud.google.com/about/locations (29/09/2020),, 7 | gcp,us-central1,US-IA,,Iowa,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 8 | gcp,us-east1,US-SC,,South Carolina,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 9 | gcp,us-east4,US-VA,North Virginia,North Virginia,https://cloud.google.com/about/locations (29/09/2020),, 10 | gcp,northamerica-northeast1,CA-QC,Montréal,Montréal,https://cloud.google.com/about/locations (29/09/2020),, 11 | gcp,southamerica-east1,BR,Sao Paulo,Sao Paulo,https://cloud.google.com/about/locations (29/09/2020),, 12 | gcp,europe-west1,BE,,Belgium,https://cloud.google.com/about/locations (29/09/2020),1.08,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 13 | gcp,europe-west2,GB,London,London,https://cloud.google.com/about/locations (29/09/2020),, 14 | gcp,europe-west3,DE,Frankfurt,Frankfurt,https://cloud.google.com/about/locations (29/09/2020),, 15 | gcp,europe-west4,NL,,Netherlands,https://cloud.google.com/about/locations (29/09/2020),, 16 | gcp,europe-west6,CH,,Zurich,https://cloud.google.com/about/locations (29/09/2020),, 17 | gcp,europe-north1,FI,,Finland,https://cloud.google.com/about/locations (29/09/2020),1.09,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 18 | gcp,asia-south1,IN,Mumbai,Mumbai,https://cloud.google.com/about/locations (29/09/2020),, 19 | gcp,asia-southeast1,SG,,Singapore,https://cloud.google.com/about/locations (29/09/2020),1.15,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 20 | gcp,asia-southeast2,ID,,Jakarta,https://cloud.google.com/about/locations (29/09/2020),, 21 | gcp,asia-east2,CN-HK,,Hong Kong,https://cloud.google.com/about/locations (29/09/2020),, 22 | gcp,asia-east1,TW,,Taiwan,https://cloud.google.com/about/locations (29/09/2020),1.13,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 23 | gcp,asia-northeast1,JP,Tokyo,Tokyo,https://cloud.google.com/about/locations (29/09/2020),, 24 | gcp,asia-northeast2,JP,Osaka,Osaka,https://cloud.google.com/about/locations (29/09/2020),, 25 | gcp,asia-northeast3,KR,Seoul,Seoul,https://cloud.google.com/about/locations (29/09/2020),, 26 | gcp,australia-southeast1,AU-NSW,,Sydney,https://cloud.google.com/about/locations (29/09/2020),, 27 | azure,South Africa North,ZA,Johannesburg,Johannesburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 28 | azure,South Africa West,ZA,Cape Town,Cape Town,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 29 | azure,East Asia,CN-HK,,Hong Kong,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 30 | azure,Southeast Asia,SG,,Singapore,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 31 | azure,Australia Central,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 32 | azure,Australia Central 2,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 33 | azure,Australia East,AU-NSW,,New South Wales,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 34 | azure,Australia Southeast,AU-VIC,,Victoria,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 35 | azure,Brazil South,BR,Sao Paulo,Sao Paulo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 36 | azure,Canada Central,CA-ON,Toronto,Toronto,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 37 | azure,Canada East,CA-QC,Quebec City,Quebec City,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 38 | azure,China East,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 39 | azure,China East 2,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 40 | azure,China North,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 41 | azure,China North 2,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 42 | azure,North Europe,IE,,Ireland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 43 | azure,West Europe,NL,,Netherlands,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 44 | azure,France Central,FR,Paris,Paris,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 45 | azure,France South,FR,Marseille,Marseille,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 46 | azure,Germany Central (Sovereign),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 47 | azure,Germany North (Public),DE,Berlin,Berlin,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 48 | azure,Germany Northeastt (Sovereign),DE,Magdeburg,Magdeburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 49 | azure,Germany West Central (Public),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 50 | azure,Central India,IN,Pune,Pune,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 51 | azure,South India,IN,Chennai,Chennai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 52 | azure,West India,IN,Mumbai,Mumbai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 53 | azure,Israel Central,IL,,Israel,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 54 | azure,Italy North,IT,Milan,Milan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 55 | azure,Japan East,JP,Tokyo,"Tokyo, Saitama",https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 56 | azure,Japan West,JP,Osaka,Osaka,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 57 | azure,Korea Central,KR,Seoul,Seoul,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 58 | azure,Korea South,KR,Busan,Busan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 59 | azure,Mexico Central,MX,Querétaro,Querétaro State,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 60 | azure,New Zealand North,NZ,Auckland,Auckland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 61 | azure,Norway East,NO,Oslo,Oslo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 62 | azure,Norway West,NO,Stavanger,Stavanger,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 63 | azure,Poland Central,PL,Warsaw,Warsaw,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 64 | azure,Qatar Central,,,Doha,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 65 | azure,Spain Central,ES,Madrid,Madrid,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 66 | azure,Switzerland North,CH,Zurich,Zurich,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 67 | azure,Switzerland West,CH,Geneva,Geneva,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 68 | azure,UAE Central,AE,Abu Dhabi,Abu Dhabi,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 69 | azure,UAE North,AE,Dubai,Dubai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 70 | azure,UK South,GB,London,London,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 71 | azure,UK West,GB,Cardiff,Cardiff,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 72 | azure,Central US,US-IA,,Iowa,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 73 | azure,East US,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 74 | azure,East US 2,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 75 | azure,North Central US,US-IL,,Illinois,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 76 | azure,South Central US,US-TX,,Texas,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 77 | azure,West Central US,US-WY,,Wyoming,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 78 | azure,West US,US-CA,,California,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 79 | azure,West US 2,US-WA,,Washington,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 80 | azure,West US 3,US-AZ,,Arizona,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, -------------------------------------------------------------------------------- /data/latest/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.56,2024 https://datacenter.uptimeinstitute.com/rs/711-RIA-145/images/2024.GlobalDataCenterSurvey.Report.pdf?version=0 4 | gcp,1.12,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 5 | aws,1.2,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 6 | azure,1.12,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 7 | OVHcloud,1.09,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 8 | Oracle,1.2,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ -------------------------------------------------------------------------------- /data/latest/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/latest/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/latest/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source 3 | gcp,CPU,,Intel Xeon Scalable Proocessor (cascade lake) 4 | gcp,CPU,,Intel Xeon Scalable Proocessor (skylake) 5 | gcp,CPU,Xeon E7-8880 v4,(Best fit for Xeon E7) https://cloud.google.com/compute/docs/cpu-platforms 6 | gcp,CPU,Xeon E5-2699 v4,(Best fit for Xeon E5 v4) https://cloud.google.com/compute/docs/cpu-platforms 7 | gcp,CPU,Xeon E5-2699 v3,(Best fit for Xeon E5 v3) https://cloud.google.com/compute/docs/cpu-platforms 8 | gcp,CPU,Xeon E5-2670 v2,(Best fit for Xeon E5 v2) https://cloud.google.com/compute/docs/cpu-platforms 9 | gcp,CPU,Xeon E5-2670,(Best fit for Xeon E5) https://cloud.google.com/compute/docs/cpu-platforms 10 | gcp,CPU,AMD 7552,"Could also be 7742 or 7642, but this one is in the middle in terms of TDP per core, so best estimate https://cloud.google.com/compute/docs/cpu-platforms " 11 | gcp,GPU,NVIDIA A100 PCIe,https://cloud.google.com/compute/docs/gpus 12 | gcp,GPU,NVIDIA Tesla T4,https://cloud.google.com/compute/docs/gpus 13 | gcp,GPU,NVIDIA Tesla P100 PCIe,https://cloud.google.com/compute/docs/gpus 14 | gcp,GPU,NVIDIA Tesla V100,https://cloud.google.com/compute/docs/gpus 15 | gcp,GPU,NVIDIA Tesla P4,https://cloud.google.com/compute/docs/gpus 16 | gcp,GPU,NVIDIA Tesla K80,https://cloud.google.com/compute/docs/gpus -------------------------------------------------------------------------------- /data/latest/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,36,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix (update) 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 15 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/latest/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/v1.0/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | A8-7680,45,4,11.3,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 5 | Any,,,12.0, 6 | Athlon 3000G,35,2,17.5,https://www.techpowerup.com/cpu-specs/ 7 | Core 2 Quad Q6600,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 8 | Core i3-10100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 9 | Core i3-10300,62,4,15.5,https://www.techpowerup.com/cpu-specs/ 10 | Core i3-10320,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 11 | Core i3-10350K,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 12 | Core i3-9100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 13 | Core i3-9100F,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 14 | Core i5-10400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 15 | Core i5-10400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 16 | Core i5-10500,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 17 | Core i5-10600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 18 | Core i5-10600K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 19 | Core i5-3570K,77,4,19.3,https://www.techpowerup.com/cpu-specs/ 20 | Core i5-4460,84,4,21.0,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 21 | Core i5-9400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 22 | Core i5-9400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 23 | Core i5-9600KF,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 24 | Core i7-10700,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 25 | Core i7-10700K,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 26 | Core i7-4930K,130,6,21.7,https://www.techpowerup.com/cpu-specs/ 27 | Core i7-6700K,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 28 | Core i7-8700K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 29 | Core i7-9700F,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 30 | Core i7-9700K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 31 | Core i9-10900K,125,10,12.5,https://www.techpowerup.com/cpu-specs/ 32 | Core i9-10900KF,105,10,10.5,https://www.techpowerup.com/cpu-specs/ 33 | Core i9-10900XE,165,10,16.5,https://www.techpowerup.com/cpu-specs/ 34 | Core i9-10920XE,165,12,13.8,https://www.techpowerup.com/cpu-specs/ 35 | Core i9-9900K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 36 | FX-6300,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 37 | FX-8350,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 38 | Ryzen 3 2200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 39 | Ryzen 3 3200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 40 | Ryzen 3 3200U,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 41 | Ryzen 5 1600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 42 | Ryzen 5 2600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 43 | Ryzen 5 3400G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 44 | Ryzen 5 3500U,15,4,3.8,https://www.techpowerup.com/cpu-specs/ 45 | Ryzen 5 3600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 46 | Ryzen 5 3600X,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 47 | Ryzen 7 2700X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 48 | Ryzen 7 3700X,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 49 | Ryzen 7 3800X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 50 | Ryzen 9 3900X,125,12,10.4,https://www.techpowerup.com/cpu-specs/ 51 | Ryzen 9 3950X,105,16,6.6,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen Threadripper 2990WX,250,32,7.8,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen Threadripper 3990X,280,64,4.4,https://www.techpowerup.com/cpu-specs/ 54 | Xeon E5-2665,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 55 | Xeon E5-2680 v3,120,12,10.0,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 56 | Xeon E5-2683 v4,120,16,7.5,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 57 | Xeon E5-2690 v3,135,12,11.3,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 58 | Xeon E5-4650L,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 59 | Xeon E7-8867 v3,165,16,10.3,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 60 | Xeon Gold 6142,150,16,9.4,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 61 | Xeon Gold 6148,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 62 | Xeon L5640 ,60,6,10.0,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 63 | Xeon Platinum 9282,400,56,7.1,https://www.techpowerup.com/cpu-specs/ 64 | Xeon X3430,95,4,23.8,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 65 | Xeon X5660,95,6,15.8,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html 66 | Xeon E5-4620,95,8,11.9,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 67 | Xeon E5-2690 v2,130,10,13.0,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 68 | Xeon Phi 5110P,225,60,3.8,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 69 | Xeon E5-4610 v4,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 70 | Xeon E5-2695 v4,120,18,6.7,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 71 | Xeon E5-2697 v4,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 72 | AMD EPYC 7251,120,8,15.0,https://www.amd.com/en/products/cpu/amd-epyc-7251 -------------------------------------------------------------------------------- /data/v1.0/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | Jetson AGX Xavier,30,,30,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 4 | Tesla T4,70,,70,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 5 | AMD RX480,150,,150,techpowerup.com 6 | GTX 1080,180,,180,techpowerup.com 7 | TPU3,200,,200,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 8 | Any,,,200, 9 | RTX 2080,215,,215,techpowerup.com 10 | RTX 2080 Ti,250,,250,techpowerup.com 11 | GTX 1080 Ti,250,,250,techpowerup.com 12 | Titan V,250,,250,techpowerup.com 13 | TPU2,250,,250,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 14 | GTX TITAN X,250,,250,techpowerup.com 15 | TITAN X Pascal,250,,250,techpowerup.com 16 | Tesla P100 PCIe,250,,250,techpowerup.com 17 | Tesla V100,300,,300,techpowerup.com 18 | TPU v3 pod,288000,,288000,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 19 | NVIDIA Tesla V100,300,,300,techpowerup.com -------------------------------------------------------------------------------- /data/v1.0/cloudProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE 3 | gcp,us-west1,US-OR,,Oregon ,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 4 | gcp,us-west2,US-CA,Los Angeles,Los Angeles,https://cloud.google.com/about/locations (29/09/2020),, 5 | gcp,us-west3,US-UT,Salt Lake City,Salt Lake City,https://cloud.google.com/about/locations (29/09/2020),, 6 | gcp,us-west4,US-NV,Las Vegas,Las Vegas,https://cloud.google.com/about/locations (29/09/2020),, 7 | gcp,us-central1,US-IA,,Iowa,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 8 | gcp,us-east1,US-SC,,South Carolina,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 9 | gcp,us-east4,US-VA,North Virginia,North Virginia,https://cloud.google.com/about/locations (29/09/2020),, 10 | gcp,northamerica-northeast1,CA-QC,Montréal,Montréal,https://cloud.google.com/about/locations (29/09/2020),, 11 | gcp,southamerica-east1,BR,Sao Paulo,Sao Paulo,https://cloud.google.com/about/locations (29/09/2020),, 12 | gcp,europe-west1,BE,,Belgium,https://cloud.google.com/about/locations (29/09/2020),1.08,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 13 | gcp,europe-west2,GB,London,London,https://cloud.google.com/about/locations (29/09/2020),, 14 | gcp,europe-west3,DE,Frankfurt,Frankfurt,https://cloud.google.com/about/locations (29/09/2020),, 15 | gcp,europe-west4,NL,,Netherlands,https://cloud.google.com/about/locations (29/09/2020),, 16 | gcp,europe-west6,CH,,Zurich,https://cloud.google.com/about/locations (29/09/2020),, 17 | gcp,europe-north1,FI,,Finland,https://cloud.google.com/about/locations (29/09/2020),1.09,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 18 | gcp,asia-south1,IN,Mumbai,Mumbai,https://cloud.google.com/about/locations (29/09/2020),, 19 | gcp,asia-southeast1,SG,,Singapore,https://cloud.google.com/about/locations (29/09/2020),1.15,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 20 | gcp,asia-southeast2,ID,,Jakarta,https://cloud.google.com/about/locations (29/09/2020),, 21 | gcp,asia-east2,CN-HK,,Hong Kong,https://cloud.google.com/about/locations (29/09/2020),, 22 | gcp,asia-east1,TW,,Taiwan,https://cloud.google.com/about/locations (29/09/2020),1.13,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 23 | gcp,asia-northeast1,JP,Tokyo,Tokyo,https://cloud.google.com/about/locations (29/09/2020),, 24 | gcp,asia-northeast2,JP,Osaka,Osaka,https://cloud.google.com/about/locations (29/09/2020),, 25 | gcp,asia-northeast3,KR,Seoul,Seoul,https://cloud.google.com/about/locations (29/09/2020),, 26 | gcp,australia-southeast1,AU-NSW,,Sydney,https://cloud.google.com/about/locations (29/09/2020),, 27 | azure,South Africa North,ZA,Johannesburg,Johannesburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 28 | azure,South Africa West,ZA,Cape Town,Cape Town,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 29 | azure,East Asia,CN-HK,,Hong Kong,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 30 | azure,Southeast Asia,SG,,Singapore,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 31 | azure,Australia Central,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 32 | azure,Australia Central 2,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 33 | azure,Australia East,AU-NSW,,New South Wales,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 34 | azure,Australia Southeast,AU-VIC,,Victoria,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 35 | azure,Brazil South,BR,Sao Paulo,Sao Paulo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 36 | azure,Canada Central,CA-ON,Toronto,Toronto,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 37 | azure,Canada East,CA-QC,Quebec City,Quebec City,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 38 | azure,China East,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 39 | azure,China East 2,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 40 | azure,China North,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 41 | azure,China North 2,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 42 | azure,North Europe,IE,,Ireland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 43 | azure,West Europe,NL,,Netherlands,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 44 | azure,France Central,FR,Paris,Paris,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 45 | azure,France South,FR,Marseille,Marseille,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 46 | azure,Germany Central (Sovereign),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 47 | azure,Germany North (Public),DE,Berlin,Berlin,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 48 | azure,Germany Northeastt (Sovereign),DE,Magdeburg,Magdeburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 49 | azure,Germany West Central (Public),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 50 | azure,Central India,IN,Pune,Pune,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 51 | azure,South India,IN,Chennai,Chennai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 52 | azure,West India,IN,Mumbai,Mumbai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 53 | azure,Israel Central,IL,,Israel,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 54 | azure,Italy North,IT,Milan,Milan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 55 | azure,Japan East,JP,Tokyo,"Tokyo, Saitama",https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 56 | azure,Japan West,JP,Osaka,Osaka,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 57 | azure,Korea Central,KR,Seoul,Seoul,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 58 | azure,Korea South,KR,Busan,Busan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 59 | azure,Mexico Central,MX,Querétaro,Querétaro State,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 60 | azure,New Zealand North,NZ,Auckland,Auckland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 61 | azure,Norway East,NO,Oslo,Oslo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 62 | azure,Norway West,NO,Stavanger,Stavanger,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 63 | azure,Poland Central,PL,Warsaw,Warsaw,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 64 | azure,Qatar Central,,,Doha,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 65 | azure,Spain Central,ES,Madrid,Madrid,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 66 | azure,Switzerland North,CH,Zurich,Zurich,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 67 | azure,Switzerland West,CH,Geneva,Geneva,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 68 | azure,UAE Central,AE,Abu Dhabi,Abu Dhabi,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 69 | azure,UAE North,AE,Dubai,Dubai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 70 | azure,UK South,GB,London,London,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 71 | azure,UK West,GB,Cardiff,Cardiff,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 72 | azure,Central US,US-IA,,Iowa,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 73 | azure,East US,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 74 | azure,East US 2,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 75 | azure,North Central US,US-IL,,Illinois,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 76 | azure,South Central US,US-TX,,Texas,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 77 | azure,West Central US,US-WY,,Wyoming,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 78 | azure,West US,US-CA,,California,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 79 | azure,West US 2,US-WA,,Washington,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 80 | azure,West US 3,US-AZ,,Arizona,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, -------------------------------------------------------------------------------- /data/v1.0/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v1.0/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/v1.0/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/v1.0/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source -------------------------------------------------------------------------------- /data/v1.0/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,in gCO2/km from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 7 | flight_economy_perkm,145,in gCO2/km from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 8 | treeYear,11400,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,86,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html -------------------------------------------------------------------------------- /data/v1.0/servers_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v1.0/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/v1.1/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | A8-7680,45,4,11.3,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 5 | AMD EPYC 7251,120,8,15.0,https://www.amd.com/en/products/cpu/amd-epyc-7251 6 | Any,,,12.0, 7 | Athlon 3000G,35,2,17.5,https://www.techpowerup.com/cpu-specs/ 8 | Core 2 Quad Q6600,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 9 | Core i3-10100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 10 | Core i3-10300,62,4,15.5,https://www.techpowerup.com/cpu-specs/ 11 | Core i3-10320,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 12 | Core i3-10350K,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 13 | Core i3-9100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 14 | Core i3-9100F,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 15 | Core i5-10400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 16 | Core i5-10400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 17 | Core i5-10500,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 18 | Core i5-10600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 19 | Core i5-10600K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 20 | Core i5-3570K,77,4,19.3,https://www.techpowerup.com/cpu-specs/ 21 | Core i5-4460,84,4,21.0,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 22 | Core i5-9400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 23 | Core i5-9400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 24 | Core i5-9600KF,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 25 | Core i7-10700,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 26 | Core i7-10700K,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 27 | Core i7-4930K,130,6,21.7,https://www.techpowerup.com/cpu-specs/ 28 | Core i7-6700K,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 29 | Core i7-8700K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 30 | Core i7-9700F,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 31 | Core i7-9700K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 32 | Core i9-10900K,125,10,12.5,https://www.techpowerup.com/cpu-specs/ 33 | Core i9-10900KF,105,10,10.5,https://www.techpowerup.com/cpu-specs/ 34 | Core i9-10900XE,165,10,16.5,https://www.techpowerup.com/cpu-specs/ 35 | Core i9-10920XE,165,12,13.8,https://www.techpowerup.com/cpu-specs/ 36 | Core i9-9900K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 37 | FX-6300,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 38 | FX-8350,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 39 | Ryzen 3 2200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 40 | Ryzen 3 3200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 41 | Ryzen 3 3200U,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 42 | Ryzen 5 1600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 43 | Ryzen 5 2600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 44 | Ryzen 5 3400G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 45 | Ryzen 5 3500U,15,4,3.8,https://www.techpowerup.com/cpu-specs/ 46 | Ryzen 5 3600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 47 | Ryzen 5 3600X,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 48 | Ryzen 7 2700X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 49 | Ryzen 7 3700X,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 50 | Ryzen 7 3800X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 51 | Ryzen 9 3900X,125,12,10.4,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 9 3950X,105,16,6.6,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen Threadripper 2990WX,250,32,7.8,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen Threadripper 3990X,280,64,4.4,https://www.techpowerup.com/cpu-specs/ 55 | Xeon E5-2665,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 56 | Xeon E5-2680 v3,120,12,10.0,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 57 | Xeon E5-2683 v4,120,16,7.5,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 58 | Xeon E5-2690 v2,130,10,13.0,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 59 | Xeon E5-2690 v3,135,12,11.3,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 60 | Xeon E5-2695 v4,120,18,6.7,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 61 | Xeon E5-2697 v4,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 62 | Xeon E5-4610 v4,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 63 | Xeon E5-4620,95,8,11.9,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 64 | Xeon E5-4650L,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 65 | Xeon E7-8867 v3,165,16,10.3,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 66 | Xeon Gold 6142,150,16,9.4,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 67 | Xeon Gold 6148,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 68 | Xeon L5640 ,60,6,10.0,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 69 | Xeon Phi 5110P,225,60,3.8,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 70 | Xeon Platinum 9282,400,56,7.1,https://www.techpowerup.com/cpu-specs/ 71 | Xeon X3430,95,4,23.8,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 72 | Xeon X5660,95,6,15.8,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html 73 | Xeon E7-8880 v4,150,22,6.8,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 74 | Xeon E5-2699 v4,145,22,6.6,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 75 | Xeon E5-2699 v3,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 76 | Xeon E5-2670 v2,115,10,11.5,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 77 | Xeon E5-2670,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html -------------------------------------------------------------------------------- /data/v1.1/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | Jetson AGX Xavier,30,,30,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 4 | Tesla T4,70,,70,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 5 | AMD RX480,150,,150,techpowerup.com 6 | GTX 1080,180,,180,techpowerup.com 7 | TPU3,200,,200,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 8 | Any,,,200, 9 | RTX 2080,215,,215,techpowerup.com 10 | RTX 2080 Ti,250,,250,techpowerup.com 11 | GTX 1080 Ti,250,,250,techpowerup.com 12 | Titan V,250,,250,techpowerup.com 13 | TPU2,250,,250,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 14 | GTX TITAN X,250,,250,techpowerup.com 15 | TITAN X Pascal,250,,250,techpowerup.com 16 | Tesla P100 PCIe,250,,250,techpowerup.com 17 | Tesla V100,300,,300,techpowerup.com 18 | TPU v3 pod,288000,,288000,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 19 | NVIDIA Tesla V100,300,,300,techpowerup.com -------------------------------------------------------------------------------- /data/v1.1/cloudProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE 3 | gcp,us-west1,US-OR,,Oregon ,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 4 | gcp,us-west2,US-CA,Los Angeles,Los Angeles,https://cloud.google.com/about/locations (29/09/2020),, 5 | gcp,us-west3,US-UT,Salt Lake City,Salt Lake City,https://cloud.google.com/about/locations (29/09/2020),, 6 | gcp,us-west4,US-NV,Las Vegas,Las Vegas,https://cloud.google.com/about/locations (29/09/2020),, 7 | gcp,us-central1,US-IA,,Iowa,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 8 | gcp,us-east1,US-SC,,South Carolina,https://cloud.google.com/about/locations (29/09/2020),1.11,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 9 | gcp,us-east4,US-VA,North Virginia,North Virginia,https://cloud.google.com/about/locations (29/09/2020),, 10 | gcp,northamerica-northeast1,CA-QC,Montréal,Montréal,https://cloud.google.com/about/locations (29/09/2020),, 11 | gcp,southamerica-east1,BR,Sao Paulo,Sao Paulo,https://cloud.google.com/about/locations (29/09/2020),, 12 | gcp,europe-west1,BE,,Belgium,https://cloud.google.com/about/locations (29/09/2020),1.08,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 13 | gcp,europe-west2,GB,London,London,https://cloud.google.com/about/locations (29/09/2020),, 14 | gcp,europe-west3,DE,Frankfurt,Frankfurt,https://cloud.google.com/about/locations (29/09/2020),, 15 | gcp,europe-west4,NL,,Netherlands,https://cloud.google.com/about/locations (29/09/2020),, 16 | gcp,europe-west6,CH,,Zurich,https://cloud.google.com/about/locations (29/09/2020),, 17 | gcp,europe-north1,FI,,Finland,https://cloud.google.com/about/locations (29/09/2020),1.09,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 18 | gcp,asia-south1,IN,Mumbai,Mumbai,https://cloud.google.com/about/locations (29/09/2020),, 19 | gcp,asia-southeast1,SG,,Singapore,https://cloud.google.com/about/locations (29/09/2020),1.15,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 20 | gcp,asia-southeast2,ID,,Jakarta,https://cloud.google.com/about/locations (29/09/2020),, 21 | gcp,asia-east2,CN-HK,,Hong Kong,https://cloud.google.com/about/locations (29/09/2020),, 22 | gcp,asia-east1,TW,,Taiwan,https://cloud.google.com/about/locations (29/09/2020),1.13,https://www.google.co.uk/about/datacenters/efficiency/ (29/09/2020) 23 | gcp,asia-northeast1,JP,Tokyo,Tokyo,https://cloud.google.com/about/locations (29/09/2020),, 24 | gcp,asia-northeast2,JP,Osaka,Osaka,https://cloud.google.com/about/locations (29/09/2020),, 25 | gcp,asia-northeast3,KR,Seoul,Seoul,https://cloud.google.com/about/locations (29/09/2020),, 26 | gcp,australia-southeast1,AU-NSW,,Sydney,https://cloud.google.com/about/locations (29/09/2020),, 27 | azure,South Africa North,ZA,Johannesburg,Johannesburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 28 | azure,South Africa West,ZA,Cape Town,Cape Town,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 29 | azure,East Asia,CN-HK,,Hong Kong,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 30 | azure,Southeast Asia,SG,,Singapore,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 31 | azure,Australia Central,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 32 | azure,Australia Central 2,AU-ACT,Canberra,Canberra,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 33 | azure,Australia East,AU-NSW,,New South Wales,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 34 | azure,Australia Southeast,AU-VIC,,Victoria,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 35 | azure,Brazil South,BR,Sao Paulo,Sao Paulo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 36 | azure,Canada Central,CA-ON,Toronto,Toronto,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 37 | azure,Canada East,CA-QC,Quebec City,Quebec City,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 38 | azure,China East,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 39 | azure,China East 2,CN,Shanghai,Shanghai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 40 | azure,China North,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 41 | azure,China North 2,CN,Beijing,Beijing,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 42 | azure,North Europe,IE,,Ireland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 43 | azure,West Europe,NL,,Netherlands,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 44 | azure,France Central,FR,Paris,Paris,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 45 | azure,France South,FR,Marseille,Marseille,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 46 | azure,Germany Central (Sovereign),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 47 | azure,Germany North (Public),DE,Berlin,Berlin,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 48 | azure,Germany Northeastt (Sovereign),DE,Magdeburg,Magdeburg,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 49 | azure,Germany West Central (Public),DE,Frankfurt,Frankfurt,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 50 | azure,Central India,IN,Pune,Pune,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 51 | azure,South India,IN,Chennai,Chennai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 52 | azure,West India,IN,Mumbai,Mumbai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 53 | azure,Israel Central,IL,,Israel,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 54 | azure,Italy North,IT,Milan,Milan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 55 | azure,Japan East,JP,Tokyo,"Tokyo, Saitama",https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 56 | azure,Japan West,JP,Osaka,Osaka,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 57 | azure,Korea Central,KR,Seoul,Seoul,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 58 | azure,Korea South,KR,Busan,Busan,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 59 | azure,Mexico Central,MX,Querétaro,Querétaro State,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 60 | azure,New Zealand North,NZ,Auckland,Auckland,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 61 | azure,Norway East,NO,Oslo,Oslo,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 62 | azure,Norway West,NO,Stavanger,Stavanger,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 63 | azure,Poland Central,PL,Warsaw,Warsaw,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 64 | azure,Qatar Central,,,Doha,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 65 | azure,Spain Central,ES,Madrid,Madrid,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 66 | azure,Switzerland North,CH,Zurich,Zurich,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 67 | azure,Switzerland West,CH,Geneva,Geneva,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 68 | azure,UAE Central,AE,Abu Dhabi,Abu Dhabi,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 69 | azure,UAE North,AE,Dubai,Dubai,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 70 | azure,UK South,GB,London,London,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 71 | azure,UK West,GB,Cardiff,Cardiff,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 72 | azure,Central US,US-IA,,Iowa,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 73 | azure,East US,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 74 | azure,East US 2,US-VA,,Virginia,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 75 | azure,North Central US,US-IL,,Illinois,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 76 | azure,South Central US,US-TX,,Texas,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 77 | azure,West Central US,US-WY,,Wyoming,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 78 | azure,West US,US-CA,,California,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 79 | azure,West US 2,US-WA,,Washington,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, 80 | azure,West US 3,US-AZ,,Arizona,https://azure.microsoft.com/en-gb/global-infrastructure/geographies/#geographies (29/09/2020),, -------------------------------------------------------------------------------- /data/v1.1/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v1.1/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/v1.1/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/v1.1/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source -------------------------------------------------------------------------------- /data/v1.1/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,86,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 15 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/v1.1/servers_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v1.1/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/v2.0/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | A8-7680,45,4,11.3,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 5 | AMD EPYC 7251,120,8,15.0,https://www.amd.com/en/products/cpu/amd-epyc-7251 6 | Any,,,12.0, 7 | Athlon 3000G,35,2,17.5,https://www.techpowerup.com/cpu-specs/ 8 | Core 2 Quad Q6600,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 9 | Core i3-10100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 10 | Core i3-10300,62,4,15.5,https://www.techpowerup.com/cpu-specs/ 11 | Core i3-10320,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 12 | Core i3-10350K,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 13 | Core i3-9100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 14 | Core i3-9100F,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 15 | Core i5-10400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 16 | Core i5-10400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 17 | Core i5-10500,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 18 | Core i5-10600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 19 | Core i5-10600K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 20 | Core i5-3570K,77,4,19.3,https://www.techpowerup.com/cpu-specs/ 21 | Core i5-4460,84,4,21.0,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 22 | Core i5-9400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 23 | Core i5-9400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 24 | Core i5-9600KF,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 25 | Core i7-10700,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 26 | Core i7-10700K,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 27 | Core i7-4930K,130,6,21.7,https://www.techpowerup.com/cpu-specs/ 28 | Core i7-6700K,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 29 | Core i7-8700K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 30 | Core i7-9700F,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 31 | Core i7-9700K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 32 | Core i9-10900K,125,10,12.5,https://www.techpowerup.com/cpu-specs/ 33 | Core i9-10900KF,105,10,10.5,https://www.techpowerup.com/cpu-specs/ 34 | Core i9-10900XE,165,10,16.5,https://www.techpowerup.com/cpu-specs/ 35 | Core i9-10920XE,165,12,13.8,https://www.techpowerup.com/cpu-specs/ 36 | Core i9-9900K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 37 | FX-6300,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 38 | FX-8350,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 39 | Ryzen 3 2200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 40 | Ryzen 3 3200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 41 | Ryzen 3 3200U,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 42 | Ryzen 5 1600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 43 | Ryzen 5 2600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 44 | Ryzen 5 3400G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 45 | Ryzen 5 3500U,15,4,3.8,https://www.techpowerup.com/cpu-specs/ 46 | Ryzen 5 3600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 47 | Ryzen 5 3600X,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 48 | Ryzen 7 2700X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 49 | Ryzen 7 3700X,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 50 | Ryzen 7 3800X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 51 | Ryzen 9 3900X,125,12,10.4,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 9 3950X,105,16,6.6,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen Threadripper 2990WX,250,32,7.8,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen Threadripper 3990X,280,64,4.4,https://www.techpowerup.com/cpu-specs/ 55 | Xeon E5-2665,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 56 | Xeon E5-2680 v3,120,12,10.0,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 57 | Xeon E5-2683 v4,120,16,7.5,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 58 | Xeon E5-2690 v2,130,10,13.0,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 59 | Xeon E5-2690 v3,135,12,11.3,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 60 | Xeon E5-2695 v4,120,18,6.7,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 61 | Xeon E5-2697 v4,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 62 | Xeon E5-4610 v4,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 63 | Xeon E5-4620,95,8,11.9,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 64 | Xeon E5-4650L,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 65 | Xeon E7-8867 v3,165,16,10.3,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 66 | Xeon Gold 6142,150,16,9.4,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 67 | Xeon Gold 6148,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 68 | Xeon Gold 6248,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz.html 69 | Xeon L5640 ,60,6,10.0,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 70 | Xeon Phi 5110P,225,60,3.8,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 71 | Xeon Platinum 9282,400,56,7.1,https://www.techpowerup.com/cpu-specs/ 72 | Xeon X3430,95,4,23.8,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 73 | Xeon X5660,95,6,15.8,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html 74 | Xeon E7-8880 v4,150,22,6.8,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 75 | Xeon E5-2699 v4,145,22,6.6,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 76 | Xeon E5-2699 v3,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 77 | Xeon E5-2670 v2,115,10,11.5,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 78 | Xeon E5-2670,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 79 | Xeon E5-2660 v3,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/81706/intel-xeon-processor-e5-2660-v3-25m-cache-2-60-ghz.html 80 | AMD 7552,200,48,4.2,https://www.amd.com/system/files/documents/AMD-EPYC-7002-Series-Datasheet.pdf -------------------------------------------------------------------------------- /data/v2.0/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | NVIDIA Jetson AGX Xavier,30,,30,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 4 | NVIDIA Tesla T4,70,,70,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 5 | AMD RX480,150,,150,techpowerup.com 6 | NVIDIA GTX 1080,180,,180,techpowerup.com 7 | TPU v3,200,,200,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 8 | Any,,,200, 9 | NVIDIA RTX 2080,215,,215,techpowerup.com 10 | NVIDIA RTX 2080 Ti,250,,250,techpowerup.com 11 | NVIDIA GTX 1080 Ti,250,,250,techpowerup.com 12 | NVIDIA Titan V,250,,250,techpowerup.com 13 | TPU v2,250,,250,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 14 | NVIDIA GTX TITAN X,250,,250,techpowerup.com 15 | NVIDIA TITAN X Pascal,250,,250,techpowerup.com 16 | NVIDIA Tesla P100 PCIe,250,,250,techpowerup.com 17 | NVIDIA Tesla V100,300,,300,techpowerup.com 18 | TPU v3 pod,288000,,288000,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 19 | NVIDIA A100 PCIe,250,,250,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/a100-80gb-datasheet-update-nvidia-us-1521051-r2-web.pdf 20 | NVIDIA Tesla P4,75,,75,https://www.techpowerup.com/gpu-specs/tesla-p4.c2879 21 | NVIDIA Tesla K80,300,,300,https://www.techpowerup.com/gpu-specs/tesla-k80.c2616 -------------------------------------------------------------------------------- /data/v2.0/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v2.0/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/v2.0/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/v2.0/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source 3 | gcp,CPU,,Intel Xeon Scalable Proocessor (cascade lake) 4 | gcp,CPU,,Intel Xeon Scalable Proocessor (skylake) 5 | gcp,CPU,Xeon E7-8880 v4,(Best fit for Xeon E7) https://cloud.google.com/compute/docs/cpu-platforms 6 | gcp,CPU,Xeon E5-2699 v4,(Best fit for Xeon E5 v4) https://cloud.google.com/compute/docs/cpu-platforms 7 | gcp,CPU,Xeon E5-2699 v3,(Best fit for Xeon E5 v3) https://cloud.google.com/compute/docs/cpu-platforms 8 | gcp,CPU,Xeon E5-2670 v2,(Best fit for Xeon E5 v2) https://cloud.google.com/compute/docs/cpu-platforms 9 | gcp,CPU,Xeon E5-2670,(Best fit for Xeon E5) https://cloud.google.com/compute/docs/cpu-platforms 10 | gcp,CPU,AMD 7552,"Could also be 7742 or 7642, but this one is in the middle in terms of TDP per core, so best estimate https://cloud.google.com/compute/docs/cpu-platforms " 11 | gcp,GPU,NVIDIA A100 PCIe,https://cloud.google.com/compute/docs/gpus 12 | gcp,GPU,NVIDIA Tesla T4,https://cloud.google.com/compute/docs/gpus 13 | gcp,GPU,NVIDIA Tesla P100 PCIe,https://cloud.google.com/compute/docs/gpus 14 | gcp,GPU,NVIDIA Tesla V100,https://cloud.google.com/compute/docs/gpus 15 | gcp,GPU,NVIDIA Tesla P4,https://cloud.google.com/compute/docs/gpus 16 | gcp,GPU,NVIDIA Tesla K80,https://cloud.google.com/compute/docs/gpus -------------------------------------------------------------------------------- /data/v2.0/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,36,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix (update) 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 15 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/v2.0/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/v2.1/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | A8-7680,45,4,11.3,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 5 | AMD 7552,200,48,4.2,https://www.amd.com/system/files/documents/AMD-EPYC-7002-Series-Datasheet.pdf 6 | AMD EPYC 7251,120,8,15.0,https://www.amd.com/en/products/cpu/amd-epyc-7251 7 | Any,,,12.0, 8 | Athlon 3000G,35,2,17.5,https://www.techpowerup.com/cpu-specs/ 9 | Core 2 Quad Q6600,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 10 | Core i3-10100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 11 | Core i3-10300,62,4,15.5,https://www.techpowerup.com/cpu-specs/ 12 | Core i3-10320,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 13 | Core i3-10350K,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 14 | Core i3-9100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 15 | Core i3-9100F,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 16 | Core i5-10400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 17 | Core i5-10400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 18 | Core i5-10500,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 19 | Core i5-10600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 20 | Core i5-10600K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 21 | Core i5-3570K,77,4,19.3,https://www.techpowerup.com/cpu-specs/ 22 | Core i5-4460,84,4,21.0,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 23 | Core i5-9400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 24 | Core i5-9400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 25 | Core i5-9600KF,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 26 | Core i7-10700,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 27 | Core i7-10700K,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 28 | Core i7-4930K,130,6,21.7,https://www.techpowerup.com/cpu-specs/ 29 | Core i7-6700K,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 30 | Core i7-8700K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 31 | Core i7-9700F,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 32 | Core i7-9700K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 33 | Core i9-10900K,125,10,12.5,https://www.techpowerup.com/cpu-specs/ 34 | Core i9-10900KF,105,10,10.5,https://www.techpowerup.com/cpu-specs/ 35 | Core i9-10900XE,165,10,16.5,https://www.techpowerup.com/cpu-specs/ 36 | Core i9-10920XE,165,12,13.8,https://www.techpowerup.com/cpu-specs/ 37 | Core i9-9900K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 38 | FX-6300,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 39 | FX-8350,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 40 | Ryzen 3 2200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 41 | Ryzen 3 3200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 42 | Ryzen 3 3200U,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 43 | Ryzen 5 1600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 44 | Ryzen 5 2600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 45 | Ryzen 5 3400G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 46 | Ryzen 5 3500U,15,4,3.8,https://www.techpowerup.com/cpu-specs/ 47 | Ryzen 5 3600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 48 | Ryzen 5 3600X,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 49 | Ryzen 7 2700X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 50 | Ryzen 7 3700X,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 51 | Ryzen 7 3800X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 9 3900X,125,12,10.4,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen 9 3950X,105,16,6.6,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen Threadripper 2990WX,250,32,7.8,https://www.techpowerup.com/cpu-specs/ 55 | Ryzen Threadripper 3990X,280,64,4.4,https://www.techpowerup.com/cpu-specs/ 56 | Xeon E5-2660 v3,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/81706/intel-xeon-processor-e5-2660-v3-25m-cache-2-60-ghz.html 57 | Xeon E5-2665,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 58 | Xeon E5-2670,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 59 | Xeon E5-2670 v2,115,10,11.5,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 60 | Xeon E5-2680 v3,120,12,10.0,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 61 | Xeon E5-2683 v4,120,16,7.5,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 62 | Xeon E5-2690 v2,130,10,13.0,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 63 | Xeon E5-2690 v3,135,12,11.3,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 64 | Xeon E5-2695 v4,120,18,6.7,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 65 | Xeon E5-2697 v4,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 66 | Xeon E5-2699 v3,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 67 | Xeon E5-2699 v4,145,22,6.6,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 68 | Xeon E5-4610 v4,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 69 | Xeon E5-4620,95,8,11.9,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 70 | Xeon E5-4650L,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 71 | Xeon E7-8867 v3,165,16,10.3,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 72 | Xeon E7-8880 v4,150,22,6.8,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 73 | Xeon Gold 6142,150,16,9.4,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 74 | Xeon Gold 6148,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 75 | Xeon Gold 6248,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz.html 76 | Xeon Gold 6252,150,24,6.3,https://ark.intel.com/content/www/us/en/ark/products/192447/intel-xeon-gold-6252-processor-35-75m-cache-2-10-ghz.html 77 | Xeon L5640 ,60,6,10.0,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 78 | Xeon Phi 5110P,225,60,3.8,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 79 | Xeon Platinum 9282,400,56,7.1,https://www.techpowerup.com/cpu-specs/ 80 | Xeon X3430,95,4,23.8,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 81 | Xeon X5660,95,6,15.8,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html -------------------------------------------------------------------------------- /data/v2.1/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | NVIDIA Jetson AGX Xavier,30,,30,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 4 | NVIDIA Tesla T4,70,,70,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 5 | AMD RX480,150,,150,techpowerup.com 6 | NVIDIA GTX 1080,180,,180,techpowerup.com 7 | TPU v3,200,,200,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 8 | Any,,,200, 9 | NVIDIA RTX 2080,215,,215,techpowerup.com 10 | NVIDIA RTX 2080 Ti,250,,250,techpowerup.com 11 | NVIDIA GTX 1080 Ti,250,,250,techpowerup.com 12 | NVIDIA Titan V,250,,250,techpowerup.com 13 | TPU v2,250,,250,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 14 | NVIDIA GTX TITAN X,250,,250,techpowerup.com 15 | NVIDIA TITAN X Pascal,250,,250,techpowerup.com 16 | NVIDIA Tesla P100 PCIe,250,,250,techpowerup.com 17 | NVIDIA Tesla V100,300,,300,techpowerup.com 18 | TPU v3 pod,288000,,288000,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 19 | NVIDIA A100 PCIe,250,,250,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/a100-80gb-datasheet-update-nvidia-us-1521051-r2-web.pdf 20 | NVIDIA Tesla P4,75,,75,https://www.techpowerup.com/gpu-specs/tesla-p4.c2879 21 | NVIDIA Tesla K80,300,,300,https://www.techpowerup.com/gpu-specs/tesla-k80.c2616 -------------------------------------------------------------------------------- /data/v2.1/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v2.1/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/v2.1/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/v2.1/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source 3 | gcp,CPU,,Intel Xeon Scalable Proocessor (cascade lake) 4 | gcp,CPU,,Intel Xeon Scalable Proocessor (skylake) 5 | gcp,CPU,Xeon E7-8880 v4,(Best fit for Xeon E7) https://cloud.google.com/compute/docs/cpu-platforms 6 | gcp,CPU,Xeon E5-2699 v4,(Best fit for Xeon E5 v4) https://cloud.google.com/compute/docs/cpu-platforms 7 | gcp,CPU,Xeon E5-2699 v3,(Best fit for Xeon E5 v3) https://cloud.google.com/compute/docs/cpu-platforms 8 | gcp,CPU,Xeon E5-2670 v2,(Best fit for Xeon E5 v2) https://cloud.google.com/compute/docs/cpu-platforms 9 | gcp,CPU,Xeon E5-2670,(Best fit for Xeon E5) https://cloud.google.com/compute/docs/cpu-platforms 10 | gcp,CPU,AMD 7552,"Could also be 7742 or 7642, but this one is in the middle in terms of TDP per core, so best estimate https://cloud.google.com/compute/docs/cpu-platforms " 11 | gcp,GPU,NVIDIA A100 PCIe,https://cloud.google.com/compute/docs/gpus 12 | gcp,GPU,NVIDIA Tesla T4,https://cloud.google.com/compute/docs/gpus 13 | gcp,GPU,NVIDIA Tesla P100 PCIe,https://cloud.google.com/compute/docs/gpus 14 | gcp,GPU,NVIDIA Tesla V100,https://cloud.google.com/compute/docs/gpus 15 | gcp,GPU,NVIDIA Tesla P4,https://cloud.google.com/compute/docs/gpus 16 | gcp,GPU,NVIDIA Tesla K80,https://cloud.google.com/compute/docs/gpus -------------------------------------------------------------------------------- /data/v2.1/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,36,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix (update) 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 15 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/v2.1/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/v2.2/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | A8-7680,45,4,11.3,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 5 | AMD 7552,200,48,4.2,https://www.amd.com/system/files/documents/AMD-EPYC-7002-Series-Datasheet.pdf 6 | AMD EPYC 7251,120,8,15.0,https://www.amd.com/en/products/cpu/amd-epyc-7251 7 | Any,,,12.0, 8 | Athlon 3000G,35,2,17.5,https://www.techpowerup.com/cpu-specs/ 9 | Core 2 Quad Q6600,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 10 | Core i3-10100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 11 | Core i3-10300,62,4,15.5,https://www.techpowerup.com/cpu-specs/ 12 | Core i3-10320,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 13 | Core i3-10350K,91,4,22.8,https://www.techpowerup.com/cpu-specs/ 14 | Core i3-9100,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 15 | Core i3-9100F,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 16 | Core i5-10400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 17 | Core i5-10400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 18 | Core i5-10500,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 19 | Core i5-10600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 20 | Core i5-10600K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 21 | Core i5-3570K,77,4,19.3,https://www.techpowerup.com/cpu-specs/ 22 | Core i5-4460,84,4,21.0,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 23 | Core i5-9400,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 24 | Core i5-9400F,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 25 | Core i5-9600KF,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 26 | Core i7-10700,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 27 | Core i7-10700K,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 28 | Core i7-4930K,130,6,21.7,https://www.techpowerup.com/cpu-specs/ 29 | Core i7-6700K,95,4,23.8,https://www.techpowerup.com/cpu-specs/ 30 | Core i7-8700K,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 31 | Core i7-9700F,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 32 | Core i7-9700K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 33 | Core i9-10900K,125,10,12.5,https://www.techpowerup.com/cpu-specs/ 34 | Core i9-10900KF,105,10,10.5,https://www.techpowerup.com/cpu-specs/ 35 | Core i9-10900XE,165,10,16.5,https://www.techpowerup.com/cpu-specs/ 36 | Core i9-10920XE,165,12,13.8,https://www.techpowerup.com/cpu-specs/ 37 | Core i9-9900K,95,8,11.9,https://www.techpowerup.com/cpu-specs/ 38 | FX-6300,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 39 | FX-8350,125,8,15.6,https://www.techpowerup.com/cpu-specs/ 40 | Ryzen 3 2200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 41 | Ryzen 3 3200G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 42 | Ryzen 3 3200U,15,2,7.5,https://www.techpowerup.com/cpu-specs/ 43 | Ryzen 5 1600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 44 | Ryzen 5 2600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 45 | Ryzen 5 3400G,65,4,16.3,https://www.techpowerup.com/cpu-specs/ 46 | Ryzen 5 3500U,15,4,3.8,https://www.techpowerup.com/cpu-specs/ 47 | Ryzen 5 3600,65,6,10.8,https://www.techpowerup.com/cpu-specs/ 48 | Ryzen 5 3600X,95,6,15.8,https://www.techpowerup.com/cpu-specs/ 49 | Ryzen 7 2700X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 50 | Ryzen 7 3700X,65,8,8.1,https://www.techpowerup.com/cpu-specs/ 51 | Ryzen 7 3800X,105,8,13.1,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 9 3900X,125,12,10.4,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen 9 3950X,105,16,6.6,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen Threadripper 2990WX,250,32,7.8,https://www.techpowerup.com/cpu-specs/ 55 | Ryzen Threadripper 3990X,280,64,4.4,https://www.techpowerup.com/cpu-specs/ 56 | Xeon E5-2660 v3,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/81706/intel-xeon-processor-e5-2660-v3-25m-cache-2-60-ghz.html 57 | Xeon E5-2665,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 58 | Xeon E5-2670,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 59 | Xeon E5-2670 v2,115,10,11.5,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 60 | Xeon E5-2680 v3,120,12,10.0,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 61 | Xeon E5-2683 v4,120,16,7.5,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 62 | Xeon E5-2690 v2,130,10,13.0,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 63 | Xeon E5-2690 v3,135,12,11.3,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 64 | Xeon E5-2695 v4,120,18,6.7,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 65 | Xeon E5-2697 v4,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 66 | Xeon E5-2699 v3,145,18,8.1,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 67 | Xeon E5-2699 v4,145,22,6.6,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 68 | Xeon E5-4610 v4,105,10,10.5,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 69 | Xeon E5-4620,95,8,11.9,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 70 | Xeon E5-4650L,115,8,14.4,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 71 | Xeon E7-8867 v3,165,16,10.3,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 72 | Xeon E7-8880 v4,150,22,6.8,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 73 | Xeon Gold 6142,150,16,9.4,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 74 | Xeon Gold 6148,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 75 | Xeon Gold 6248,150,20,7.5,https://ark.intel.com/content/www/us/en/ark/products/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz.html 76 | Xeon Gold 6252,150,24,6.3,https://ark.intel.com/content/www/us/en/ark/products/192447/intel-xeon-gold-6252-processor-35-75m-cache-2-10-ghz.html 77 | Xeon L5640 ,60,6,10.0,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 78 | Xeon Phi 5110P,225,60,3.8,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 79 | Xeon Platinum 9282,400,56,7.1,https://www.techpowerup.com/cpu-specs/ 80 | Xeon X3430,95,4,23.8,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 81 | Xeon X5660,95,6,15.8,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html -------------------------------------------------------------------------------- /data/v2.2/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,, 2 | model,TDP,n_cores,TDP_per_core,source 3 | NVIDIA Jetson AGX Xavier,30,,30,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 4 | NVIDIA Tesla T4,70,,70,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 5 | AMD RX480,150,,150,techpowerup.com 6 | NVIDIA GTX 1080,180,,180,techpowerup.com 7 | TPU v3,200,,200,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 8 | Any,,,200, 9 | NVIDIA RTX 2080,215,,215,techpowerup.com 10 | NVIDIA RTX 2080 Ti,250,,250,techpowerup.com 11 | NVIDIA GTX 1080 Ti,250,,250,techpowerup.com 12 | NVIDIA Titan V,250,,250,techpowerup.com 13 | TPU v2,250,,250,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 14 | NVIDIA GTX TITAN X,250,,250,techpowerup.com 15 | NVIDIA TITAN X Pascal,250,,250,techpowerup.com 16 | NVIDIA Tesla P100 PCIe,250,,250,techpowerup.com 17 | NVIDIA Tesla V100,300,,300,techpowerup.com 18 | TPU v3 pod,288000,,288000,https://www.nextplatform.com/2018/05/10/tearing-apart-googles-tpu-3-0-ai-coprocessor/ 19 | NVIDIA A100 PCIe,250,,250,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/a100-80gb-datasheet-update-nvidia-us-1521051-r2-web.pdf 20 | NVIDIA Tesla P4,75,,75,https://www.techpowerup.com/gpu-specs/tesla-p4.c2879 21 | NVIDIA Tesla K80,300,,300,https://www.techpowerup.com/gpu-specs/tesla-k80.c2616 -------------------------------------------------------------------------------- /data/v2.2/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.67,2019 https://journal.uptimeinstitute.com/is-pue-actually-going-up/ 4 | gcp,1.11,https://www.google.co.uk/about/datacenters/efficiency/ 5 | aws,1.2,https://aws.amazon.com/about-aws/sustainability/ 6 | azure,1.125,but only for new datacentres https://azure.microsoft.com/en-gb/global-infrastructure/ -------------------------------------------------------------------------------- /data/v2.2/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/v2.2/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/v2.2/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source 3 | gcp,CPU,,Intel Xeon Scalable Proocessor (cascade lake) 4 | gcp,CPU,,Intel Xeon Scalable Proocessor (skylake) 5 | gcp,CPU,Xeon E7-8880 v4,(Best fit for Xeon E7) https://cloud.google.com/compute/docs/cpu-platforms 6 | gcp,CPU,Xeon E5-2699 v4,(Best fit for Xeon E5 v4) https://cloud.google.com/compute/docs/cpu-platforms 7 | gcp,CPU,Xeon E5-2699 v3,(Best fit for Xeon E5 v3) https://cloud.google.com/compute/docs/cpu-platforms 8 | gcp,CPU,Xeon E5-2670 v2,(Best fit for Xeon E5 v2) https://cloud.google.com/compute/docs/cpu-platforms 9 | gcp,CPU,Xeon E5-2670,(Best fit for Xeon E5) https://cloud.google.com/compute/docs/cpu-platforms 10 | gcp,CPU,AMD 7552,"Could also be 7742 or 7642, but this one is in the middle in terms of TDP per core, so best estimate https://cloud.google.com/compute/docs/cpu-platforms " 11 | gcp,GPU,NVIDIA A100 PCIe,https://cloud.google.com/compute/docs/gpus 12 | gcp,GPU,NVIDIA Tesla T4,https://cloud.google.com/compute/docs/gpus 13 | gcp,GPU,NVIDIA Tesla P100 PCIe,https://cloud.google.com/compute/docs/gpus 14 | gcp,GPU,NVIDIA Tesla V100,https://cloud.google.com/compute/docs/gpus 15 | gcp,GPU,NVIDIA Tesla P4,https://cloud.google.com/compute/docs/gpus 16 | gcp,GPU,NVIDIA Tesla K80,https://cloud.google.com/compute/docs/gpus -------------------------------------------------------------------------------- /data/v2.2/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,36,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix (update) 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 15 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/v2.2/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /data/v3.0/TDP_cpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,,,,in nm,in cm2, 2 | model,TDP,n_cores,TDP_per_core,Release_year,feature_size,die_area,source 3 | A8-7680,45,4,11.3,,,,https://www.techpowerup.com/cpu-specs/ 4 | A9-9425 SoC,15,2,7.5,,,,https://www.techpowerup.com/cpu-specs/ 5 | AMD 7552,200,48,4.2,,,,https://www.amd.com/system/files/documents/AMD-EPYC-7002-Series-Datasheet.pdf 6 | AMD EPYC 7251,120,8,15.0,,,,https://www.amd.com/en/products/cpu/amd-epyc-7251 7 | AMD EPYC 7343,190,16,11.9,,,,https://www.amd.com/en/products/cpu/amd-epyc-7343 8 | AMD EPYC 7513,200,32,6.3,,,,https://www.amd.com/en/products/cpu/amd-epyc-7513 9 | AMD EPYC 7642,225,48,4.7,,,,https://www.techpowerup.com/cpu-specs/epyc-7642.c2247 10 | AMD EPYC 7763,280,64,4.4,,,,https://www.amd.com/en/products/cpu/amd-epyc-7763 11 | AMD EPYC 7773X,280,64,4.4,,,,https://www.amd.com/en/products/cpu/amd-epyc-7773x 12 | AMD EPYC 7H12,280,64,4.4,,,,https://www.amd.com/en/product/9131 13 | AMD EPYC 7V73X,280,64,4.4,,,,https://wccftech.com/amd-epyc-7v73x-cpu-with-3d-v-cache-tested-milan-x-offers-impressive-cache-latency-better-boost-clocks-versus-standard-milan/ 14 | Any,,,12.0,,,, 15 | Athlon 3000G,35,2,17.5,,,,https://www.techpowerup.com/cpu-specs/ 16 | Core 2 Quad Q6600,95,4,23.8,,,,https://www.techpowerup.com/cpu-specs/ 17 | Core i3-10100,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 18 | Core i3-10300,62,4,15.5,,,,https://www.techpowerup.com/cpu-specs/ 19 | Core i3-10320,91,4,22.8,,,,https://www.techpowerup.com/cpu-specs/ 20 | Core i3-10350K,91,4,22.8,,,,https://www.techpowerup.com/cpu-specs/ 21 | Core i3-9100,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 22 | Core i3-9100F,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 23 | Core i5-10400,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 24 | Core i5-10400F,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 25 | Core i5-10500,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 26 | Core i5-10600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 27 | Core i5-10600K,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 28 | Core i5-1145G7,28,4,7.0,,,,https://www.intel.co.uk/content/www/uk/en/products/sku/208660/intel-core-i51145g7-processor-8m-cache-up-to-4-40-ghz-with-ipu/specifications.html 29 | Core i5-3570K,77,4,19.3,,,,https://www.techpowerup.com/cpu-specs/ 30 | Core i5-4460,84,4,21.0,,,,https://ark.intel.com/content/www/us/en/ark/products/80817/intel-core-i5-4460-processor-6m-cache-up-to-3-40-ghz.html 31 | Core i5-9400,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 32 | Core i5-9400F,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 33 | Core i5-9600KF,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 34 | Core i7-10700,65,8,8.1,,,,https://www.techpowerup.com/cpu-specs/ 35 | Core i7-10700K,125,8,15.6,,,,https://www.techpowerup.com/cpu-specs/ 36 | Core i7-4790,84,4,21.0,,,,https://www.intel.co.uk/content/www/uk/en/products/sku/80806/intel-core-i74790-processor-8m-cache-up-to-4-00-ghz/specifications.html 37 | Core i7-4930K,130,6,21.7,,,,https://www.techpowerup.com/cpu-specs/ 38 | Core i7-6700K,95,4,23.8,,,,https://www.techpowerup.com/cpu-specs/ 39 | Core i7-8700K,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 40 | Core i7-9700F,65,8,8.1,,,,https://www.techpowerup.com/cpu-specs/ 41 | Core i7-9700K,95,8,11.9,,,,https://www.techpowerup.com/cpu-specs/ 42 | Core i9-10900K,125,10,12.5,,,,https://www.techpowerup.com/cpu-specs/ 43 | Core i9-10900KF,105,10,10.5,,,,https://www.techpowerup.com/cpu-specs/ 44 | Core i9-10900XE,165,10,16.5,,,,https://www.techpowerup.com/cpu-specs/ 45 | Core i9-10920XE,165,12,13.8,,,,https://www.techpowerup.com/cpu-specs/ 46 | Core i9-12900K,125,16,7.8,,,,https://ark.intel.com/content/www/us/en/ark/products/134599/intel-core-i912900k-processor-30m-cache-up-to-5-20-ghz.html 47 | Core i9-9900K,95,8,11.9,,,,https://www.techpowerup.com/cpu-specs/ 48 | FX-6300,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 49 | FX-8350,125,8,15.6,,,,https://www.techpowerup.com/cpu-specs/ 50 | Rasberry Pi 4,6.4,4,1.6,,,,https://raspberrypi.stackexchange.com/questions/114239/pi-4-maximum-power-consumption 51 | Ryzen 3 2200G,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 52 | Ryzen 3 3200G,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 53 | Ryzen 3 3200U,15,2,7.5,,,,https://www.techpowerup.com/cpu-specs/ 54 | Ryzen 5 1600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 55 | Ryzen 5 2600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 56 | Ryzen 5 3400G,65,4,16.3,,,,https://www.techpowerup.com/cpu-specs/ 57 | Ryzen 5 3500U,15,4,3.8,,,,https://www.techpowerup.com/cpu-specs/ 58 | Ryzen 5 3600,65,6,10.8,,,,https://www.techpowerup.com/cpu-specs/ 59 | Ryzen 5 3600X,95,6,15.8,,,,https://www.techpowerup.com/cpu-specs/ 60 | Ryzen 7 2700X,105,8,13.1,,,,https://www.techpowerup.com/cpu-specs/ 61 | Ryzen 7 3700X,65,8,8.1,,,,https://www.techpowerup.com/cpu-specs/ 62 | Ryzen 7 3800X,105,8,13.1,,,,https://www.techpowerup.com/cpu-specs/ 63 | Ryzen 9 3900X,125,12,10.4,,,,https://www.techpowerup.com/cpu-specs/ 64 | Ryzen 9 3950X,105,16,6.6,,,,https://www.techpowerup.com/cpu-specs/ 65 | Ryzen Threadripper 2990WX,250,32,7.8,,,,https://www.techpowerup.com/cpu-specs/ 66 | Ryzen Threadripper 3990X,280,64,4.4,,,,https://www.techpowerup.com/cpu-specs/ 67 | Xeon E5-2650 v2,95,8,11.9,,,,https://www.techpowerup.com/cpu-specs/xeon-e5-2650-v2.c1661 68 | Xeon E5-2660 v3,105,10,10.5,,,,https://ark.intel.com/content/www/us/en/ark/products/81706/intel-xeon-processor-e5-2660-v3-25m-cache-2-60-ghz.html 69 | Xeon E5-2665,115,8,14.4,,,,https://ark.intel.com/content/www/us/en/ark/products/64597/intel-xeon-processor-e5-2665-20m-cache-2-40-ghz-8-00-gt-s-intel-qpi.html 70 | Xeon E5-2670,115,8,14.4,,,,https://ark.intel.com/content/www/us/en/ark/products/64595/intel-xeon-processor-e5-2670-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 71 | Xeon E5-2670 v2,115,10,11.5,,,,https://ark.intel.com/content/www/us/en/ark/products/75275/intel-xeon-processor-e5-2670-v2-25m-cache-2-50-ghz.html 72 | Xeon E5-2680 v3,120,12,10.0,,,,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2680-v3.html 73 | Xeon E5-2683 v4,120,16,7.5,,,,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e5-processors/e5-2683-v4.html 74 | Xeon E5-2690 v2,130,10,13.0,,,,https://ark.intel.com/content/www/us/en/ark/products/75279/intel-xeon-processor-e5-2690-v2-25m-cache-3-00-ghz.html 75 | Xeon E5-2690 v3,135,12,11.3,,,,https://ark.intel.com/content/www/us/en/ark/products/81713/intel-xeon-processor-e5-2690-v3-30m-cache-2-60-ghz.html 76 | Xeon E5-2695 v3,120,14,8.6,,,,https://www.techpowerup.com/cpu-specs/xeon-e5-2695-v3.c2894 77 | Xeon E5-2695 v4,120,18,6.7,,,,https://ark.intel.com/content/www/us/en/ark/products/91316/intel-xeon-processor-e5-2695-v4-45m-cache-2-10-ghz.html 78 | Xeon E5-2697 v4,145,18,8.1,,,,https://ark.intel.com/content/www/us/en/ark/products/91755/intel-xeon-processor-e5-2697-v4-45m-cache-2-30-ghz.html 79 | Xeon E5-2699 v3,145,18,8.1,,,,https://ark.intel.com/content/www/us/en/ark/products/81061/intel-xeon-processor-e5-2699-v3-45m-cache-2-30-ghz.html 80 | Xeon E5-2699 v4,145,22,6.6,,,,https://ark.intel.com/content/www/us/en/ark/products/91317/intel-xeon-processor-e5-2699-v4-55m-cache-2-20-ghz.html 81 | Xeon E5-4610 v4,105,10,10.5,,,,https://ark.intel.com/content/www/us/en/ark/products/93812/intel-xeon-processor-e5-4610-v4-25m-cache-1-80-ghz.html 82 | Xeon E5-4620,95,8,11.9,,,,https://ark.intel.com/content/www/us/en/ark/products/64607/intel-xeon-processor-e5-4620-16m-cache-2-20-ghz-7-20-gt-s-intel-qpi.html 83 | Xeon E5-4650L,115,8,14.4,,,,https://ark.intel.com/content/www/us/en/ark/products/64606/intel-xeon-processor-e5-4650l-20m-cache-2-60-ghz-8-00-gt-s-intel-qpi.html 84 | Xeon E7-4850 v2,105,12,8.8,,,,https://ark.intel.com/content/www/us/en/ark/products/75248/intel-xeon-processor-e7-4850-v2-24m-cache-2-30-ghz.html 85 | Xeon E7-8867 v3,165,16,10.3,,,,https://ark.intel.com/content/www/us/en/ark/products/84681/intel-xeon-processor-e7-8867-v3-45m-cache-2-50-ghz.html 86 | Xeon E7-8880 v4,150,22,6.8,,,,https://www.intel.co.uk/content/www/uk/en/products/processors/xeon/e7-processors/e7-8880-v4.html 87 | Xeon Gold 6142,150,16,9.4,,,,https://ark.intel.com/content/www/us/en/ark/products/120487/intel-xeon-gold-6142-processor-22m-cache-2-60-ghz.html 88 | Xeon Gold 6148,150,20,7.5,,,,https://ark.intel.com/content/www/us/en/ark/products/120489/intel-xeon-gold-6148-processor-27-5m-cache-2-40-ghz.html 89 | Xeon Gold 6248,150,20,7.5,,,,https://ark.intel.com/content/www/us/en/ark/products/192446/intel-xeon-gold-6248-processor-27-5m-cache-2-50-ghz.html 90 | Xeon Gold 6252,150,24,6.3,,,,https://ark.intel.com/content/www/us/en/ark/products/192447/intel-xeon-gold-6252-processor-35-75m-cache-2-10-ghz.html 91 | Xeon L5640 ,60,6,10.0,,,,https://ark.intel.com/content/www/us/en/ark/products/47926/intel-xeon-processor-l5640-12m-cache-2-26-ghz-5-86-gt-s-intel-qpi.html 92 | Xeon Phi 5110P,225,60,3.8,,,,https://ark.intel.com/content/www/us/en/ark/products/71992/intel-xeon-phi-coprocessor-5110p-8gb-1-053-ghz-60-core.html 93 | Xeon Platinum 8260,165,24,6.9,,,,https://www.intel.com/content/www/us/en/products/sku/192474/intel-xeon-platinum-8260-processor-35-75m-cache-2-40-ghz/specifications.html 94 | Xeon Platinum 8268,205,24,8.5,,,,https://www.intel.com/content/www/us/en/products/sku/192481/intel-xeon-platinum-8268-processor-35-75m-cache-2-90-ghz/specifications.html 95 | Xeon Platinum 9282,400,56,7.1,,,,https://www.techpowerup.com/cpu-specs/ 96 | Xeon X3430,95,4,23.8,,,,https://ark.intel.com/content/www/us/en/ark/products/42927/intel-xeon-processor-x3430-8m-cache-2-40-ghz.html 97 | Xeon X5660,95,6,15.8,,,,https://ark.intel.com/content/www/us/en/ark/products/47921/intel-xeon-processor-x5660-12m-cache-2-80-ghz-6-40-gt-s-intel-qpi.html -------------------------------------------------------------------------------- /data/v3.0/TDP_gpu.csv: -------------------------------------------------------------------------------- 1 | index,in Watt,TO BE CHECKED,,,in nm,in cm2,in GB, 2 | model,TDP,n_cores,TDP_per_core,Release_year,feature_size,die_area,memory,source 3 | AMD RX480,150,,150,,,,,techpowerup.com 4 | Any,,,200,,,,, 5 | NVIDIA A100 40GB PCIe,250,,250,,,,,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/a100-80gb-datasheet-update-nvidia-us-1521051-r2-web.pdf 6 | NVIDIA A100 80GB PCIe,300,,300,,,,,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/PB-10577-001_v02.pdf 7 | NVIDIA GTX 1080,180,,180,,,,,techpowerup.com 8 | NVIDIA GTX 1080 Ti,250,,250,,,,,techpowerup.com 9 | NVIDIA GTX TITAN X,250,,250,,,,,techpowerup.com 10 | NVIDIA Jetson AGX Xavier,30,,30,,,,,https://www.techpowerup.com/gpu-specs/jetson-agx-xavier.c3232 11 | NVIDIA RTX 2080,215,,215,,,,,techpowerup.com 12 | NVIDIA RTX 2080 Ti,250,,250,,,,,techpowerup.com 13 | NVIDIA Tesla K80,300,,300,,,,,https://www.techpowerup.com/gpu-specs/tesla-k80.c2616 14 | NVIDIA Tesla P100,250,,250,,,,,https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/tesla-p100/pdf/nvidia-tesla-p100-PCIe-datasheet.pdf 15 | NVIDIA Tesla P100 PCIe,250,,250,,,,,techpowerup.com 16 | NVIDIA Tesla P4,75,,75,,,,,https://www.techpowerup.com/gpu-specs/tesla-p4.c2879 17 | NVIDIA Tesla T4,70,,70,,,,,https://www.techpowerup.com/gpu-specs/tesla-t4.c3316 18 | NVIDIA Tesla V100,300,,300,,,,,techpowerup.com 19 | NVIDIA Tesla V100S,250,,250,,,,,https://technical.city/en/video/Tesla-V100S-PCIe-32-GB 20 | NVIDIA Titan V,250,,250,,,,,techpowerup.com 21 | NVIDIA TITAN X Pascal,250,,250,,,,,techpowerup.com 22 | TPU v2,280,,280,,,,,http://arxiv.org/abs/2104.10350 23 | TPU v3,220,,220,,,,,https://cloud.google.com/tpu/docs/v3 24 | TPU v4,170,,170,,,,,https://cloud.google.com/tpu/docs/system-architecture-tpu-vm -------------------------------------------------------------------------------- /data/v3.0/defaults_PUE.csv: -------------------------------------------------------------------------------- 1 | index,>1, 2 | provider,PUE,source 3 | Unknown,1.56,2024 https://datacenter.uptimeinstitute.com/rs/711-RIA-145/images/2024.GlobalDataCenterSurvey.Report.pdf?version=0 4 | gcp,1.12,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 5 | aws,1.2,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 6 | azure,1.12,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 7 | OVHcloud,1.09,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ 8 | Oracle,1.2,https://www.nutanix.dev/2023/05/04/digging-into-data-center-efficiency-pue-and-the-impact-of-hci/ -------------------------------------------------------------------------------- /data/v3.0/localProviders_datacenters.csv: -------------------------------------------------------------------------------- 1 | must match providers codes,The name of the data centre on the cloud platform,must match CI-aggregated$location,extra level of details after regionName,,,> 1, 2 | provider,Name,location,Extra_details,location_freeForm,source_datacentre,PUE,source_PUE -------------------------------------------------------------------------------- /data/v3.0/providersNamesCodes.csv: -------------------------------------------------------------------------------- 1 | index,,, 2 | provider,providerName,platformType,platformName 3 | gcp,Google Cloud Platform,cloudComputing,Cloud computing 4 | aws,Amazon Web Services,cloudComputing,Cloud computing 5 | azure,Azure,cloudComputing,Cloud computing -------------------------------------------------------------------------------- /data/v3.0/providers_hardware.csv: -------------------------------------------------------------------------------- 1 | index,CPU/GPU/TPU,"Must match the models in ""TDP_cpu"" or ""TDP_gpu""", 2 | provider,type,model,source 3 | gcp,CPU,,Intel Xeon Scalable Proocessor (cascade lake) 4 | gcp,CPU,,Intel Xeon Scalable Proocessor (skylake) 5 | gcp,CPU,Xeon E7-8880 v4,(Best fit for Xeon E7) https://cloud.google.com/compute/docs/cpu-platforms 6 | gcp,CPU,Xeon E5-2699 v4,(Best fit for Xeon E5 v4) https://cloud.google.com/compute/docs/cpu-platforms 7 | gcp,CPU,Xeon E5-2699 v3,(Best fit for Xeon E5 v3) https://cloud.google.com/compute/docs/cpu-platforms 8 | gcp,CPU,Xeon E5-2670 v2,(Best fit for Xeon E5 v2) https://cloud.google.com/compute/docs/cpu-platforms 9 | gcp,CPU,Xeon E5-2670,(Best fit for Xeon E5) https://cloud.google.com/compute/docs/cpu-platforms 10 | gcp,CPU,AMD 7552,"Could also be 7742 or 7642, but this one is in the middle in terms of TDP per core, so best estimate https://cloud.google.com/compute/docs/cpu-platforms " 11 | gcp,GPU,NVIDIA A100 PCIe,https://cloud.google.com/compute/docs/gpus 12 | gcp,GPU,NVIDIA Tesla T4,https://cloud.google.com/compute/docs/gpus 13 | gcp,GPU,NVIDIA Tesla P100 PCIe,https://cloud.google.com/compute/docs/gpus 14 | gcp,GPU,NVIDIA Tesla V100,https://cloud.google.com/compute/docs/gpus 15 | gcp,GPU,NVIDIA Tesla P4,https://cloud.google.com/compute/docs/gpus 16 | gcp,GPU,NVIDIA Tesla K80,https://cloud.google.com/compute/docs/gpus -------------------------------------------------------------------------------- /data/v3.0/referenceValues.csv: -------------------------------------------------------------------------------- 1 | variable name,, 2 | variable,value,source 3 | memoryPower,0.3725,"in W/GB from http://dl.acm.org/citation.cfm?doid=3076113.3076117 and https://www.tomshardware.com/uk/reviews/intel-core-i7-5960x-haswell-e-cpu,3918-13.html" 4 | passengerCar_EU_perkm,175,in gCO2/km from http://www.sciencedirect.com/science/article/pii/S1352231018307295 and https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2019 5 | passengerCar_US_perkm,251,in gCO2/km from https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle 6 | train_perkm,41,"in gCO2/km, but more like 5-37g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 7 | flight_economy_perkm,171,"in gCO2/km, but more like 139-244g, from https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2020" 8 | treeYear,11000,in gCO2/tree/year from http://www.sciencedirect.com/science/article/pii/S0269749101002640 9 | flight_NY-SF,570000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 10 | flight_PAR-LON,50000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 11 | flight_PAR-DUB,110000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 12 | flight_NYC-MEL,2310000,gCO2e from https://calculator.carbonfootprint.com/calculator.aspx?tab=3 13 | streaming_netflix_perhour,36,gCO2 from https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix (update) 14 | google_search,10,gCO2 from http://www.janavirgin.com/CO2/CO2GLE_about.html 15 | tree_month,917,gCO2 same source as treeYear -------------------------------------------------------------------------------- /data/v3.0/servers_offset.csv: -------------------------------------------------------------------------------- 1 | index,,between 0 and 100, 2 | provider,datacenter,offsetRatio,source 3 | gcp,default,100, 4 | aws,default,100, 5 | azure,default,100, 6 | csd3,default,0, 7 | baker,default,0, -------------------------------------------------------------------------------- /images/_stripes_GLOBE---1850-2018-MO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/_stripes_GLOBE---1850-2018-MO.png -------------------------------------------------------------------------------- /images/cbsgi_logo_100dpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/cbsgi_logo_100dpi.png -------------------------------------------------------------------------------- /images/icons.drawio: -------------------------------------------------------------------------------- 1 | 1VjLctowFP0aL+2x5PcSSGgWbSczLNqsGMUWthpb8siihn59JSxjG8NAZkggWiDp6Op17r0HgeHMis03jsrsB0twbkA72RjOgwEhAKEvK4VsGyQEsAFSThJt1AEL8g9r0NbomiS4GhgKxnJByiEYM0pxLAYY4pzVQ7MVy4e7lijFI2ARo3yM/iKJyPQtYNDhT5ikWbsz8KNmpECtsb5JlaGE1T3IeTScGWdMNK1iM8O5Iq/lpZk3PzG6PxjHVFw0IYmfX17cxc/18+9pPXmJ/6S2Cb1mmb8oX+sb69OKbUtBytm61GaYC7w5Rjx6bc3t8cHA/royTjArsOBbaaIXCvUMHSEOdJp+3fENXW2T9bjeg0j7ON0v3dEgG5qJ97DinGelzojAixLFql/L4DecaSYKuc8DkE1UlU04rsgGy72mK5LnM5YzLjHKqJw1rQRnb/gAPEn0gNDTvhzTfDsewXkaZVaUqllsUiUgVkVSWlmCI1qVjAskCKNWjPjSGfLbp9OAjr0rpzhVbBKZ09/RK86fWUXUqnL4lQnBip7BJJfbywHBlDuR7sWSd8zVpjkpn/QBru8nvYw7TIc2O3peBP4RLwbuRyWDf3uJcJ3oQCPGrHy2RrhfUiP8e9OIC2i8SCMQ4WWOKF6COxCK6ztILwOB5blRVzzvrFhEvhWBI3oRfFRiBLfXi4MnReDfXi7gl5SL4N7k4oL3aisXpNi97fsUHk/fs1mfq4Epit9U3NKkJyerXZEmu80mrYfsY+7S53nIhFA/XiaKCDiPEwosIkN+RWiCuRXLHeE8QQLJSuGVrOWNyq0pOMaqB6SAwbnqman8oCZFYs2xuTvc0jEBDK2Sptd3e/tt7FlR5HclGCSb6481yA3HMbIHr59r4e0V6PDFEtq3l6ALnuN3KEHhvUnQBe/hLydB7lkJEhk2a4xkxU1SmZTE2BQsQZLPuS8fcXM9uHT9KwjQCae3yQUsOHz49JC+7niB5R1Rng5+R3DIbvdnzW6s95eX8/gf -------------------------------------------------------------------------------- /images/logo_car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/logo_car.png -------------------------------------------------------------------------------- /images/logo_co2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/logo_co2.png -------------------------------------------------------------------------------- /images/logo_plane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/logo_plane.png -------------------------------------------------------------------------------- /images/logo_tree_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/logo_tree_1.png -------------------------------------------------------------------------------- /images/stripes_edit.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GreenAlgorithms/green-algorithms-tool/30df2feead1c7f5db87a3d86ca1239470a0cd415/images/stripes_edit.psd -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | annotated-types==0.7.0 2 | blinker==1.9.0 3 | cachelib==0.9.0 4 | certifi==2024.12.14 5 | charset-normalizer==3.4.1 6 | click==8.1.8 7 | colorama==0.4.6 8 | dash==2.18.2 9 | dash-bootstrap-components==1.7.1 10 | dash-core-components==2.0.0 11 | dash-extensions==1.0.19 12 | dash-html-components==2.0.0 13 | dash-iconify==0.1.2 14 | dash-table==5.0.0 15 | dash_mantine_components==0.15.2 16 | dataclass-wizard==0.30.1 17 | EditorConfig==0.17.0 18 | Flask==3.0.3 19 | Flask-Caching==2.3.0 20 | gunicorn==23.0.0 21 | idna==3.10 22 | importlib_metadata==8.6.1 23 | itsdangerous==2.2.0 24 | Jinja2==3.1.5 25 | jsbeautifier==1.15.1 26 | MarkupSafe==3.0.2 27 | more-itertools==10.6.0 28 | nest-asyncio==1.6.0 29 | newrelic 30 | numpy==2.2.2 31 | packaging==24.2 32 | pandas==2.2.3 33 | plotly==5.24.1 34 | pydantic==2.10.6 35 | pydantic_core==2.27.2 36 | python-dateutil==2.9.0.post0 37 | pytz==2024.2 38 | requests==2.32.3 39 | retrying==1.3.4 40 | six==1.17.0 41 | tenacity==9.0.0 42 | typing_extensions==4.12.2 43 | tzdata==2025.1 44 | urllib3==2.3.0 45 | Werkzeug==3.0.6 46 | zipp==3.21.0 -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- 1 | """ Generic Python utils. """ 2 | 3 | import pandas as pd 4 | 5 | YES_NO_OPTIONS = [ 6 | {'label': 'Yes', 'value': 'Yes'}, 7 | {'label': 'No', 'value': 'No'} 8 | ] 9 | 10 | 11 | class dotdict(dict): 12 | """dot.notation access to dictionary attributes.""" 13 | __getattr__ = dict.get 14 | __setattr__ = dict.__setitem__ 15 | __delattr__ = dict.__delitem__ 16 | 17 | 18 | def put_value_first(L: list, value): 19 | """Does not modify the input list if it does not contain the input value.""" 20 | if value in L: 21 | L.remove(value) 22 | return [value] + L 23 | return L 24 | 25 | 26 | def unlist(x): 27 | """ Extracts content of ONE ITEM lists.""" 28 | if isinstance(x, list): 29 | assert len(x) == 1 30 | return x[0] 31 | else: 32 | return x 33 | 34 | 35 | def is_shown(style: dict): 36 | return style['display'] != 'none' 37 | 38 | 39 | def check_CIcountries_df(df: pd.DataFrame): 40 | """ 41 | Simple sanity check on the table containing the Carbon Intensities (CI) per country. 42 | """ 43 | regions_cols_as_str = df.groupby(['continentName', 'countryName'])['regionName'].apply(','.join) 44 | for regions_per_country_as_str in regions_cols_as_str: 45 | assert 'Any' in regions_per_country_as_str.split(','), f"{regions_per_country_as_str} does't have an 'Any' column" 46 | 47 | 48 | def custom_prefix_escape(component_id: str): 49 | """ 50 | Allows to escape some ids from the PrefixIdTransform applied to DashBlueprints. 51 | Inspired from the default_prefix_escape() implemented in dash_exceptions. 52 | 53 | Its purpose is to avoid renaming the id of versioned-data, which does not belong 54 | to the scope of a particular form. 55 | TODO: implement in a more robust manner. 56 | """ 57 | if isinstance(component_id, str): 58 | if component_id.startswith("a-"): # intended usage is for anchors 59 | return True 60 | if component_id.startswith("anchor-"): # intended usage is for anchors 61 | return True 62 | if component_id in ['versioned_data', 'url_content']: 63 | return True 64 | return False 65 | --------------------------------------------------------------------------------