@grnsft/if 0.1.9 → 0.2.0
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/.commitlintrc.js +45 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +6 -0
- package/CONTRIBUTING.md +81 -98
- package/README.md +16 -12
- package/build/config/config.d.ts +4 -3
- package/build/config/config.js +11 -10
- package/build/config/params.js +17 -17
- package/build/config/strings.d.ts +9 -8
- package/build/config/strings.js +13 -12
- package/build/index.js +19 -69
- package/build/lib/aggregate.d.ts +6 -0
- package/build/lib/aggregate.js +72 -0
- package/build/lib/compute.d.ts +5 -0
- package/build/lib/compute.js +84 -0
- package/build/lib/exhaust.d.ts +6 -0
- package/build/lib/exhaust.js +47 -0
- package/build/lib/initialize.d.ts +6 -0
- package/build/lib/initialize.js +98 -0
- package/build/lib/load.d.ts +6 -0
- package/build/lib/load.js +24 -0
- package/build/lib/parameterize.d.ts +5 -0
- package/build/lib/parameterize.js +49 -0
- package/build/models/export-csv.d.ts +2 -0
- package/build/models/export-csv.js +129 -0
- package/build/models/export-log.d.ts +4 -0
- package/build/models/export-log.js +18 -0
- package/build/models/export-yaml.d.ts +4 -0
- package/build/models/export-yaml.js +24 -0
- package/build/models/group-by.d.ts +11 -0
- package/build/models/group-by.js +56 -0
- package/build/models/index.d.ts +2 -1
- package/build/models/index.js +5 -3
- package/build/models/time-sync.d.ts +2 -57
- package/build/models/time-sync.js +204 -158
- package/build/types/aggregation.js +5 -0
- package/build/types/compute.d.ts +25 -0
- package/build/types/compute.js +3 -0
- package/build/types/exhaust-plugin-interface.d.ts +7 -0
- package/build/types/exhaust-plugin-interface.js +3 -0
- package/build/types/group-by.d.ts +3 -0
- package/build/types/group-by.js +3 -0
- package/build/types/initialize.d.ts +4 -0
- package/build/types/initialize.js +3 -0
- package/build/types/interface.d.ts +8 -0
- package/build/types/interface.js +3 -0
- package/build/types/load.d.ts +7 -0
- package/build/types/load.js +3 -0
- package/build/types/manifest.d.ts +40 -0
- package/build/types/manifest.js +3 -0
- package/build/types/parameters.d.ts +4 -5
- package/build/types/parameters.js +1 -1
- package/build/types/process-args.d.ts +3 -5
- package/build/types/process-args.js +1 -1
- package/build/types/time-sync.d.ts +9 -2
- package/build/types/time-sync.js +1 -1
- package/build/util/aggregation-helper.d.ts +6 -0
- package/build/util/aggregation-helper.js +56 -0
- package/build/util/args.d.ts +6 -3
- package/build/util/args.js +21 -17
- package/build/util/errors.d.ts +1 -1
- package/build/util/errors.js +8 -4
- package/build/util/helpers.d.ts +4 -0
- package/build/util/helpers.js +23 -4
- package/build/util/json.d.ts +4 -0
- package/build/util/json.js +16 -0
- package/build/util/logger.d.ts +5 -0
- package/build/util/logger.js +40 -0
- package/build/util/validations.d.ts +22 -19
- package/build/util/validations.js +41 -34
- package/examples/{impls/test → manifests}/azure-importer.yml +8 -8
- package/examples/manifests/basic-demo.yml +75 -0
- package/examples/manifests/basic.yml +27 -0
- package/examples/manifests/boavizta-pipeline.yml +85 -0
- package/examples/{impls/test → manifests}/boavizta.yml +11 -12
- package/examples/{impls/test → manifests}/ccf.yml +9 -10
- package/examples/manifests/cim.yml +20 -0
- package/examples/manifests/cloud-metadata.yml +41 -0
- package/examples/manifests/co2js.yml +30 -0
- package/examples/manifests/coefficient.yml +23 -0
- package/examples/manifests/csv-export.yml +34 -0
- package/examples/manifests/e-mem.yml +21 -0
- package/examples/{impls/test → manifests}/e-net.yml +9 -8
- package/examples/manifests/generics.yml +71 -0
- package/examples/manifests/group-by.yml +48 -0
- package/examples/manifests/mock-observation.yml +33 -0
- package/examples/manifests/multiply.yml +23 -0
- package/examples/manifests/nesting-demo.yml +89 -0
- package/examples/manifests/nesting.yml +215 -0
- package/examples/manifests/pipeline-demo-1.yml +85 -0
- package/examples/manifests/pipeline-demo-2.yml +149 -0
- package/examples/manifests/pipeline-demo.yml +128 -0
- package/examples/manifests/pipeline-teads-sci.yml +82 -0
- package/examples/manifests/pipeline-with-generics.yml +147 -0
- package/examples/manifests/pipeline-with-mocks.yml +146 -0
- package/examples/{impls/test → manifests}/sci-e.yml +6 -8
- package/examples/manifests/sci-m.yml +23 -0
- package/examples/{impls/test → manifests}/sci-o.yml +10 -10
- package/examples/{impls/test → manifests}/sci.yml +10 -9
- package/examples/manifests/shell.yml +20 -0
- package/examples/manifests/sum.yml +23 -0
- package/examples/{impls/test → manifests}/tdp-finder.yml +6 -7
- package/examples/manifests/teads-aws.yml +22 -0
- package/examples/manifests/teads-curve.yml +20 -0
- package/examples/manifests/time-sync.yml +32 -0
- package/examples/manifests/watt-time.yml +42 -0
- package/jest.config.js +6 -1
- package/package.json +13 -8
- package/src/__tests__/integration/templates/integration.yaml +16 -0
- package/src/models/README.md +6 -6
- package/tsconfig.test.json +1 -1
- package/Makefile +0 -16
- package/build/lib/aggregator.d.ts +0 -7
- package/build/lib/aggregator.js +0 -46
- package/build/lib/models-universe.d.ts +0 -40
- package/build/lib/models-universe.js +0 -145
- package/build/lib/observatory.d.ts +0 -20
- package/build/lib/observatory.js +0 -31
- package/build/lib/supercomputer.d.ts +0 -39
- package/build/lib/supercomputer.js +0 -116
- package/build/types/aggregator.js +0 -5
- package/build/types/impl.d.ts +0 -92
- package/build/types/impl.js +0 -19
- package/build/types/model-interface.d.ts +0 -13
- package/build/types/model-interface.js +0 -3
- package/build/types/models-universe.d.ts +0 -20
- package/build/types/models-universe.js +0 -3
- package/build/types/supercomputer.d.ts +0 -4
- package/build/types/supercomputer.js +0 -3
- package/build/util/param-selectors.d.ts +0 -5
- package/build/util/param-selectors.js +0 -14
- package/examples/impls/case-studies/accenture.yml +0 -155
- package/examples/impls/case-studies/aggregation.yml +0 -97
- package/examples/impls/case-studies/aveva.yaml +0 -48
- package/examples/impls/case-studies/azure-yassine.yaml +0 -67
- package/examples/impls/case-studies/boavizta.yml +0 -26
- package/examples/impls/case-studies/dow_msft.yml +0 -173
- package/examples/impls/case-studies/farm-insights.yaml +0 -35
- package/examples/impls/case-studies/gsf-website.yaml +0 -93
- package/examples/impls/case-studies/msft-eshoppen.yaml +0 -162
- package/examples/impls/case-studies/msft-green-ai.yaml +0 -58
- package/examples/impls/case-studies/ntt-data-on-premise.yaml +0 -201
- package/examples/impls/test/aggregation-test.yml +0 -109
- package/examples/impls/test/aggregation-test2.yml +0 -52
- package/examples/impls/test/cim.yml +0 -19
- package/examples/impls/test/e-mem.yml +0 -19
- package/examples/impls/test/if-demo.yml +0 -59
- package/examples/impls/test/large-impl.yml +0 -257303
- package/examples/impls/test/metadata.yml +0 -21
- package/examples/impls/test/nesting.yml +0 -113
- package/examples/impls/test/new-params-test.yml +0 -35
- package/examples/impls/test/sci-m.yml +0 -24
- package/examples/impls/test/shell.yml +0 -19
- package/examples/impls/test/teads-cpu.yml +0 -18
- package/examples/impls/test/time-sync-avoid-padding.yml +0 -50
- package/examples/impls/test/time-sync.yml +0 -76
- package/examples/ompls/aggregation-test.yml +0 -340
- package/examples/ompls/aggregation-test2.yml +0 -83
- package/examples/ompls/azure-importer.yml +0 -145
- package/examples/ompls/boavizta.yml +0 -32
- package/examples/ompls/ccf.yml +0 -29
- package/examples/ompls/cim.yml +0 -29
- package/examples/ompls/complex-pipeline.yml +0 -105
- package/examples/ompls/e-mem.yml +0 -26
- package/examples/ompls/full-sci.yml +0 -64
- package/examples/ompls/if-demo.yml +0 -517
- package/examples/ompls/metadata.yml +0 -29
- package/examples/ompls/nesting.yml +0 -113
- package/examples/ompls/sci-e.yml +0 -23
- package/examples/ompls/sci-m.yml +0 -33
- package/examples/ompls/sci-o.yml +0 -29
- package/examples/ompls/sci.yml +0 -37
- package/examples/ompls/shell.yml +0 -23
- package/examples/ompls/teads-cpu.yml +0 -24
- package/examples/ompls/time-sync.yml +0 -212
- /package/build/types/{aggregator.d.ts → aggregation.d.ts} +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: cloud-instance-metadata
|
|
2
|
-
description: simple demo invoking metadata lookup
|
|
3
|
-
tags: null
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: cloud-instance-metadata
|
|
7
|
-
model: CloudInstanceMetadataModel
|
|
8
|
-
path: "@grnsft/if-models"
|
|
9
|
-
graph:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
- cloud-instance-metadata
|
|
14
|
-
config:
|
|
15
|
-
cloud-instance-metadata:
|
|
16
|
-
inputs:
|
|
17
|
-
- timestamp: 2023-07-06T00:00
|
|
18
|
-
duration: 3600
|
|
19
|
-
cloud-vendor: 'azure'
|
|
20
|
-
cloud-instance-type: 'Standard_NC24s_v3'
|
|
21
|
-
|
|
@@ -1,113 +0,0 @@
|
|
|
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: sci-e
|
|
10
|
-
path: '@grnsft/if-models'
|
|
11
|
-
model: SciEModel
|
|
12
|
-
graph:
|
|
13
|
-
children:
|
|
14
|
-
child-0:
|
|
15
|
-
pipeline:
|
|
16
|
-
- sci-e
|
|
17
|
-
children:
|
|
18
|
-
child-0-1:
|
|
19
|
-
pipeline:
|
|
20
|
-
- sci-e
|
|
21
|
-
config: null
|
|
22
|
-
inputs:
|
|
23
|
-
- timestamp: 2023-07-06T00:00
|
|
24
|
-
duration: 10
|
|
25
|
-
cpu-util: 50
|
|
26
|
-
energy-network: 0.000811
|
|
27
|
-
outputs:
|
|
28
|
-
- timestamp: 2023-07-06T00:00
|
|
29
|
-
duration: 10
|
|
30
|
-
cpu-util: 50
|
|
31
|
-
energy-network: 0.000811
|
|
32
|
-
energy: 0.000811
|
|
33
|
-
child-0-2:
|
|
34
|
-
children:
|
|
35
|
-
child-0-2-1:
|
|
36
|
-
pipeline:
|
|
37
|
-
- sci-e
|
|
38
|
-
config: null
|
|
39
|
-
inputs:
|
|
40
|
-
- timestamp: 2023-07-06T00:00
|
|
41
|
-
duration: 10
|
|
42
|
-
cpu-util: 50
|
|
43
|
-
energy-network: 0.000811
|
|
44
|
-
outputs:
|
|
45
|
-
- timestamp: 2023-07-06T00:00
|
|
46
|
-
duration: 10
|
|
47
|
-
cpu-util: 50
|
|
48
|
-
energy-network: 0.000811
|
|
49
|
-
energy: 0.000811
|
|
50
|
-
child-0-2-2:
|
|
51
|
-
children:
|
|
52
|
-
child-1-2-1:
|
|
53
|
-
pipeline:
|
|
54
|
-
- sci-e
|
|
55
|
-
config: null
|
|
56
|
-
inputs:
|
|
57
|
-
- timestamp: 2023-07-06T00:00
|
|
58
|
-
duration: 10
|
|
59
|
-
cpu-util: 50
|
|
60
|
-
energy-network: 0.000811
|
|
61
|
-
outputs:
|
|
62
|
-
- timestamp: 2023-07-06T00:00
|
|
63
|
-
duration: 10
|
|
64
|
-
cpu-util: 50
|
|
65
|
-
energy-network: 0.000811
|
|
66
|
-
energy: 0.000811
|
|
67
|
-
child-1-2-2:
|
|
68
|
-
children:
|
|
69
|
-
child-1-2-2-1:
|
|
70
|
-
pipeline:
|
|
71
|
-
- sci-e
|
|
72
|
-
config: null
|
|
73
|
-
inputs:
|
|
74
|
-
- timestamp: 2023-07-06T00:00
|
|
75
|
-
duration: 10
|
|
76
|
-
cpu-util: 50
|
|
77
|
-
energy-network: 0.000811
|
|
78
|
-
outputs:
|
|
79
|
-
- timestamp: 2023-07-06T00:00
|
|
80
|
-
duration: 10
|
|
81
|
-
cpu-util: 50
|
|
82
|
-
energy-network: 0.000811
|
|
83
|
-
energy: 0.000811
|
|
84
|
-
child-1-2-2-2:
|
|
85
|
-
pipeline:
|
|
86
|
-
- sci-e
|
|
87
|
-
config: null
|
|
88
|
-
inputs:
|
|
89
|
-
- timestamp: 2023-07-06T00:00
|
|
90
|
-
duration: 10
|
|
91
|
-
cpu-util: 50
|
|
92
|
-
energy-network: 0.000811
|
|
93
|
-
outputs:
|
|
94
|
-
- timestamp: 2023-07-06T00:00
|
|
95
|
-
duration: 10
|
|
96
|
-
cpu-util: 50
|
|
97
|
-
energy-network: 0.000811
|
|
98
|
-
energy: 0.000811
|
|
99
|
-
child-1-2-2-3:
|
|
100
|
-
pipeline:
|
|
101
|
-
- sci-e
|
|
102
|
-
config: null
|
|
103
|
-
inputs:
|
|
104
|
-
- timestamp: 2023-07-06T00:00
|
|
105
|
-
duration: 10
|
|
106
|
-
cpu-util: 50
|
|
107
|
-
energy-network: 0.000811
|
|
108
|
-
outputs:
|
|
109
|
-
- timestamp: 2023-07-06T00:00
|
|
110
|
-
duration: 10
|
|
111
|
-
cpu-util: 50
|
|
112
|
-
energy-network: 0.000811
|
|
113
|
-
energy: 0.000811
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
name: nesting-demo
|
|
2
|
-
description: null
|
|
3
|
-
tags:
|
|
4
|
-
kind: web
|
|
5
|
-
complexity: moderate
|
|
6
|
-
category: on-premise
|
|
7
|
-
params:
|
|
8
|
-
- name: carbonSpecial
|
|
9
|
-
description: dummy
|
|
10
|
-
aggregation: sum
|
|
11
|
-
unit: MT
|
|
12
|
-
- name: carbonExtraSpecial
|
|
13
|
-
description: dummy
|
|
14
|
-
aggregation: sum
|
|
15
|
-
unit: MT
|
|
16
|
-
aggregation:
|
|
17
|
-
type: both
|
|
18
|
-
metrics:
|
|
19
|
-
- 'cpu-util'
|
|
20
|
-
- 'energy'
|
|
21
|
-
initialize:
|
|
22
|
-
models:
|
|
23
|
-
- name: sci-e
|
|
24
|
-
path: '@grnsft/if-models'
|
|
25
|
-
model: SciEModel
|
|
26
|
-
graph:
|
|
27
|
-
children:
|
|
28
|
-
child-0:
|
|
29
|
-
pipeline:
|
|
30
|
-
- sci-e
|
|
31
|
-
inputs:
|
|
32
|
-
- timestamp: 2023-07-06T00:00
|
|
33
|
-
duration: 10
|
|
34
|
-
cpu-util: 50
|
|
35
|
-
energy-network: 1
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: sci-m
|
|
2
|
-
description: simple demo invoking sci-m
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: sci-m # a model that calculates m from te, tir, el, rr and rtor
|
|
7
|
-
model: SciMModel
|
|
8
|
-
verbose: false
|
|
9
|
-
path: "@grnsft/if-models"
|
|
10
|
-
graph:
|
|
11
|
-
children:
|
|
12
|
-
child:
|
|
13
|
-
pipeline:
|
|
14
|
-
- sci-m # duration & config -> embodied
|
|
15
|
-
config:
|
|
16
|
-
sci-m:
|
|
17
|
-
total-embodied-emissions: 1533.120 # gCO2eq
|
|
18
|
-
time-reserved: 3600 # 1hr in seconds
|
|
19
|
-
expected-lifespan: 94608000 # 3 years in seconds
|
|
20
|
-
resources-reserved: 1
|
|
21
|
-
total-resources: 8
|
|
22
|
-
inputs:
|
|
23
|
-
- timestamp: 2023-07-06T00:00
|
|
24
|
-
duration: 3600
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
name: shell-demo
|
|
2
|
-
description: example impl invoking shell model
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: sampler
|
|
7
|
-
model: ShellModel
|
|
8
|
-
path: "@grnsft/if-models"
|
|
9
|
-
graph:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
- sampler
|
|
14
|
-
config:
|
|
15
|
-
sampler:
|
|
16
|
-
command: python3 /usr/local/bin/sampler
|
|
17
|
-
inputs:
|
|
18
|
-
- timestamp: "2023-11-02T10:35:31.820Z"
|
|
19
|
-
duration: 3600
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
name: teads-cpu
|
|
2
|
-
description: simple demo invoking teads-cpu
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: teads-cpu
|
|
7
|
-
model: TeadsCurveModel
|
|
8
|
-
path: "@grnsft/if-unofficial-models"
|
|
9
|
-
graph:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
- teads-cpu
|
|
14
|
-
inputs:
|
|
15
|
-
- timestamp: 2023-07-06T00:00
|
|
16
|
-
duration: 3600
|
|
17
|
-
cpu-util: 50
|
|
18
|
-
thermal-design-power: 300
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: nesting-demo
|
|
2
|
-
description: impl with 2 levels of nesting with non-uniform timing of observations, with flag to avoid padding by erroring out
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: time-synchronization
|
|
7
|
-
model: TimeSyncModel
|
|
8
|
-
path: builtin
|
|
9
|
-
config:
|
|
10
|
-
start-time: 2023-12-12T00:00:00.000Z # ISO timestamp
|
|
11
|
-
end-time: 2023-12-12T00:01:00.000Z # ISO timestamp
|
|
12
|
-
interval: 5 # seconds
|
|
13
|
-
allow-padding: true
|
|
14
|
-
graph:
|
|
15
|
-
children:
|
|
16
|
-
child: # an advanced grouping node
|
|
17
|
-
pipeline:
|
|
18
|
-
- time-synchronization
|
|
19
|
-
config:
|
|
20
|
-
children:
|
|
21
|
-
child-1:
|
|
22
|
-
inputs:
|
|
23
|
-
- timestamp: 2023-12-12T00:00:00.000Z
|
|
24
|
-
duration: 10
|
|
25
|
-
cpu-util: 10
|
|
26
|
-
carbon: 100
|
|
27
|
-
energy: 100
|
|
28
|
-
requests: 300
|
|
29
|
-
- timestamp: 2023-12-12T00:00:15.000Z
|
|
30
|
-
duration: 10
|
|
31
|
-
cpu-util: 20
|
|
32
|
-
requests: 300
|
|
33
|
-
- timestamp: 2023-12-12T00:00:35.000Z
|
|
34
|
-
duration: 15
|
|
35
|
-
cpu-util: 20
|
|
36
|
-
requests: 400
|
|
37
|
-
child-2:
|
|
38
|
-
inputs:
|
|
39
|
-
- timestamp: 2023-12-12T00:00:00.000Z
|
|
40
|
-
duration: 10
|
|
41
|
-
cpu-util: 10
|
|
42
|
-
requests: 300
|
|
43
|
-
- timestamp: 2023-12-12T00:00:10.000Z
|
|
44
|
-
duration: 30
|
|
45
|
-
cpu-util: 20
|
|
46
|
-
requests: 380
|
|
47
|
-
- timestamp: 2023-12-12T00:00:50.000Z
|
|
48
|
-
duration: 20
|
|
49
|
-
cpu-util: 20
|
|
50
|
-
requests: 380
|
|
@@ -1,76 +0,0 @@
|
|
|
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
|
-
allow-padding: true
|
|
26
|
-
graph:
|
|
27
|
-
children:
|
|
28
|
-
child: # an advanced grouping node
|
|
29
|
-
pipeline:
|
|
30
|
-
- teads-curve
|
|
31
|
-
- sci-e
|
|
32
|
-
- sci-m
|
|
33
|
-
- sci-o
|
|
34
|
-
- time-synchronization
|
|
35
|
-
config:
|
|
36
|
-
teads-curve:
|
|
37
|
-
thermal-design-power: 65
|
|
38
|
-
sci-m:
|
|
39
|
-
total-embodied-emissions: 251000 # gCO2eq
|
|
40
|
-
time-reserved: 3600 # 1 hour in s
|
|
41
|
-
expected-lifespan: 126144000 # 4 years in seconds
|
|
42
|
-
resources-reserved: 1
|
|
43
|
-
total-resources: 1
|
|
44
|
-
sci-o:
|
|
45
|
-
grid-carbon-intensity: 457 # gCO2/kwh
|
|
46
|
-
children:
|
|
47
|
-
child-1:
|
|
48
|
-
inputs:
|
|
49
|
-
- timestamp: 2023-12-12T00:00:00.000Z
|
|
50
|
-
duration: 10
|
|
51
|
-
cpu-util: 10
|
|
52
|
-
carbon: 100
|
|
53
|
-
energy: 100
|
|
54
|
-
requests: 300
|
|
55
|
-
- timestamp: 2023-12-12T00:00:15.000Z
|
|
56
|
-
duration: 10
|
|
57
|
-
cpu-util: 20
|
|
58
|
-
requests: 300
|
|
59
|
-
- timestamp: 2023-12-12T00:00:35.000Z
|
|
60
|
-
duration: 15
|
|
61
|
-
cpu-util: 20
|
|
62
|
-
requests: 400
|
|
63
|
-
child-2:
|
|
64
|
-
inputs:
|
|
65
|
-
- timestamp: 2023-12-12T00:00:00.000Z
|
|
66
|
-
duration: 10
|
|
67
|
-
cpu-util: 10
|
|
68
|
-
requests: 300
|
|
69
|
-
- timestamp: 2023-12-12T00:00:10.000Z
|
|
70
|
-
duration: 30
|
|
71
|
-
cpu-util: 20
|
|
72
|
-
requests: 380
|
|
73
|
-
- timestamp: 2023-12-12T00:00:50.000Z
|
|
74
|
-
duration: 20
|
|
75
|
-
cpu-util: 20
|
|
76
|
-
requests: 380
|
|
@@ -1,340 +0,0 @@
|
|
|
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
|