Refine
This commit is contained in:
@@ -908,8 +908,6 @@ def run_simulation(name: str, simulation_type: str, modify_pattern_start_time: s
|
||||
node_result = output.node_results()
|
||||
link_result = output.link_results()
|
||||
|
||||
# os.remove(tmp_file)
|
||||
|
||||
# link_flow = []
|
||||
# for link in link_result:
|
||||
# link_flow.append(link['result'][-1]['flow'])
|
||||
@@ -929,6 +927,9 @@ def run_simulation(name: str, simulation_type: str, modify_pattern_start_time: s
|
||||
|
||||
print("after store result")
|
||||
|
||||
del output
|
||||
os.remove(tmp_file)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 计算前,获取scada_info中的信息,按照设定的方法修改pg数据库
|
||||
|
||||
Reference in New Issue
Block a user