@grnsft/if 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/.devcontainer/devcontainer.json +38 -0
  2. package/.editorconfig +8 -0
  3. package/.env.example +9 -0
  4. package/.eslintignore +4 -0
  5. package/.eslintrc.json +8 -0
  6. package/.github/ISSUE_TEMPLATE/agenda.md +36 -0
  7. package/.github/ISSUE_TEMPLATE/blank-issue.md +10 -0
  8. package/.github/ISSUE_TEMPLATE/feedback.md +42 -0
  9. package/.github/ISSUE_TEMPLATE/model-plugin.md +63 -0
  10. package/.github/ISSUE_TEMPLATE/user-story.md +10 -0
  11. package/.github/PULL_REQUEST_TEMPLATE.md +21 -0
  12. package/.github/workflows/nodejs-ci.yml +34 -0
  13. package/.gitmodules +3 -0
  14. package/.prettierrc.js +3 -0
  15. package/CONTRIBUTING.md +194 -0
  16. package/LICENSE +21 -0
  17. package/Makefile +16 -0
  18. package/README.md +67 -0
  19. package/build/__mocks__/azure/index.d.ts +11 -0
  20. package/build/__mocks__/azure/index.js +132 -0
  21. package/build/__mocks__/boavizta/countries.json +138 -0
  22. package/build/__mocks__/boavizta/instance_types.json +625 -0
  23. package/build/__mocks__/boavizta/providers.json +1 -0
  24. package/build/__mocks__/fs/index.d.ts +3 -0
  25. package/build/__mocks__/fs/index.js +56 -0
  26. package/build/__mocks__/model-universe/index.d.ts +33 -0
  27. package/build/__mocks__/model-universe/index.js +68 -0
  28. package/build/__mocks__/watt-time/data.json +119 -0
  29. package/build/__tests__/integration/ompl/index.test.d.ts +1 -0
  30. package/build/__tests__/integration/ompl/index.test.js +61 -0
  31. package/build/__tests__/unit/lib/azure-importer/index.test.d.ts +1 -0
  32. package/build/__tests__/unit/lib/azure-importer/index.test.js +152 -0
  33. package/build/__tests__/unit/lib/boavizta/index.test.d.ts +1 -0
  34. package/build/__tests__/unit/lib/boavizta/index.test.js +579 -0
  35. package/build/__tests__/unit/lib/case-studies/aveva.test.d.ts +1 -0
  36. package/build/__tests__/unit/lib/case-studies/aveva.test.js +36 -0
  37. package/build/__tests__/unit/lib/case-studies/emem.test.d.ts +1 -0
  38. package/build/__tests__/unit/lib/case-studies/emem.test.js +108 -0
  39. package/build/__tests__/unit/lib/case-studies/eshoppen.test.d.ts +1 -0
  40. package/build/__tests__/unit/lib/case-studies/eshoppen.test.js +53 -0
  41. package/build/__tests__/unit/lib/case-studies/sci-accenture.test.d.ts +1 -0
  42. package/build/__tests__/unit/lib/case-studies/sci-accenture.test.js +23 -0
  43. package/build/__tests__/unit/lib/ccf/index.test.d.ts +1 -0
  44. package/build/__tests__/unit/lib/ccf/index.test.js +223 -0
  45. package/build/__tests__/unit/lib/cloud-instance-metadata/index.test.d.ts +1 -0
  46. package/build/__tests__/unit/lib/cloud-instance-metadata/index.test.js +73 -0
  47. package/build/__tests__/unit/lib/sci/index.test.d.ts +1 -0
  48. package/build/__tests__/unit/lib/sci/index.test.js +106 -0
  49. package/build/__tests__/unit/lib/sci-e/index.test.d.ts +1 -0
  50. package/build/__tests__/unit/lib/sci-e/index.test.js +30 -0
  51. package/build/__tests__/unit/lib/sci-m/index.test.d.ts +1 -0
  52. package/build/__tests__/unit/lib/sci-m/index.test.js +58 -0
  53. package/build/__tests__/unit/lib/sci-o/index.test.d.ts +1 -0
  54. package/build/__tests__/unit/lib/sci-o/index.test.js +42 -0
  55. package/build/__tests__/unit/lib/shell-imp/index.test.d.ts +1 -0
  56. package/build/__tests__/unit/lib/shell-imp/index.test.js +21 -0
  57. package/build/__tests__/unit/lib/tdp-finder/index.test.d.ts +1 -0
  58. package/build/__tests__/unit/lib/tdp-finder/index.test.js +62 -0
  59. package/build/__tests__/unit/lib/teads-aws/index.test.d.ts +1 -0
  60. package/build/__tests__/unit/lib/teads-aws/index.test.js +170 -0
  61. package/build/__tests__/unit/lib/teads-curve/index.test.d.ts +1 -0
  62. package/build/__tests__/unit/lib/teads-curve/index.test.js +146 -0
  63. package/build/__tests__/unit/lib/watt-time/index.test.d.ts +1 -0
  64. package/build/__tests__/unit/lib/watt-time/index.test.js +106 -0
  65. package/build/__tests__/unit/util/args.test.d.ts +1 -0
  66. package/build/__tests__/unit/util/args.test.js +92 -0
  67. package/build/__tests__/unit/util/models-universe.test.d.ts +1 -0
  68. package/build/__tests__/unit/util/models-universe.test.js +211 -0
  69. package/build/__tests__/unit/util/observatory.test.d.ts +1 -0
  70. package/build/__tests__/unit/util/observatory.test.js +91 -0
  71. package/build/__tests__/unit/util/supercomputer.test.d.ts +1 -0
  72. package/build/__tests__/unit/util/supercomputer.test.js +231 -0
  73. package/build/__tests__/unit/util/yaml.test.d.ts +1 -0
  74. package/build/__tests__/unit/util/yaml.test.js +59 -0
  75. package/build/config/config.d.ts +32 -0
  76. package/build/config/config.js +74 -0
  77. package/build/config/index.d.ts +2 -0
  78. package/build/config/index.js +8 -0
  79. package/build/config/strings.d.ts +14 -0
  80. package/build/config/strings.js +30 -0
  81. package/build/index.d.ts +1 -0
  82. package/build/index.js +46 -0
  83. package/build/lib/azure-importer/index.d.ts +55 -0
  84. package/build/lib/azure-importer/index.js +314 -0
  85. package/build/lib/boavizta/index.d.ts +53 -0
  86. package/build/lib/boavizta/index.js +254 -0
  87. package/build/lib/case-studies/aveva-model.d.ts +29 -0
  88. package/build/lib/case-studies/aveva-model.js +53 -0
  89. package/build/lib/case-studies/emem-model.d.ts +42 -0
  90. package/build/lib/case-studies/emem-model.js +93 -0
  91. package/build/lib/case-studies/eshoppen-model.d.ts +24 -0
  92. package/build/lib/case-studies/eshoppen-model.js +123 -0
  93. package/build/lib/case-studies/index.d.ts +4 -0
  94. package/build/lib/case-studies/index.js +21 -0
  95. package/build/lib/case-studies/sci-accenture-model.d.ts +10 -0
  96. package/build/lib/case-studies/sci-accenture-model.js +37 -0
  97. package/build/lib/ccf/aws-embodied.json +5591 -0
  98. package/build/lib/ccf/aws-instances.json +21116 -0
  99. package/build/lib/ccf/aws-use.json +79 -0
  100. package/build/lib/ccf/azure-embodied.json +6547 -0
  101. package/build/lib/ccf/azure-instances.json +8332 -0
  102. package/build/lib/ccf/azure-use.json +58 -0
  103. package/build/lib/ccf/gcp-embodied.json +3049 -0
  104. package/build/lib/ccf/gcp-instances.json +3880 -0
  105. package/build/lib/ccf/gcp-use.json +58 -0
  106. package/build/lib/ccf/index.d.ts +63 -0
  107. package/build/lib/ccf/index.js +338 -0
  108. package/build/lib/cloud-instance-metadata/aws-instances.json +1 -0
  109. package/build/lib/cloud-instance-metadata/azure-instances.json +1 -0
  110. package/build/lib/cloud-instance-metadata/index.d.ts +15 -0
  111. package/build/lib/cloud-instance-metadata/index.js +104 -0
  112. package/build/lib/index.d.ts +15 -0
  113. package/build/lib/index.js +32 -0
  114. package/build/lib/interfaces/ccf.d.ts +19 -0
  115. package/build/lib/interfaces/ccf.js +3 -0
  116. package/build/lib/interfaces/index.d.ts +7 -0
  117. package/build/lib/interfaces/index.js +18 -0
  118. package/build/lib/sci/index.d.ts +13 -0
  119. package/build/lib/sci/index.js +131 -0
  120. package/build/lib/sci-e/index.d.ts +38 -0
  121. package/build/lib/sci-e/index.js +85 -0
  122. package/build/lib/sci-m/index.d.ts +10 -0
  123. package/build/lib/sci-m/index.js +124 -0
  124. package/build/lib/sci-o/index.d.ts +17 -0
  125. package/build/lib/sci-o/index.js +52 -0
  126. package/build/lib/shell-imp/index.d.ts +32 -0
  127. package/build/lib/shell-imp/index.js +82 -0
  128. package/build/lib/tdp-finder/index.d.ts +19 -0
  129. package/build/lib/tdp-finder/index.js +98 -0
  130. package/build/lib/teads-aws/aws-embodied.json +1 -0
  131. package/build/lib/teads-aws/aws-instances.json +1 -0
  132. package/build/lib/teads-aws/index.d.ts +58 -0
  133. package/build/lib/teads-aws/index.js +208 -0
  134. package/build/lib/teads-curve/index.d.ts +52 -0
  135. package/build/lib/teads-curve/index.js +158 -0
  136. package/build/lib/watt-time/index.d.ts +18 -0
  137. package/build/lib/watt-time/index.js +204 -0
  138. package/build/types/azure-importer.d.ts +29 -0
  139. package/build/types/azure-importer.js +3 -0
  140. package/build/types/boavizta.d.ts +7 -0
  141. package/build/types/boavizta.js +3 -0
  142. package/build/types/common.d.ts +7 -0
  143. package/build/types/common.js +9 -0
  144. package/build/types/impl.d.ts +40 -0
  145. package/build/types/impl.js +3 -0
  146. package/build/types/models-universe.d.ts +24 -0
  147. package/build/types/models-universe.js +3 -0
  148. package/build/types/process-args.d.ts +7 -0
  149. package/build/types/process-args.js +3 -0
  150. package/build/types/supercomputer.d.ts +4 -0
  151. package/build/types/supercomputer.js +3 -0
  152. package/build/util/args.d.ts +8 -0
  153. package/build/util/args.js +48 -0
  154. package/build/util/errors.d.ts +6 -0
  155. package/build/util/errors.js +22 -0
  156. package/build/util/helpers.d.ts +4 -0
  157. package/build/util/helpers.js +18 -0
  158. package/build/util/models-universe.d.ts +28 -0
  159. package/build/util/models-universe.js +95 -0
  160. package/build/util/observatory.d.ts +20 -0
  161. package/build/util/observatory.js +31 -0
  162. package/build/util/supercomputer.d.ts +30 -0
  163. package/build/util/supercomputer.js +109 -0
  164. package/build/util/validations.d.ts +25 -0
  165. package/build/util/validations.js +52 -0
  166. package/build/util/yaml.d.ts +13 -0
  167. package/build/util/yaml.js +36 -0
  168. package/coverage/clover.xml +1172 -0
  169. package/coverage/coverage-final.json +27 -0
  170. package/coverage/lcov-report/base.css +224 -0
  171. package/coverage/lcov-report/block-navigation.js +87 -0
  172. package/coverage/lcov-report/config/config.ts.html +310 -0
  173. package/coverage/lcov-report/config/index.html +146 -0
  174. package/coverage/lcov-report/config/index.ts.html +91 -0
  175. package/coverage/lcov-report/config/strings.ts.html +118 -0
  176. package/coverage/lcov-report/favicon.png +0 -0
  177. package/coverage/lcov-report/index.html +341 -0
  178. package/coverage/lcov-report/lib/boavizta/index.html +116 -0
  179. package/coverage/lcov-report/lib/boavizta/index.ts.html +1171 -0
  180. package/coverage/lcov-report/lib/case-studies/aveva-model.ts.html +277 -0
  181. package/coverage/lcov-report/lib/case-studies/emem-model.ts.html +439 -0
  182. package/coverage/lcov-report/lib/case-studies/eshoppen-model.ts.html +550 -0
  183. package/coverage/lcov-report/lib/case-studies/index.html +176 -0
  184. package/coverage/lcov-report/lib/case-studies/index.ts.html +97 -0
  185. package/coverage/lcov-report/lib/case-studies/sci-accenture-model.ts.html +232 -0
  186. package/coverage/lcov-report/lib/ccf/index.html +116 -0
  187. package/coverage/lcov-report/lib/ccf/index.ts.html +1339 -0
  188. package/coverage/lcov-report/lib/cloud-instance-metadata/index.html +116 -0
  189. package/coverage/lcov-report/lib/cloud-instance-metadata/index.ts.html +370 -0
  190. package/coverage/lcov-report/lib/index.html +116 -0
  191. package/coverage/lcov-report/lib/index.ts.html +121 -0
  192. package/coverage/lcov-report/lib/sci/index.html +116 -0
  193. package/coverage/lcov-report/lib/sci/index.ts.html +571 -0
  194. package/coverage/lcov-report/lib/sci-e/index.html +116 -0
  195. package/coverage/lcov-report/lib/sci-e/index.ts.html +403 -0
  196. package/coverage/lcov-report/lib/sci-m/index.html +116 -0
  197. package/coverage/lcov-report/lib/sci-m/index.ts.html +487 -0
  198. package/coverage/lcov-report/lib/sci-o/index.html +116 -0
  199. package/coverage/lcov-report/lib/sci-o/index.ts.html +265 -0
  200. package/coverage/lcov-report/lib/shell-imp/index.html +116 -0
  201. package/coverage/lcov-report/lib/shell-imp/index.ts.html +376 -0
  202. package/coverage/lcov-report/lib/teads-aws/index.html +116 -0
  203. package/coverage/lcov-report/lib/teads-aws/index.ts.html +823 -0
  204. package/coverage/lcov-report/lib/teads-curve/index.html +116 -0
  205. package/coverage/lcov-report/lib/teads-curve/index.ts.html +625 -0
  206. package/coverage/lcov-report/lib/watt-time/index.html +116 -0
  207. package/coverage/lcov-report/lib/watt-time/index.ts.html +829 -0
  208. package/coverage/lcov-report/prettify.css +1 -0
  209. package/coverage/lcov-report/prettify.js +2 -0
  210. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  211. package/coverage/lcov-report/sorter.js +196 -0
  212. package/coverage/lcov-report/types/common.ts.html +109 -0
  213. package/coverage/lcov-report/types/index.html +116 -0
  214. package/coverage/lcov-report/util/args.ts.html +244 -0
  215. package/coverage/lcov-report/util/index.html +176 -0
  216. package/coverage/lcov-report/util/models-universe.ts.html +679 -0
  217. package/coverage/lcov-report/util/observatory.ts.html +229 -0
  218. package/coverage/lcov-report/util/supercomputer.ts.html +466 -0
  219. package/coverage/lcov-report/util/yaml.ts.html +193 -0
  220. package/coverage/lcov.info +2094 -0
  221. package/docs/implementations/tdp-finder.md +36 -0
  222. package/examples/impls/case-studies/accenture.yml +155 -0
  223. package/examples/impls/case-studies/aveva.yaml +48 -0
  224. package/examples/impls/case-studies/azure-yassine.yaml +67 -0
  225. package/examples/impls/case-studies/boavizta.yml +26 -0
  226. package/examples/impls/case-studies/dow_msft.yml +173 -0
  227. package/examples/impls/case-studies/farm-insights.yaml +35 -0
  228. package/examples/impls/case-studies/gsf-website.yaml +93 -0
  229. package/examples/impls/case-studies/msft-eshoppen.yaml +162 -0
  230. package/examples/impls/case-studies/msft-green-ai.yaml +58 -0
  231. package/examples/impls/case-studies/ntt-data-on-premise.yaml +201 -0
  232. package/examples/impls/tdp-finder-test.yml +19 -0
  233. package/examples/impls/test/azure.yml +26 -0
  234. package/examples/impls/test/ccf.yml +19 -0
  235. package/examples/impls/test/complex-pipeline.yml +67 -0
  236. package/examples/impls/test/if-demo.yml +51 -0
  237. package/examples/impls/test/metadata.yml +20 -0
  238. package/examples/impls/test/nesting.yml +65 -0
  239. package/examples/impls/test/sci-e.yml +21 -0
  240. package/examples/impls/test/sci-m.yml +24 -0
  241. package/examples/impls/test/sci-o.yml +28 -0
  242. package/examples/impls/test/sci.yml +27 -0
  243. package/examples/impls/test/shell.yml +18 -0
  244. package/examples/impls/test/toto.yaml +22 -0
  245. package/examples/ompls/azure.yml +145 -0
  246. package/examples/ompls/ccf.yml +27 -0
  247. package/examples/ompls/complex-pipeline.yml +105 -0
  248. package/examples/ompls/full-sci.yml +64 -0
  249. package/examples/ompls/if-demo.yml +493 -0
  250. package/examples/ompls/metadata.yml +29 -0
  251. package/examples/ompls/nesting.yml +107 -0
  252. package/examples/ompls/sci-e.yml +23 -0
  253. package/examples/ompls/sci-m.yml +33 -0
  254. package/examples/ompls/sci-o.yml +29 -0
  255. package/examples/ompls/sci.yml +36 -0
  256. package/examples/ompls/shell.yml +23 -0
  257. package/jest.config.js +14 -0
  258. package/package.json +71 -0
  259. package/scripts/impact-test.sh +12 -0
  260. package/src/__mocks__/boavizta/countries.json +138 -0
  261. package/src/__mocks__/boavizta/instance_types.json +625 -0
  262. package/src/__mocks__/boavizta/providers.json +1 -0
  263. package/src/__mocks__/watt-time/data.json +119 -0
  264. package/src/config/units.yaml +125 -0
  265. package/src/lib/ccf/aws-embodied.json +5591 -0
  266. package/src/lib/ccf/aws-instances.json +21116 -0
  267. package/src/lib/ccf/aws-use.json +79 -0
  268. package/src/lib/ccf/azure-embodied.json +6547 -0
  269. package/src/lib/ccf/azure-instances.json +8332 -0
  270. package/src/lib/ccf/azure-use.json +58 -0
  271. package/src/lib/ccf/gcp-embodied.json +3049 -0
  272. package/src/lib/ccf/gcp-instances.json +3880 -0
  273. package/src/lib/ccf/gcp-use.json +58 -0
  274. package/src/lib/cloud-instance-metadata/aws-instances.json +1 -0
  275. package/src/lib/cloud-instance-metadata/azure-instances.json +1 -0
  276. package/src/lib/shell-imp/sampler +30 -0
  277. package/src/lib/tdp-finder/README.md +7 -0
  278. package/src/lib/tdp-finder/boavizta_data.csv +1768 -0
  279. package/src/lib/tdp-finder/data.csv +4460 -0
  280. package/src/lib/tdp-finder/data2.csv +2162 -0
  281. package/src/lib/teads-aws/aws-embodied.json +1 -0
  282. package/src/lib/teads-aws/aws-instances.json +1 -0
  283. package/tsconfig.test.json +39 -0
  284. package/tsconfig.tsbuildinfo +1 -0
  285. package/yarn-error.log +5854 -0
@@ -0,0 +1,493 @@
1
+ name: ccf-demo
2
+ description: example impl invoking CCF model
3
+ initialize:
4
+ models:
5
+ - name: azure-importer
6
+ kind: builtin
7
+ - name: cloud-instance-metadata
8
+ kind: builtin
9
+ - name: teads-curve
10
+ kind: builtin
11
+ - name: sci-e
12
+ kind: builtin
13
+ - name: sci-o
14
+ kind: builtin
15
+ - name: sci-m
16
+ kind: builtin
17
+ - name: sci
18
+ kind: builtin
19
+ graph:
20
+ children:
21
+ child:
22
+ pipeline:
23
+ - azure-importer
24
+ - cloud-instance-metadata
25
+ - teads-curve
26
+ - sci-e
27
+ - sci-o
28
+ - sci-m
29
+ - sci
30
+ config:
31
+ sci:
32
+ functional-unit: ''
33
+ functional-unit-time: hour
34
+ functional-unit-duration: 1
35
+ inputs:
36
+ - timestamp: '2023-11-02T10:35:31.820Z'
37
+ duration: 3600
38
+ azure-observation-window: 5 min
39
+ azure-observation-aggregation: average
40
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
41
+ azure-resource-group: vm1_group
42
+ azure-vm-name: vm1
43
+ grid-carbon-intensity: 951
44
+ total-embodied-emissions: 1533.12
45
+ time-reserved: 300
46
+ expected-lifespan: 94348800
47
+ resources-reserved: 1
48
+ total-resources: 64
49
+ outputs:
50
+ - timestamp: '2023-11-02T10:35:31.820Z'
51
+ cloud-vendor: azure
52
+ cpu-util: '0.314'
53
+ mem-availableGB: 0.488636416
54
+ mem-usedGB: 0.5113635839999999
55
+ total-memoryGB: '1'
56
+ mem-util: 51.13635839999999
57
+ location: uksouth
58
+ cloud-instance-type: Standard_B1s
59
+ duration: 300
60
+ azure-observation-window: 5 min
61
+ azure-observation-aggregation: average
62
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
63
+ azure-resource-group: vm1_group
64
+ azure-vm-name: vm1
65
+ grid-carbon-intensity: 951
66
+ total-embodied-emissions: 1533.12
67
+ time-reserved: 300
68
+ expected-lifespan: 94348800
69
+ resources-reserved: 1
70
+ total-resources: 64
71
+ functional-unit: ''
72
+ functional-unit-time: hour
73
+ functional-unit-duration: 1
74
+ vcpus-allocated: '1'
75
+ vcpus-total: '64'
76
+ physical-processor: >-
77
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
78
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
79
+ 2.4 GHz
80
+ memory-available: '1'
81
+ thermal-design-power: '270'
82
+ energy-cpu: 0.0028475446387886973
83
+ energy: 0.0028475446387886973
84
+ operational-carbon: 2.708014951488051
85
+ embodied-carbon: 0.00007616949023199022
86
+ sci: 32.49709345173939
87
+ - timestamp: '2023-11-02T10:35:31.820Z'
88
+ cloud-vendor: azure
89
+ cpu-util: '0.314'
90
+ mem-availableGB: 0.48978984960000005
91
+ mem-usedGB: 0.5102101504
92
+ total-memoryGB: '1'
93
+ mem-util: 51.021015039999995
94
+ location: uksouth
95
+ cloud-instance-type: Standard_B1s
96
+ duration: 300
97
+ azure-observation-window: 5 min
98
+ azure-observation-aggregation: average
99
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
100
+ azure-resource-group: vm1_group
101
+ azure-vm-name: vm1
102
+ grid-carbon-intensity: 951
103
+ total-embodied-emissions: 1533.12
104
+ time-reserved: 300
105
+ expected-lifespan: 94348800
106
+ resources-reserved: 1
107
+ total-resources: 64
108
+ functional-unit: ''
109
+ functional-unit-time: hour
110
+ functional-unit-duration: 1
111
+ vcpus-allocated: '1'
112
+ vcpus-total: '64'
113
+ physical-processor: >-
114
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
115
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
116
+ 2.4 GHz
117
+ memory-available: '1'
118
+ thermal-design-power: '270'
119
+ energy-cpu: 0.0028475446387886973
120
+ energy: 0.0028475446387886973
121
+ operational-carbon: 2.708014951488051
122
+ embodied-carbon: 0.00007616949023199022
123
+ sci: 32.49709345173939
124
+ - timestamp: '2023-11-02T10:35:31.820Z'
125
+ cloud-vendor: azure
126
+ cpu-util: '0.301'
127
+ mem-availableGB: 0.490733568
128
+ mem-usedGB: 0.509266432
129
+ total-memoryGB: '1'
130
+ mem-util: 50.9266432
131
+ location: uksouth
132
+ cloud-instance-type: Standard_B1s
133
+ duration: 300
134
+ azure-observation-window: 5 min
135
+ azure-observation-aggregation: average
136
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
137
+ azure-resource-group: vm1_group
138
+ azure-vm-name: vm1
139
+ grid-carbon-intensity: 951
140
+ total-embodied-emissions: 1533.12
141
+ time-reserved: 300
142
+ expected-lifespan: 94348800
143
+ resources-reserved: 1
144
+ total-resources: 64
145
+ functional-unit: ''
146
+ functional-unit-time: hour
147
+ functional-unit-duration: 1
148
+ vcpus-allocated: '1'
149
+ vcpus-total: '64'
150
+ physical-processor: >-
151
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
152
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
153
+ 2.4 GHz
154
+ memory-available: '1'
155
+ thermal-design-power: '270'
156
+ energy-cpu: 0.0028414365818491432
157
+ energy: 0.0028414365818491432
158
+ operational-carbon: 2.7022061893385354
159
+ embodied-carbon: 0.00007616949023199022
160
+ sci: 32.42738830594521
161
+ - timestamp: '2023-11-02T10:35:31.820Z'
162
+ cloud-vendor: azure
163
+ cpu-util: '0.298'
164
+ mem-availableGB: 0.490733568
165
+ mem-usedGB: 0.509266432
166
+ total-memoryGB: '1'
167
+ mem-util: 50.9266432
168
+ location: uksouth
169
+ cloud-instance-type: Standard_B1s
170
+ duration: 300
171
+ azure-observation-window: 5 min
172
+ azure-observation-aggregation: average
173
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
174
+ azure-resource-group: vm1_group
175
+ azure-vm-name: vm1
176
+ grid-carbon-intensity: 951
177
+ total-embodied-emissions: 1533.12
178
+ time-reserved: 300
179
+ expected-lifespan: 94348800
180
+ resources-reserved: 1
181
+ total-resources: 64
182
+ functional-unit: ''
183
+ functional-unit-time: hour
184
+ functional-unit-duration: 1
185
+ vcpus-allocated: '1'
186
+ vcpus-total: '64'
187
+ physical-processor: >-
188
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
189
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
190
+ 2.4 GHz
191
+ memory-available: '1'
192
+ thermal-design-power: '270'
193
+ energy-cpu: 0.0028400270215236593
194
+ energy: 0.0028400270215236593
195
+ operational-carbon: 2.700865697469
196
+ embodied-carbon: 0.00007616949023199022
197
+ sci: 32.41130240351079
198
+ - timestamp: '2023-11-02T10:35:31.820Z'
199
+ cloud-vendor: azure
200
+ cpu-util: '0.301'
201
+ mem-availableGB: 0.49178214400000003
202
+ mem-usedGB: 0.5082178559999999
203
+ total-memoryGB: '1'
204
+ mem-util: 50.82178559999999
205
+ location: uksouth
206
+ cloud-instance-type: Standard_B1s
207
+ duration: 300
208
+ azure-observation-window: 5 min
209
+ azure-observation-aggregation: average
210
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
211
+ azure-resource-group: vm1_group
212
+ azure-vm-name: vm1
213
+ grid-carbon-intensity: 951
214
+ total-embodied-emissions: 1533.12
215
+ time-reserved: 300
216
+ expected-lifespan: 94348800
217
+ resources-reserved: 1
218
+ total-resources: 64
219
+ functional-unit: ''
220
+ functional-unit-time: hour
221
+ functional-unit-duration: 1
222
+ vcpus-allocated: '1'
223
+ vcpus-total: '64'
224
+ physical-processor: >-
225
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
226
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
227
+ 2.4 GHz
228
+ memory-available: '1'
229
+ thermal-design-power: '270'
230
+ energy-cpu: 0.0028414365818491432
231
+ energy: 0.0028414365818491432
232
+ operational-carbon: 2.7022061893385354
233
+ embodied-carbon: 0.00007616949023199022
234
+ sci: 32.42738830594521
235
+ - timestamp: '2023-11-02T10:35:31.820Z'
236
+ cloud-vendor: azure
237
+ cpu-util: '0.298'
238
+ mem-availableGB: 0.49178214400000003
239
+ mem-usedGB: 0.5082178559999999
240
+ total-memoryGB: '1'
241
+ mem-util: 50.82178559999999
242
+ location: uksouth
243
+ cloud-instance-type: Standard_B1s
244
+ duration: 300
245
+ azure-observation-window: 5 min
246
+ azure-observation-aggregation: average
247
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
248
+ azure-resource-group: vm1_group
249
+ azure-vm-name: vm1
250
+ grid-carbon-intensity: 951
251
+ total-embodied-emissions: 1533.12
252
+ time-reserved: 300
253
+ expected-lifespan: 94348800
254
+ resources-reserved: 1
255
+ total-resources: 64
256
+ functional-unit: ''
257
+ functional-unit-time: hour
258
+ functional-unit-duration: 1
259
+ vcpus-allocated: '1'
260
+ vcpus-total: '64'
261
+ physical-processor: >-
262
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
263
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
264
+ 2.4 GHz
265
+ memory-available: '1'
266
+ thermal-design-power: '270'
267
+ energy-cpu: 0.0028400270215236593
268
+ energy: 0.0028400270215236593
269
+ operational-carbon: 2.700865697469
270
+ embodied-carbon: 0.00007616949023199022
271
+ sci: 32.41130240351079
272
+ - timestamp: '2023-11-02T10:35:31.820Z'
273
+ cloud-vendor: azure
274
+ cpu-util: '0.304'
275
+ mem-availableGB: 0.492306432
276
+ mem-usedGB: 0.507693568
277
+ total-memoryGB: '1'
278
+ mem-util: 50.7693568
279
+ location: uksouth
280
+ cloud-instance-type: Standard_B1s
281
+ duration: 300
282
+ azure-observation-window: 5 min
283
+ azure-observation-aggregation: average
284
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
285
+ azure-resource-group: vm1_group
286
+ azure-vm-name: vm1
287
+ grid-carbon-intensity: 951
288
+ total-embodied-emissions: 1533.12
289
+ time-reserved: 300
290
+ expected-lifespan: 94348800
291
+ resources-reserved: 1
292
+ total-resources: 64
293
+ functional-unit: ''
294
+ functional-unit-time: hour
295
+ functional-unit-duration: 1
296
+ vcpus-allocated: '1'
297
+ vcpus-total: '64'
298
+ physical-processor: >-
299
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
300
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
301
+ 2.4 GHz
302
+ memory-available: '1'
303
+ thermal-design-power: '270'
304
+ energy-cpu: 0.0028428461389389424
305
+ energy: 0.0028428461389389424
306
+ operational-carbon: 2.7035466781309343
307
+ embodied-carbon: 0.00007616949023199022
308
+ sci: 32.44347417145399
309
+ - timestamp: '2023-11-02T10:35:31.820Z'
310
+ cloud-vendor: azure
311
+ cpu-util: '0.3'
312
+ mem-availableGB: 0.49283072000000006
313
+ mem-usedGB: 0.50716928
314
+ total-memoryGB: '1'
315
+ mem-util: 50.716927999999996
316
+ location: uksouth
317
+ cloud-instance-type: Standard_B1s
318
+ duration: 300
319
+ azure-observation-window: 5 min
320
+ azure-observation-aggregation: average
321
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
322
+ azure-resource-group: vm1_group
323
+ azure-vm-name: vm1
324
+ grid-carbon-intensity: 951
325
+ total-embodied-emissions: 1533.12
326
+ time-reserved: 300
327
+ expected-lifespan: 94348800
328
+ resources-reserved: 1
329
+ total-resources: 64
330
+ functional-unit: ''
331
+ functional-unit-time: hour
332
+ functional-unit-duration: 1
333
+ vcpus-allocated: '1'
334
+ vcpus-total: '64'
335
+ physical-processor: >-
336
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
337
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
338
+ 2.4 GHz
339
+ memory-available: '1'
340
+ thermal-design-power: '270'
341
+ energy-cpu: 0.0028409667287652447
342
+ energy: 0.0028409667287652447
343
+ operational-carbon: 2.701759359055748
344
+ embodied-carbon: 0.00007616949023199022
345
+ sci: 32.42202634255176
346
+ - timestamp: '2023-11-02T10:35:31.820Z'
347
+ cloud-vendor: azure
348
+ cpu-util: '0.636'
349
+ mem-availableGB: 0.5062524928000001
350
+ mem-usedGB: 0.49374750719999994
351
+ total-memoryGB: '1'
352
+ mem-util: 49.374750719999994
353
+ location: uksouth
354
+ cloud-instance-type: Standard_B1s
355
+ duration: 300
356
+ azure-observation-window: 5 min
357
+ azure-observation-aggregation: average
358
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
359
+ azure-resource-group: vm1_group
360
+ azure-vm-name: vm1
361
+ grid-carbon-intensity: 951
362
+ total-embodied-emissions: 1533.12
363
+ time-reserved: 300
364
+ expected-lifespan: 94348800
365
+ resources-reserved: 1
366
+ total-resources: 64
367
+ functional-unit: ''
368
+ functional-unit-time: hour
369
+ functional-unit-duration: 1
370
+ vcpus-allocated: '1'
371
+ vcpus-total: '64'
372
+ physical-processor: >-
373
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
374
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
375
+ 2.4 GHz
376
+ memory-available: '1'
377
+ thermal-design-power: '270'
378
+ energy-cpu: 0.0029988096470848187
379
+ energy: 0.0029988096470848187
380
+ operational-carbon: 2.8518679743776625
381
+ embodied-carbon: 0.00007616949023199022
382
+ sci: 34.22332972641473
383
+ - timestamp: '2023-11-02T10:35:31.820Z'
384
+ cloud-vendor: azure
385
+ cpu-util: '0.29500000000000004'
386
+ mem-availableGB: 0.509607936
387
+ mem-usedGB: 0.490392064
388
+ total-memoryGB: '1'
389
+ mem-util: 49.039206400000005
390
+ location: uksouth
391
+ cloud-instance-type: Standard_B1s
392
+ duration: 300
393
+ azure-observation-window: 5 min
394
+ azure-observation-aggregation: average
395
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
396
+ azure-resource-group: vm1_group
397
+ azure-vm-name: vm1
398
+ grid-carbon-intensity: 951
399
+ total-embodied-emissions: 1533.12
400
+ time-reserved: 300
401
+ expected-lifespan: 94348800
402
+ resources-reserved: 1
403
+ total-resources: 64
404
+ functional-unit: ''
405
+ functional-unit-time: hour
406
+ functional-unit-duration: 1
407
+ vcpus-allocated: '1'
408
+ vcpus-total: '64'
409
+ physical-processor: >-
410
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
411
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
412
+ 2.4 GHz
413
+ memory-available: '1'
414
+ thermal-design-power: '270'
415
+ energy-cpu: 0.0028386174579947384
416
+ energy: 0.0028386174579947384
417
+ operational-carbon: 2.699525202552996
418
+ embodied-carbon: 0.00007616949023199022
419
+ sci: 32.39521646451874
420
+ - timestamp: '2023-11-02T10:35:31.820Z'
421
+ cloud-vendor: azure
422
+ cpu-util: '0.309'
423
+ mem-availableGB: 0.5106565120000001
424
+ mem-usedGB: 0.48934348799999994
425
+ total-memoryGB: '1'
426
+ mem-util: 48.934348799999995
427
+ location: uksouth
428
+ cloud-instance-type: Standard_B1s
429
+ duration: 300
430
+ azure-observation-window: 5 min
431
+ azure-observation-aggregation: average
432
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
433
+ azure-resource-group: vm1_group
434
+ azure-vm-name: vm1
435
+ grid-carbon-intensity: 951
436
+ total-embodied-emissions: 1533.12
437
+ time-reserved: 300
438
+ expected-lifespan: 94348800
439
+ resources-reserved: 1
440
+ total-resources: 64
441
+ functional-unit: ''
442
+ functional-unit-time: hour
443
+ functional-unit-duration: 1
444
+ vcpus-allocated: '1'
445
+ vcpus-total: '64'
446
+ physical-processor: >-
447
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
448
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
449
+ 2.4 GHz
450
+ memory-available: '1'
451
+ thermal-design-power: '270'
452
+ energy-cpu: 0.0028451953934772694
453
+ energy: 0.0028451953934772694
454
+ operational-carbon: 2.705780819196883
455
+ embodied-carbon: 0.00007616949023199022
456
+ sci: 32.470283864245374
457
+ - timestamp: '2023-11-02T10:35:31.820Z'
458
+ cloud-vendor: azure
459
+ cpu-util: '0.484'
460
+ mem-availableGB: 0.5106565120000001
461
+ mem-usedGB: 0.48934348799999994
462
+ total-memoryGB: '1'
463
+ mem-util: 48.934348799999995
464
+ location: uksouth
465
+ cloud-instance-type: Standard_B1s
466
+ duration: 300
467
+ azure-observation-window: 5 min
468
+ azure-observation-aggregation: average
469
+ azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
470
+ azure-resource-group: vm1_group
471
+ azure-vm-name: vm1
472
+ grid-carbon-intensity: 951
473
+ total-embodied-emissions: 1533.12
474
+ time-reserved: 300
475
+ expected-lifespan: 94348800
476
+ resources-reserved: 1
477
+ total-resources: 64
478
+ functional-unit: ''
479
+ functional-unit-time: hour
480
+ functional-unit-duration: 1
481
+ vcpus-allocated: '1'
482
+ vcpus-total: '64'
483
+ physical-processor: >-
484
+ Intel Xeon Platinum 8370C,Intel Xeon Platinum 8272CL,Intel Xeon
485
+ 8171M 2.1 GHz,Intel Xeon E5-2673 v4 2.3 GHz,Intel® Xeon® E5-2673 v3
486
+ 2.4 GHz
487
+ memory-available: '1'
488
+ thermal-design-power: '270'
489
+ energy-cpu: 0.002927412423351122
490
+ energy: 0.002927412423351122
491
+ operational-carbon: 2.783969214606917
492
+ embodied-carbon: 0.00007616949023199022
493
+ sci: 33.40854460916579
@@ -0,0 +1,29 @@
1
+ name: sci-m
2
+ description: simple demo invoking metadata lookup
3
+ tags: null
4
+ initialize:
5
+ models:
6
+ - name: cloud-instance-metadata
7
+ kind: builtin
8
+ graph:
9
+ children:
10
+ child:
11
+ pipeline:
12
+ - cloud-instance-metadata
13
+ config:
14
+ cloud-instance-metadata: null
15
+ inputs:
16
+ - timestamp: 2023-07-06T00:00
17
+ duration: 3600
18
+ cloud-vendor: azure
19
+ cloud-instance-type: Standard_NC24s_v3
20
+ outputs:
21
+ - timestamp: 2023-07-06T00:00
22
+ duration: 3600
23
+ cloud-vendor: azure
24
+ cloud-instance-type: Standard_NC24s_v3
25
+ vcpus-allocated: '24'
26
+ vcpus-total: '28'
27
+ physical-processor: Intel Xeon E5-2690 v4
28
+ memory-available: '448'
29
+ thermal-design-power: '135'
@@ -0,0 +1,107 @@
1
+ name: nesting-demo
2
+ description: null
3
+ tags:
4
+ kind: web
5
+ complexity: moderate
6
+ category: on-premise
7
+ initialize:
8
+ models:
9
+ - name: teads-curve
10
+ kind: builtin
11
+ - name: sci-e
12
+ kind: builtin
13
+ verbose: false
14
+ path: ''
15
+ - name: sci-m
16
+ kind: builtin
17
+ verbose: false
18
+ path: ''
19
+ - name: sci-o
20
+ kind: builtin
21
+ verbose: false
22
+ path: ''
23
+ - name: sci
24
+ kind: builtin
25
+ verbose: false
26
+ path: ''
27
+ graph:
28
+ children:
29
+ child:
30
+ pipeline:
31
+ - teads-curve
32
+ - sci-e
33
+ - sci-m
34
+ - sci-o
35
+ - sci
36
+ config:
37
+ teads-curve:
38
+ thermal-design-power: 65
39
+ sci-m:
40
+ total-embodied-emissions: 251000
41
+ time-reserved: 3600
42
+ expected-lifespan: 126144000
43
+ resources-reserved: 1
44
+ total-resources: 1
45
+ sci-o:
46
+ grid-carbon-intensity: 457
47
+ sci:
48
+ functional-unit-duration: 1
49
+ functional-duration-time: ''
50
+ functional-unit: requests
51
+ children:
52
+ child-1:
53
+ inputs:
54
+ - timestamp: 2023-07-06T00:00
55
+ duration: 10
56
+ cpu-util: 50
57
+ e-net: 0.000811
58
+ requests: 380
59
+ outputs:
60
+ - timestamp: 2023-07-06T00:00
61
+ duration: 10
62
+ cpu-util: 50
63
+ e-net: 0.000811
64
+ requests: 380
65
+ thermal-design-power: 65
66
+ total-embodied-emissions: 251000
67
+ time-reserved: 3600
68
+ expected-lifespan: 126144000
69
+ resources-reserved: 1
70
+ total-resources: 1
71
+ grid-carbon-intensity: 457
72
+ functional-unit-duration: 1
73
+ functional-duration-time: ''
74
+ functional-unit: requests
75
+ energy-cpu: 0.00013541666666666666
76
+ energy: 0.00013541666666666666
77
+ embodied-carbon: 7.16324200913242
78
+ operational-carbon: 0.061885416666666665
79
+ sci: 0.001901349322578707
80
+ child-2:
81
+ inputs:
82
+ - timestamp: 2023-07-06T00:00
83
+ duration: 10
84
+ cpu-util: 33
85
+ e-net: 0.000811
86
+ requests: 380
87
+ outputs:
88
+ - timestamp: 2023-07-06T00:00
89
+ duration: 10
90
+ cpu-util: 33
91
+ e-net: 0.000811
92
+ requests: 380
93
+ thermal-design-power: 65
94
+ total-embodied-emissions: 251000
95
+ time-reserved: 3600
96
+ expected-lifespan: 126144000
97
+ resources-reserved: 1
98
+ total-resources: 1
99
+ grid-carbon-intensity: 457
100
+ functional-unit-duration: 1
101
+ functional-duration-time: ''
102
+ functional-unit: requests
103
+ energy-cpu: 0.00011243956355860435
104
+ energy: 0.00011243956355860435
105
+ embodied-carbon: 7.16324200913242
106
+ operational-carbon: 0.05138488054628219
107
+ sci: 0.0018985860235996583
@@ -0,0 +1,23 @@
1
+ name: sci-e-demo
2
+ description: null
3
+ tags: null
4
+ initialize:
5
+ models:
6
+ - name: sci-e
7
+ kind: builtin
8
+ graph:
9
+ children:
10
+ child:
11
+ pipeline:
12
+ - sci-e
13
+ config:
14
+ sci-e: null
15
+ inputs:
16
+ - timestamp: 2023-08-06T00:00
17
+ duration: 3600
18
+ energy-cpu: 0.001
19
+ outputs:
20
+ - timestamp: 2023-08-06T00:00
21
+ duration: 3600
22
+ energy-cpu: 0.001
23
+ energy: 0.001
@@ -0,0 +1,33 @@
1
+ name: sci-m
2
+ description: simple demo invoking sci-m
3
+ tags: null
4
+ initialize:
5
+ models:
6
+ - name: sci-m
7
+ kind: builtin
8
+ verbose: false
9
+ path: ''
10
+ graph:
11
+ children:
12
+ child:
13
+ pipeline:
14
+ - sci-m
15
+ config:
16
+ sci-m:
17
+ total-embodied-emissions: 1533.12
18
+ time-reserved: 3600
19
+ expected-lifespan: 94608000
20
+ resources-reserved: 1
21
+ total-resources: 8
22
+ inputs:
23
+ - timestamp: 2023-07-06T00:00
24
+ duration: 3600
25
+ outputs:
26
+ - timestamp: 2023-07-06T00:00
27
+ duration: 3600
28
+ total-embodied-emissions: 1533.12
29
+ time-reserved: 3600
30
+ expected-lifespan: 94608000
31
+ resources-reserved: 1
32
+ total-resources: 8
33
+ embodied-carbon: 0.007292237442922374