Refine
This commit is contained in:
@@ -560,6 +560,16 @@ def run_simulation(name: str, simulation_type: str, modify_pattern_start_time: s
|
|||||||
"""
|
"""
|
||||||
# 记录开始时间
|
# 记录开始时间
|
||||||
time_cost_start = time.perf_counter()
|
time_cost_start = time.perf_counter()
|
||||||
|
|
||||||
|
print('name', name)
|
||||||
|
print('simulation_type', simulation_type)
|
||||||
|
print('modify_pattern_start_time', modify_pattern_start_time)
|
||||||
|
print('modify_total_duration', modify_total_duration)
|
||||||
|
print('modify_reservoir_head_pattern', modify_reservoir_head_pattern)
|
||||||
|
print('modify_tank_initial_level', modify_tank_initial_level)
|
||||||
|
print('modify_junction_base_demand', modify_junction_base_demand)
|
||||||
|
|
||||||
|
|
||||||
print('{} -- Hydraulic simulation started.'.format(
|
print('{} -- Hydraulic simulation started.'.format(
|
||||||
datetime.now(pytz.timezone('Asia/Shanghai')).strftime('%Y-%m-%d %H:%M:%S')))
|
datetime.now(pytz.timezone('Asia/Shanghai')).strftime('%Y-%m-%d %H:%M:%S')))
|
||||||
# 重新打开数据库
|
# 重新打开数据库
|
||||||
|
|||||||
Reference in New Issue
Block a user