CN108171979B - A method and system for optimizing all-day operating time of trams - Google Patents

A method and system for optimizing all-day operating time of trams Download PDF

Info

Publication number
CN108171979B
CN108171979B CN201810011093.6A CN201810011093A CN108171979B CN 108171979 B CN108171979 B CN 108171979B CN 201810011093 A CN201810011093 A CN 201810011093A CN 108171979 B CN108171979 B CN 108171979B
Authority
CN
China
Prior art keywords
time
tram
tramcar
intersection
shift
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810011093.6A
Other languages
Chinese (zh)
Other versions
CN108171979A (en
Inventor
暨育雄
唐钰
杜豫川
尤齐渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
Original Assignee
Tongji University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongji University filed Critical Tongji University
Priority to CN201810011093.6A priority Critical patent/CN108171979B/en
Publication of CN108171979A publication Critical patent/CN108171979A/en
Application granted granted Critical
Publication of CN108171979B publication Critical patent/CN108171979B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Algebra (AREA)
  • Chemical & Material Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a tramcar all-day operation time optimization method and system, which consider the influence of different signal cycle durations of different intersections in different time periods, and optimize the operation time of the two-way tramcar all-day and the robustness of a timetable by adjusting the departure time of the tramcar of each two-way shift, the running speed on a road section, the stop time at a station, the starting time of a green light of the tramcar at an intersection along the line and a phase scheme, so that the tramcar can be ensured to run at a higher speed, and a higher arrival accuracy rate can be maintained. And determining the station leaving time of the tramcar of each two-way shift at the station according to the optimization result, and finally obtaining the whole-day operation schedule of the tramcar. Compared with the prior art, the method improves the arrival accurate point rate of the tramcar, increases the competitiveness of a tramcar system, improves the running speed of the tramcar, and reduces the operation cost of the tramcar.

Description

一种有轨电车全天运营时刻优化方法及系统A method and system for optimizing all-day operating time of trams

技术领域technical field

本发明涉及城市智能公共交通系统系统领域,特别是涉及一种有轨电车全天运营时刻优化方法及系统。The invention relates to the field of urban intelligent public transportation system systems, in particular to a method and system for optimizing the all-day operation time of trams.

背景技术Background technique

相比于普通公交车辆,国内外有轨电车运营的发车间隔时间普遍较大,早晚高峰时段发车间隔在10-15分钟左右,平峰时段在15-30分钟左右。Compared with ordinary public transport vehicles, the departure interval of domestic and foreign trams is generally larger, about 10-15 minutes in morning and evening peak hours, and 15-30 minutes in flat peak hours.

当前已有的时刻表优化方法大多面向传统的普通公交车辆,而面向有轨电车的时刻表优化方法较少。传统的普通公交车辆与有轨电车之间存在一定的差异性,具体表现在有轨电车享有独立路权,因此路段行程时间具有较强的稳定性;而传统的普通公交车辆和社会车辆混行,其路段行程时间具有较强的波动性。Most of the existing timetable optimization methods are oriented to traditional public buses, and there are fewer timetable optimization methods for trams. There are certain differences between traditional ordinary public transport vehicles and trams. The specific manifestation is that the trams have independent road rights, so the travel time of the road section has strong stability; while the traditional ordinary public transport vehicles and social vehicles are mixed. , the travel time of the road segment has strong volatility.

传统的普通公交车辆和有轨电车的差异性使得当前已有的时刻表优化方法对路段行程时间考虑不足,尤其是忽略了交叉口对行程时间的影响,因此当前已有的方法往往需要制定较强的假设条件,如假设每条公交线路运行时间一定、车辆匀速且进出站时间一定、公交线路沿线交叉口信号配时周期时长一样等,这些假设条件在现实生活中很难满足,因此有轨电车系统的实际运行与所指定的时刻表存在一定差距。The difference between traditional public buses and trams makes the existing timetable optimization methods insufficient to consider the travel time of road sections, especially the influence of intersections on travel time is ignored. Therefore, the existing methods often need to formulate relatively Strong assumptions, such as the assumption that each bus line has a certain running time, that the vehicles are at a constant speed and have a certain entry and exit time, and that the signal timing cycle at the intersections along the bus line is the same, etc. These assumptions are difficult to meet in real life. There is a certain gap between the actual operation of the tram system and the specified timetable.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种有轨电车全天运营时刻优化方法及系统,提高了有轨电车的到站准点率,增加了有轨电车系统的竞争力。The purpose of the present invention is to provide a method and system for optimizing the operation time of a tram throughout the day, which improves the punctuality rate of the tram and increases the competitiveness of the tram system.

为实现上述目的,本发明提供了如下方案:For achieving the above object, the present invention provides the following scheme:

本发明提供了一种有轨电车全天运营时刻优化方法,所述有轨电车全天运营时刻优化方法包括:The invention provides a method for optimizing the all-day operation time of a tram, and the method for optimizing the all-day operation time of the tram includes:

构建有轨电车全天运营时刻的目标优化函数;所述目标优化函数为关于全天双向有轨电车从起点到终点的运行时间之和不同时段内的惩罚项系数的函数;Constructing the objective optimization function of the all-day operating time of the tram; the objective optimization function is a function of the penalty term coefficient in the sum of the running time of the all-day two-way tram from the starting point to the ending point in different time periods;

构建有轨电车运营的约束条件;所述的有轨电车运营的约束条件包括:交叉口信号配时相位方案约束,有轨电车在路段上最小行驶时间约束,有轨电车在站点最小停站时间约束,全天多信号配时方案条件下有轨电车不停车通过信号周期长度不同的交叉口的约束,同向前后班次有轨电车车头时距约束,调头班次到达和发车时刻间换班时长约束;所述信号配时相位方案为社会车辆双向左转绿灯时间不同先后顺序形成的方案,所述多信号配时方案为早高峰、午高峰、晚高峰、平峰下的信号配时方案,所述信号周期长度是指一个交叉口的红绿灯时间之和;Constraints of tram operation are constructed; the constraints of tram operation include: intersection signal timing and phase scheme constraints, minimum travel time constraints of trams on road sections, and minimum stop time of trams at stations Constraints, under the condition of the all-day multi-signal timing scheme, the trams do not stop to pass through intersections with different signal cycle lengths, as well as the constraints on the headway of the trams before and after the train, and the time limit for the shift between the arrival and departure times of the U-turn shift; The signal timing phase scheme is a scheme formed by social vehicles in different sequences of two-way left turn green light times, and the multi-signal timing scheme is a signal timing scheme under morning peak, afternoon peak, evening peak, and flat peak. The cycle length refers to the sum of the traffic light times of an intersection;

根据惩罚项系数的灵敏度确定不同时段内的惩罚项系数;Determine the penalty item coefficients in different time periods according to the sensitivity of the penalty item coefficients;

根据所述惩罚项系数以及所述约束条件计算所述目标优化函数的最小值;Calculate the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition;

根据所述最小值确定有轨电车全天运营时刻表。An all-day operating schedule of the tram is determined based on the minimum value.

可选的,所述交叉口信号配时相位方案约束包括:Optionally, the intersection signal timing and phase scheme constraints include:

Figure BDA0001540320140000021
Figure BDA0001540320140000021

其中,αn,k,βn,k和γn,k均为0-1变量,(αn,kn,k)表示了交叉口n在时段k内正反向左转绿灯顺序先后的不同四种组合;当αn,k=0,βn,k=1时,表示的通行顺序为先正向左转和正向直行同时进行,然后双向直行,接着反向左转和反向直行同时进行;当αn,k=1,βn,k=0时,表示的通行顺序为先反向左转和反向直行同时进行,然后双向直行,接着正向左转和正向直行同时进行;当αn,k=0,βn,k=0时,表示的通行顺序为正向左转和反向左转同时进行,然后双向直行;当αn,k=1,βn,k=1时,表示的通行顺序为先双向直行,然后正向左转和反向左转同时进行;tgd,n,k表示方向d上有轨电车在交叉口n时段k内的绿灯时间,gd,n,k表示方向d上社会车辆在交叉口n时段k内直行的绿灯时间,ld,n,k表示方向d上社会车辆在交叉口n时段k内左转的绿灯时间,γn,k表示交叉口n时段k内有轨电车绿灯时间是否受相位方案影响的系数。Among them, α n,k , β n,k and γ n,k are all 0-1 variables, and (α n,kn,k ) represents the order of the green light turning left in the forward and reverse directions at the intersection n in the period k Four different combinations in succession; when α n,k = 0, β n, k = 1, it indicates that the traffic sequence is first forward left turn and forward straight at the same time, then two-way straight, then reverse left turn and reverse Go straight at the same time; when α n,k = 1, β n, k = 0, the indicated traffic sequence is first reverse left turn and reverse straight at the same time, then go straight in both directions, then forward left turn and forward straight Simultaneously; when α n,k =0, β n,k =0, the indicated traffic sequence is forward left turn and reverse left turn at the same time, and then go straight in both directions; when α n,k =1, β n ,k = 1, the indicated traffic sequence is first two-way straight, then forward left turn and reverse left turn at the same time; tg d,n,k indicates the green light of the tram in the direction d in the period k of the intersection n Time, g d,n,k represents the green light time of the social vehicle going straight in the intersection n period k in the direction d, l d,n,k represents the green light time of the social vehicle turning left in the intersection n period k in the direction d , γ n,k represents the coefficient of whether the green light time of the tram in the period k of intersection n is affected by the phase scheme.

可选的,所述有轨电车在路段上最小行驶时间约束包括:Optionally, the minimum travel time constraint of the tram on the road section includes:

Figure BDA0001540320140000031
Figure BDA0001540320140000031

其中,ttn,(m,d)表示方向d的第m次有轨电车在路段n上的行驶时间,N是所有路段的集合,

Figure BDA0001540320140000032
是在路段n上沿方向d以允许的最大速度行驶的时间,
Figure BDA0001540320140000033
是在路段n上沿方向d以规定的最小速度行驶的时间。Among them, ttn ,(m,d) represents the travel time of the m-th tram in the direction d on the road segment n, and N is the set of all road segments,
Figure BDA0001540320140000032
is the time to travel on segment n in direction d at the maximum speed allowed,
Figure BDA0001540320140000033
is the time to travel at a specified minimum speed in direction d on road segment n.

可选的,所述有轨电车在站点最小停站时间约束包括:Optionally, the minimum stop time constraint of the tram at the station includes:

Figure BDA0001540320140000034
Figure BDA0001540320140000034

其中,dtn,(m,d)表示方向d的第m次有轨电车在站点n上的停站时间,S是所有站点的集合,

Figure BDA0001540320140000035
是在站点n方向d上满足乘客上下车需求的最小时间,
Figure BDA0001540320140000036
是在站点n方向d上规定的最大停站时间。Among them, dt n, (m, d) represents the stop time of the m-th tram in the direction d at station n, and S is the set of all stations,
Figure BDA0001540320140000035
is the minimum time to meet the passenger's need to get on and off in the direction d of station n,
Figure BDA0001540320140000036
is the specified maximum stop time in the direction d of station n.

可选的,所述全天多信号配时方案条件下有轨电车不停车通过信号周期长度不同的交叉口的约束包括:Optionally, under the condition of the all-day multi-signal timing scheme, the constraints that the trams do not stop to pass through intersections with different signal period lengths include:

Figure BDA0001540320140000037
Figure BDA0001540320140000037

其中,xn,k,(m,d)为0-1变量,表示方向d的第m次有轨电车班次是否在时段k通过交叉口n;Tk表示时段k的起始时间;san,(m,d)表示方向d的第m次有轨电车班次通过交叉口n的时间;tθd,n,k表示方向d上交叉口n在时段k内有轨电车绿灯第一次起亮时刻与Tk的时间差;

Figure BDA0001540320140000041
表示交叉口n所在子区z在时段k的周期时长;yn,k,(m,d)表示方向d的第m次有轨电车班次在时段k通过交叉口n所在信号周期的编号;twn,k,(m,d)表示方向d的第m次有轨电车班次在时段k通过交叉口n时与有轨电车绿灯起亮时间的时间差;san,(m,d)表示方向d的第m次有轨电车班次到达交叉口或站点n的时刻;sdn,(m,d)表示方向d的第m次有轨电车班次离开交叉口或站点n的时刻;表示方向d的第m次有轨电车班次到达交叉口或站点n下游交叉口或站点n+的时刻;I表示所有交叉口的集合;S表示所有站点的集合;M是充分大的数。Among them, x n, k, (m, d) is a 0-1 variable, indicating whether the m-th tram shift in the direction d passes through the intersection n in the period k; T k represents the starting time of the period k; s n ,(m,d) represents the time when the mth tram in direction d passes through intersection n; tθ d,n,k represents the first time the green light of the tram lights up at intersection n in time period k in direction d The time difference between time and Tk ;
Figure BDA0001540320140000041
Represents the cycle duration of the sub-zone z where the intersection n is located in the period k; y n,k,(m,d) represents the number of the signal period where the mth tram in the direction d passes through the intersection n in the period k; tw n,k,(m,d) represents the time difference between the m-th tram shift in direction d and the time when the green light of the tram lights up when passing intersection n at time period k; san ,(m,d) represents direction d The moment when the mth tram shift of the direction d arrives at the intersection or station n; sd n,(m,d) represents the moment when the mth tram shift in the direction d leaves the intersection or station n; represents the moment when the m-th tram shift in direction d arrives at the intersection or the downstream intersection of station n or station n + ; I is the set of all intersections; S is the set of all stations; M is a sufficiently large number.

可选的,所述同向前后班次有轨电车车头时距约束包括:Optionally, the headway time constraints of the trams with the same forward and backward shifts include:

其中,sdu(d),(m,d)表示方向d的第m次有轨电车班次离开起点站u(d)的时间;表示第k时段内方向d的第m次有轨电车班次与后一班有轨电车发车间隔的最小值;

Figure BDA0001540320140000045
表示第k时段内方向d的第m次有轨电车班次与后一班有轨电车发车间隔的最小值;Among them, sd u(d), (m,d) represents the time when the m-th tram in the direction d leaves the starting station u (d) ; Represents the minimum value of the departure interval between the m-th tram shift and the next tram in direction d in the k-th period;
Figure BDA0001540320140000045
Represents the minimum value of the departure interval between the m-th tram shift and the next tram in direction d in the k-th period;

可选的,所述调头班次到达和发车时刻间换班时长约束包括:Optionally, the shift duration constraint between the arrival and departure time of the U-turn shift includes:

其中,sav(d),(m,d)表示方向d的第m次有轨电车班次到达终点站v(d)的时间,Among them, sa v(d), (m, d) represents the time when the m-th tram in the direction d arrives at the terminal v (d) ,

Figure BDA0001540320140000047
表示相应反方向
Figure BDA0001540320140000048
掉头车辆的发车时间,F表示方向d投入运营的有轨电车数量,L表示换班所需要的最小时间。
Figure BDA0001540320140000047
Indicates the opposite direction
Figure BDA0001540320140000048
The departure time of the U-turn vehicle, F represents the number of trams put into operation in the direction d, and L represents the minimum time required to change shifts.

所述根据所述惩罚项系数以及所述约束条件计算所述目标优化函数的最小值,具体包括:The calculating the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition specifically includes:

调整双向各班次有轨电车的发车时刻、路段上的行驶速度以及在站点的停靠时间、沿线交叉口有轨电车绿灯起亮时间以及相位方案,获得所述目标优化函数的最小值。Adjust the departure time of the two-way trams, the speed on the road section, the stop time at the station, the green light time of the tram at the intersection along the line and the phase scheme to obtain the minimum value of the objective optimization function.

可选的,在建立有轨电车全天运营时刻的目标优化函数之前还包括:Optionally, before establishing the objective optimization function for the all-day operating time of the tram, it also includes:

获取有轨电车的相关参数和有轨电车沿线的信号配时方案,所述相关参数包括:起终点有轨电车蓄车数、有轨电车允许的最大行驶速度、规定的最小行驶速度以及有轨电车在不同时段内各个站点所需的最小停站时间、规定的最大停站时间;所述信号配时方案包括:各个交叉口在不同时段内信号配时方案的周期时长、各路口转向的绿灯时间、各个所述信号控制子区不同时段的起始时间和结束时间;Obtain the relevant parameters of the tram and the signal timing plan along the tram line, the relevant parameters include: the number of trams stored at the starting and ending points, the maximum allowed speed of the tram, the specified minimum speed and the tram The minimum stop time and the specified maximum stop time required by each station of the tram in different time periods; the signal timing scheme includes: the cycle length of the signal timing scheme at each intersection in different time periods, the green light for each intersection to turn time, start time and end time of different time periods of each of the signal control sub-regions;

根据所述相关参数和所述信号配时方案确定正向和反向有轨电车在各个路段上行驶的时间以及在各个站点停靠时间。According to the relevant parameters and the signal timing scheme, the running time of the forward and reverse trams on each road section and the stopping time of each station are determined.

本发明还提供了一种有轨电车全天运营时刻优化系统,所述有轨电车全天运营时刻优化系统包括:The present invention also provides an all-day operating time optimization system for the tram, which includes:

目标优化函数构建模块,用于构建有轨电车全天运营时刻的目标优化函数;所述目标优化函数为关于全天双向有轨电车从起点到终点的运行时间之和不同时段内的惩罚项系数的函数;The objective optimization function building module is used to construct the objective optimization function of the all-day operation time of the tram; the objective optimization function is the penalty term coefficient in different time periods about the sum of the running time of the all-day two-way tram from the starting point to the end point The function;

约束条件构建模块,用于构建有轨电车运营的约束条件;所述约束条件包括:交叉口信号配时相位方案约束,有轨电车在路段上最小行驶时间约束,有轨电车在站点最小停站时间约束,全天多信号配时方案条件下有轨电车不停车通过不同周期时长的交叉口约束,同向前后班次有轨电车车头时距约束,调头班次到达和发车时刻间换班时长约束;所述信号配时周期是指一个交叉口的红绿灯时间之和;The constraint condition building module is used to construct the constraints of tram operation; the constraints include: intersection signal timing and phase scheme constraints, constraints on the minimum travel time of the tram on the road section, and the minimum stop of the tram at the station Time constraints, under the condition of the all-day multi-signal timing scheme, the trams do not stop and pass through intersections with different periods of time, and the time distance between the front and back of the tram is constrained, and the shift time between the arrival and departure time of the U-turn shift is constrained. The above signal timing cycle refers to the sum of the traffic light time of an intersection;

惩罚项系数确定模块,用于根据惩罚项系数的灵敏度确定不同时段内的惩罚项系数;The penalty item coefficient determination module is used to determine the penalty item coefficient in different time periods according to the sensitivity of the penalty item coefficient;

最小值计算模块,用于根据所述惩罚项系数以及所述约束条件计算所述目标优化函数的最小值;a minimum value calculation module, configured to calculate the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition;

全天运营时刻表确定模块,用于根据所述最小值确定有轨电车全天运营时刻表。The all-day operation timetable determination module is configured to determine the all-day operation timetable of the tram according to the minimum value.

根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

本发明公开一种有轨电车全天运营时刻优化方法及系统,考虑了不同交叉口在不同时段内不同的信号周期时长的影响,通过调整双向各班次有轨电车的发车时刻、路段上的行驶速度以及在站点的停靠时间、沿线交叉口有轨电车绿灯起亮时间以及相位方案,同时优化全天双向有轨电车的运营时间以及时刻表的鲁棒性,进而保证有轨电车不仅能够以较快的速度运行,同时也能维持较高的到站准点率。根据优化结果确定双向各班次有轨电车在站点的离站时间,最终得到有轨电车全天运营时刻表。通过本发明得到的有轨电车全天运营时刻表与实际的运行情况相匹配,与现有方法相比,提高了有轨电车的到站准点率,增加了有轨电车系统的竞争力;以最小化全天双向有轨电车从起点到终点的运行时间之和为目标优化设计有轨电车时刻表,提高了有轨电车运行速度,减小了有轨电车的运营成本。The invention discloses a method and system for optimizing the all-day operation time of a tram, which takes into account the influence of different signal cycle durations at different intersections in different time periods, and adjusts the departure time of the trams of each shift in both directions and the number of signals on the road section. Driving speed and stopping time at the station, the green light time of the tram at the intersection along the line and the phase plan, while optimizing the operating time of the two-way tram throughout the day and the robustness of the timetable, thus ensuring that the tram can not only use Faster speed operation, while maintaining a high on-time arrival rate. According to the optimization results, the departure time of the trams at the station of each shift in both directions is determined, and finally the all-day operating timetable of the trams is obtained. The all-day operation timetable of the trams obtained by the invention matches the actual operating conditions, and compared with the existing method, the punctuality rate of the trams arriving at the station is improved, and the competitiveness of the tram system is increased; Minimizing the sum of the running time of the two-way tram throughout the day from the starting point to the ending point is the goal of optimizing the design of the tram timetable, which improves the running speed of the tram and reduces the operating cost of the tram.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative labor.

图1为本发明一种有轨电车全天运营时刻优化方法的实施例的流程图;1 is a flow chart of an embodiment of a method for optimizing the all-day operation time of a tram according to the present invention;

图2是基于双向左转绿灯顺序的不同相位方案示意图;Figure 2 is a schematic diagram of different phase schemes based on the sequence of two-way left-turn green lights;

图3是不同惩罚项系数条件下行程时间与到终点站延误关系示意图;Figure 3 is a schematic diagram of the relationship between travel time and delay to the terminal under different penalty term coefficients;

图4是有轨电车全天运行图;其中,图4中横线表示交叉口处该时刻有轨电车的红灯时间,“*”表示正向有轨电车离站时间,“+”表示反向有轨电车离站时间;Figure 4 is an all-day running diagram of the tram; in which, the horizontal line in Figure 4 represents the red light time of the tram at the intersection at that moment, "*" represents the departure time of the forward tram, and "+" represents the reverse To the tram departure time;

图5是有轨电车全天运行图局部放大图;其中,图5中横线表示交叉口处该时刻有轨电车的红灯时间,“*”表示正向有轨电车离站时间,“+”表示反向有轨电车离站时间;Figure 5 is a partial enlarged view of the tram throughout the day; the horizontal line in Figure 5 represents the red light time of the tram at the intersection at that moment, "*" represents the departure time of the forward tram, and "+" ” indicates the departure time of the reverse tram;

图6为本发明一种有轨电车全天运营时刻优化系统的实施例的结构连接图。FIG. 6 is a structural connection diagram of an embodiment of an all-day operating time optimization system for a tram according to the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的目的是提供一种有轨电车全天运营时刻优化方法及系统,提高了有轨电车的到站准点率,增加了有轨电车系统的竞争力。The purpose of the present invention is to provide a method and system for optimizing the operation time of a tram throughout the day, which improves the punctuality rate of the tram and increases the competitiveness of the tram system.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

图1为本发明一种有轨电车全天运营时刻优化方法的实施例的流程图。如图1所示,一种有轨电车全天运营时刻优化方法,包括以下步骤:FIG. 1 is a flowchart of an embodiment of a method for optimizing the all-day operation time of a tram according to the present invention. As shown in Figure 1, a method for optimizing the all-day operation time of a tram includes the following steps:

步骤101,构建有轨电车全天运营时刻的目标优化函数;所述目标优化函数为关于全天双向有轨电车从起点到终点的运行时间之和不同时段内的惩罚项系数的函数。所述目标优化函数的具体表达式为:Step 101 , constructing an objective optimization function of the all-day operating time of the tram; the objective optimization function is a function of the penalty term coefficient in different time periods and the sum of the running time of the all-day two-way tram from the starting point to the ending point. The specific expression of the objective optimization function is:

(m,d)∈M(∑n∈Nttn,(m,d)+∑n∈Stdn,(m,d))+∑(m,d)∈Mn∈Ik∈Kμn,k,(m,d)tw2 n,k,(m,d) (1)(m,d)∈M (∑ n∈N tt n,(m,d) +∑ n∈S td n,(m,d) )+∑ (m,d)∈Mn∈Ik ∈K μ n,k,(m,d) tw 2 n,k,(m,d) (1)

其中(m,d)表示方向d的第m次有轨电车班车,方向d取值为out或in,分别代表正向有轨电车班次和反向有轨电车班次;Where (m, d) represents the m-th tram bus in the direction d, and the direction d takes the value out or in, representing the forward tram shift and the reverse tram shift, respectively;

ttn,(m,d)表示方向d的第m次有轨电车在路段n上的行驶时间,N是所有路段的集合;tt n, (m, d) represents the travel time of the m-th tram in the direction d on the road segment n, where N is the set of all road segments;

tdn,(m,d)表示方向d的第m次有轨电车在站点n上的停靠时间,S是所有站点的集合;td n,(m,d) represents the stop time of the m-th tram in the direction d at station n, and S is the set of all stations;

twn,k,(m,d)表示方向d的第m次有轨电车在时段k通过交叉口n的时刻与有轨电车绿灯起亮时刻的时间差,K是所有时段的集合,I是所有交叉口的集合,M是所有有轨电车班次的集合;tw n,k,(m,d) represents the time difference between the time when the m-th tram in the direction d passes through intersection n in the period k and the time when the green light of the tram lights up, K is the set of all time periods, and I is all the set of intersections, where M is the set of all tram departures;

μn,k,(m,d)是twn,k,(m,d)相应的非负惩罚系数。μ n,k,(m,d) are the corresponding non-negative penalty coefficients of tw n,k,(m,d) .

本实施例以最小化全天双向有轨电车从起点到终点的运行时间之和为目标优化设计有轨电车时刻表,提高了有轨电车运行速度,提高了有轨电车的服务水平,同时减小了有轨电车的运营成本。This embodiment optimizes the design of the tram timetable with the goal of minimizing the sum of the running time of the two-way trams from the starting point to the end point throughout the day, improves the running speed of the tram, improves the service level of the tram, and reduces the Reduced operating costs of trams.

可选的,在建立有轨电车全天运营时刻的目标优化函数之前还包括以下步骤:Optionally, the following steps are further included before establishing the objective optimization function for the all-day operating time of the tram:

步骤A1,获取有轨电车的相关参数和有轨电车沿线的信号配时方案,所述相关参数包括:起终点有轨电车蓄车数、有轨电车允许的最大行驶速度、规定的最小行驶速度以及有轨电车在不同时段内各个站点所需的最小停站时间、规定的最大停站时间;所述信号配时方案包括:各个交叉口在不同时段内信号配时方案的周期时长、各路口转向的绿灯时间、各个所述信号控制子区不同时段的起始时间和结束时间。Step A1: Obtain the relevant parameters of the tram and the signal timing scheme along the tram line. The relevant parameters include: the number of trams stored at the starting and ending points, the maximum allowed running speed of the tram, and the specified minimum running speed. and the minimum stopping time and the specified maximum stopping time required by each station of the tram in different time periods; the signal timing scheme includes: the cycle length of the signal timing scheme for each intersection in different time periods, the length of each intersection The green light time of the turn, the start time and the end time of the different time periods of each of the signal control sub-regions.

步骤A2,根据所述相关参数和所述信号配时方案确定正向和反向有轨电车在各个路段上行驶的时间以及在各个站点停靠时间。Step A2, according to the relevant parameters and the signal timing scheme, determine the travel time of the forward and reverse trams on each road section and the stop time at each station.

步骤102,构建有轨电车运营的约束条件。所述约束条件包括:Step 102: Constraining the operation of the tram is constructed. The constraints include:

约束条件1:交叉口信号配时相位方案约束,所述交叉口信号配时相位方案区别主要在双向左转绿灯先后顺序位置。约束表达式为:Constraint 1: The intersection signal timing and phase scheme is constrained, and the intersection signal timing and phase scheme differs mainly in the sequence of the two-way left turn green light. The constraint expression is:

Figure BDA0001540320140000081
Figure BDA0001540320140000081

其中αn,k,βn,k和γn,k均为0-1变量,(αn,kn,k)表示了交叉口n在时段k内正反向左转绿灯顺序先后的不同四种组合。图2是基于双向左转绿灯顺序的不同相位方案示意图。如图2所示,相位方案1:当αn,k=0,βn,k=1时,表示的通行顺序为先正向左转和正向直行同时进行,然后双向直行,接着反向左转和反向直行同时进行。相位方案2:当αn,k=1,βn,k=0时,表示的通行顺序为先反向左转和反向直行同时进行,然后双向直行,接着正向左转和正向直行同时进行。相位方案3:当αn,k=0,βn,k=0时,表示的通行顺序为正向左转和反向左转同时进行,然后双向直行。相位方案4:当αn,k=1,βn,k=1时,表示的通行顺序为先双向直行,然后正向左转和反向左转同时进行。Among them, α n,k , β n,k and γ n,k are 0-1 variables, (α n,kn,k ) represents the sequence of the forward and reverse left turn green lights at the intersection n in the period k of four different combinations. Figure 2 is a schematic diagram of different phase schemes based on the sequence of a two-way left turn green light. As shown in Fig. 2, phase scheme 1: when α n,k =0, β n,k =1, the traffic sequence indicated is to turn left and go straight at the same time, then go straight in both directions, and then go left in the opposite direction. Turn and reverse straight at the same time. Phase scheme 2: When α n,k =1, β n,k =0, the indicated traffic sequence is first reverse left turn and reverse straight at the same time, then go straight in both directions, and then forward left turn and forward straight at the same time conduct. Phase scheme 3: When α n,k =0, β n,k =0, the indicated traffic sequence is forward left turn and reverse left turn at the same time, and then go straight in both directions. Phase scheme 4: When α n,k =1, β n,k =1, the indicated traffic sequence is to go straight in both directions first, and then proceed to turn left in the forward direction and turn left in the reverse direction at the same time.

因为有轨电车通常在道路中央行驶,所以有轨电车的绿灯时间受正反向社会车辆左转绿灯顺序影响。tgd,n,k表示方向d上有轨电车在交叉口n时段k内的绿灯时间,gd,n,k表示方向d上社会车辆在交叉口n时段k内直行的绿灯时间,ld,n,k表示方向d上社会车辆在交叉口n时段k内左转的绿灯时间,γn,k表示交叉口n时段k内有轨电车绿灯时间是否受相位方案影响。Because streetcars usually run in the middle of the road, the green time of streetcars is affected by the sequence of left-turn green lights of forward and reverse social vehicles. tg d,n,k indicates the green light time of the tram in the direction d in the period k of the intersection n, g d,n,k indicates the green light time of the social vehicle in the direction d in the period k of the intersection n, l d ,n,k represents the green light time for the social vehicle to turn left at the intersection n in the period k in the direction d, and γ n,k indicates whether the green light time of the tram in the intersection n period k is affected by the phase scheme.

约束条件2:有轨电车在路段上最小行驶时间约束,所述行驶时间为有轨电车在交叉口之间或交叉口与站点之间的行驶时间,不包括停站时间,约束表达式为:Constraint 2: The minimum travel time constraint of the tram on the road section, the travel time is the travel time of the tram between the intersection or between the intersection and the station, excluding the stop time, and the constraint expression is:

其中,ttn,(m,d)表示方向d的第m次有轨电车在路段n上的行驶时间,N是所有路段的集合,

Figure BDA0001540320140000092
是在路段n上沿方向d以允许的最大速度行驶的时间,
Figure BDA0001540320140000093
是在路段n上沿方向d以规定的最小速度行驶的时间。Among them, ttn ,(m,d) represents the travel time of the m-th tram in the direction d on the road segment n, and N is the set of all road segments,
Figure BDA0001540320140000092
is the time to travel on segment n in direction d at the maximum speed allowed,
Figure BDA0001540320140000093
is the time to travel at a specified minimum speed in direction d on road segment n.

约束条件3:有轨电车在站点最小停站时间约束,所述的最小停站时间是指要满足乘客上下车所需要的最小时间,约束表达式为:Constraint 3: The minimum stopping time of trams at the station is restricted. The minimum stopping time refers to the minimum time required to meet passengers getting on and off the train. The constraint expression is:

Figure BDA0001540320140000094
Figure BDA0001540320140000094

其中,dtn,(m,d)表示方向d的第m次有轨电车在站点n上的停站时间,S是所有站点的集合,

Figure BDA0001540320140000095
是在站点n方向d上满足乘客上下车需求的最小时间,
Figure BDA0001540320140000096
是在站点n方向d上规定的最大停站时间。Among them, dt n, (m, d) represents the stop time of the m-th tram in the direction d at station n, and S is the set of all stations,
Figure BDA0001540320140000095
is the minimum time to meet the passenger's need to get on and off in the direction d of station n,
Figure BDA0001540320140000096
is the specified maximum stop time in the direction d of station n.

约束条件4:全天多信号配时方案条件下有轨电车不停车通过不同交叉口约束。所述多信号配时方案是指为了全天交通流量的时变性,在早高峰,午高峰,晚高峰,平峰时段所相应制定的信号配时方案,所述的信号控制子区指具有相同的信号配时周期的沿线交叉口组成的区域,所述信号配时周期是指一个交叉口的红绿灯时间之和。所述全天多信号配时方案条件下有轨电车不停车通过不同交叉口约束的表达式为:Constraint 4: Under the condition of the all-day multi-signal timing scheme, the trams are constrained to pass through different intersections without stopping. The multi-signal timing scheme refers to the corresponding signal timing scheme formulated during the morning peak, afternoon peak, evening peak and flat peak for the time-varying traffic flow throughout the day. The area consisting of intersections along the line in the signal timing cycle, where the signal timing cycle refers to the sum of the traffic light times of an intersection. Under the condition of the all-day multi-signal timing scheme, the expression for the constraint that trams pass through different intersections without stopping is:

Figure BDA0001540320140000101
Figure BDA0001540320140000101

其中,xn,k,(m,d)为0-1变量,表示方向d的第m次有轨电车班次是否在时段k通过交叉口n;Tk表示时段k的起始时间;san,(m,d)表示方向d的第m次有轨电车班次通过交叉口n的时间;tθd,n,k表示方向d上交叉口n在时段k内有轨电车绿灯第一次起亮时刻与Tk的时间差;

Figure BDA0001540320140000102
表示交叉口n所在子区z在时段k的周期时长;yn,k,(m,d)表示方向d的第m次有轨电车班次在时段k通过交叉口n所在信号周期的编号;twn,k,(m,d)表示方向d的第m次有轨电车班次在时段k通过交叉口n时与有轨电车绿灯起亮时间的时间差;san,(m,d)表示方向d的第m次有轨电车班次到达交叉口或站点n的时刻,sdn,(m,d)表示方向d的第m次有轨电车班次离开交叉口或站点n的时刻,
Figure BDA0001540320140000103
表示方向d的第m次有轨电车班次到达交叉口或站点n下游交叉口或站点n+的时刻,I表示所有交叉口的集合;S表示所有站点的集合;M是充分大的数。Among them, x n, k, (m, d) is a 0-1 variable, indicating whether the m-th tram shift in the direction d passes through the intersection n in the period k; T k represents the starting time of the period k; s n ,(m,d) represents the time when the mth tram in direction d passes through intersection n; tθ d,n,k represents the first time the green light of the tram lights up at intersection n in time period k in direction d The time difference between time and Tk ;
Figure BDA0001540320140000102
Represents the cycle duration of the sub-zone z where the intersection n is located in the period k; y n,k,(m,d) represents the number of the signal period where the mth tram in the direction d passes through the intersection n in the period k; tw n,k,(m,d) represents the time difference between the m-th tram shift in direction d and the time when the green light of the tram lights up when passing intersection n at time period k; san ,(m,d) represents direction d The moment when the m-th tram shift arrives at the intersection or station n, sd n,(m,d) represents the moment when the m-th tram shift in the direction d leaves the intersection or station n,
Figure BDA0001540320140000103
Represents the moment when the mth tram shift in direction d arrives at the intersection or downstream intersection of station n or station n + , I denotes the set of all intersections; S denotes the set of all stations; M is a sufficiently large number.

约束条件5:同向前后班次有轨电车车头时距约束,约束表达式为:Constraint 5: Constraints on the headway of trams with the same forward and backward shifts. The constraint expression is:

其中,sdu(d),(m,d)表示方向d的第m次有轨电车班次离开起点站u(d)的时间;Among them, sd u(d), (m,d) represents the time when the m-th tram in the direction d leaves the starting station u (d) ;

Figure BDA0001540320140000105
表示第k时段内方向d的第m次有轨电车班次与后一班有轨电车发车间隔的最小值;
Figure BDA0001540320140000106
表示第k时段内方向d的第m次有轨电车班次与后一班有轨电车发车间隔的最小值;
Figure BDA0001540320140000105
Represents the minimum value of the departure interval between the m-th tram shift and the next tram in direction d in the k-th period;
Figure BDA0001540320140000106
Represents the minimum value of the departure interval between the m-th tram shift and the next tram in direction d in the k-th period;

约束条件6:调头班次到达和发车时刻间换班时长约束,约束表达式为:Constraint 6: Shift duration constraint between the arrival and departure time of the U-turn shift, the constraint expression is:

Figure BDA0001540320140000107
Figure BDA0001540320140000107

其中,sav(d),(m,d)表示方向d的第m次有轨电车班次到达终点站v(d)的时间,

Figure BDA0001540320140000111
表示相应反方向掉头车辆的发车时间,F表示方向d投入运营的有轨电车数量,L表示换班所需要的最小时间。Among them, sa v(d), (m, d) represents the time when the m-th tram in the direction d arrives at the terminal v (d) ,
Figure BDA0001540320140000111
Indicates the opposite direction The departure time of the U-turn vehicle, F represents the number of trams put into operation in the direction d, and L represents the minimum time required to change shifts.

步骤103:根据惩罚项系数的灵敏度确定不同时段内的惩罚项系数。在实际运营时,有轨电车会受到一些随机干扰的影响,如速度的波动性等。随机干扰可能会延误有轨电车到达交叉口的时间,因此有轨电车可能会受随机干扰影响无法按规定的时间通过交叉口,进而在交叉口停车等待下一个绿灯。为了提高有轨电车抗随机干扰的能力,应尽量使有轨电车在绿灯早期通过交叉口。增大惩罚项系数可以使有轨电车能尽量在绿灯早期通过,然而过大的惩罚项系数会导致有轨电车在站点较大的停站时间(为了能在绿灯起亮时通过交叉口),进而增加有轨电车的行程时间。因此需要均衡有轨电车的行程时间和抗随机干扰能力。令惩罚系数从零不断增大。针对每一个惩罚系数,在所述约束条件下计算目标函数的最小值,具体包括调整双向各班次有轨电车的发车时刻,不同信号控制子区里各个交叉口在不同时段内有轨电车绿灯起亮时间以及相位方案,获得所述目标优化函数的最小值。可用的优化方法包括但不限于分支定界法、割平面法等。得到给定惩罚系数的有轨电车时刻表方案,利用交通仿真软件从行程时间和到终点站延误两个指标评价时刻表,并且绘制到终点站延误和行程时间的关系图,如图3所示,选择行程时间显著降低而且到终点站延误降低空间有限的惩罚系数。Step 103: Determine the penalty item coefficients in different time periods according to the sensitivity of the penalty item coefficients. In actual operation, trams will be affected by some random disturbances, such as speed fluctuations. Random disturbances may delay the arrival of trams at the intersection, so the trams may be affected by random disturbances and not be able to pass through the intersection in the stipulated time, and then stop at the intersection to wait for the next green light. In order to improve the anti-random interference ability of trams, the trams should be made to pass through the intersection in the early green light as much as possible. Increasing the penalty term coefficient can make the tram pass as early as possible at the green light, but an excessively large penalty term coefficient will cause the tram to stop for a longer time at the station (in order to pass the intersection when the green light is on), This in turn increases the travel time of the tram. Therefore, it is necessary to balance the travel time of the tram and the anti-random interference ability. Make the penalty coefficient increase continuously from zero. For each penalty coefficient, the minimum value of the objective function is calculated under the constraint conditions, which specifically includes adjusting the departure time of the trams of each shift in both directions, and the green lights of the trams in different time periods at each intersection in the different signal control sub-areas. Lighting time and phase scheme, the minimum value of the objective optimization function is obtained. Available optimization methods include, but are not limited to, branch and bound methods, cut plane methods, and the like. Obtain the tram schedule scheme with a given penalty coefficient, use the traffic simulation software to evaluate the schedule from two indicators of travel time and delay to the terminal, and draw the relationship diagram between the delay to the terminal and the travel time, as shown in Figure 3 , choose a penalty factor where the travel time is significantly reduced and the delay to the terminal is reduced with limited space.

本实施例不仅提高了有轨电车运行速度,提高了有轨电车的服务水平,同时减小了有轨电车的运营成本,同时增加了时刻表的鲁棒性,使得有轨电车能够很好的维持时刻表的准点率,减少乘客的等待时间。This embodiment not only improves the running speed of the tram, improves the service level of the tram, but also reduces the operating cost of the tram, and at the same time increases the robustness of the timetable, so that the tram can be well Maintain the punctuality rate of the timetable and reduce the waiting time of passengers.

步骤104,根据所述惩罚项系数以及所述约束条件计算所述目标优化函数的最小值。调整双向各班次有轨电车的发车时刻、路段上的行驶速度以及在站点的停靠时间、沿线交叉口有轨电车绿灯起亮时间以及相位方案,获得所述目标优化函数的最小值。Step 104: Calculate the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition. Adjust the departure time of the two-way trams, the speed on the road section, the stop time at the station, the green light time of the tram at the intersection along the line and the phase scheme to obtain the minimum value of the objective optimization function.

步骤105,根据所述最小值确定有轨电车全天运营时刻表,具体包括:Step 105: Determine the all-day operation timetable of the tram according to the minimum value, which specifically includes:

步骤B1,根据所述最小值确定双向各班次有轨电车离开所述信号控制子区的时刻并绘制双向有轨电车全天运行图;如图4所示,局部放大图如图5所示。图4和图5中横线表示交叉口处该时刻有轨电车的红灯时间,“*”表示正向有轨电车离站时间,“+”表示反向有轨电车离站时间。Step B1, according to the minimum value, determine the time when the two-way trams leave the signal control sub-area and draw a full-day running diagram of the two-way trams; as shown in FIG. . The horizontal line in Figure 4 and Figure 5 represents the red light time of the tram at the intersection at that moment, "*" represents the departure time of the forward tram, and "+" represents the departure time of the reverse tram.

步骤B2,根据所述双向有轨电车全天运行图确定有轨电车全天运营时刻表。Step B2: Determine the all-day operation timetable of the tram according to the all-day operation diagram of the two-way tram.

表1为图4中正向第5班次有轨电车的离站时刻表,精确到分钟。Table 1 is the departure timetable of the tram in the forward direction of the fifth shift in Figure 4, accurate to the minute.

站点site 离站时间departure time 站点site 离站时间departure time 起点站starting point 8:348:34 站点10site 10 8:538:53 站点1site 1 8:368:36 站点11site 11 8:558:55 站点2site 2 8:398:39 站点12site 12 9:019:01 站点3site 3 8:408:40 站点13site 13 9:039:03 站点4site 4 8:428:42 站点14site 14 9:049:04 站点5site 5 8:438:43 站点15site 15 9:069:06 站点6site 6 8:478:47 站点16site 16 9:079:07 站点7site 7 8:488:48 站点17site 17 9:099:09 站点8site 8 8:508:50 站点18site 18 9:119:11 站点9site 9 8:518:51 终点站terminal 9:139:13

本发明还提供了一种有轨电车全天运营时刻优化系统,图6为本发明一种有轨电车全天运营时刻优化系统的实施例的结构连接图,如图6所示,所述有轨电车全天运营时刻优化系统包括:The present invention also provides an all-day operating time optimization system for trams. FIG. 6 is a structural connection diagram of an embodiment of an all-day operating time optimization system for trams in accordance with the present invention. As shown in FIG. 6 , there are The system for optimizing the operating hours of trams throughout the day includes:

目标优化函数构建模块601,用于构建有轨电车全天运营时刻的目标优化函数;所述目标优化函数为关于全天双向有轨电车从起点到终点的运行时间之和不同时段内的惩罚项系数的函数;The objective optimization function building module 601 is used for constructing the objective optimization function of the all-day operation time of the tram; the objective optimization function is the penalty item in different time periods about the sum of the running time of the all-day two-way tram from the starting point to the end point function of coefficients;

约束条件构建模块602,用于构建有轨电车运营的约束条件;所述约束条件包括:1)交叉口信号配时相位方案约束,2)有轨电车在路段上最小行驶时间约束,3)有轨电车在站点最小停站时间约束,4)全天多信号配时方案条件下有轨电车不停车通过不同周期时长的交叉口约束,5)同向前后班次有轨电车车头时距约束,6)调头班次到达和发车时刻间换班时长约束。所述信号配时周期是指一个交叉口的红绿灯时间之和;The constraint condition building module 602 is used for constructing the constraint conditions of the tram operation; the constraint conditions include: 1) the intersection signal timing and phase scheme constraint, 2) the minimum travel time constraint of the tram on the road section, 3) there are Constraints on the minimum stopping time of trams at the station; 4) Constraints that trams pass through intersections with different periods of time without stopping under the condition of the all-day multi-signal timing scheme; ) Shift time constraints between the arrival and departure time of the U-turn shift. The signal timing cycle refers to the sum of the traffic light times of an intersection;

惩罚项系数确定模块603,用于根据惩罚项系数的灵敏度确定不同时段内的惩罚项系数;a penalty item coefficient determination module 603, configured to determine the penalty item coefficients in different time periods according to the sensitivity of the penalty item coefficients;

最小值计算模块604,用于根据所述惩罚项系数以及所述约束条件计算所述目标优化函数的最小值;a minimum value calculation module 604, configured to calculate the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition;

全天运营时刻表确定模块605,用于根据所述最小值确定有轨电车全天运营时刻表。The all-day operation timetable determination module 605 is configured to determine the all-day operation timetable of the tram according to the minimum value.

本发明提供的有轨电车全天运营时刻优化方法及系统,考虑了不同交叉口在不同时段内不同的信号周期时长的影响,通过调整双向各班次有轨电车的发车时刻、沿线信号控制子区间的相位差、沿线信号控制子区内的相位差,最小化全天双向有轨电车从起点到终点的运行时间之和,并根据优化结果确定双向各班次有轨电车离开信号控制子区的时刻,最终得到有轨电车全天运营时刻表。通过本发明得到的有轨电车全天运营时刻表与实际的运行情况相匹配,提高了有轨电车的到站准点率,增加了有轨电车系统的竞争力;以最小化全天双向有轨电车从起点到终点的运行时间之和为目标优化设计有轨电车时刻表,提高了有轨电车运行速度,提高了有轨电车的服务水平,同时减小了有轨电车的运营成本。The method and system for optimizing the all-day operation time of trams provided by the present invention take into account the influence of different signal cycle durations at different intersections in different time periods, and adjust the departure time of trams of each shift in both directions and the signal controller along the line. The phase difference of the interval and the phase difference of the signal control sub-area along the line minimize the sum of the running time of the two-way trams from the starting point to the end point of the whole day, and determine the departure signal control sub-area of the two-way trams according to the optimization results. At the moment, finally get the tram running timetable all day. The all-day operation timetable of the trams obtained by the invention matches the actual operating conditions, improves the on-time rate of the trams arriving at the station, and increases the competitiveness of the tram system; so as to minimize the all-day two-way track The sum of the running time of the tram from the starting point to the ending point is the objective to optimize the design of the tram timetable, which improves the running speed of the tram, improves the service level of the tram, and reduces the operating cost of the tram.

对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。In this paper, specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present invention; meanwhile, for those skilled in the art, according to the present invention There will be changes in the specific implementation and application scope. In conclusion, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

1. The method for optimizing the whole-day operation time of the tramcar is characterized by comprising the following steps of:
constructing a target optimization function of the tramcar at the whole-day operation time; the target optimization function is a function of the sum of running times of the full-day bidirectional tramcar from a starting point to an end point and penalty term coefficients in different periods;
constructing a constraint condition of tramcar operation; the constraint conditions of tramcar operation comprise: the method comprises the following steps of crossing signal timing phase scheme restriction, minimum running time restriction of a tramcar on a road section, minimum stop time restriction of the tramcar at a station, restriction of the tramcar passing crossings with different signal cycle lengths without stopping under the condition of a multi-day signal timing scheme, restriction of front and back shift tramcar head time distances of the tramcar in the same direction, and restriction of shift changing time length between arrival and departure times of a turning shift; the signal timing phase scheme is formed by different sequences of bidirectional left turn green light time of social vehicles, the multi-signal timing scheme is a signal timing scheme under an early peak, a mid-peak, a late peak and a flat peak, and the signal cycle length is the sum of the traffic light time of an intersection;
determining the penalty term coefficients in different time periods according to the sensitivity of the penalty term coefficients;
calculating the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition;
determining an all-day operation schedule of the tramcar according to the minimum value;
the specific expression of the target optimization function is as follows:
(m,d)∈Q(∑p∈Pttp,(m,d)+∑q∈Sdtq,(m,d))+∑(m,d)∈Qn∈Ik∈Kμn,k,(m,d)tw2 n,k,(m,d)
wherein (m, d) represents the mth tram shift in the direction d, and the value of the direction d is out or in which respectively represents the forward tram shift and the reverse tram shift;
ttp,(m,d)the travel time of the mth tram representing the direction d on the section P, P being the set of all sections;
dtq,(m,d)the stop time of the tram on station q for the mth time, S being the set of all stations, representing direction d;
twn,k,(m,d)the time difference between the moment when the m-th tramcar in the direction d passes through the intersection n in a time period K and the moment when the green light of the tramcar is turned on is shown, wherein K is the set of all the time periods, I is the set of all the intersections, and Q is the set of all the tramcar shifts;
μn,k,(m,d)is twn,k,(m,d)Corresponding to a non-negative penalty factor.
2. The tram all-day operation time optimization method according to claim 1, wherein the intersection signal timing phase scheme constraint comprises:
Figure FDA0002306433080000021
wherein alpha isn,k,βn,kAnd gamman,kAre all variables from 0 to 1, (alpha)n,kn,k) The four combinations of the intersection n in the sequence of turning green lights forward and backward and turning green lights left in the time period k are shown: when alpha isn,k=0,βn,kWhen the number is 1, the passing sequence is that forward left turning and forward straight going are carried out simultaneously, then bidirectional straight going is carried out, and then reverse left turning and reverse straight going are carried out simultaneously; when alpha isn,k=1,βn,kWhen the speed is equal to 0, the passing sequence is that firstly, reverse left turning and reverse straight going are carried out simultaneously, then, bidirectional straight going is carried out, and then, forward left turning and forward straight going are carried out simultaneously; when alpha isn,k=0,βn,kWhen the speed is equal to 0, the passing sequence is that forward left turning and reverse left turning are carried out simultaneously, and then the bidirectional straight going is carried out; when alpha isn,k=1,βn,kWhen the number is 1, the passing sequence is that the bidirectional straight line is firstly carried out, and then the forward left turn and the reverse left turn are simultaneously carried out; tgd,n,kIndicating the green time, g, of the tram at the intersection n period k in the direction dd,n,kIndicating the green time, l, of a social vehicle traveling straight at an intersection n time period k in direction dd,n,kIndicating the green time, gamma, of a left turn of a social vehicle at an intersection n period k in direction dn,kAnd a coefficient representing whether the streetcar green time within the n time period k of the intersection is influenced by the phase scheme.
3. The tram all-day operation time optimization method according to claim 1, wherein the tram minimum travel time constraint on the road section comprises:
Figure FDA0002306433080000031
wherein,
Figure FDA0002306433080000032
is the time to travel in the direction d on the section p at the maximum speed allowed,is the time traveled on the link p in the direction d at the prescribed minimum speed.
4. The tram all-day operation time optimization method according to claim 1, wherein the tram minimum stop time constraint at a station comprises:
wherein,is the minimum time to meet the passenger boarding and disembarking requirements in the direction d of the station q,
Figure FDA0002306433080000036
is the maximum stop time specified in the direction d of station q.
5. The tram all-day operation time optimization method according to claim 1, wherein the constraint that the tram passes through intersections with different signal cycle lengths without stopping under the condition of the all-day multiple-signal timing scheme comprises:
Figure FDA0002306433080000037
wherein x isn,k,(m,d)A variable of 0-1, representing whether the mth tram shift in direction d passes through the intersection n at time period k; t iskRepresents the start time of period k; t θd,n,kThe first starting time of the green light of the tramcar and T within the time period k are shown as the intersection n in the direction dkThe time difference of (a);
Figure FDA0002306433080000038
representing the cycle duration of the sub-area z where the intersection n is located in the time period k; y isn,k,(m,d)The mth tram shift representing direction d passes through the intersection n at time period kThe number of the signal period; twn,k,(m,d)The time difference between the lighting time of the mth tram shift representing the direction d when the time period k passes through the intersection n and the green light of the tram; tgd,n,kRepresenting the green time of the tramcar at the intersection n time period k in the direction d;
Figure FDA0002306433080000041
downstream intersection or station e of the m tram shift arriving at intersection or station e representing direction d+The time of day; sde,(m,d)The moment when the mth tram shift in the direction d leaves the intersection or station e; tt is a Chinese charactere,(m,d)The m-th tramcar representing the direction d is at the intersection or station e and the downstream intersection or station e+Time of travel in between, sdn,(m,d)The time when the mth tram shift in the direction d leaves the intersection n; san,(m,d)The time when the mth tram shift in the direction d reaches the intersection n; dtn,(m,d)The stop time of the mth tram in the direction d on the intersection n; m is a sufficiently large number.
6. The tram all-day operation time optimization method according to claim 1, wherein the tram head time distance constraint of the same-direction front-back shift comprises:
Figure FDA0002306433080000042
wherein sdu(d),(m,d)M-th tram shift leaving the starting station u representing the direction d(d)The time of (d);
Figure FDA0002306433080000043
the minimum value of the departure interval of the mth tramcar and the following tramcar in the direction d in the kth time period is represented;
Figure FDA0002306433080000044
m times of direction d in k time periodThe maximum value of the departure interval between the tramcar class and the next tramcar class.
7. The tram all-day operation time optimization method according to claim 1, wherein the turnaround shift arrival and departure time shift change duration constraint comprises:
Figure FDA0002306433080000045
wherein sav(d),(m,d)M tram shift arrival at terminal v representing direction d(d)The time of (a) is,
Figure FDA0002306433080000046
indicating the corresponding reverse direction
Figure FDA0002306433080000047
The departure time of the u-turn vehicle, F represents the number of trams put into operation in the direction d, and L represents the minimum time required for shift change.
8. The tramcar all-day operation time optimization method according to claim 1, wherein the calculating the minimum value of the objective optimization function according to the penalty term coefficient and the constraint condition specifically includes:
and adjusting the departure time of the tramcar of each two-way shift, the running speed on the road section, the stop time at the station, the starting time of the green light of the tramcar at the intersection along the line and the phase scheme to obtain the minimum value of the target optimization function.
9. The tram all-day operation time optimization method according to claim 1, wherein before establishing the target optimization function of the tram all-day operation time, the method further comprises:
acquiring relevant parameters of the tramcar and a signal timing scheme along the tramcar, wherein the relevant parameters comprise: the starting and ending point tramcar storage number, the maximum running speed allowed by the tramcar, the specified minimum running speed, the minimum stop time required by the tramcar at each station in different time periods and the specified maximum stop time; the signal timing scheme includes: the signal timing scheme of each intersection in different time periods has the cycle duration, the green light time for steering each intersection, and the starting time and the ending time of each signal control sub-area in different time periods;
and determining the driving time of the forward tram and the reverse tram on each road section and the stopping time at each station according to the related parameters and the signal timing scheme.
10. The utility model provides a tram is operation constantly optimizing system throughout the day which characterized in that, tram is operation constantly optimizing system throughout the day includes:
the target optimization function construction module is used for constructing a target optimization function of the tramcar at the whole-day operation time; the target optimization function is a function of the sum of running times of the full-day bidirectional tramcar from a starting point to an end point and penalty term coefficients in different periods;
the constraint condition construction module is used for constructing a constraint condition of tramcar operation; the constraint conditions include: the method comprises the following steps of crossing signal timing phase scheme restriction, minimum running time restriction of the tramcar on a road section, minimum stop time restriction of the tramcar at a station, restriction of the tramcar passing through crossings with different cycle time lengths without stopping under the condition of a multi-signal timing scheme all day, restriction of the head time distance of the tramcar in front and back shifts in the same direction, and restriction of shift changing time lengths between arrival and departure times of the shift; the signal timing period refers to the sum of traffic light time of an intersection;
the penalty term coefficient determining module is used for determining penalty term coefficients in different time periods according to the sensitivity of the penalty term coefficients;
the minimum value calculation module is used for calculating the minimum value of the target optimization function according to the penalty term coefficient and the constraint condition;
the all-day operation schedule determining module is used for determining an all-day operation schedule of the tramcar according to the minimum value;
the specific expression of the target optimization function is as follows:
(m,d)∈Q(∑p∈Pttp,(m,d)+∑q∈Sdtq,(m,d))+∑(m,d)∈Qn∈Ik∈Kμn,k,(m,d)tw2 n,k,(m,d)
wherein (m, d) represents the mth tram shift in the direction d, and the value of the direction d is out or in which respectively represents the forward tram shift and the reverse tram shift;
ttp,(m,d)the travel time of the mth tram representing the direction d on the section P, P being the set of all sections;
dtq,(m,d)the stop time of the tram on station q for the mth time, S being the set of all stations, representing direction d;
twn,k,(m,d)the time difference between the moment when the m-th tramcar in the direction d passes through the intersection n in a time period K and the moment when the green light of the tramcar is turned on is shown, wherein K is the set of all the time periods, I is the set of all the intersections, and Q is the set of all the tramcar shifts;
μn,k,(m,d)is twn,k,(m,d)Corresponding to a non-negative penalty factor.
CN201810011093.6A 2018-01-05 2018-01-05 A method and system for optimizing all-day operating time of trams Expired - Fee Related CN108171979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810011093.6A CN108171979B (en) 2018-01-05 2018-01-05 A method and system for optimizing all-day operating time of trams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810011093.6A CN108171979B (en) 2018-01-05 2018-01-05 A method and system for optimizing all-day operating time of trams

Publications (2)

Publication Number Publication Date
CN108171979A CN108171979A (en) 2018-06-15
CN108171979B true CN108171979B (en) 2020-01-24

Family

ID=62517454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810011093.6A Expired - Fee Related CN108171979B (en) 2018-01-05 2018-01-05 A method and system for optimizing all-day operating time of trams

Country Status (1)

Country Link
CN (1) CN108171979B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108985503B (en) * 2018-07-02 2021-07-09 上海理工大学 A method for compiling a timetable for express bus
CN110549868B (en) * 2019-09-05 2022-10-18 西南交通大学 Hybrid power tramcar speed adjusting method based on real-time power of power system
CN111028521B (en) * 2019-12-19 2021-01-05 东南大学 A green wave coordinated control method and device for a tram network
CN111429731B (en) * 2020-03-12 2022-11-01 上海理工大学 Bus multi-mode scheduling and intersection signal timing collaborative optimization method along line
CN111369814B (en) * 2020-05-07 2020-11-17 深圳市城市交通规划设计研究中心股份有限公司 Bus road and bus cooperative control method and device and terminal equipment
CN111619624B (en) * 2020-06-01 2022-06-21 北京全路通信信号研究设计院集团有限公司 Tramcar operation control method and system based on deep reinforcement learning
CN116311973B (en) * 2022-11-10 2025-01-24 同济大学 A tram intersection control strategy optimization method
CN117325915B (en) * 2023-12-01 2024-04-23 湖南中车智行科技有限公司 Electronic guide rubber wheel system timetable generation method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103854495A (en) * 2014-03-21 2014-06-11 东南大学 Trunk line public transportation vehicle one-way priority controlling method based on running schedule
CN104118451A (en) * 2014-07-15 2014-10-29 同济大学 Method for working out tramcar running chart under sharing right of way and adjusting signal light
CN104332061A (en) * 2014-10-21 2015-02-04 东南大学 Green wave setting method for realizing streetcar interstation green-wave passage
CN104678779A (en) * 2015-01-30 2015-06-03 苏州富欣智能交通控制有限公司 Tramcar operation simulation system and tramcar operation simulation method
CN105046379A (en) * 2015-09-09 2015-11-11 东南大学 City bus departure timetable optimization method
CN106251656A (en) * 2016-10-12 2016-12-21 上海市城市建设设计研究总院 Intersection control method based on tramcar actively operation control system
CN106651009A (en) * 2016-11-23 2017-05-10 北京交通大学 Energy-saving and optimized control method for random multi-train collaboration of urban rail transit
CN106672027A (en) * 2017-01-06 2017-05-17 广州地铁集团有限公司 Urban rail transit ATS energy-saving time table compilation method
CN106710256A (en) * 2017-01-23 2017-05-24 同济大学 Passive priority method of tramcar signals under special right of way
CN106844621A (en) * 2017-01-18 2017-06-13 清华大学 A kind of rail locomotive energy-conservation manipulates real-time optimal control strategy base construction method
CN106845734A (en) * 2017-03-29 2017-06-13 东南大学 Towards the multi-mode public transport timetable optimization method of last park-and-ride demand

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8788135B2 (en) * 2006-03-20 2014-07-22 General Electric Company System, method, and computer software code for providing real time optimization of a mission plan for a powered system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103854495A (en) * 2014-03-21 2014-06-11 东南大学 Trunk line public transportation vehicle one-way priority controlling method based on running schedule
CN104118451A (en) * 2014-07-15 2014-10-29 同济大学 Method for working out tramcar running chart under sharing right of way and adjusting signal light
CN104332061A (en) * 2014-10-21 2015-02-04 东南大学 Green wave setting method for realizing streetcar interstation green-wave passage
CN104678779A (en) * 2015-01-30 2015-06-03 苏州富欣智能交通控制有限公司 Tramcar operation simulation system and tramcar operation simulation method
CN105046379A (en) * 2015-09-09 2015-11-11 东南大学 City bus departure timetable optimization method
CN106251656A (en) * 2016-10-12 2016-12-21 上海市城市建设设计研究总院 Intersection control method based on tramcar actively operation control system
CN106651009A (en) * 2016-11-23 2017-05-10 北京交通大学 Energy-saving and optimized control method for random multi-train collaboration of urban rail transit
CN106672027A (en) * 2017-01-06 2017-05-17 广州地铁集团有限公司 Urban rail transit ATS energy-saving time table compilation method
CN106844621A (en) * 2017-01-18 2017-06-13 清华大学 A kind of rail locomotive energy-conservation manipulates real-time optimal control strategy base construction method
CN106710256A (en) * 2017-01-23 2017-05-24 同济大学 Passive priority method of tramcar signals under special right of way
CN106845734A (en) * 2017-03-29 2017-06-13 东南大学 Towards the multi-mode public transport timetable optimization method of last park-and-ride demand

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
现代有轨电车运行图及车底周转图的研究与开发;张晓倩;《中国优秀硕士学位论文全文数据库工程科技II辑》;20160515;C034-261 *

Also Published As

Publication number Publication date
CN108171979A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN108171979B (en) A method and system for optimizing all-day operating time of trams
CN110782079B (en) Method for adjusting energy-saving high-speed railway train running chart based on stop scheme
CN102568197B (en) Method for setting bidirectional green wave signals for bus trunk line
CN110979407B (en) Urban rail train timetable group adjusting method
WO2022088375A1 (en) Subway train operation adjustment method and system when operating behind schedule
CN102514602B (en) Method and system for planning and controlling train travelling speed
CN108447282B (en) A real-time bus scheduling and priority control method based on vehicle-road coordination
CN103198680B (en) Green wave coordination control method for multiline
CN103593988B (en) Inside a kind of road, bus stop turns to public transit vehicle sort method
CN104678779B (en) Tramcar runs analogue system and method
CN103236164B (en) Vehicle controlling method for guaranteeing public transport vehicle prior passing
CN100418117C (en) Green Wave Automatic Control Method for Pedestrian Crossing Signal Lights
CN106297335B (en) A kind of public traffic in priority green extension optimization method that intersection-downstream bus stop interacts under environment
CN109448403B (en) Bus signal priority necessity analysis method under trunk line coordination control
CN105696821B (en) A kind of public transport passing method
CN103854495B (en) A kind of unidirectional method for controlling priority of backbone public transit vehicle based on the table time of running
CN103996300A (en) Bus inducing method for bus non-stopping passing at intersection
CN106991826A (en) Cooperative priority control method for double tramcars at level crossing in meeting state
CN108550257A (en) A kind of control method for coordinating that multi-line railroad vehicle in intersection crosses and system
CN113581261A (en) Comprehensive performance evaluation system for high-speed railway stage adjustment plan
CN106991827B (en) Coordinated priority control method for double tram level crossings in the state of non-meeting vehicles
CN116824883B (en) Continuous flow forming method for intersection straight-right mixed vehicles based on vehicle-road cooperation
CN103050017B (en) A green wave control method between stations at high-density intersections of trunk lines
CN104408313A (en) Rail transit energy consumption influence factor collaborative correlation modeling method
CN103498394A (en) Planar road network system for motor vehicles

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200124