Commit 95b5a654 authored by Allvey's avatar Allvey

revise project name

parent ac1dfe25
......@@ -10,4 +10,25 @@ Changelog for package Dispatch
[fix ]:
[TODO ]:
[info ]: author: zxt ; time: 2021-07-07 15:46:00 ; email: ; tel: ;
--------------------
--------------------
[version]: 1.1.1
[message]: refactor real-time dispatch function
[feather]:
[fix ]:
[TODO ]:
[info ]: author: zxt ; time: 2021-07-23 16:59:00 ; email: ; tel: ;
--------------------
--------------------
[version]: 1.2.1
[message]: add traffic flow planning
[feather]:
[fix ]:
[TODO ]:
[info ]: author: zxt ; time: 2021-07-23 16:59:00 ; email: ; tel: ;
--------------------
\ No newline at end of file
......@@ -3,7 +3,7 @@
# @Time : 2021/7/21 16:45
# @Author : Opfer
# @Site :
# @File : traffic_flow_dispatch.py
# @File : realtime_dispatch.py
# @Software: PyCharm
# !E:\Pycharm Projects\Waytous
......@@ -581,7 +581,7 @@ class ExcavatorInfo(DeviceMap):
# 读取实时装载量
self.update_actual_load_throughout()
# 卸载目标产量
# 挖机目标产量
self.excavator_target_mass = np.full(self.shovels, shovel_target_mass)
# # 同步挖机虚拟装载量
......@@ -1186,7 +1186,7 @@ class Dispatcher(DeviceMap):
target = 0
shovel_target_mass = self.excavator.shovel_target_mass
excavator_target_mass = self.excavator.excavator_target_mass
loading_time = self.excavator.loading_time
dump_target_mass = self.dump.dump_target_mass
unloading_time = self.dump.unloading_time
......@@ -1195,7 +1195,7 @@ class Dispatcher(DeviceMap):
logger.info("矿卡状态:矿卡启动或故障恢复")
logger.info("矿卡行程:无")
logger.info(f'涉及电铲:{list(self.excavator_uuid_to_index_dict.keys())}')
logger.info(f'电铲饱和度:{(1 - self.sim_shovel_real_mass / shovel_target_mass)}')
logger.info(f'电铲饱和度:{(1 - self.sim_shovel_real_mass / excavator_target_mass)}')
logger.info(
f'行程时间:{(np.maximum(self.sim_shovel_ava_time, now + self.park_to_load_eq[0, :]) + loading_time - now)}')
logger.info(f'行驶时间:{self.park_to_load_eq[0, :] + loading_time}')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment