@grnsft/if 0.1.5 → 0.1.7

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 (38) hide show
  1. package/CONTRIBUTING.md +1 -1
  2. package/README.md +1 -34
  3. package/build/config/units.yaml +112 -0
  4. package/build/index.js +2 -2
  5. package/coverage/clover.xml +396 -0
  6. package/coverage/coverage-final.json +14 -0
  7. package/coverage/lcov-report/base.css +224 -0
  8. package/coverage/lcov-report/block-navigation.js +87 -0
  9. package/coverage/lcov-report/config/config.ts.html +256 -0
  10. package/coverage/lcov-report/config/index.html +146 -0
  11. package/coverage/lcov-report/config/index.ts.html +91 -0
  12. package/coverage/lcov-report/config/strings.ts.html +196 -0
  13. package/coverage/lcov-report/favicon.png +0 -0
  14. package/coverage/lcov-report/index.html +161 -0
  15. package/coverage/lcov-report/lib/index.html +161 -0
  16. package/coverage/lcov-report/lib/models-universe.ts.html +517 -0
  17. package/coverage/lcov-report/lib/observatory.ts.html +187 -0
  18. package/coverage/lcov-report/lib/planet-aggregator.ts.html +244 -0
  19. package/coverage/lcov-report/lib/supercomputer.ts.html +712 -0
  20. package/coverage/lcov-report/models/index.html +131 -0
  21. package/coverage/lcov-report/models/index.ts.html +88 -0
  22. package/coverage/lcov-report/models/time-sync.ts.html +1153 -0
  23. package/coverage/lcov-report/prettify.css +1 -0
  24. package/coverage/lcov-report/prettify.js +2 -0
  25. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  26. package/coverage/lcov-report/sorter.js +196 -0
  27. package/coverage/lcov-report/util/args.ts.html +289 -0
  28. package/coverage/lcov-report/util/errors.ts.html +166 -0
  29. package/coverage/lcov-report/util/index.html +161 -0
  30. package/coverage/lcov-report/util/units-dealer.ts.html +199 -0
  31. package/coverage/lcov-report/util/yaml.ts.html +193 -0
  32. package/coverage/lcov.info +666 -0
  33. package/examples/impls/test/e-net.yml +21 -0
  34. package/grafana/IF_GRAFANA_SETUP.md +71 -0
  35. package/grafana/if_grafana_config.json +370 -0
  36. package/package.json +4 -4
  37. package/src/config/units.yaml +1 -1
  38. package/examples/ompls/test/time-sync.yml +0 -255
@@ -1,255 +0,0 @@
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