This commit is contained in:
chenxiaodong 2024-06-21 14:40:57 +08:00
parent 21be0966dc
commit 4fd701c86c
3 changed files with 2 additions and 4 deletions

BIN
gurobi11.0.2_linux64.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,3 @@
import numpy as np
solar_parameters = {
'I_sc0': 8.0, # 参考条件下的短路电流 (A)
'V_b': 25, # 基准电压

View File

@ -64,7 +64,7 @@ def plot_optimization_result(datasource, directory): # data source is dataframe
# axs[1,0].set_xticks([i for i in range(24)],[i for i in range(1,25)])
# plt.show()
fig.savefig(f"{directory}/optimization_information.svg", format='svg', dpi=600, bbox_inches='tight')
print('optimization result has been ploted')
print('optimization results have been ploted and saved')
def plot_evaluation_information(datasource, directory):
@ -134,7 +134,7 @@ def plot_evaluation_information(datasource, directory):
axs[0, 1].legend(loc='upper right', fontsize=12, frameon=False, labelspacing=0.3)
# plt.show()
fig.savefig(f"{directory}/Evoluation Information.svg", format='svg', dpi=600, bbox_inches='tight')
print('the evaluation figure have been plot and saved')
print('evaluation figure have been plot and saved')
def make_dir(directory, feature_change):