improvements:
- added the dell equivalent machines to the graph to see how they compare - updated the price of electricity
This commit is contained in:
parent
79f0213793
commit
f76eabc55e
|
@ -109,7 +109,7 @@ class ConfigFlopsPerEuro(ConfigAxisDef):
|
||||||
return u'num total DP operations/total cost [€/^-1]'
|
return u'num total DP operations/total cost [€/^-1]'
|
||||||
|
|
||||||
def get_value_for_config(self, config):
|
def get_value_for_config(self, config):
|
||||||
kWHPrice = 0.07 * 1.5
|
kWHPrice = 0.30 # from yjuet on 20/01/2023 : 300€/MWh
|
||||||
containerLifetime = 7.0 # in years
|
containerLifetime = 7.0 # in years
|
||||||
powerUsageEfficiency = 0.5
|
powerUsageEfficiency = 0.5
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ def plot_configs(configs, xaxis_def, yaxis_def, plot_title):
|
||||||
'dell-poweredge-c6320': 1.0,
|
'dell-poweredge-c6320': 1.0,
|
||||||
'dell-poweredge-c6420': 1.0,
|
'dell-poweredge-c6420': 1.0,
|
||||||
'dell-precision-3630': 0.2,
|
'dell-precision-3630': 0.2,
|
||||||
'hpe-proliant-dl360-gen10': 0.6
|
'hpe-proliant-dl360-gen10': 0.55
|
||||||
}[model]
|
}[model]
|
||||||
value = 0.9
|
value = 0.9
|
||||||
return matplotlib.colors.hsv_to_rgb((hue, saturation, value))
|
return matplotlib.colors.hsv_to_rgb((hue, saturation, value))
|
||||||
|
@ -213,7 +213,7 @@ def plot_configs(configs, xaxis_def, yaxis_def, plot_title):
|
||||||
plt.minorticks_on()
|
plt.minorticks_on()
|
||||||
plt.grid(b=True, which='major', color='b', linestyle='-', linewidth=0.5)
|
plt.grid(b=True, which='major', color='b', linestyle='-', linewidth=0.5)
|
||||||
plt.grid(b=True, which='minor', color='b', linestyle='-', linewidth=0.2)
|
plt.grid(b=True, which='minor', color='b', linestyle='-', linewidth=0.2)
|
||||||
plt.legend(bbox_to_anchor=(1.1, 1.1), ncol=3)
|
plt.legend(bbox_to_anchor=(1.1, 1.1), ncol=2)
|
||||||
plt.draw()
|
plt.draw()
|
||||||
|
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
|
@ -75,7 +75,8 @@ def test_credits_2021_configs():
|
||||||
|
|
||||||
def test_ur1_presents_2023_configs():
|
def test_ur1_presents_2023_configs():
|
||||||
configurators = [
|
configurators = [
|
||||||
MatinfoConfigurator('20230120-cat2-conf3-hpe-dl360.html', HpeConfiguratorParser()),
|
MatinfoConfigurator('20210407 - Cat2 Conf4 PowerEdge R640 - Dell.html', DellConfiguratorParser2021()),
|
||||||
|
MatinfoConfigurator('20230120-cat2-conf3-hpe-dl360-gen10.html', HpeConfiguratorParser()),
|
||||||
]
|
]
|
||||||
|
|
||||||
def config_filter(config):
|
def config_filter(config):
|
||||||
|
|
Loading…
Reference in New Issue