Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CN108364464B - A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles - Google Patents
[go: Go Back, main page]

CN108364464B - A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles - Google Patents

A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles Download PDF

Info

Publication number
CN108364464B
CN108364464B CN201810107601.0A CN201810107601A CN108364464B CN 108364464 B CN108364464 B CN 108364464B CN 201810107601 A CN201810107601 A CN 201810107601A CN 108364464 B CN108364464 B CN 108364464B
Authority
CN
China
Prior art keywords
time
bus
platform
travel time
line
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.)
Active
Application number
CN201810107601.0A
Other languages
Chinese (zh)
Other versions
CN108364464A (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.)
Beihang University
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CN201810107601.0A priority Critical patent/CN108364464B/en
Publication of CN108364464A publication Critical patent/CN108364464A/en
Application granted granted Critical
Publication of CN108364464B publication Critical patent/CN108364464B/en
Active 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
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • 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
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Chemical & Material Sciences (AREA)
  • Educational Administration (AREA)
  • Analytical Chemistry (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明公开了一种基于概率模型的公交车辆旅行时间建模方法,属于智能交通信息处理技术领域。本发明方法包括:对公交车辆的运营数据进行采集和处理;利用偏移lognormal分布对站台间路段旅行时间进行拟合;考虑同站台的多线路公交车辆的交互行为,对排队进入站台建模为一个先进先出队列,基于概率模型对公交站台停靠时间建模;根据各路段旅行时间和各站台停靠时间,得到公交车辆的路线旅行时间,并分析旅行时间的分布、期望、方差和可靠性。本发明方法适用于对公交车辆旅行时间预测,预测结果准确;本发明能够分析旅行时间波动的原因,以提升公共交通服务水平。

Figure 201810107601

The invention discloses a method for modeling the travel time of public transport vehicles based on a probability model, which belongs to the technical field of intelligent traffic information processing. The method of the invention includes: collecting and processing the operation data of public transport vehicles; using the offset lognormal distribution to fit the travel time of road sections between platforms; A first-in, first-out queue is used to model the stopping time of bus stops based on a probabilistic model; according to the travel time of each road segment and the stopping time of each platform, the travel time of the bus route is obtained, and the distribution, expectation, variance and reliability of the travel time are analyzed. The method of the invention is suitable for predicting the travel time of public transportation vehicles, and the prediction result is accurate; the invention can analyze the reasons for the fluctuation of travel time, so as to improve the service level of public transportation.

Figure 201810107601

Description

一种基于概率模型的公交车辆旅行时间建模方法A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles

技术领域technical field

本发明属于智能交通信息处理技术领域,具体地说是一种基于概率模型的公交车辆旅行时间建模方法。The invention belongs to the technical field of intelligent traffic information processing, in particular to a method for modeling the travel time of public transport vehicles based on a probability model.

背景技术Background technique

目前,面对不断增大的城市交通需求、道路拥堵、空气污染、以及有限的土地资源,许多城市开始推行“公交都市”的出行理念,“公交都市”即通过提升城市公共交通服务水平,鼓励人们减少私家车出行,转而选择城市公共交通出行。公交车辆旅行时间可靠性是公共交通服务水平的核心要素,一方面,旅行时间可靠性是吸引出行者选择公交出行的重要因素,旅行时间预测也是智能乘客服务系统的重要组成部分,如准点率预测、延误时间预测和到达时间预测等;另一方面,旅行时间预测是公交运营的重要指标,准确的旅行时间预测可以帮助公交公司提前制定应对措施,提升公交系统运营效率,减少运营成本。At present, in the face of increasing urban traffic demand, road congestion, air pollution, and limited land resources, many cities have begun to implement the travel concept of "transit city". People are reducing their private car travel in favor of urban public transport. The reliability of bus travel time is the core element of public transportation service level. On the one hand, travel time reliability is an important factor to attract travelers to choose bus travel. Travel time prediction is also an important part of the intelligent passenger service system, such as on-time rate prediction. On the other hand, travel time prediction is an important indicator of bus operation, and accurate travel time prediction can help bus companies formulate countermeasures in advance, improve the operating efficiency of the bus system, and reduce operating costs.

在旅行时间预测方面,现有技术主要专注于私家车旅行时间可靠性和波动的预测,如动态路径规划、预计到达时间估计等,分析基础为道路路段或路径。然而,公交车辆旅行时间与私家车旅行时间显著不同,除路段旅行时间外,公交车辆旅行时间还受到乘客上车行为(即站台停靠时间)的影响,当站台停靠时,公交车辆需要排队进入站台、等待乘客上下车以及从站台驶入主干道,这些过程都是公交旅行时间的重要组成部分,且涉及到同站台多线路公交车的交互行为。In terms of travel time prediction, existing technologies mainly focus on the prediction of the reliability and fluctuation of private car travel time, such as dynamic path planning, estimated time of arrival, etc., and the analysis is based on road segments or paths. However, bus travel time is significantly different from private car travel time. In addition to road segment travel time, bus travel time is also affected by passengers’ boarding behavior (i.e., platform stop time). When the platform stops, the bus needs to queue up to enter the platform. , waiting for passengers to get on and off the bus, and driving from the platform to the main road, these processes are all important parts of the bus travel time, and involve the interaction of multi-line buses on the same platform.

此外,现有技术主要通过OLS(普通最小二乘法)、SVR(支持向量回归)、神经网络和深度学习等模型预测私家车旅行时间,得到结果为预测值;对公交车辆旅行时间分析而言,这些预测技术不能分析公交旅行时间波动的大小和原因,不能分析乘客的上车行为,不能考虑同站台间多线路公交车的交互行为。In addition, the existing technology mainly predicts the travel time of private cars through models such as OLS (Ordinary Least Squares), SVR (Support Vector Regression), neural network, and deep learning, and the obtained result is the predicted value; for the analysis of the travel time of public transportation vehicles, These prediction techniques cannot analyze the magnitude and cause of the fluctuation of bus travel time, cannot analyze the boarding behavior of passengers, and cannot consider the interaction behavior of multi-line buses between the same platform.

发明内容SUMMARY OF THE INVENTION

本发明的目的为克服上述现有技术的不足,提供一种基于概率模型的公交车辆旅行时间建模方法,以分析在不同交通状态和乘客需求状态下公交旅行时间的可靠性。The purpose of the present invention is to overcome the above-mentioned deficiencies of the prior art, and to provide a method for modeling bus travel time based on a probability model, so as to analyze the reliability of bus travel time under different traffic states and passenger demand states.

本发明提供的一种基于概率模型的公交车辆旅行时间建模方法,具体步骤如下:The present invention provides a probability model-based bus travel time modeling method, the specific steps are as follows:

步骤1,采集待研究线路所有公交车辆的运营数据,包括:从起点站驶出时间、到达各中间站台时间、驶出各中间站台时间、到达终点站时间以及各站台上车人数;Step 1: Collect the operation data of all public transport vehicles on the line to be studied, including: departure time from the starting station, time to arrive at each intermediate platform, time to leave each intermediate platform, time to arrive at the terminal station, and number of passengers on each platform;

步骤2,利用偏移lognormal分布对站台间路段旅行时间进行拟合;Step 2, using the offset lognormal distribution to fit the travel time between the platforms;

步骤3,对公交车辆进入站台的过程进行建模,该过程为:排队进入站台、等待乘客上下车、从站台驶入主干道;对排队进入站台建模为一个先进先出(FIFO)队列,考虑了同站台的多线路公交车辆的交互行为;根据乘客上下车人数计算乘客上下车耗时;用正态分布拟合公交车辆从站台驶入主干道的时间。获取公交车辆站台停靠时间,公交车辆站台停靠时间为排队时间

Figure BDA0001568224190000021
乘客上下车时间tb和驶入主干道时间β之和。Step 3, model the process of entering the platform of public transport vehicles. The process is: queuing to enter the platform, waiting for passengers to get on and off the bus, and entering the main road from the platform; modeling the queuing to enter the platform as a first-in-first-out (FIFO) queue, The interaction behavior of multi-line bus vehicles on the same platform is considered; the time taken for passengers to get on and off the bus is calculated according to the number of passengers getting on and off; the normal distribution is used to fit the time for bus vehicles to enter the main road from the platform. Get the stop time of the bus stop, the stop time of the bus stop is the queuing time
Figure BDA0001568224190000021
The sum of the passenger getting on and off time t b and the time β entering the main road.

步骤4,根据步骤2和步骤3得到的路段旅行时间和站台停靠时间,计算公交车辆的路线旅行时间,并分析旅行时间的分布、期望、方差和可靠性。Step 4, according to the travel time of the road segment and the stop time of the platform obtained in Step 2 and Step 3, calculate the route travel time of the bus vehicle, and analyze the distribution, expectation, variance and reliability of the travel time.

公交车辆的路线旅行时间T为所有的路段旅行时间和所有的站台停靠时间之和,表示为:The route travel time T of the bus vehicle is the sum of the travel time of all road segments and the stop time of all platforms, expressed as:

Figure BDA0001568224190000022
Figure BDA0001568224190000022

其中,IR为待研究线路的所有路段,SR为待研究线路的所有公交站台,ti为公交车辆在路段i上的旅行时间,ts为公交车辆在站台s的停靠时间。Among them, IR is all the sections of the line to be studied, SR is all the bus stops of the line to be studied, t i is the travel time of the bus on the section i, and ts is the stop time of the bus at the platform s.

相对于现有技术,本发明的优点和积极效果在于:Compared with the prior art, the advantages and positive effects of the present invention are:

(1)与私家车旅行时间预测方法不同,本发明方法不仅考虑了路段旅行时间,还考虑了公交车辆站台停靠时间,这使对公交车辆旅行时间预测更加适用。(1) Different from the private car travel time prediction method, the method of the present invention not only considers the road segment travel time, but also considers the bus stop time, which makes the bus travel time prediction more applicable.

(2)本发明通过概率模型对公交旅行时间建模,采用概率建模方法分析了路段旅行时间和乘客上车行为对旅行时间的影响,同站台间多线路公交车辆交互行为,并得到旅行时间的概率分析,除预测功能外,还能够分析旅行时间波动的原因,分析旅行时间可靠性,这对提升公共交通服务水平和运营效率至关重要。(2) The present invention models the bus travel time through a probability model, and uses the probability modeling method to analyze the influence of the travel time of the road section and the boarding behavior of passengers on the travel time, the interaction behavior of multi-line bus vehicles between the same platform, and obtain the travel time. In addition to the forecasting function, it can also analyze the reasons for the fluctuation of travel time and analyze the reliability of travel time, which is very important to improve the service level and operational efficiency of public transportation.

(3)本发明对公交车停靠站台过程进行建模,分析了同站台多线路公交车的交互作用,这是其他预测方法没能考虑的。(3) The present invention models the bus stop process, and analyzes the interaction of multi-line buses on the same platform, which cannot be considered by other prediction methods.

附图说明Description of drawings

图1为本发明的公交车辆旅行时间建模方法的流程示意图;Fig. 1 is the schematic flow chart of the bus vehicle travel time modeling method of the present invention;

图2为本发明方法为公交车辆站台停靠建模的示意图;Fig. 2 is the schematic diagram of the method of the present invention for the modeling of bus stop platform;

图3为实施例中公交线路示意图;3 is a schematic diagram of a bus route in an embodiment;

图4为实施例中模型拟合结果示意图。FIG. 4 is a schematic diagram of a model fitting result in an embodiment.

具体实施方式Detailed ways

下面将结合附图和实施例对本发明作进一步的详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

本发明提供一种基于概率模型的公交车辆旅行时间建模方法,流程如图1所示,包括如下步骤:The present invention provides a method for modeling the travel time of public transport vehicles based on a probability model. The flow chart is shown in FIG. 1 and includes the following steps:

步骤1)数据采集及处理。所用数据包含公交IC卡刷卡数据和公交车GPS数据,对所要研究线路所有运营公交车辆提取以下信息:从起点站驶出时间、到达各中间站台时间、驶出各中间站台时间、到达终点站时间、各站台上车人数。为研究同站台多线路公交车的交互情形,还需要经过所有中间站台的不同线路公交车辆运营状态,所需提取信息同上。Step 1) Data collection and processing. The data used includes bus IC card swiping data and bus GPS data, and the following information is extracted for all operating bus vehicles on the line to be studied: departure time from the starting station, arrival time at each intermediate platform, departure time from each intermediate platform, and arrival time at the terminal station. , The number of passengers on each platform. In order to study the interaction of multi-line buses on the same platform, the operation status of different lines of buses passing through all intermediate platforms is also required, and the information to be extracted is the same as above.

步骤2)计算站台间路段旅行时间。首先,用偏移lognormal分布对站台间的路段旅行时间进行拟合,lognormal分布能够拟合路段旅行时间分布峰值前移的情形,且增加的偏移量能够刻画公交车辆路段平均旅行时间。Step 2) Calculate the travel time of road sections between platforms. First, the offset lognormal distribution is used to fit the travel time of the sections between the platforms. The lognormal distribution can fit the situation that the peak of the travel time distribution of the section moves forward, and the increased offset can describe the average travel time of the bus section.

假定站台间路段旅行时间服从偏移lognormal分布,站台间路段旅行时间可计算为:Assuming that the travel time of the link between stations obeys the offset lognormal distribution, the travel time of the link between stations can be calculated as:

ti=λi+exp(μiizi) (1)t ii +exp(μ ii z i ) (1)

其中,ti表示公交车辆在路段i上的旅行时间,i为正整数;λi表示该路段的畅通行驶时间,为分布偏移量;exp(μiizi)表示超出畅通行驶时间的部分,服从lognormal分布,其中μi、σi分别为超出行驶时间的均值和方差,zi为标准正态分布。根据上式,可得路段i旅行时间期望E(ti)和方差Var(ti)分别为:Among them, t i represents the travel time of the bus vehicle on the road segment i, i is a positive integer; λ i represents the unobstructed traveling time of the road segment, which is the distribution offset; exp(μ ii zi ) represents the excess travel The time part obeys the lognormal distribution, where μ i and σ i are the mean and variance of the excess travel time, respectively, and zi is the standard normal distribution. According to the above formula, the travel time expectation E(t i ) and variance Var(t i ) of road segment i can be obtained as:

Figure BDA0001568224190000031
Figure BDA0001568224190000031

步骤3)排队进入站台时间建模。如图2所示,当公交车辆驶入站台时,可能存在其他线路公交车辆正在站台中上客或下客,此时需要等待其他线路公交车辆上下客完成并驶出站台时,该公交车辆才能进入站台,该过程可描述为一个先进先出队列。Step 3) Time modeling of queuing to enter the platform. As shown in Figure 2, when the bus enters the platform, there may be other lines of buses picking up or dropping off passengers at the platform. At this time, it is necessary to wait for the other lines of buses to complete the pick-up and drop-off and drive out of the platform before the bus can To enter a station, the process can be described as a first-in, first-out queue.

设站台序号为s∈SR,SR为待研究线路的公交站台集合,s为正整数;设除待研究线路外其他所有驶过该站台s的公交线路的集合为Ls,当待研究线路的公交车辆驶入站台s时来自线路l的公交车辆也在队列中的概率pls服从如下所示的贝努利分布:Let the station serial number be s∈SR, SR is the set of bus stops of the line to be studied, and s is a positive integer; let the set of all bus lines passing the station s except the line to be studied be L s , when the line to be studied is set as L s . The probability pls that the bus from line l is also in the queue when the bus of the line enters platform s obeys the Bernoulli distribution as follows:

Figure BDA0001568224190000032
Figure BDA0001568224190000032

其中,

Figure BDA0001568224190000033
为根据运营经验得到的两线路公交车辆相遇概率,Ms为待研究线路与线路l的公交车在站台s的相遇次数,Ns为待研究线路的公交车辆驶过站台s的次数,
Figure BDA0001568224190000034
为参数为1,
Figure BDA0001568224190000035
的贝努利分布。则公交车辆排队等候的时间
Figure BDA0001568224190000036
为:in,
Figure BDA0001568224190000033
is the encounter probability of two lines of bus vehicles based on operational experience, M s is the number of encounters between the line to be studied and the bus of line l at platform s, N s is the number of times that the bus of the line to be studied passes through platform s,
Figure BDA0001568224190000034
for the parameter to be 1,
Figure BDA0001568224190000035
the Bernoulli distribution. the waiting time of the bus
Figure BDA0001568224190000036
for:

Figure BDA0001568224190000037
Figure BDA0001568224190000037

其中tls为线路l公交车辆在站台s的上下客时间和驶出站台时间之和。where t ls is the sum of the time of getting on and off the bus at platform s and the time of leaving the platform.

步骤4)乘客上下车耗时计算。假定每个人上下公交车辆花费时间α,则公交车辆上下客时间取决于上客和下客的最大人数,因此上下客时间tb可计算为Step 4) Calculate the time taken for passengers to get on and off the bus. Assuming that it takes time α for each person to get on and off the bus, the pick-up and drop-off time of the bus depends on the maximum number of passengers getting on and off, so the pick-up and drop-off time t b can be calculated as

Figure BDA0001568224190000038
Figure BDA0001568224190000038

其中

Figure BDA0001568224190000039
分别为下车和上车的人数。in
Figure BDA0001568224190000039
The number of people getting off and getting on, respectively.

步骤5)公交车辆驶入主干道时间拟合。根据以往的研究结论,本发明用正态分布拟合公交车驶入主干道的时间β,如下:Step 5) Time fitting of bus vehicles entering the main road. According to the previous research conclusions, the present invention uses a normal distribution to fit the time β of the bus entering the main road, as follows:

Figure BDA00015682241900000310
Figure BDA00015682241900000310

其中μm是公交车辆驶入主干道的平均时间,σm为该时间的方差。where μ m is the average time of the bus entering the main road, and σ m is the variance of this time.

步骤6)公交车辆站台停靠时间汇总。如图2所示,公交车辆站台停靠时间为排队时间、乘客上下车时间和驶入主干道时间之和,在排队时间计算过程中考虑了同站台多线路公交车辆的交互行为,乘客上下车时间考虑了乘客上车行为,在驶入主干道部分考虑了公交车辆与主干道车辆的交互行为,公交车辆总停靠时间ts可计算如下:Step 6) Summarize the stopping time of the bus stops. As shown in Figure 2, the bus stop time at the platform is the sum of the queuing time, the passenger alighting time, and the time to enter the main road. Considering the behavior of passengers getting on the bus, and considering the interaction between the bus vehicle and the vehicle on the trunk road in the part of entering the main road, the total stop time t s of the bus vehicle can be calculated as follows:

Figure BDA0001568224190000041
Figure BDA0001568224190000041

站台停靠时间的期望和方差分别为The expectation and variance of the platform stop time are

Figure BDA0001568224190000042
Figure BDA0001568224190000042

步骤7)公交车辆路线旅行时间拟合。路线旅行时间T为路段旅行时间TL和站台停靠时间TS之和,传统私家车旅行时间预测方法主要考虑了路段旅行时间,因此不能分析公交车辆的站台停靠行为。Step 7) Bus route travel time fitting. The route travel time T is the sum of the road segment travel time TL and the platform stop time T S. The traditional private car travel time prediction method mainly considers the road segment travel time, so the platform stop behavior of public vehicles cannot be analyzed.

Figure BDA0001568224190000043
Figure BDA0001568224190000043

其中,IR为所研究线路的所有路段,SR为所研究线路的所有公交站台。Among them, IR is all the sections of the research line, and SR is all the bus stops of the research line .

路线旅行时间期望和方差分别为The route travel time expectation and variance are

Figure BDA0001568224190000044
Figure BDA0001568224190000044

其中,ρij表示路段i和路段j的旅行时间相关系数,设路段i和路段j的速度向量分别为Xi和Xj,则ρij可表示为:Among them, ρ ij represents the travel time correlation coefficient of road segment i and road segment j. Suppose the speed vectors of road segment i and road segment j are X i and X j respectively, then ρ ij can be expressed as:

Figure BDA0001568224190000045
Figure BDA0001568224190000045

实施例Example

下面结合一个如图3所示的实例来说明本发明基于概率模型的公交车辆旅行时间建模方法,具体如下:Below in conjunction with an example as shown in FIG. 3, the modeling method of bus travel time based on the probability model of the present invention is described, and the details are as follows:

1)、数据采集。如图3所示,选择2017.05.01到2017.05.31杭州68路上行公交线路作为研究对象,68路共计11站台,全长11.73公里。提取68路的所有IC卡刷卡记录和GPS记录,IC卡刷卡记录包含字段:卡号、刷卡时间、线路ID、车载机ID,GPS数据包含以下字段:车载机ID、时间、经度、纬度、驶出站台标识、到达站台标识。同时提取所有经过68路中间站台的公交线路数据,数据格式如上。1), data collection. As shown in Figure 3, select the bus route of Hangzhou Route 68 from 2017.05.01 to 2017.05.31 as the research object. Route 68 has a total of 11 platforms and a total length of 11.73 kilometers. Extract all IC card swiping records and GPS records of 68 routes. The IC card swiping records include fields: card number, card swiping time, line ID, vehicle ID, GPS data includes the following fields: vehicle ID, time, longitude, latitude, driving out Platform identification, arrival platform identification. At the same time, extract the data of all bus lines passing through the intermediate platform of No. 68, and the data format is as above.

2)、提取到离站时间和上车人数。到站时间计算为第一次出现到达站台标识的时间;离站时间为第一次出现离站标识的时间;上车人数为两个连续站台到达标识时间段内的刷卡记录数。其他经过中间站台的线路提取方法同上。2), extract the departure time and the number of people on board. The arrival time is calculated as the time when the arrival platform logo appears for the first time; the departure time is the time when the departure station logo appears for the first time; the number of people getting on the bus is the number of card swiping records within the time period of two consecutive platform arrival logos. The extraction methods of other lines passing through the intermediate platform are the same as above.

3)、站台间路段旅行时间拟合。11个公交站台将68路划分为10个路段,用偏移lognormal分布拟合结果如下表1所示:3), travel time fitting of road sections between platforms. 11 bus stops divide 68 routes into 10 sections, and the fitting results with the offset lognormal distribution are shown in Table 1 below:

表1路段旅行时间Table 1 Travel time of road sections

Figure BDA0001568224190000051
Figure BDA0001568224190000051

通过Kolmogorov–Smirnov(KS)检验,所有拟合在0.05水平显著,说明了本发明方法的可行性。Through the Kolmogorov-Smirnov (KS) test, all fittings were significant at the 0.05 level, indicating the feasibility of the method of the present invention.

4)、进站排队时间拟合。以第10个站台“文惠路口”为例,线路135,187,535,2,105,84和90都经过该站台;当68路到达该站台时,其他线路正在该站台等待乘客上下车的概率,以及各线路的平均上车人数可统计如下表2所示:4), queuing time fitting at the station. Take the 10th platform "Wenhui Intersection" as an example, lines 135, 187, 535, 2, 105, 84 and 90 all pass through this platform; when line 68 reaches this platform, the probability that other lines are waiting for passengers to get on and off at this platform, and the average of each line. The number of people on board can be counted as shown in Table 2 below:

表2站台“文惠路口”进站排队时间Table 2 The queuing time for entering the station at "Wenhui Intersection" on the platform

Figure BDA0001568224190000052
Figure BDA0001568224190000052

Figure BDA0001568224190000061
Figure BDA0001568224190000061

假定上下车每人耗时3.23秒,68路在该站台的排队时间可计算为:3.23*(4.3%*3.49+9.2%*3.58+2.0%*2.96+5.4%*2.67+4.2%*1.6+3.6%*1.7+4.4%*2.77)=6.24s。Assuming that it takes 3.23 seconds for each person to get on and off the bus, the queuing time of Route 68 at this platform can be calculated as: 3.23*(4.3%*3.49+9.2%*3.58+2.0%*2.96+5.4%*2.67+4.2%*1.6+ 3.6%*1.7+4.4%*2.77)=6.24s.

5)、人均上车时间拟合。本发明用最小二乘回归OLS拟合上下客时间和上车人数之间的关系。所得关系式为y=3.23x+7.21,R2=0.346,回归系数在0.05水平显著。5), the per capita boarding time fitting. The present invention uses the least squares regression OLS to fit the relationship between the pick-up and drop-off time and the number of passengers. The obtained relationship is y=3.23x+7.21, R 2 =0.346, and the regression coefficient is significant at the 0.05 level.

6)、驶入主干道耗时拟合。用正态分布拟合驶入主干道耗时,得到如下关系式6) Time-consuming fitting when entering the main road. Using the normal distribution to fit the time taken to enter the main road, the following relationship is obtained

β~N(9.74,1.552) (12)β~N(9.74,1.55 2 ) (12)

7)、站台停靠时间计算。站台停靠时间为排队时间、乘客上下车时间和驶入主干道时间之和。计算结果如下表3所示:7) Calculation of platform stop time. The stop time at the platform is the sum of the queuing time, the time for passengers getting on and off the bus and the time for entering the main road. The calculation results are shown in Table 3 below:

表3 68路车辆的站台停靠时间Table 3 The platform stop time of Route 68 vehicles

Figure BDA0001568224190000062
Figure BDA0001568224190000062

8)、路线旅行时间估计。路线旅行时间为路段旅行时间和站台停靠时间之和。8), route travel time estimation. The travel time of the route is the sum of the travel time of the road segment and the stop time of the platform.

因此68路车的路线旅行时间的期望为1333.61+216.72=1550.33s,68路车的路线旅行时间的方差为264.39+79.99=344.38s。通过bootstrap抽样,可以得到路线旅行时间的分布,图4显示了拟合的路线旅行时间和真实的路线旅行时间。从图中可以看出,利用本发明方法拟合的路线旅行时间和真实的路线旅行时间相差较小,因此,可以利用本发明方法比较准确地分析不同交通状态和乘客需求状态下公交旅行时间的可靠性,以用于提升公共交通服务水平和运营效率。Therefore, the expectation of the route travel time of the No. 68 car is 1333.61+216.72=1550.33s, and the variance of the route travel time of the No. 68 car is 264.39+79.99=344.38s. Through bootstrap sampling, the distribution of route travel time can be obtained, Figure 4 shows the fitted route travel time and the true route travel time. It can be seen from the figure that the difference between the travel time of the route fitted by the method of the present invention and the travel time of the real route is relatively small. Therefore, the method of the present invention can be used to more accurately analyze the travel time of the bus under different traffic states and passenger demand states. reliability to improve public transport service levels and operational efficiency.

Claims (6)

1.一种基于概率模型的公交车辆旅行时间建模方法,其特征在于,包括如下步骤:1. a bus vehicle travel time modeling method based on a probability model, is characterized in that, comprises the steps: 步骤1,采集待研究线路所有公交车辆的运营数据,包括:从起点站驶出时间、到达各中间站台时间、驶出各中间站台时间、到达终点站时间以及各站台上车人数;Step 1: Collect the operation data of all public transport vehicles on the line to be studied, including: departure time from the starting station, time to arrive at each intermediate platform, time to leave each intermediate platform, time to arrive at the terminal station, and number of passengers on each platform; 步骤2,利用偏移lognormal分布对站台间路段旅行时间进行拟合;Step 2, using the offset lognormal distribution to fit the travel time between the platforms; 公交车辆在路段i上的旅行时间ti计算如下:The travel time t i of the bus vehicle on the road segment i is calculated as follows: ti=λi+exp(μiizi);t ii +exp(μ ii zi ); 其中,λi表示该路段的畅通行驶时间,为分布偏移量;exp(μiizi)表示超出畅通行驶时间的部分,服从对数正态分布lognormal分布,其中μi、σi分别为超出行驶时间的均值和方差,zi为标准正态分布;Among them, λ i represents the clear travel time of the road section, which is the distribution offset; exp(μ ii zi ) represents the part beyond the clear travel time, which obeys the lognormal distribution lognormal distribution, where μ i , σ i are the mean and variance of the excess travel time, respectively, and zi is the standard normal distribution; 得到路段i旅行时间的期望E(ti)和方差Var(ti)分别为:The expected E(t i ) and variance Var(t i ) of the travel time of road segment i are obtained as:
Figure FDA0002581691240000011
Figure FDA0002581691240000011
步骤3,对公交车辆进入站台的过程进行建模,该过程为:排队进入站台、等待乘客上下车、从站台驶入主干道;对排队进入站台建模为一个先进先出队列计算公交车排队时间,根据乘客上下车人数计算乘客上下车时间,用正态分布拟合公交车辆从站台驶入主干道的时间;获取公交车辆站台停靠时间,公交车辆站台停靠时间为排队时间
Figure FDA0002581691240000012
乘客上下车时间tb和驶入主干道时间β之和;
Step 3: Model the process of entering the bus vehicle into the platform. The process is: queuing to enter the platform, waiting for passengers to get on and off the bus, and entering the main road from the platform; modeling the queuing entering the platform as a first-in-first-out queue to calculate the bus queue Time, calculate the time of passengers getting on and off the bus according to the number of passengers getting on and off, and use the normal distribution to fit the time for the bus to enter the main road from the platform; obtain the stop time of the bus platform, and the stop time of the bus platform is the queuing time
Figure FDA0002581691240000012
The sum of the passenger's getting on and off time t b and the time β entering the main road;
计算公交车辆排队时间,方法如下:Calculate the queuing time of bus vehicles as follows: 设对待研究线路的公交站台s,除待研究线路外其他进入该站台的公交线路集合为Ls,当待研究线路的公交车辆驶入站台s时来自线路l的公交车辆也在队列中的概率pls为:Assuming the bus station s of the line to be studied, the set of bus lines entering the platform except the line to be studied is L s , the probability that the bus from line l is also in the queue when the bus of the line to be studied enters the platform s pls is:
Figure FDA0002581691240000013
Figure FDA0002581691240000013
其中,
Figure FDA0002581691240000014
为根据运营经验得到的待研究线路与线路l的公交车辆相遇概率,Ms为待研究线路与线路l的公交车在站台s的相遇次数,Ns为待研究线路的公交车辆驶过站台s的次数,
Figure FDA0002581691240000015
为参数为1,
Figure FDA0002581691240000016
的贝努利分布;
in,
Figure FDA0002581691240000014
is the encounter probability between the line to be studied and the bus of line l obtained according to the operating experience, M s is the number of encounters between the line to be studied and the bus of line l at platform s, and N s is the bus vehicle of the line to be studied passing through platform s number of times,
Figure FDA0002581691240000015
for the parameter to be 1,
Figure FDA0002581691240000016
The Bernoulli distribution of ;
则公交车辆排队的时间
Figure FDA0002581691240000017
表示为:
then the bus queue time
Figure FDA0002581691240000017
Expressed as:
Figure FDA0002581691240000018
Figure FDA0002581691240000018
其中,tls为线路l的公交车辆在站台s的上下客时间和驶出站台时间之和;Among them, t ls is the sum of the time of getting on and off passengers at platform s and the time of leaving the platform of the bus of line l; 步骤4,获得公交车辆的路线旅行时间,并分析旅行时间的分布、期望、方差和可靠性;Step 4, obtain the route travel time of the bus vehicle, and analyze the distribution, expectation, variance and reliability of the travel time; 其中,公交车辆的路线旅行时间T为所有的路段旅行时间和所有的站台停靠时间之和,表示为:
Figure FDA0002581691240000019
IR为待研究线路的所有路段,SR为待研究线路的所有公交站台,ti为公交车辆在路段i上的旅行时间,ts为公交车辆在站台s的停靠时间。
Among them, the route travel time T of the bus vehicle is the sum of the travel time of all road segments and the stop time of all platforms, which is expressed as:
Figure FDA0002581691240000019
IR is all the sections of the line to be studied, SR is all the bus stops of the line to be studied, t i is the travel time of the bus on the section i, and ts is the stop time of the bus at the platform s.
2.根据权利要求1所述的一种基于概率模型的公交车辆旅行时间建模方法,其特征在于,所述的步骤1中,还采集经过所有中间站台的不同线路的公交车辆的运营数据。2 . The method for modeling the travel time of public transport vehicles based on a probability model according to claim 1 , wherein in the step 1, operation data of public transport vehicles passing through different routes of all intermediate platforms is also collected. 3 . 3.根据权利要求1所述的一种基于概率模型的公交车辆旅行时间建模方法,其特征在于,所述的步骤3中,计算乘客上下车时间的方法如下:3. a kind of bus vehicle travel time modeling method based on probability model according to claim 1, is characterized in that, in described step 3, the method for calculating passenger's getting on and off time is as follows: 设置每个人上下公交车辆花费时间为α,则公交车辆上下客时间取决于上客和下客的最大人数,将乘客上下车耗时tb为:Set the time it takes for each person to get on and off the bus as α, then the time for getting on and off the bus depends on the maximum number of passengers getting on and off, and the time t b for passengers getting on and off is:
Figure FDA0002581691240000021
Figure FDA0002581691240000021
其中,
Figure FDA0002581691240000022
分别为在站台s的下车和上车的人数。
in,
Figure FDA0002581691240000022
are the number of people getting off and getting on at platform s, respectively.
4.根据权利要求1所述的一种基于概率模型的公交车辆旅行时间建模方法,其特征在于,所述的步骤3中,公交车辆从站台驶入主干道的时间β,用正态分布拟合,表示如下:4. a kind of bus vehicle travel time modeling method based on probability model according to claim 1, is characterized in that, in described step 3, the time β of bus vehicle entering main road from platform, uses normal distribution fit, expressed as follows:
Figure FDA0002581691240000023
Figure FDA0002581691240000023
其中,μm、σm分别是公交车辆驶入主干道的平均时间和时间方差。Among them, μ m and σ m are the average time and time variance of the bus entering the main road, respectively.
5.根据权利要求1所述的一种基于概率模型的公交车辆旅行时间建模方法,其特征在于,所述的步骤3中,公交车辆站台停靠时间ts如下:5. a kind of bus vehicle travel time modeling method based on probability model according to claim 1, is characterized in that, in described step 3, bus stop time t s at platform is as follows:
Figure FDA0002581691240000024
Figure FDA0002581691240000024
站台停靠时间的期望和方差分别如下:The expectations and variances of platform stop times are as follows:
Figure FDA0002581691240000025
Figure FDA0002581691240000025
Figure FDA0002581691240000026
Figure FDA0002581691240000026
6.根据权利要求1所述的一种基于概率模型的公交车辆旅行时间建模方法,其特征在于,所述的步骤4中,6. a kind of bus vehicle travel time modeling method based on probability model according to claim 1, is characterized in that, in described step 4, 路线旅行时间期望E(T)为:The route travel time expectation E(T) is:
Figure FDA0002581691240000027
Figure FDA0002581691240000027
路线旅行时间方差Var(T)为:The route travel time variance Var(T) is:
Figure FDA0002581691240000028
Figure FDA0002581691240000028
其中,ρij表示路段i和路段j的相关系数,设路段i和路段j的速度向量分别为Xi和Xj,则ρij可表示为:Among them, ρ ij represents the correlation coefficient between road segment i and road segment j. Assuming that the speed vectors of road segment i and road segment j are X i and X j respectively, then ρ ij can be expressed as:
Figure FDA0002581691240000031
Figure FDA0002581691240000031
CN201810107601.0A 2018-02-02 2018-02-02 A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles Active CN108364464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810107601.0A CN108364464B (en) 2018-02-02 2018-02-02 A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810107601.0A CN108364464B (en) 2018-02-02 2018-02-02 A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles

Publications (2)

Publication Number Publication Date
CN108364464A CN108364464A (en) 2018-08-03
CN108364464B true CN108364464B (en) 2020-10-16

Family

ID=63004400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810107601.0A Active CN108364464B (en) 2018-02-02 2018-02-02 A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles

Country Status (1)

Country Link
CN (1) CN108364464B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637143B (en) * 2019-01-22 2021-06-11 江苏智通交通科技有限公司 Improved travel time reliability analysis method
CN112990694A (en) * 2021-03-11 2021-06-18 平安科技(深圳)有限公司 Bus stop traffic capacity analysis method, device, equipment and storage medium
CN113053095A (en) * 2021-03-27 2021-06-29 李文祥 Network taxi booking system and method with low vacant seat rate
CN113470366B (en) * 2021-09-01 2021-11-16 南通华豪巨电子科技有限公司 Intelligent bus stop time prediction method and system based on big data
CN115798211B (en) * 2022-11-21 2023-09-22 长安大学 A control method, system, equipment and medium for preventing disconnection and mixing of connected buses
CN116704763B (en) * 2023-06-13 2023-12-05 大连海事大学 Intelligent bus team dynamic formation method considering bus operation scheme

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578267A (en) * 2012-07-18 2014-02-12 北京掌城科技有限公司 Bus arrival predication method and system based on bus GPS data
CN104200648A (en) * 2014-08-21 2014-12-10 四川大学 Road section average travelling time calculation method based on electronic license plate
CN105390013A (en) * 2015-11-18 2016-03-09 北京工业大学 Method for predicting bus arrival time based on bus IC card
CN106504516A (en) * 2016-10-24 2017-03-15 东南大学 A Multi-form Bus Dynamic Scheduling Method Based on Bus Station Informatization
CN106781506A (en) * 2017-02-21 2017-05-31 济南全通信息科技有限公司 The real time execution level evaluation method of urban public traffic network on a large scale based on bus GPS data
CN106845768A (en) * 2016-12-16 2017-06-13 东南大学 Bus hourage model building method based on survival analysis parameter distribution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578267A (en) * 2012-07-18 2014-02-12 北京掌城科技有限公司 Bus arrival predication method and system based on bus GPS data
CN104200648A (en) * 2014-08-21 2014-12-10 四川大学 Road section average travelling time calculation method based on electronic license plate
CN105390013A (en) * 2015-11-18 2016-03-09 北京工业大学 Method for predicting bus arrival time based on bus IC card
CN106504516A (en) * 2016-10-24 2017-03-15 东南大学 A Multi-form Bus Dynamic Scheduling Method Based on Bus Station Informatization
CN106845768A (en) * 2016-12-16 2017-06-13 东南大学 Bus hourage model building method based on survival analysis parameter distribution
CN106781506A (en) * 2017-02-21 2017-05-31 济南全通信息科技有限公司 The real time execution level evaluation method of urban public traffic network on a large scale based on bus GPS data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
公交车到站时间预测模型与实证研究;计晓昕;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20151015(第10期);正文21-43页 *

Also Published As

Publication number Publication date
CN108364464A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN108364464B (en) A Probabilistic Model-Based Method for Modeling Travel Time of Public Transport Vehicles
CN105809292B (en) Bus IC card passenger getting off car website projectional technique
CN105185105B (en) Bus transfer identification method based on vehicle GPS and bus IC card data
CN105788260B (en) A kind of bus passenger OD projectional techniques based on intelligent public transportation system data
WO2021159865A1 (en) Data calibration-based bus route prediction method and system
CN108288321A (en) Method is determined based on the volume of the flow of passengers above and below the bus station of IC card data and vehicle GPS information
CN111311467A (en) A method and system for predicting bus routes based on face recognition
CN101615340A (en) Real-time Information Processing Method in Dynamic Bus Dispatching
CN109285376A (en) A statistical analysis system of bus passenger flow based on deep learning
CN104134343A (en) Passenger boarding and deboarding time and position obtaining method based on traffic card data
CN104658252A (en) Method for evaluating traffic operational conditions of highway based on multisource data fusion
CN105469602B (en) A kind of Forecasting Methodology of the bus passenger waiting time scope based on IC-card data
CN104240529B (en) Method and system for predicting arrival time of buses
CN106897955A (en) A kind of Public Transport Transfer recognition methods based on public transport OD data
CN111932925A (en) Method, device and system for determining travel passenger flow of public transport station
CN114743401B (en) A data visualization bus dispatching management platform based on bus digital transformation
CN105390013A (en) Method for predicting bus arrival time based on bus IC card
CN110188923A (en) A kind of multi-mode bus passenger flow projectional technique based on big data technology
Zhao et al. Isolating high-priority metro and feeder bus transfers using smart card data
CN107403235A (en) Rail traffic platform passenger waits position inducible system and method
CN104517040A (en) Method for calculating in-carriage congestion degree of public traffic vehicle based on IC card data
CN105206040B (en) A kind of public transport bunching Forecasting Methodology based on IC-card data
CN115817587A (en) Real-time rescheduling method and device for solving train operation delay
Loo et al. Dynamics of in-station time within metro systems: Measurement and determining factors
CN108132913A (en) A kind of track traffic for passenger flow mobile estimating method, system and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
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