Train running interval calculation method, device, equipment and storage medium
Through the calculation model, the time parameters of each platform and operating interval in the track loop are calculated, and combined with the train track type, the problem of not being able to set the fixed operating interval of the entire line is solved, achieving a more uniform train operation and a better passenger experience.
Patent Information
- Application Number
- CN202110604660.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-31
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-05-31
AI Technical Summary
When some platforms in the track loop are manually set, the fixed operating interval setting of the entire line cannot be set, which affects the uniformity of the train operation and passenger experience.
By obtaining the stop time of each platform, the running time of each operating interval and the turn-back time, combining the train track type, the calculation model is used to calculate the train running interval and determine whether the preset conditions are met.
It realizes the fixed operation interval setting of the entire line in the rail loop, improves the uniformity of train operation, reduces the burden of manual adjustment, and improves the passenger's riding experience.
Smart Images

Figure CN115416728B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rail transit, and in particular, to a method, device, equipment and storage medium for calculating train running intervals. Background Art
[0002] At present, the operation of urban rail transit has developed rapidly. The traditional operation adjustment plan mainly adjusts the train running interval according to the plan. However, when the plan deviates too much, the adjustment according to the plan will be relatively uneven, the stop time is too long or the train density is uneven, which affects the passenger experience to a certain extent. Therefore, in some cases, equal interval adjustment has become a more preferred solution, which mainly makes each train maintain a fixed running interval at each station through a certain adjustment method to solve the deficiencies of adjustment according to the operation diagram and reduce the burden of manual adjustment by operation personnel. The current train running intervals are basically fixed and preset, but when there are manual settings at some platforms on the track loop, it is impossible to set a fixed running interval for the entire line. Summary of the Invention
[0003] Embodiments of the present invention provide a method, device, equipment and storage medium for calculating train running intervals to solve the problem that when there are manual settings at some platforms on the track loop in the prior art, it is impossible to set a fixed running interval for the entire line.
[0004] The first aspect of the present application provides a method for calculating train running intervals, and the method for calculating train running intervals includes:
[0005] Obtain the stop time of each platform, the running time of each running interval and the turning-back time, wherein the stop time of at least one platform is the manually set stop time and / or the running time of at least one running interval is the running time corresponding to the manually set running level;
[0006] Obtain the train track type, obtain a train running interval calculation model according to the train track type, and calculate the train running interval according to the stop time of each platform, the running time of each running interval, the turning-back time and the train running interval calculation model;
[0007] Judge whether the train running interval meets a preset condition. If yes, prompt the user. If not, return an error report.
[0008] The second aspect of the present application provides a device for calculating train running intervals, and the device for calculating train running intervals includes:
[0009] A time parameter acquisition module, configured to acquire the stop time of each platform, the running time of each running section, and the turnaround time, wherein the stop time of at least one platform is the manually set stop time and / or the running time of at least one running section is the running time corresponding to the manually set running level;
[0010] A train running interval calculation module, configured to acquire the train track type, obtain a train running interval calculation model according to the train track type, and calculate the train running interval according to the stop time of each platform, the running time of each running section, the turnaround time, and the train running interval calculation model;
[0011] A train running interval judgment module, configured to judge whether the train running interval meets a preset condition. If so, prompt the user; if not, return an error report.
[0012] A third aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described in the first aspect of the present invention are implemented.
[0013] A fourth aspect of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect of the present invention are implemented.
[0014] The present application provides a train running interval calculation method, device, equipment, and storage medium. The train running interval calculation method includes acquiring the stop time of each platform, the running time of each running section, and the turnaround time; acquiring the train track type, obtaining a train running interval calculation model according to the train track type, and calculating the train running interval according to the stop time of each platform, the running time of each running section, the turnaround time, and the train running interval calculation model; judging whether the train running interval meets a preset condition. If so, prompt the user; if not, return an error report. In the technical solution of the present application, the stop time and the running time of each running section can be manually set times, and at the same time, the running interval can be screened before being used, avoiding the situation where the current line cannot be fully and successfully realized when adjusting the running interval. This enables the trains to be more evenly distributed on the line, avoiding the problem of poor passenger experience caused by equal interval adjustment in case of abnormal plans or serious deviations, and better improving the passenger riding experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0016] Figure 1 is a flowchart of a train running interval calculation method in an embodiment of the present invention;
[0017] Figure 2 is a train operation diagram in a train running interval calculation method in an embodiment of the present invention;
[0018] Figure 3 is another train operation diagram in a train running interval calculation method in an embodiment of the present invention;
[0019] Figure 4 is another flowchart of a train running interval calculation method in an embodiment of the present invention;
[0020] Figure 5 is another train operation diagram in a train running interval calculation method in an embodiment of the present invention;
[0021] Figure 6 is another train operation diagram in a train running interval calculation method in an embodiment of the present invention;
[0022] Figure 7 is a schematic structural diagram of a train running interval calculation device in an embodiment of the present invention;
[0023] Figure 8 is a schematic diagram of a computer device in an embodiment of the present invention. Detailed implementation manners
[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0025] The planned adjustment mode in this application is a train adjustment mode. According to the operation plan, when the train enters / leaves the station each time, the difference between the actual arrival / departure time and the planned arrival / departure time is calculated. If adjustment is required, the running level and stop time of the train are adjusted. The train is adjusted at each station in turn until it is adjusted to a reasonable range.
[0026] The equal-interval adjustment mode in this application is a train adjustment mode. By calculating the operation deviation of early and late trains, the stop time of the train at each station and the operation level of the operation section are adjusted so that the arrival time of the train at each station remains at a fixed interval.
[0027] A train operation interval calculation method provided by an application embodiment is as Figure 1 shown. The train operation interval calculation method includes:
[0028] Step S101. Obtain the stop time of each platform, the operation time of each operation section, and the turning-back time. Among them, the stop time of at least one platform is the manually set stop time and / or the operation time of at least one operation section is the operation time corresponding to the manually set operation level.
[0029] Among them, the operation section refers to the distance between two platforms. The turning-back time can be the pre-station turning-back time or the post-station turning-back time. When there is a manually set stop time for a certain platform, the stop time of this platform is the manually set stop time. When there is a manually set operation level for a certain operation section, the operation time of this operation section is the operation time corresponding to the manually set operation level.
[0030] Among them, obtaining the stop time of each platform in step S101 includes:
[0031] When the platform has a manually set stop time, set the manually set stop time as the stop time; that is, if there is a manually set stop time for the platform, use the manual stop time; if there is skip-stop by station at the platform and the manually set stop time is zero, the platform stop time is zero; otherwise, use the default stop time of the platform.
[0032] When the platform does not have a manually set stop time, set the default stop time as the stop time, that is, if there is a manual operation level for the operation section, use the operation time corresponding to the manual operation level, otherwise use the operation time corresponding to the default operation level.
[0033] Step S102. Obtain the train track type, obtain the train operation interval calculation model according to the train track type, and calculate the train operation interval according to the stop time of each platform, the operation time of each operation section, the turning-back time, and the train operation interval calculation model.
[0034] Among them, the train track type includes a single loop type and a large-small composite loop type. The single loop type and the large-small composite loop type respectively correspond to their own calculation models. Substituting the stop time of each platform, the operation time of each operation section, and the turning-back time into the calculation model can obtain the train operation interval.
[0035] Among them, as an implementation method, asFigure 2 As shown, obtaining the train track type in step S102 and obtaining the train running interval calculation model according to the train track type includes:
[0036] When the train track type is a single loop, the obtained train running interval calculation model is:
[0037] ;
[0038] t = T total / x;
[0039] Where n is the number of platforms, m is the number of platform intervals, l is the number of reversals, T st i is the stop time at the platform, T st j is the running time of the running interval, T st k is the reversal time, T total is the total duration of the single loop, and x is the number of vehicles.
[0040] Among them, for the stop time T st i, if there is a corresponding manually set stop time, use the manually set time; if not, use the system default stop time; for the interval running time T st j, if there is a corresponding manually set running level, use the running time of the corresponding running level; otherwise, default to using the median value of the running level to ensure there is room for train adjustment. The system default stop time and running level can also be adjusted to real-time configuration items to facilitate the operation personnel to set parameters for debugging. If there are x vehicles operating on this single loop, the running interval is T total / x, that is, the preset interval for all platforms is T total / x.
[0041] Among them, as an implementation method, as Figure 3 shown, obtaining the train track type in step S102 and obtaining the train running interval calculation model according to the train track type includes:
[0042] When the train track type is a large-small composite loop, the obtained train running interval calculation model is:
[0043] ;
[0044] ;
[0045] ;
[0046] y = C x (T3 / T1);
[0047] t1 = T2 / (y + x (T3 / T1));
[0048] t2 = T1 / x;
[0049] Among them, n is the number of platforms on the large loop, m is the number of platform intervals on the large loop, l is the number of reversals on the large loop, T st i is the stop time at the platforms of the large and small loops, T st j is the running time of the running intervals of the large and small loops, T st k is the first reversal time, T total1 is the total duration of the large loop, n1, n2 are the platform serial numbers of the large and small loops, m1, m2 are the platform interval serial numbers of the large loop, T st p is the second reversal time, T total2 is the total duration of the small loop, T total3 is the duration of the repetition of the large and small loops, C is a natural number, x is the number of vehicles on the large loop, y is the number of vehicles on the small loop, T1 is the total duration of the small loop, T2 is the total duration of the large loop, T3 is the duration of the repetition of the large and small loops, t1 is the running interval of the small loop, t2 is the running interval of the large loop.
[0050] Among them, assuming that there are x vehicles running on the large loop, it means that at the same time, there are x vehicles on the small loop (T3 / T1), then the number of vehicles running only on the small loop at this time is y = C x (T3 / T1), C = 1…n, at this time the large and small loops can run alternately, but C cannot be infinitely large, and the minimum safety interval of the train needs to be ensured. In this case, the running interval of platforms n1, n2 on the large loop is T1 / x, and the running interval of the small loop is T2 / (y + x (T3 / T1)). If the number of vehicles running on the small loop takes the recommended quantity, the reversal time is much less than T2, that is, T1≈T2, and the running interval on the small loop is approximately T1 / ((C + 1) x).
[0051] Step S103. Determine whether the train running interval meets the preset conditions. If yes, execute step S104 to prompt the user. If no, execute step S104 to return an error report.
[0052] Among them, the judgment that the train meets the preset conditions in step S103 includes:
[0053] Determine whether the running interval is greater than the minimum interval time;
[0054] Or, determine whether the running interval is greater than the maximum stop time;
[0055] Or, determine whether the running interval is greater than the running time of each interval;
[0056] Alternatively, calculate the sum of the dwell time at the current station and the running time of the previous running section, and the sum of the running time between the current station and the next running section, obtain the larger value, and determine whether the running interval is greater than this larger value.
[0057] Among them, determine whether the running interval is greater than the minimum interval time. If it is greater than the minimum interval time, prompt the user. If it is less than or equal to the minimum running interval, the calculated running interval is invalid.
[0058] Determine whether the running interval is greater than the maximum dwell time. If it is greater than the maximum dwell time, prompt the user. If the running interval is less than or equal to the maximum dwell time, the calculated running interval is invalid.
[0059] Determine whether the running interval is greater than the running time of each section. If it is greater than the running time of each section, prompt the user. If the running interval is less than or equal to the running time corresponding to the running level of a certain section, it is prompted that there is a risk of the train staying in the track section. The detention risk is mainly that the previous train of the current train fails to leave the previous platform in time due to certain reasons (such as temporary detention) while the current train has left the station and entered the section.
[0060] Calculate the sum of the dwell time at the current station and the running time of the previous running section, and the sum of the running time between the current station and the next running section, obtain the larger value, determine whether the running interval is greater than this larger value. If it is greater than the minimum interval time, prompt the user. If it is less than or equal to the larger value, it is prompted that the operation needs to pay attention to the situation of the train staying at the platform in time. At this time, the running interval is relatively close to the time difference of the train generating the risk of staying in the section. This risk exists when the train is unexpectedly detained and the operation personnel fail to set the adjacent station to detain the train in time, resulting in the train leaving the station and entering the section while the previous station cannot stop.
[0061] It should be noted that for the calculation of the running interval, parameters such as the default running level and the default dwell time at the platform can also be set as editable items. By calculating the running interval limit through the calculation module, the train operation situation of the line can be better understood, and it can also provide a reference for the interval between trains for users when the operation personnel make the train planned operation diagram.
[0062] The present application provides a method for calculating train operation intervals, which includes obtaining the stop time of each platform, the running time of each operation section, and the turnaround time; obtaining the train track type, obtaining a train operation interval calculation model according to the train track type, and calculating the train operation interval according to the stop time of each platform, the running time of each operation section, the turnaround time, and the train operation interval calculation model; determining whether the train operation interval meets a preset condition, if so, prompting the user, if not, returning an error report. In the technical solution of the present application, the stop time and the running time of each operation section can be manually set times, and the operation interval can also be screened before being used, avoiding the situation where the current line cannot be fully and successfully realized when adjusting the operation interval. This enables the trains to be more evenly distributed on the line, avoiding the problem of poor passenger experience at the end when the equal interval adjustment is abnormal or seriously deviated in the plan, and better improving the passenger riding experience.
[0063] The following will illustrate the present application through specific examples. The flow chart is as Figure 4 shown, and the specific operation steps are as follows:
[0064] When the user selects equal interval adjustment, start calculating the preset interval.
[0065] First, determine whether there is a train detention at the station currently. Due to the uncertainty of the detention time, when there is a platform detention, a pop-up window prompts the user to let the user judge whether to continue the calculation. If not, the calculation ends.
[0066] If there is no detention or even if there is detention, the calculation continues, then start obtaining the stop time of each platform and the running time of each operation section.
[0067] If there is a manually set stop time at the platform, use the manually set stop time; if there is skip-stop by station at the platform, the platform stop time is zero; otherwise, use the default stop time of the platform.
[0068] If there is a manual operation level in the section, use the running time corresponding to the manual operation level, otherwise use the running time corresponding to the default operation level.
[0069] Determine whether the current train operation plan is a single loop or there are large and small loops running simultaneously. If it is a single loop, use the single loop calculation module, if there are large and small loops, use the large and small composite loop calculation.
[0070] As Figure 5As shown, the single-loop calculation module is as follows: T1 = stoptime1 + stoptime2 + stoptime3 + stoptime4 + stoptime5 + stoptime6 + stoptime7 + runtim1 + runtim2 + runtim3 + runtim4 + runtim5 + runtime6 + turnbackTime1;
[0071] t = T1 / x, where x is the number of vehicles.
[0072] Figure 6 In the case of large and small loops, the overall running time of the large loop is: T1 = stoptime1 + stoptime2 + stoptime3 + stoptime4 + stoptime5 + stoptime6 + stoptime7 + runtim1 + runtim2 + runtim3 + runtim4 + runtim5 + runtime6 + turnbackTime1;
[0073] The overall running time of the small loop is: T2 = stoptime1 + stoptime2 + stoptime3 + stoptime6 + stoptime7 + runtime1 + runtime2 + runtime5 + runtime6 + turnbackTime2, and the running time of the overlapping path is T3 = stoptime1 + stoptime2 + stoptime3 + stoptime6 + stoptime7 + runtime1 + runtime2 + runtime5 + runtime6.
[0074] Assume that the number of vehicles running on the large loop is x, then it means that at the same time, the number of vehicles on the small loop is x (T3 / T1), then the recommended number of vehicles running only on the small loop at this time is y = C x (T3 / T1), C = 1…n, at this time the large and small loops can run alternately. However, C cannot be infinitely large, and the minimum safety interval of the train needs to be ensured. In this case, the running interval of platforms 4 and 6 is T1 / x, and the running interval of platforms 1, 2, 3, 7, and 8 is T2 / (y + x (T3 / T1)). If the number of vehicles running on the small loop takes the recommended quantity, turnbackTime is much less than T2, that is, T1≈T2, and the running interval of platforms 1, 2, 3, 7, and 8 is approximately T1 / ((C + 1) x).
[0075] Perform legal and prompt detection on the running intervals of all platforms.
[0076] Determine whether the running interval is greater than the minimum interval time. If it is less than the minimum running interval, the calculated running interval is invalid.
[0077] Determine whether the running interval is greater than the maximum stop time. If the running interval is less than the maximum stop time, the calculated running interval is invalid.
[0078] Determine whether the running interval is greater than the running time of each section. If the running interval is less than the running level of a certain section, prompt that there is a risk of the train being stranded in the section. The stranding risk mainly occurs when the previous train of the current train fails to leave the previous platform in time for some reason (such as temporary train detention) while the current train has left the station and entered the section.
[0079] Calculate the sum of the stop time of the current station and the time of the previous running section, and the sum of the running time of the current station and the next running section, and obtain the larger value. Determine whether the running interval is greater than this larger value. If it is less than the larger value, prompt the operation to pay attention to the situation of the train being stranded at the platform in time. At this time, the running interval is relatively close to the time difference of the train generating the section stranding risk. This risk exists when the train is unexpectedly stranded and the operation personnel fail to set the adjacent station to detain the train in time, resulting in the train leaving the station and entering the section while the previous station cannot stop.
[0080] After the calculation is completed, return the operation result. If there is an invalid interval situation, return the reason for the error; if there is a prompt, feedback the prompt reason at the same time. The user decides whether to adopt the calculated result.
[0081] If the user adopts the preset interval calculated, set the preset interval to the corresponding platform for use in the equal interval adjustment plan.
[0082] Another embodiment of the present invention provides a train running interval calculation device, as Figure 7 shown. The train running interval calculation device includes:
[0083] A time parameter acquisition module 21, configured to acquire the stop time of each platform, the running time of each running section, and the turnaround time, wherein the stop time of at least one platform is the manually set stop time and / or the running time of at least one running section is the running time corresponding to the manually set running level;
[0084] A train running interval calculation module 22, configured to acquire the train track type, obtain a train running interval calculation model according to the train track type, and calculate the train running interval according to the stop time of each platform, the running time of each running section, the turnaround time, and the train running interval calculation model;
[0085] The train operation interval judgment module 23 is used to judge whether the train operation interval meets the preset conditions. If it does, it will prompt the user. If not, it will return an error report.
[0086] Furthermore, the time parameter acquisition module 21 is specifically used for:
[0087] When the platform has a manually set stop time, set the manually set stop time as the stop time;
[0088] When the platform does not have a manually set stop time, set the default stop time as the stop time.
[0089] Furthermore, the time parameter acquisition module 21 is specifically used for:
[0090] When the operation section has a manually set operation level, set the operation time corresponding to the manually set operation level as the operation time;
[0091] When the operation section does not have a manually set operation level, set the operation time corresponding to the default operation level as the stop time.
[0092] Furthermore, the train operation interval calculation module 22 is specifically used for:
[0093] When the train track type is a single loop, the train operation interval calculation model obtained is:
[0094] ;
[0095] t = T total / x;
[0096] Where n is the number of platforms, m is the number of platform sections, l is the number of reversals, T st i is the stop time of the platform, T st j is the operation time of the operation section, T st k is the reversal time, T total is the total duration of the single loop, and x is the number of vehicles.
[0097] Furthermore, the train operation interval calculation module 22 is specifically used for:
[0098] When the train track type is a large-small composite loop, the train operation interval calculation model obtained is:
[0099] ;
[0100] ;
[0101] ;
[0102] y = C x (T3 / T1);
[0103] t1 = T2 / (y + x (T3 / T1));
[0104] t2 = T1 / x;
[0105] Wherein, n is the number of platforms on the large loop, m is the number of platform intervals on the large loop, l is the number of turnbacks on the large loop, T st i is the stop time of the platforms on the large and small loops, T st j is the running time of the running intervals on the large and small loops, T st k is the first turnback time, T total1 is the total duration of the large loop, n1, n2 are the platform serial numbers of the large and small loops, m1, m2 are the platform interval serial numbers of the large loop, T st p is the second turnback time, T total2 is the total duration of the small loop, T total3 is the duration of the repetition of the large and small loops, C is a natural number, x is the number of vehicles on the large loop, y is the number of vehicles on the small loop, T1 is the total duration of the small loop, T2 is the total duration of the large loop, T3 is the duration of the repetition of the large and small loops, t1 is the running interval of the small loop, t2 is the running interval of the large loop.
[0106] The train running interval judgment module 23 is specifically used for:
[0107] Judging whether the running interval is greater than the minimum interval time;
[0108] Or, judging whether the running interval is greater than the maximum stop time;
[0109] Or, judging whether the running interval is greater than the running time of each running interval;
[0110] Or, performing an addition operation on the stop time of the current station and the running time of the previous running interval to obtain a first sum value, and performing an addition operation on the current station and the running time of the next running interval to obtain a second sum value, and obtaining the larger value between the first sum value and the second sum value, and judging whether the running interval is greater than the larger value between the first sum value and the second sum value.
[0111] For the specific limitations of the vehicle running interval calculation device, reference may be made to the limitations of the vehicle running interval calculation method in the foregoing text, which will not be elaborated here. Each module in the above vehicle running interval calculation device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so as to facilitate the processor to call and execute the operations corresponding to each of the above modules.
[0112] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structural diagram can be as Figure 8 shown. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the data used in the vehicle running interval calculation method of the above embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a vehicle running interval calculation method.
[0113] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it implements the vehicle running interval calculation method in the above embodiment.
[0114] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, it implements the vehicle running interval calculation method in the above embodiment.
[0115] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0116] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0117] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments or equivalently replace some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention and should all be included in the protection scope of the present invention.
Claims
1. A method for calculating train running intervals, characterized in that, The train running interval calculation method includes: Obtaining the stop time of each platform, the running time of each running section, and the turnaround time, where the stop time of at least one platform is the manually set stop time and / or the running time of at least one running section is the running time corresponding to the manually set running level; Obtaining the train track type, obtaining a train running interval calculation model according to the train track type, and calculating the train running interval according to the stop time of each platform, the running time of each running section, the turnaround time, and the train running interval calculation model; Judging whether the train running interval meets a preset condition. If yes, prompt the user; if not, return an error report; Wherein, the obtaining the train track type and obtaining a train running interval calculation model according to the train track type includes: When the train track type is a single loop, the obtained train running interval calculation model is: ; t=T total / x; Among them, n is the number of platforms, m is the number of platform intervals, l is the number of reversals, T st i is the stop time at the platform, T st j is the running time of the running interval, T st k is the reversal time, T total is the total duration of a single loop, and x is the number of vehicles.
2. The method for calculating train running intervals according to claim 1, characterized in that, The obtaining the stop time of each platform includes: When the platform has a manually set stop time, set the manually set stop time as the stop time; When the platform does not have a manually set stop time, set the default stop time as the stop time.
3. The method for calculating train running intervals according to claim 1, characterized in that, The obtaining the running time of each running section includes: When the running section has a manually set running level, set the running time corresponding to the manually set running level as the running time; When the running section does not have a manually set running level, set the running time corresponding to the default running level as the stop time.
4. The method for calculating train running intervals according to claim 1, characterized in that, The obtaining the train track type and obtaining a train running interval calculation model according to the train track type includes: When the train track type is a large-small composite loop, the obtained train running interval calculation model is: ; ; ; y = C x (T3 / T1); t1=T2 / (y+x (T3 / T1)); t2 = T1 / x; Among them, n is the number of platforms on the large loop, m is the number of platform intervals on the large loop, l is the number of turnbacks on the large loop, T st i is the stop time of the platforms on the large and small loops, T st j is the running time of the running intervals on the large and small loops, T st k is the first turnback time, T total1 is the total duration of the large loop, n1, n2 are the platform serial numbers of the large and small loops, m1, m2 are the platform interval serial numbers of the large loop, T st p is the second turnback time, T total2 is the total duration of the small loop, T total3 is the duration of the repetition of the large and small loops, C is a natural number, x is the number of vehicles on the large loop, y is the number of vehicles on the small loop, T1 is the total duration of the small loop, T2 is the total duration of the large loop, T3 is the duration of the repetition of the large and small loops, t1 is the running interval of the small loop, t2 is the running interval of the large loop.
5. The method for calculating train running intervals according to claim 1, characterized in that, The judging whether the train meets the preset condition includes: Judging whether the running interval is greater than the minimum interval time; Or, judging whether the running interval is greater than the maximum stop time; Or, judging whether the running interval is greater than the running time of each running section; Or, performing an addition operation on the stop time of the current station and the running time of the previous running section to obtain a first sum value, and performing an addition operation on the current station and the running time of the next running section to obtain a second sum value, and obtaining the larger value between the first sum value and the second sum value, and judging whether the running interval is greater than the larger value between the first sum value and the second sum value.
6. A device for calculating train running intervals, characterized in that, The train running interval calculation device includes: A time parameter acquisition module for acquiring the stop time of each platform, the running time of each running section, and the turnaround time, where the stop time of at least one platform is the manually set stop time and / or the running time of at least one running section is the running time corresponding to the manually set running level; A train running interval calculation module for acquiring the train track type, obtaining a train running interval calculation model according to the train track type, and calculating the train running interval according to the stop time of each platform, the running time of each running section, the turnaround time, and the train running interval calculation model; A train operation interval judgment module, which is used to judge whether the train operation interval meets the preset conditions. If so, it will prompt the user; if not, it will return an error report. Among them, the obtaining of the train track type and the obtaining of the train operation interval calculation model according to the train track type include: When the train track type is a single loop, the obtained train operation interval calculation model is: ; t=T total / x; Among them, n is the number of platforms, m is the number of platform intervals, l is the number of reversals, T st i is the stop time at the platform, T st j is the running time of the running interval, T st k is the reversal time, T total is the total duration of a single loop, and x is the number of vehicles.
7. The train operation interval calculation device according to claim 6, wherein, The time parameter obtaining module is used for: When there is an artificially set stop time at the platform, set the artificially set stop time as the stop time; When there is no artificially set stop time at the platform, set the default stop time as the stop time.
8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium storing a computer program, wherein, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 5.