add title to the plot title
This commit is contained in:
		| @@ -96,7 +96,7 @@ class EnergySystem: | |||||||
|                         self.unmet.append((index,time,factory_demand,generated_pv_power)) |                         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: |                         # with open(f'plots/summary/ess-{self.ess.capacity}-pv-{self.pv.capacity}', 'a') as f: | ||||||
|                             # f.write(log) |                             # f.write(log) | ||||||
|                         print(log) |                         # print(log) | ||||||
|                         # self.unmet.append(log) |                         # self.unmet.append(log) | ||||||
|                     saved_energy = generated_pv_energy + self.ess.storage * self.ess.loss |                     saved_energy = generated_pv_energy + self.ess.storage * self.ess.loss | ||||||
|                     self.ess.storage = 0 |                     self.ess.storage = 0 | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								config.json
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								config.json
									
									
									
									
									
								
							| @@ -15,17 +15,31 @@ | |||||||
|         "capacity": 5000 |         "capacity": 5000 | ||||||
|     }, |     }, | ||||||
|     "pv_capacities":{ |     "pv_capacities":{ | ||||||
|         "begin": 10000, |         "begin": 5000, | ||||||
|         "end": 50000, |         "end": 50000, | ||||||
|         "groups": 3  |         "groups": 3  | ||||||
|     }, |     }, | ||||||
|     "ess_capacities":{ |     "ess_capacities":{ | ||||||
|         "begin": 10000, |         "begin": 5000, | ||||||
|         "end": 50000, |         "end": 50000, | ||||||
|         "groups": 3  |         "groups": 3  | ||||||
|     }, |     }, | ||||||
|     "time_interval":{ |     "time_interval":{ | ||||||
|         "numerator": 15, |         "numerator": 15, | ||||||
|         "denominator": 60 |         "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
									
									
									
									
									
								
							
							
						
						
									
										119287
									
								
								main.ipynb
									
									
									
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user