This commit is contained in:
chenxiaodong 2024-06-26 16:51:55 +08:00
parent f296a118c5
commit d811d28ac7
3 changed files with 610 additions and 610 deletions

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

@ -93,7 +93,7 @@ def plot_evaluation_information(datasource, directory):
axs[0, 0].set_ylabel('Unbalance of Generation and Load') axs[0, 0].set_ylabel('Unbalance of Generation and Load')
axs[0, 0].bar(eval_data['time_step'], eval_data['unbalance'], label='Exchange with Grid', width=0.4) axs[0, 0].bar(eval_data['time_step'], eval_data['unbalance'], label='Exchange with Grid', width=0.4)
axs[0, 0].bar(eval_data['time_step'] + 0.4, eval_data['netload'], label='Netload', width=0.4) axs[0, 0].bar(eval_data['time_step'] + 0.4, eval_data['netload'], label='Netload', width=0.4)
axs[0, 0].legend(loc='upper right', bbox_to_anchor=(1.4, 1), fontsize=12, frameon=False, labelspacing=0.5) axs[0, 0].legend(loc='upper right', bbox_to_anchor=(1.45, 1), fontsize=12, frameon=False, labelspacing=0.5)
# axs[0,0].set_xticks([i for i in range(24)],[i for i in range(1,25)]) # axs[0,0].set_xticks([i for i in range(24)],[i for i in range(1,25)])
# 绘制能源充/放电与价格关系图 in ax[1] # 绘制能源充/放电与价格关系图 in ax[1]