tar
This commit is contained in:
parent
21be0966dc
commit
4fd701c86c
Binary file not shown.
|
@ -1,5 +1,3 @@
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
solar_parameters = {
|
solar_parameters = {
|
||||||
'I_sc0': 8.0, # 参考条件下的短路电流 (A)
|
'I_sc0': 8.0, # 参考条件下的短路电流 (A)
|
||||||
'V_b': 25, # 基准电压
|
'V_b': 25, # 基准电压
|
||||||
|
|
|
@ -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)])
|
# axs[1,0].set_xticks([i for i in range(24)],[i for i in range(1,25)])
|
||||||
# plt.show()
|
# plt.show()
|
||||||
fig.savefig(f"{directory}/optimization_information.svg", format='svg', dpi=600, bbox_inches='tight')
|
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):
|
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)
|
axs[0, 1].legend(loc='upper right', fontsize=12, frameon=False, labelspacing=0.3)
|
||||||
# plt.show()
|
# plt.show()
|
||||||
fig.savefig(f"{directory}/Evoluation Information.svg", format='svg', dpi=600, bbox_inches='tight')
|
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):
|
def make_dir(directory, feature_change):
|
||||||
|
|
Loading…
Reference in New Issue