add title to the plot title

This commit is contained in:
Hanzhang Ma 2024-05-07 20:20:09 +02:00
parent 30e8d968f2
commit 2788aafbf3
3 changed files with 1077 additions and 118240 deletions

View File

@ -96,7 +96,7 @@ class EnergySystem:
self.unmet.append((index,time,factory_demand,generated_pv_power))
# with open(f'plots/summary/ess-{self.ess.capacity}-pv-{self.pv.capacity}', 'a') as f:
# f.write(log)
print(log)
# print(log)
# self.unmet.append(log)
saved_energy = generated_pv_energy + self.ess.storage * self.ess.loss
self.ess.storage = 0

View File

@ -15,17 +15,31 @@
"capacity": 5000
},
"pv_capacities":{
"begin": 10000,
"begin": 5000,
"end": 50000,
"groups": 3
},
"ess_capacities":{
"begin": 10000,
"begin": 5000,
"end": 50000,
"groups": 3
},
"time_interval":{
"numerator": 15,
"denominator": 60
},
"annotated": {
"unmet_prob": true,
"benefit": false,
"cost": true
},
"figure_size":{
"height": 18,
"length": 20
},
"plot_title":{
"unmet_prob": "Probability of unmet electricity demands",
"cost": "Costs of the PV System/million Eur",
"benefit": "Benefit Heatmap Based on PV and ESS Capacities (thousand EUR/year)"
}
}

119287
main.ipynb

File diff suppressed because one or more lines are too long