@grnsft/if 0.1.2 → 0.1.3-beta
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.
- package/CONTRIBUTING.md +13 -17
- package/README.md +36 -18
- package/build/config/config.d.ts +12 -0
- package/build/config/config.js +54 -0
- package/build/config/strings.d.ts +8 -3
- package/build/config/strings.js +10 -6
- package/build/index.js +15 -8
- package/build/lib/models-universe.d.ts +10 -2
- package/build/lib/models-universe.js +52 -34
- package/build/lib/observatory.d.ts +20 -0
- package/build/lib/observatory.js +31 -0
- package/build/lib/planet-aggregator.d.ts +6 -0
- package/build/lib/planet-aggregator.js +35 -0
- package/build/lib/supercomputer.d.ts +7 -0
- package/build/lib/supercomputer.js +45 -6
- package/build/models/index.d.ts +1 -0
- package/build/models/index.js +6 -0
- package/build/models/time-sync.d.ts +55 -0
- package/build/models/time-sync.js +235 -0
- package/build/types/helpers.d.ts +1 -0
- package/build/types/helpers.js +3 -0
- package/build/types/impl.d.ts +14 -9
- package/build/types/impl.js +3 -1
- package/build/types/model-interface.d.ts +14 -0
- package/build/types/model-interface.js +3 -0
- package/build/types/models-universe.d.ts +5 -6
- package/build/types/models-universe.js +1 -1
- package/build/types/planet-aggregator.d.ts +6 -0
- package/build/types/planet-aggregator.js +3 -0
- package/build/types/process-args.d.ts +7 -0
- package/build/types/process-args.js +3 -0
- package/build/types/supercomputer.d.ts +4 -0
- package/build/types/supercomputer.js +3 -0
- package/build/types/time-sync.d.ts +9 -0
- package/build/types/time-sync.js +3 -0
- package/build/types/units-dealer.d.ts +3 -0
- package/build/types/units-dealer.js +3 -0
- package/build/types/units.d.ts +11 -0
- package/build/types/units.js +37 -0
- package/build/util/args.js +58 -0
- package/build/util/errors.d.ts +6 -0
- package/build/util/errors.js +25 -0
- package/build/util/helpers.js +18 -0
- package/build/util/units-dealer.d.ts +10 -0
- package/build/util/units-dealer.js +32 -0
- package/build/util/validations.d.ts +4 -0
- package/build/util/validations.js +29 -1
- package/build/util/yaml.d.ts +1 -2
- package/build/util/yaml.js +1 -1
- package/coverage/clover.xml +111 -65
- package/coverage/coverage-final.json +7 -6
- package/coverage/lcov-report/config/config.ts.html +12 -3
- package/coverage/lcov-report/config/index.html +1 -1
- package/coverage/lcov-report/config/index.ts.html +3 -3
- package/coverage/lcov-report/config/strings.ts.html +2 -2
- package/coverage/lcov-report/index.html +9 -9
- package/coverage/lcov-report/lib/index.html +24 -9
- package/coverage/lcov-report/lib/models-universe.ts.html +1 -1
- package/coverage/lcov-report/lib/observatory.ts.html +7 -7
- package/coverage/lcov-report/lib/planet-aggregator.ts.html +253 -0
- package/coverage/lcov-report/lib/supercomputer.ts.html +211 -52
- package/coverage/lcov-report/util/args.ts.html +1 -1
- package/coverage/lcov-report/util/errors.ts.html +10 -7
- package/coverage/lcov-report/util/index.html +1 -1
- package/coverage/lcov-report/util/yaml.ts.html +1 -1
- package/coverage/lcov.info +184 -105
- package/examples/impls/case-studies/aggregation.yml +97 -0
- package/examples/impls/case-studies/ntt-data-on-premise.yaml +0 -42
- package/examples/impls/test/aggregation-test.yml +109 -0
- package/examples/impls/test/large-impl.yml +257303 -0
- package/examples/impls/test/time-sync.yml +75 -0
- package/examples/ompls/aggregation-test.yml +340 -0
- package/examples/ompls/test/time-sync.yml +255 -0
- package/examples/ompls/time-sync.yml +212 -0
- package/hack-banner.png +0 -0
- package/package.json +3 -1
- package/src/config/units.yaml +11 -24
- package/src/models/README.md +266 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/build/types/azure-importer.d.ts +0 -29
- package/build/types/azure-importer.js +0 -3
- package/build/types/boavizta.d.ts +0 -7
- package/build/types/boavizta.js +0 -3
- package/build/types/common.d.ts +0 -7
- package/build/types/common.js +0 -9
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: nesting-demo
|
|
2
|
+
description: impl with 2 levels of nesting with non-uniform timing of observations
|
|
3
|
+
tags:
|
|
4
|
+
initialize:
|
|
5
|
+
models:
|
|
6
|
+
- name: teads-curve
|
|
7
|
+
model: TeadsCurveModel
|
|
8
|
+
path: "@grnsft/if-unofficial-models"
|
|
9
|
+
- name: sci-e
|
|
10
|
+
model: SciEModel
|
|
11
|
+
path: "@grnsft/if-models"
|
|
12
|
+
- name: sci-m
|
|
13
|
+
path: "@grnsft/if-models"
|
|
14
|
+
model: SciMModel
|
|
15
|
+
- name: sci-o
|
|
16
|
+
model: SciOModel
|
|
17
|
+
path: "@grnsft/if-models"
|
|
18
|
+
- name: time-synchronization
|
|
19
|
+
model: TimeSyncModel
|
|
20
|
+
path: builtin
|
|
21
|
+
config:
|
|
22
|
+
start-time: 2023-12-12T00:00:00.000Z # ISO timestamp
|
|
23
|
+
end-time: 2023-12-12T00:01:00.000Z # ISO timestamp
|
|
24
|
+
interval: 5 # seconds
|
|
25
|
+
graph:
|
|
26
|
+
children:
|
|
27
|
+
child: # an advanced grouping node
|
|
28
|
+
pipeline:
|
|
29
|
+
- teads-curve
|
|
30
|
+
- sci-e
|
|
31
|
+
- sci-m
|
|
32
|
+
- sci-o
|
|
33
|
+
- time-synchronization
|
|
34
|
+
config:
|
|
35
|
+
teads-curve:
|
|
36
|
+
thermal-design-power: 65
|
|
37
|
+
sci-m:
|
|
38
|
+
total-embodied-emissions: 251000 # gCO2eq
|
|
39
|
+
time-reserved: 3600 # 1 hour in s
|
|
40
|
+
expected-lifespan: 126144000 # 4 years in seconds
|
|
41
|
+
resources-reserved: 1
|
|
42
|
+
total-resources: 1
|
|
43
|
+
sci-o:
|
|
44
|
+
grid-carbon-intensity: 457 # gCO2/kwh
|
|
45
|
+
children:
|
|
46
|
+
child-1:
|
|
47
|
+
inputs:
|
|
48
|
+
- timestamp: 2023-12-12T00:00:00.000Z
|
|
49
|
+
duration: 10
|
|
50
|
+
cpu-util: 10
|
|
51
|
+
carbon: 100
|
|
52
|
+
energy: 100
|
|
53
|
+
requests: 300
|
|
54
|
+
- timestamp: 2023-12-12T00:00:15.000Z
|
|
55
|
+
duration: 10
|
|
56
|
+
cpu-util: 20
|
|
57
|
+
requests: 300
|
|
58
|
+
- timestamp: 2023-12-12T00:00:35.000Z
|
|
59
|
+
duration: 15
|
|
60
|
+
cpu-util: 20
|
|
61
|
+
requests: 400
|
|
62
|
+
child-2:
|
|
63
|
+
inputs:
|
|
64
|
+
- timestamp: 2023-12-12T00:00:00.000Z
|
|
65
|
+
duration: 10
|
|
66
|
+
cpu-util: 10
|
|
67
|
+
requests: 300
|
|
68
|
+
- timestamp: 2023-12-12T00:00:10.000Z
|
|
69
|
+
duration: 30
|
|
70
|
+
cpu-util: 20
|
|
71
|
+
requests: 380
|
|
72
|
+
- timestamp: 2023-12-12T00:00:50.000Z
|
|
73
|
+
duration: 20
|
|
74
|
+
cpu-util: 20
|
|
75
|
+
requests: 380
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
name: nesting-demo
|
|
2
|
+
description: null
|
|
3
|
+
aggregation:
|
|
4
|
+
aggregation-metrics:
|
|
5
|
+
- carbon
|
|
6
|
+
- energy
|
|
7
|
+
aggregation-method: sum
|
|
8
|
+
tags:
|
|
9
|
+
kind: web
|
|
10
|
+
complexity: moderate
|
|
11
|
+
category: on-premise
|
|
12
|
+
initialize:
|
|
13
|
+
models:
|
|
14
|
+
- name: teads-curve
|
|
15
|
+
path: '@grnsft/if-unofficial-models'
|
|
16
|
+
model: TeadsCurveModel
|
|
17
|
+
- name: sci-e
|
|
18
|
+
path: '@grnsft/if-models'
|
|
19
|
+
model: SciEModel
|
|
20
|
+
- name: sci-m
|
|
21
|
+
path: '@grnsft/if-models'
|
|
22
|
+
model: SciMModel
|
|
23
|
+
- name: sci-o
|
|
24
|
+
path: '@grnsft/if-models'
|
|
25
|
+
model: SciOModel
|
|
26
|
+
- name: sci
|
|
27
|
+
path: '@grnsft/if-models'
|
|
28
|
+
model: SciModel
|
|
29
|
+
graph:
|
|
30
|
+
children:
|
|
31
|
+
child:
|
|
32
|
+
pipeline:
|
|
33
|
+
- teads-curve
|
|
34
|
+
- sci-e
|
|
35
|
+
- sci-m
|
|
36
|
+
- sci-o
|
|
37
|
+
- sci
|
|
38
|
+
config:
|
|
39
|
+
teads-curve:
|
|
40
|
+
thermal-design-power: 65
|
|
41
|
+
sci-m:
|
|
42
|
+
total-embodied-emissions: 251000
|
|
43
|
+
time-reserved: 3600
|
|
44
|
+
expected-lifespan: 126144000
|
|
45
|
+
resources-reserved: 1
|
|
46
|
+
total-resources: 1
|
|
47
|
+
sci-o:
|
|
48
|
+
grid-carbon-intensity: 457
|
|
49
|
+
sci:
|
|
50
|
+
functional-unit-duration: 1
|
|
51
|
+
functional-duration-time: ''
|
|
52
|
+
functional-unit: requests
|
|
53
|
+
children:
|
|
54
|
+
child-1:
|
|
55
|
+
inputs:
|
|
56
|
+
- timestamp: 2023-07-06T00:00
|
|
57
|
+
duration: 10
|
|
58
|
+
cpu-util: 10
|
|
59
|
+
e-net: 0.000811
|
|
60
|
+
requests: 380
|
|
61
|
+
- timestamp: 2023-07-06T00:10
|
|
62
|
+
duration: 10
|
|
63
|
+
cpu-util: 10
|
|
64
|
+
e-net: 0.000811
|
|
65
|
+
requests: 380
|
|
66
|
+
- timestamp: 2023-07-06T00:20
|
|
67
|
+
duration: 10
|
|
68
|
+
cpu-util: 10
|
|
69
|
+
e-net: 0.000811
|
|
70
|
+
requests: 380
|
|
71
|
+
- timestamp: 2023-07-06T00:30
|
|
72
|
+
duration: 10
|
|
73
|
+
cpu-util: 10
|
|
74
|
+
e-net: 0.000811
|
|
75
|
+
requests: 380
|
|
76
|
+
aggregated-outputs:
|
|
77
|
+
aggregated-carbon: 2.8758585814307454
|
|
78
|
+
aggregated-energy: 0.0002311111111111111
|
|
79
|
+
outputs:
|
|
80
|
+
- timestamp: 2023-07-06T00:00
|
|
81
|
+
duration: 10
|
|
82
|
+
cpu-util: 10
|
|
83
|
+
e-net: 0.000811
|
|
84
|
+
requests: 380
|
|
85
|
+
thermal-design-power: 65
|
|
86
|
+
total-embodied-emissions: 251000
|
|
87
|
+
time-reserved: 3600
|
|
88
|
+
expected-lifespan: 126144000
|
|
89
|
+
resources-reserved: 1
|
|
90
|
+
total-resources: 1
|
|
91
|
+
grid-carbon-intensity: 457
|
|
92
|
+
functional-unit-duration: 1
|
|
93
|
+
functional-duration-time: ''
|
|
94
|
+
functional-unit: requests
|
|
95
|
+
energy-cpu: 0.000057777777777777776
|
|
96
|
+
energy: 0.000057777777777777776
|
|
97
|
+
embodied-carbon: 7.16324200913242
|
|
98
|
+
operational-carbon: 0.026404444444444442
|
|
99
|
+
carbon: 0.7189646453576863
|
|
100
|
+
sci: 0.0018920122246254903
|
|
101
|
+
- timestamp: 2023-07-06T00:10
|
|
102
|
+
duration: 10
|
|
103
|
+
cpu-util: 10
|
|
104
|
+
e-net: 0.000811
|
|
105
|
+
requests: 380
|
|
106
|
+
thermal-design-power: 65
|
|
107
|
+
total-embodied-emissions: 251000
|
|
108
|
+
time-reserved: 3600
|
|
109
|
+
expected-lifespan: 126144000
|
|
110
|
+
resources-reserved: 1
|
|
111
|
+
total-resources: 1
|
|
112
|
+
grid-carbon-intensity: 457
|
|
113
|
+
functional-unit-duration: 1
|
|
114
|
+
functional-duration-time: ''
|
|
115
|
+
functional-unit: requests
|
|
116
|
+
energy-cpu: 0.000057777777777777776
|
|
117
|
+
energy: 0.000057777777777777776
|
|
118
|
+
embodied-carbon: 7.16324200913242
|
|
119
|
+
operational-carbon: 0.026404444444444442
|
|
120
|
+
carbon: 0.7189646453576863
|
|
121
|
+
sci: 0.0018920122246254903
|
|
122
|
+
- timestamp: 2023-07-06T00:20
|
|
123
|
+
duration: 10
|
|
124
|
+
cpu-util: 10
|
|
125
|
+
e-net: 0.000811
|
|
126
|
+
requests: 380
|
|
127
|
+
thermal-design-power: 65
|
|
128
|
+
total-embodied-emissions: 251000
|
|
129
|
+
time-reserved: 3600
|
|
130
|
+
expected-lifespan: 126144000
|
|
131
|
+
resources-reserved: 1
|
|
132
|
+
total-resources: 1
|
|
133
|
+
grid-carbon-intensity: 457
|
|
134
|
+
functional-unit-duration: 1
|
|
135
|
+
functional-duration-time: ''
|
|
136
|
+
functional-unit: requests
|
|
137
|
+
energy-cpu: 0.000057777777777777776
|
|
138
|
+
energy: 0.000057777777777777776
|
|
139
|
+
embodied-carbon: 7.16324200913242
|
|
140
|
+
operational-carbon: 0.026404444444444442
|
|
141
|
+
carbon: 0.7189646453576863
|
|
142
|
+
sci: 0.0018920122246254903
|
|
143
|
+
- timestamp: 2023-07-06T00:30
|
|
144
|
+
duration: 10
|
|
145
|
+
cpu-util: 10
|
|
146
|
+
e-net: 0.000811
|
|
147
|
+
requests: 380
|
|
148
|
+
thermal-design-power: 65
|
|
149
|
+
total-embodied-emissions: 251000
|
|
150
|
+
time-reserved: 3600
|
|
151
|
+
expected-lifespan: 126144000
|
|
152
|
+
resources-reserved: 1
|
|
153
|
+
total-resources: 1
|
|
154
|
+
grid-carbon-intensity: 457
|
|
155
|
+
functional-unit-duration: 1
|
|
156
|
+
functional-duration-time: ''
|
|
157
|
+
functional-unit: requests
|
|
158
|
+
energy-cpu: 0.000057777777777777776
|
|
159
|
+
energy: 0.000057777777777777776
|
|
160
|
+
embodied-carbon: 7.16324200913242
|
|
161
|
+
operational-carbon: 0.026404444444444442
|
|
162
|
+
carbon: 0.7189646453576863
|
|
163
|
+
sci: 0.0018920122246254903
|
|
164
|
+
child-2:
|
|
165
|
+
inputs:
|
|
166
|
+
- timestamp: 2023-07-06T00:00
|
|
167
|
+
duration: 10
|
|
168
|
+
cpu-util: 20
|
|
169
|
+
e-net: 0.000811
|
|
170
|
+
requests: 380
|
|
171
|
+
- timestamp: 2023-07-06T00:10
|
|
172
|
+
duration: 10
|
|
173
|
+
cpu-util: 30
|
|
174
|
+
e-net: 0.000811
|
|
175
|
+
requests: 380
|
|
176
|
+
- timestamp: 2023-07-06T00:20
|
|
177
|
+
duration: 10
|
|
178
|
+
cpu-util: 40
|
|
179
|
+
e-net: 0.000811
|
|
180
|
+
requests: 380
|
|
181
|
+
- timestamp: 2023-07-06T00:30
|
|
182
|
+
duration: 10
|
|
183
|
+
cpu-util: 50
|
|
184
|
+
e-net: 0.000811
|
|
185
|
+
requests: 380
|
|
186
|
+
aggregated-outputs:
|
|
187
|
+
aggregated-carbon: 2.8859484200147567
|
|
188
|
+
aggregated-energy: 0.00045189532520325203
|
|
189
|
+
outputs:
|
|
190
|
+
- timestamp: 2023-07-06T00:00
|
|
191
|
+
duration: 10
|
|
192
|
+
cpu-util: 20
|
|
193
|
+
e-net: 0.000811
|
|
194
|
+
requests: 380
|
|
195
|
+
thermal-design-power: 65
|
|
196
|
+
total-embodied-emissions: 251000
|
|
197
|
+
time-reserved: 3600
|
|
198
|
+
expected-lifespan: 126144000
|
|
199
|
+
resources-reserved: 1
|
|
200
|
+
total-resources: 1
|
|
201
|
+
grid-carbon-intensity: 457
|
|
202
|
+
functional-unit-duration: 1
|
|
203
|
+
functional-duration-time: ''
|
|
204
|
+
functional-unit: requests
|
|
205
|
+
energy-cpu: 0.00008625546239837399
|
|
206
|
+
energy: 0.00008625546239837399
|
|
207
|
+
embodied-carbon: 7.16324200913242
|
|
208
|
+
operational-carbon: 0.039418746316056914
|
|
209
|
+
carbon: 0.7202660755448477
|
|
210
|
+
sci: 0.0018954370409074938
|
|
211
|
+
- timestamp: 2023-07-06T00:10
|
|
212
|
+
duration: 10
|
|
213
|
+
cpu-util: 30
|
|
214
|
+
e-net: 0.000811
|
|
215
|
+
requests: 380
|
|
216
|
+
thermal-design-power: 65
|
|
217
|
+
total-embodied-emissions: 251000
|
|
218
|
+
time-reserved: 3600
|
|
219
|
+
expected-lifespan: 126144000
|
|
220
|
+
resources-reserved: 1
|
|
221
|
+
total-resources: 1
|
|
222
|
+
grid-carbon-intensity: 457
|
|
223
|
+
functional-unit-duration: 1
|
|
224
|
+
functional-duration-time: ''
|
|
225
|
+
functional-unit: requests
|
|
226
|
+
energy-cpu: 0.0001072720189701897
|
|
227
|
+
energy: 0.0001072720189701897
|
|
228
|
+
embodied-carbon: 7.16324200913242
|
|
229
|
+
operational-carbon: 0.04902331266937669
|
|
230
|
+
carbon: 0.7212265321801796
|
|
231
|
+
sci: 0.0018979645583688937
|
|
232
|
+
- timestamp: 2023-07-06T00:20
|
|
233
|
+
duration: 10
|
|
234
|
+
cpu-util: 40
|
|
235
|
+
e-net: 0.000811
|
|
236
|
+
requests: 380
|
|
237
|
+
thermal-design-power: 65
|
|
238
|
+
total-embodied-emissions: 251000
|
|
239
|
+
time-reserved: 3600
|
|
240
|
+
expected-lifespan: 126144000
|
|
241
|
+
resources-reserved: 1
|
|
242
|
+
total-resources: 1
|
|
243
|
+
grid-carbon-intensity: 457
|
|
244
|
+
functional-unit-duration: 1
|
|
245
|
+
functional-duration-time: ''
|
|
246
|
+
functional-unit: requests
|
|
247
|
+
energy-cpu: 0.00012295117716802168
|
|
248
|
+
energy: 0.00012295117716802168
|
|
249
|
+
embodied-carbon: 7.16324200913242
|
|
250
|
+
operational-carbon: 0.056188687965785904
|
|
251
|
+
carbon: 0.7219430697098206
|
|
252
|
+
sci: 0.0018998501834468964
|
|
253
|
+
- timestamp: 2023-07-06T00:30
|
|
254
|
+
duration: 10
|
|
255
|
+
cpu-util: 50
|
|
256
|
+
e-net: 0.000811
|
|
257
|
+
requests: 380
|
|
258
|
+
thermal-design-power: 65
|
|
259
|
+
total-embodied-emissions: 251000
|
|
260
|
+
time-reserved: 3600
|
|
261
|
+
expected-lifespan: 126144000
|
|
262
|
+
resources-reserved: 1
|
|
263
|
+
total-resources: 1
|
|
264
|
+
grid-carbon-intensity: 457
|
|
265
|
+
functional-unit-duration: 1
|
|
266
|
+
functional-duration-time: ''
|
|
267
|
+
functional-unit: requests
|
|
268
|
+
energy-cpu: 0.00013541666666666666
|
|
269
|
+
energy: 0.00013541666666666666
|
|
270
|
+
embodied-carbon: 7.16324200913242
|
|
271
|
+
operational-carbon: 0.061885416666666665
|
|
272
|
+
carbon: 0.7225127425799086
|
|
273
|
+
sci: 0.001901349322578707
|
|
274
|
+
child-3:
|
|
275
|
+
inputs:
|
|
276
|
+
- timestamp: 2023-07-06T00:00
|
|
277
|
+
duration: 10
|
|
278
|
+
cpu-util: 10
|
|
279
|
+
e-net: 0.000811
|
|
280
|
+
requests: 380
|
|
281
|
+
aggregated-outputs:
|
|
282
|
+
aggregated-carbon: 0.7189646453576863
|
|
283
|
+
aggregated-energy: 0.000057777777777777776
|
|
284
|
+
outputs:
|
|
285
|
+
- timestamp: 2023-07-06T00:00
|
|
286
|
+
duration: 10
|
|
287
|
+
cpu-util: 10
|
|
288
|
+
e-net: 0.000811
|
|
289
|
+
requests: 380
|
|
290
|
+
thermal-design-power: 65
|
|
291
|
+
total-embodied-emissions: 251000
|
|
292
|
+
time-reserved: 3600
|
|
293
|
+
expected-lifespan: 126144000
|
|
294
|
+
resources-reserved: 1
|
|
295
|
+
total-resources: 1
|
|
296
|
+
grid-carbon-intensity: 457
|
|
297
|
+
functional-unit-duration: 1
|
|
298
|
+
functional-duration-time: ''
|
|
299
|
+
functional-unit: requests
|
|
300
|
+
energy-cpu: 0.000057777777777777776
|
|
301
|
+
energy: 0.000057777777777777776
|
|
302
|
+
embodied-carbon: 7.16324200913242
|
|
303
|
+
operational-carbon: 0.026404444444444442
|
|
304
|
+
carbon: 0.7189646453576863
|
|
305
|
+
sci: 0.0018920122246254903
|
|
306
|
+
child-4:
|
|
307
|
+
inputs:
|
|
308
|
+
- timestamp: 2023-07-06T00:00
|
|
309
|
+
duration: 10
|
|
310
|
+
cpu-util: 10
|
|
311
|
+
e-net: 0.000811
|
|
312
|
+
requests: 380
|
|
313
|
+
aggregated-outputs:
|
|
314
|
+
aggregated-carbon: 0.7189646453576863
|
|
315
|
+
aggregated-energy: 0.000057777777777777776
|
|
316
|
+
outputs:
|
|
317
|
+
- timestamp: 2023-07-06T00:00
|
|
318
|
+
duration: 10
|
|
319
|
+
cpu-util: 10
|
|
320
|
+
e-net: 0.000811
|
|
321
|
+
requests: 380
|
|
322
|
+
thermal-design-power: 65
|
|
323
|
+
total-embodied-emissions: 251000
|
|
324
|
+
time-reserved: 3600
|
|
325
|
+
expected-lifespan: 126144000
|
|
326
|
+
resources-reserved: 1
|
|
327
|
+
total-resources: 1
|
|
328
|
+
grid-carbon-intensity: 457
|
|
329
|
+
functional-unit-duration: 1
|
|
330
|
+
functional-duration-time: ''
|
|
331
|
+
functional-unit: requests
|
|
332
|
+
energy-cpu: 0.000057777777777777776
|
|
333
|
+
energy: 0.000057777777777777776
|
|
334
|
+
embodied-carbon: 7.16324200913242
|
|
335
|
+
operational-carbon: 0.026404444444444442
|
|
336
|
+
carbon: 0.7189646453576863
|
|
337
|
+
sci: 0.0018920122246254903
|
|
338
|
+
aggregated-outputs:
|
|
339
|
+
aggregated-carbon: 7.199736292160875
|
|
340
|
+
aggregated-energy: 0.0007985619918699187
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
name: nesting-demo
|
|
2
|
+
description: impl with 2 levels of nesting with non-uniform timing of observations
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
models:
|
|
6
|
+
- name: teads-curve
|
|
7
|
+
path: '@grnsft/if-unofficial-models'
|
|
8
|
+
model: TeadsCurveModel
|
|
9
|
+
- name: sci-e
|
|
10
|
+
path: '@grnsft/if-models'
|
|
11
|
+
model: SciEModel
|
|
12
|
+
- name: sci-m
|
|
13
|
+
path: '@grnsft/if-models'
|
|
14
|
+
model: SciMModel
|
|
15
|
+
- name: sci-o
|
|
16
|
+
path: '@grnsft/if-models'
|
|
17
|
+
model: SciOModel
|
|
18
|
+
- name: time-synchronization
|
|
19
|
+
path: builtin
|
|
20
|
+
model: TimeSyncModel
|
|
21
|
+
config:
|
|
22
|
+
start-time: 2023-12-12T00:00:00.000Z
|
|
23
|
+
end-time: 2023-12-12T00:01:00.000Z
|
|
24
|
+
interval: 5
|
|
25
|
+
graph:
|
|
26
|
+
children:
|
|
27
|
+
child:
|
|
28
|
+
pipeline:
|
|
29
|
+
- teads-curve
|
|
30
|
+
- sci-e
|
|
31
|
+
- sci-m
|
|
32
|
+
- sci-o
|
|
33
|
+
- time-synchronization
|
|
34
|
+
config:
|
|
35
|
+
teads-curve:
|
|
36
|
+
thermal-design-power: 65
|
|
37
|
+
sci-m:
|
|
38
|
+
total-embodied-emissions: 251000
|
|
39
|
+
time-reserved: 3600
|
|
40
|
+
expected-lifespan: 126144000
|
|
41
|
+
resources-reserved: 1
|
|
42
|
+
total-resources: 1
|
|
43
|
+
sci-o:
|
|
44
|
+
grid-carbon-intensity: 457
|
|
45
|
+
children:
|
|
46
|
+
child-1:
|
|
47
|
+
inputs:
|
|
48
|
+
- timestamp: 2023-12-12T00:00:00.000Z
|
|
49
|
+
duration: 10
|
|
50
|
+
cpu-util: 10
|
|
51
|
+
carbon: 100
|
|
52
|
+
energy: 100
|
|
53
|
+
requests: 300
|
|
54
|
+
- timestamp: 2023-12-12T00:00:10.000Z
|
|
55
|
+
duration: 10
|
|
56
|
+
cpu-util: 20
|
|
57
|
+
requests: 380
|
|
58
|
+
outputs:
|
|
59
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
60
|
+
duration: 5
|
|
61
|
+
cpu-util: 8
|
|
62
|
+
carbon: 50
|
|
63
|
+
energy: 0.00002888888888888889
|
|
64
|
+
requests: 150
|
|
65
|
+
thermal-design-power: 52
|
|
66
|
+
total-embodied-emissions: 125500
|
|
67
|
+
time-reserved: 2880
|
|
68
|
+
expected-lifespan: 63072000
|
|
69
|
+
resources-reserved: 0.8
|
|
70
|
+
total-resources: 0.8
|
|
71
|
+
grid-carbon-intensity: 365.6
|
|
72
|
+
energy-cpu: 0.00002888888888888889
|
|
73
|
+
embodied-carbon: 3.58162100456621
|
|
74
|
+
operational-carbon: 0.013202222222222223
|
|
75
|
+
- timestamp: '2023-12-12T00:00:05.000Z'
|
|
76
|
+
duration: 5
|
|
77
|
+
cpu-util: 8
|
|
78
|
+
carbon: 50
|
|
79
|
+
energy: 0.00002888888888888889
|
|
80
|
+
requests: 150
|
|
81
|
+
thermal-design-power: 52
|
|
82
|
+
total-embodied-emissions: 125500
|
|
83
|
+
time-reserved: 2880
|
|
84
|
+
expected-lifespan: 63072000
|
|
85
|
+
resources-reserved: 0.8
|
|
86
|
+
total-resources: 0.8
|
|
87
|
+
grid-carbon-intensity: 365.6
|
|
88
|
+
energy-cpu: 0.00002888888888888889
|
|
89
|
+
embodied-carbon: 3.58162100456621
|
|
90
|
+
operational-carbon: 0.013202222222222223
|
|
91
|
+
- timestamp: '2023-12-12T00:00:10.000Z'
|
|
92
|
+
duration: 5
|
|
93
|
+
cpu-util: 16
|
|
94
|
+
requests: 190
|
|
95
|
+
thermal-design-power: 52
|
|
96
|
+
total-embodied-emissions: 125500
|
|
97
|
+
time-reserved: 2880
|
|
98
|
+
expected-lifespan: 63072000
|
|
99
|
+
resources-reserved: 0.8
|
|
100
|
+
total-resources: 0.8
|
|
101
|
+
grid-carbon-intensity: 365.6
|
|
102
|
+
energy-cpu: 0.000043127731199186996
|
|
103
|
+
energy: 0.000043127731199186996
|
|
104
|
+
embodied-carbon: 3.58162100456621
|
|
105
|
+
operational-carbon: 0.019709373158028454
|
|
106
|
+
- timestamp: '2023-12-12T00:00:15.000Z'
|
|
107
|
+
duration: 5
|
|
108
|
+
cpu-util: 16
|
|
109
|
+
requests: 190
|
|
110
|
+
thermal-design-power: 52
|
|
111
|
+
total-embodied-emissions: 125500
|
|
112
|
+
time-reserved: 2880
|
|
113
|
+
expected-lifespan: 63072000
|
|
114
|
+
resources-reserved: 0.8
|
|
115
|
+
total-resources: 0.8
|
|
116
|
+
grid-carbon-intensity: 365.6
|
|
117
|
+
energy-cpu: 0.000043127731199186996
|
|
118
|
+
energy: 0.000043127731199186996
|
|
119
|
+
embodied-carbon: 3.58162100456621
|
|
120
|
+
operational-carbon: 0.019709373158028454
|
|
121
|
+
- timestamp: '2023-12-12T00:00:20.000Z'
|
|
122
|
+
duration: 5
|
|
123
|
+
cpu-util: 0
|
|
124
|
+
requests: 0
|
|
125
|
+
thermal-design-power: 0
|
|
126
|
+
total-embodied-emissions: 0
|
|
127
|
+
time-reserved: 0.8
|
|
128
|
+
expected-lifespan: 0
|
|
129
|
+
resources-reserved: 0.8
|
|
130
|
+
total-resources: 0.8
|
|
131
|
+
grid-carbon-intensity: 0
|
|
132
|
+
energy-cpu: 0
|
|
133
|
+
energy: 0
|
|
134
|
+
embodied-carbon: 0
|
|
135
|
+
operational-carbon: 0
|
|
136
|
+
- timestamp: '2023-12-12T00:00:25.000Z'
|
|
137
|
+
duration: 5
|
|
138
|
+
cpu-util: 0
|
|
139
|
+
requests: 0
|
|
140
|
+
thermal-design-power: 0
|
|
141
|
+
total-embodied-emissions: 0
|
|
142
|
+
time-reserved: 0.8
|
|
143
|
+
expected-lifespan: 0
|
|
144
|
+
resources-reserved: 0.8
|
|
145
|
+
total-resources: 0.8
|
|
146
|
+
grid-carbon-intensity: 0
|
|
147
|
+
energy-cpu: 0
|
|
148
|
+
energy: 0
|
|
149
|
+
embodied-carbon: 0
|
|
150
|
+
operational-carbon: 0
|
|
151
|
+
- timestamp: '2023-12-12T00:00:30.000Z'
|
|
152
|
+
duration: 5
|
|
153
|
+
cpu-util: 0
|
|
154
|
+
requests: 0
|
|
155
|
+
thermal-design-power: 0
|
|
156
|
+
total-embodied-emissions: 0
|
|
157
|
+
time-reserved: 0.8
|
|
158
|
+
expected-lifespan: 0
|
|
159
|
+
resources-reserved: 0.8
|
|
160
|
+
total-resources: 0.8
|
|
161
|
+
grid-carbon-intensity: 0
|
|
162
|
+
energy-cpu: 0
|
|
163
|
+
energy: 0
|
|
164
|
+
embodied-carbon: 0
|
|
165
|
+
operational-carbon: 0
|
|
166
|
+
- timestamp: '2023-12-12T00:00:35.000Z'
|
|
167
|
+
duration: 5
|
|
168
|
+
cpu-util: 0
|
|
169
|
+
requests: 0
|
|
170
|
+
thermal-design-power: 0
|
|
171
|
+
total-embodied-emissions: 0
|
|
172
|
+
time-reserved: 0.8
|
|
173
|
+
expected-lifespan: 0
|
|
174
|
+
resources-reserved: 0.8
|
|
175
|
+
total-resources: 0.8
|
|
176
|
+
grid-carbon-intensity: 0
|
|
177
|
+
energy-cpu: 0
|
|
178
|
+
energy: 0
|
|
179
|
+
embodied-carbon: 0
|
|
180
|
+
operational-carbon: 0
|
|
181
|
+
- timestamp: '2023-12-12T00:00:40.000Z'
|
|
182
|
+
duration: 5
|
|
183
|
+
cpu-util: 0
|
|
184
|
+
requests: 0
|
|
185
|
+
thermal-design-power: 0
|
|
186
|
+
total-embodied-emissions: 0
|
|
187
|
+
time-reserved: 0.8
|
|
188
|
+
expected-lifespan: 0
|
|
189
|
+
resources-reserved: 0.8
|
|
190
|
+
total-resources: 0.8
|
|
191
|
+
grid-carbon-intensity: 0
|
|
192
|
+
energy-cpu: 0
|
|
193
|
+
energy: 0
|
|
194
|
+
embodied-carbon: 0
|
|
195
|
+
operational-carbon: 0
|
|
196
|
+
- timestamp: '2023-12-12T00:00:45.000Z'
|
|
197
|
+
duration: 5
|
|
198
|
+
cpu-util: 0
|
|
199
|
+
requests: 0
|
|
200
|
+
thermal-design-power: 0
|
|
201
|
+
total-embodied-emissions: 0
|
|
202
|
+
time-reserved: 0.8
|
|
203
|
+
expected-lifespan: 0
|
|
204
|
+
resources-reserved: 0.8
|
|
205
|
+
total-resources: 0.8
|
|
206
|
+
grid-carbon-intensity: 0
|
|
207
|
+
energy-cpu: 0
|
|
208
|
+
energy: 0
|
|
209
|
+
embodied-carbon: 0
|
|
210
|
+
operational-carbon: 0
|
|
211
|
+
- timestamp: '2023-12-12T00:00:50.000Z'
|
|
212
|
+
duration: 5
|
|
213
|
+
cpu-util: 0
|
|
214
|
+
requests: 0
|
|
215
|
+
thermal-design-power: 0
|
|
216
|
+
total-embodied-emissions: 0
|
|
217
|
+
time-reserved: 0.8
|
|
218
|
+
expected-lifespan: 0
|
|
219
|
+
resources-reserved: 0.8
|
|
220
|
+
total-resources: 0.8
|
|
221
|
+
grid-carbon-intensity: 0
|
|
222
|
+
energy-cpu: 0
|
|
223
|
+
energy: 0
|
|
224
|
+
embodied-carbon: 0
|
|
225
|
+
operational-carbon: 0
|
|
226
|
+
- timestamp: '2023-12-12T00:00:55.000Z'
|
|
227
|
+
duration: 5
|
|
228
|
+
cpu-util: 0
|
|
229
|
+
requests: 0
|
|
230
|
+
thermal-design-power: 0
|
|
231
|
+
total-embodied-emissions: 0
|
|
232
|
+
time-reserved: 0.8
|
|
233
|
+
expected-lifespan: 0
|
|
234
|
+
resources-reserved: 0.8
|
|
235
|
+
total-resources: 0.8
|
|
236
|
+
grid-carbon-intensity: 0
|
|
237
|
+
energy-cpu: 0
|
|
238
|
+
energy: 0
|
|
239
|
+
embodied-carbon: 0
|
|
240
|
+
operational-carbon: 0
|
|
241
|
+
- timestamp: '2023-12-12T00:01:00.000Z'
|
|
242
|
+
duration: 1
|
|
243
|
+
cpu-util: 0
|
|
244
|
+
requests: 0
|
|
245
|
+
thermal-design-power: 0
|
|
246
|
+
total-embodied-emissions: 0
|
|
247
|
+
time-reserved: 0
|
|
248
|
+
expected-lifespan: 0
|
|
249
|
+
resources-reserved: 0
|
|
250
|
+
total-resources: 0
|
|
251
|
+
grid-carbon-intensity: 0
|
|
252
|
+
energy-cpu: 0
|
|
253
|
+
energy: 0
|
|
254
|
+
embodied-carbon: 0
|
|
255
|
+
operational-carbon: 0
|