-
Notifications
You must be signed in to change notification settings - Fork 41
/
ntt-data-on-premise.yaml
201 lines (201 loc) · 6.19 KB
/
ntt-data-on-premise.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
name: ntt-data-on-premise
description: https://github.com/Green-Software-Foundation/sci-guide/blob/dev/use-case-submissions/nttdatta-On-Premise-Web-system.md
tags:
kind: web
complexity: moderate
category: on-premise
initialize:
models:
- name: sci-e
kind: builtin
verbose: false
path: ''
- name: sci-m # a model that calculates m from te, tir, el, rr and rtor
kind: builtin
verbose: false
path: ''
- name: sci-o # a model that given e, i and m calculates a carbon value (e * i) + m
kind: builtin
verbose: false
path: ''
- name: sci # a model that given e, i and m calculates a carbon value (e * i) + m
kind: builtin
verbose: false
path: ''
graph:
children:
layer-3-switch: # an advanced grouping node
pipeline:
- sci-e
- sci-m
- sci-o
- sci
config:
sci-m:
total-embodied-emissions: 251000 # gCO2eq
time-reserved: 3600 # 1 hour in s
expected-lifespan: 126144000 # 4 years in seconds
resources-reserved: 1
total-resources: 1
sci-o:
grid-carbon-intensity: 457 # gCO2/kwh
sci:
functional-unit-duration: 1
functional-duration-time: ''
functional-unit: requests # factor to convert per time to per f.unit
inputs:
- timestamp: 2023-07-06T00:00
duration: 3600
five-min-input-ratotal-embodied-emissions: 100
five-min-output-ratotal-embodied-emissions: 100
grid-carbon-intensity: 457 # gCO2e/kWh
energy-network: 0.00496 # 3.85e-3 * 24 ports * 1.5 (pue)
requests: 38032740
layer-2-switch:
pipeline:
- sci-e
- sci-m
- sci-o
- sci
config:
sci-m:
total-embodied-emissions: 251000 # gCO2eq
time-reserved: 3600 # get from the duration field
expected-lifespan: 126144000 # 4 years in seconds
resources-reserved: 1
total-resources: 1
sci-o:
grid-ci: 457 # gCO2/kwh
sci:
functional-unit-duration: 1
functional-duration-time: ''
functional-unit: requests # factor to convert per time to per f.unit
children:
switch-1:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-network: 0.000811 #kwh
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
switch-2:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-network: 0 # no traffic at all
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
switch-3:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-network: 0.000955 #kwh
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
switch-4:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-network: 1.14e-8 #kwh
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
db-servers:
pipeline:
- sci-e
- sci-m
- sci-o
- sci
config:
sci-m:
total-embodied-emissions: 6270000 # gCO2eq
time-reserved: duration # get from the duration field
expected-lifespan: 126144000 # 4 years in seconds
resources-reserved: 1
total-resources: 1
sci-o:
grid-carbon-intensity: 457 # gCO2/kwh
sci:
functional-unit-duration: ''
functional-unit: requests
children:
db-server1:
inputs:
- timestamp: 2023-07-06T00:00
energy-cpu: 0.258
duration: 1 #s
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
db-server2:
inputs:
- timestamp: 2023-07-06T00:00
energy-cpu: 0.193
duration: 1 #s
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
app-servers:
pipeline:
- sci-e
- sci-m
- sci-o
- sci
config:
sci-m:
total-embodied-emissions: 6270000 # gCO2eq
time-reserved: duration # get from the duration field
expected-lifespan: 126144000 # 4 years in seconds
resources-reserved: 1
total-resources: 1
sci-o:
grid-carbon-intensity: 457 # gCO2/kwh
sci:
functional-unit-duration: 1
functional-duration-time: ''
functional-unit: requests # factor to convert per time to per f.unit
children:
app-server1:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-cpu: 0.149
grid-carbon-intensity: 457 # gCO2e/kWh
app-server2:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-cpu: 0.147
grid-carbon-intensity: 457 # gCO2e/kWh
requests: 38032740
web-servers:
pipeline:
- sci-e
- sci-m
- sci-o
- sci
config:
sci-m:
total-embodied-emissions: 6270000 # gCO2eq
time-reserved: duration # get from the duration field
expected-lifespan: 126144000 # 4 years in seconds
resources-reserved: 1
total-resources: 1
sci-o:
grid-carbon-intensity: 457 # gCO2/kwh
sci:
functional-unit-duration: 1
functional-duration-time: ''
functional-unit: requests # factor to convert per time to per f.unit
children:
web-server1:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-cpu: 0.139
grid-carbon-intensity: 951 # gCO2e/kWh
requests: 38032740
web-server2:
inputs:
- timestamp: 2023-07-06T00:00
duration: 1
energy-cpu: 0.116
grid-carbon-intensity: 951 # gCO2e/kWh
requests: 38032740