A subway station dynamic passenger flow control method and system based on the AnyLogic platform
The AnyLogic-based dynamic passenger flow control system addresses the inflexibility of traditional systems by enabling real-time facility adjustments and intelligent optimization, improving passenger flow management and reducing congestion risks.
Patent Information
- Application Number
- CN202510221656.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2045-02-27
AI Technical Summary
The existing simulation systems lack dynamic adjustment capabilities in subway station passenger flow control, and cannot perform real-time optimization of facility layout and parameters according to specific needs, resulting in insufficient accuracy and adaptability of passenger flow management.
Based on the AnyLogic platform, by setting passenger flow control scenario information, the subway station layout diagram is generated and the logic diagram of multi-agent pedestrians is dynamically generated, combined with real-time data, the guidance effect in different passenger flow control scenarios is verified, and the facilities are flexible adjustment and optimization are achieved.
The subway station's adaptability to dynamic scenarios has been improved, the effects of different solutions can be effectively evaluated, passenger flow guidance can be optimized, and the efficient operation of the station under different passenger flow densities can be reduced, and congestion and safety risks can be reduced.
Smart Images

Figure CN119721503B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of station passenger flow control and system simulation, and particularly to a subway station dynamic passenger flow control method and system based on the AnyLogic platform. Background Art
[0002] With the rapid development of urban rail transit, the subway system has become an indispensable important public transportation tool in modern cities. As the core hub of the subway system, subway stations not only undertake the huge task of passenger flow transportation, but also the guidance and management of passenger flow are directly related to the safety and efficiency of subway operation.
[0003] At present, the passenger flow control method based on simulation system technology still has relatively significant limitations in practical applications. In previous passenger flow control, traditional simulation systems mainly relied on adjusting the static data of the station in the simulation model to achieve the simulation and evaluation of different schemes. This method usually requires manually changing the layout or parameter configuration of passenger flow control facilities inside the station in the model in advance to verify the feasibility of a specific scheme in dealing with passenger flow changes. Specifically, the system lacks flexibility in adjusting the layout of passenger flow control facilities inside the station, including the layout planning of iron horses, the layout optimization of security inspection equipment, the setting adjustment of the passing direction of turnstiles, and the dynamic configuration of the operation mode of elevators. This static and fixed design method cannot customize and evaluate and optimize the scheme according to the specific needs of subway stations, which in turn restricts the accuracy and adaptability of passenger flow management.
[0004] In order to be able to realize the real-time adjustment of the layout and operation parameters of passenger flow control facilities inside the station, and combined with dynamic data input, quickly simulate the effects of different schemes, it is necessary to focus on designing a more intelligent and dynamic dynamic passenger flow control simulation system. In this regard, it is of great significance to use simulation technology to realize the real-time optimization and evaluation mechanism of passenger flow control schemes. Summary of the Invention
[0005] The purpose of the present invention is to provide a subway station dynamic passenger flow control method and system based on the AnyLogic platform. As the key to solving the current passenger flow control problem in subway stations, it aims to solve the problems of the lack of the ability to dynamically adjust passenger flow control facilities in existing simulation systems and the inability to effectively predict the feasibility and effectiveness of passenger flow control schemes before implementation. This method and system can flexibly adjust the configuration status of various facilities inside the station through simulation simulation and real-time data feedback, and intelligently predict and optimize the passenger flow distribution. By enhancing the system's adaptability to dynamic scenarios, comprehensively evaluating the effects of different passenger flow control measure schemes, optimizing the passenger flow guidance scheme, ensuring the efficient operation of the station under different passenger flow densities, and achieving more accurate and efficient passenger flow control.
[0006] The first aspect of the present invention is to provide a subway station dynamic passenger flow control method based on the AnyLogic platform, including:
[0007] S1, setting passenger flow control scenario information;
[0008] S2, generating a subway station layout generation diagram based on the passenger flow control scenario information;
[0009] S3, dynamically generating a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram, where the multi-agent pedestrian logic generation diagram corresponds to the passenger flow guidance route;
[0010] S4, conducting a simulation in the subway station dynamic passenger flow control system based on the passenger flow guidance route to verify and evaluate the passenger flow guidance effect under different passenger flow control scenarios.
[0011] Preferably, the passenger flow control scenario information includes one or more of the following: the layout arrangement of iron horses, the specific position information of security inspection equipment, the running direction of turnstiles, the running direction of escalators, and the real-time status of various equipment and facilities; all the passenger flow control scenario information together constitutes the key parameters for passenger flow management, providing basic data support for resource allocation and passenger flow organization in the station.
[0012] The second aspect of the present invention is to provide a subway station dynamic passenger flow control system based on the AnyLogic platform for implementing the method of the first aspect, including:
[0013] A front-end application interface module (101) for setting passenger flow control scenario information;
[0014] A dynamic site generation module (102) for generating a subway station layout generation diagram based on the passenger flow control scenario information;
[0015] A multi-agent pedestrian logic generation module (103) for dynamically generating a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram, where the multi-agent pedestrian logic generation diagram corresponds to the passenger flow guidance route;
[0016] A passenger flow guidance simulation module (104) for conducting a simulation in the subway station dynamic passenger flow control system based on the passenger flow guidance route to verify and evaluate the passenger flow guidance effect under different passenger flow control scenarios.
[0017] Preferably, the architecture of the subway station dynamic passenger flow control system adopts a four-layer system structure, including: a front-end application layer, a data service layer, an application layer, and a business service layer;
[0018] Among them:
[0019] The front-end application layer is used to form four highly interactive dynamic user interfaces, namely a simulation scenario setting interface, a simulation scheme setting interface, a simulation playback interface, and a simulation result analysis interface;
[0020] The data service layer is used to establish a connection between the database and the business service layer, and store and output the basic data before simulation operation and the output data after simulation operation in the business service layer;
[0021] The application layer is used to define the evaluation index system and evaluation method of the subway station dynamic passenger flow control system;
[0022] The business service layer is used to apply the simulation scenario to the station simulation, and generate a subway station layout generation diagram based on the station basic data;
[0023] The multi-agent pedestrian logic generation diagram is constructed based on the AnyLogic platform, where the main agent is the main body of the simulation model; the multi-agent is applied to the multi-agent pedestrian logic generation diagram, and the multi-agent includes a main agent, a pedestrian agent, a queuing service agent, and an elevator service agent;
[0024] The business service layer includes a site dynamic generation module and multiple discrete events for counting different evaluation indicators. The main agent obtains the basic data before simulation operation through the data service layer, generates the subway station layout generation diagram and the multi-agent pedestrian logic generation diagram through the site dynamic generation module, and outputs the evaluation index system defined by the application layer by using the multiple discrete events for counting different evaluation indicators.
[0025] Preferably, the generation of the subway station layout generation diagram and the multi-agent pedestrian logic generation diagram through the site dynamic generation module includes: the dynamic site generation module adjusts and optimizes the physical layout and functional area division of the station in real time by inputting different passenger flow control strategies, equipment configurations, and passenger flow distribution parameters, and dynamically generates the corresponding subway station layout generation diagram and multi-agent pedestrian logic generation diagram according to the new design requirements.
[0026] Preferably, the subway station layout generation diagram is a modified version of the station logic diagram generated by adjusting the proportion of the multi-agent information configuration and the pedestrian probability distribution component on the basis of the original station structures and operation data of each place; the station structures and operation data of each subway station include CAD drawings of the entrances, concourses, and platforms of each subway station, station history and change records, and station field investigation and on-site measurement data.
[0027] Preferably, the simulation scenario setting interface is used to support the import of passenger flow control measures; the simulation scheme setting interface is used to support the import of real-time passenger flow data, passenger flow information, and train operation data; the simulation playback interface is used to support 2D and 3D displays, and to display the queuing numbers and / or crowded areas of various facilities in real time, and to display the dynamic pedestrian heat map inside the station; the simulation result analysis interface provides a chart analysis function for the whole process design, display, and evaluation of the simulation.
[0028] Preferably, the evaluation index system includes multiple quantitative indicators, and the multiple quantitative indicators include: the service level and queuing numbers of various station facilities, the area and congestion degree of station functional areas, the evacuation time of passengers reaching each entrance and exit, the number of passengers getting on and off, and the number of passengers entering and leaving the station; the evaluation methods include a variety of statistical methods and statistical algorithms.
[0029] Preferably, the basic data before the simulation operation includes station basic data, real-time passenger flow data and information, train operation data, and passenger flow control measure data; the output data after the simulation operation is the evaluation index system defined by the application layer; the passenger flow control measures include adjusting the position of the security inspection machine, the layout of iron horses or railings, the inbound and outbound directions of the turnstiles and the elevator directions within a specified time range, and increasing or decreasing the number of devices; the real-time passenger flow data includes the inbound volume, outbound volume, transfer volume, and passenger volume data of each station within a specified time range; the passenger flow information includes the personnel density of each station area, card-swipe data, the service time of pedestrians passing through each service module, and the personnel ratio of pedestrians buying tickets and undergoing security inspection; the train operation data includes the line number, train number, operation direction, arrival time, departure time, full-load rate, number of passengers getting on, and number of passengers getting off of each train within a specified time range.
[0030] Preferably, the construction of the multi-agent pedestrian logic generation diagram based on the AnyLogic platform includes:
[0031] Through the PedSource component, set the passenger flow generation location, the inbound and outbound passenger flow generation methods, and the parameters of the pedestrian agent, and further define whether to purchase tickets and enter the station through the ticket vending machine; the parameters of the pedestrian agent include: comfortable speed, initial speed, diameter, and inbound and outbound behaviors, and the inbound and outbound passenger flow generation method is to call the inject() function and generate corresponding numbers of pedestrians at different time periods in combination with the card-swipe passenger flow data and the passenger flow data of getting on and off in the database.
[0032] Through the PedEscalator agent, set all the elevator service logic diagrams required for the station, including: generating corresponding elevator components using the API interface and storing them in the Map data structure; setting the PedEscalator components into the newly created PedEscalator agent, generating corresponding elevators through code and storing them in a collection, and selecting corresponding elevator components for each PedEscalator component by setting the PedEscalator components in the PedEscalator agent to implement specific service logic; effectively connecting the process of setting all the elevator service logic diagrams required for the station with other modules through the Enter component and the Exit component to build a complete system operation process;
[0033] Through the PedService agent, set all the turnstile queuing and passing logic diagrams required for the station, including: generating corresponding turnstile service line components using the API interface and storing them in the Map data structure; selecting corresponding turnstile service lines for each PedService component by setting the PedService components in the PedService agent to implement specific service logic; effectively connecting the process of setting all the turnstile queuing and passing logic diagrams required for the station with other modules through the Enter component and the Exit component to build a complete system operation process;
[0034] Through the PedSelectOutPut component, set the selection probabilities of different devices based on the actual station environment, facility configuration, and passenger flow factors to simulate the device selection behavior of passengers in the simulation system;
[0035] Through the PedGoTo component, simulate the entire movement process of passengers from the current location to the target location based on defining a specific destination and travel route for each passenger;
[0036] Simulate the disappearance behavior of passengers during the process of entering and leaving the subway station through the PedSink component.
[0037] The third aspect of the present invention provides an electronic device, including a processor and a memory, where the memory stores multiple instructions, and the processor is used to read the instructions and execute the method as described in the first aspect.
[0038] The fourth aspect of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores multiple instructions, and the multiple instructions can be read and executed by the processor to execute the method as described in the first aspect.
[0039] The beneficial effects of the method and system of the present invention:
[0040] (1) The present invention aims at the passenger flow control problem and simulation system design of subway stations. In the past, the solutions were usually designed based on the original station CAD drawings. The static data could not be changed and there was a lack of dynamic adjustment capabilities for passenger flow control facilities in actual operation. The present invention, however, realized the station dynamic generation module through secondary development of the API interface of the AnyLogic platform and implemented the dynamic facility adjustment function. It can dynamically adjust the flow direction and behavior pattern of passenger flow according to real-time passenger flow data, train operation data and infrastructure status, improve the adaptability of the passenger flow control system, and reduce congestion and safety risks caused by sudden changes in passenger flow.
[0041] (2) The simulation system of the present invention can effectively overcome the limitation that it is difficult to accurately predict the actual situation when designing passenger flow control plans based solely on manual experience. By comprehensively evaluating the impact of different plans on the effect of personnel diversion, it can avoid the generation of unreasonable design plans, thereby significantly reducing the cost and time required for subsequent adjustments. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flowchart of a method for dynamic passenger flow control in a subway station based on the AnyLogic platform according to an embodiment of the present invention;
[0044] Figure 2 This is an architecture diagram of a dynamic passenger flow control system for a subway station based on the AnyLogic platform according to an embodiment of the present invention;
[0045] Figure 3 A framework diagram of a dynamic passenger flow control system for a subway station provided according to an embodiment of the present invention;
[0046] Figure 4 A diagram of a multi-agent framework of a business service layer provided according to an embodiment of the present invention;
[0047] Figure 5 A framework diagram of a dynamic site generation module for a subway station provided according to an embodiment of the present invention;
[0048] Figure 6 A subway station layout generation diagram for a coastal city in China provided according to an embodiment of the present invention;
[0049] Figure 7It is a partial logic generation diagram of a subway station in a certain city along the coast of China provided according to an embodiment of the present invention;
[0050] Figure 8 It is a structural diagram of an electronic device provided according to an embodiment of the present invention. Specific embodiments
[0051] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0052] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0053] In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations. Embodiment 1
[0054] See Figure 1 , this embodiment provides a subway station dynamic passenger flow control method based on the AnyLogic platform, including:
[0055] S1, set passenger flow control scenario information;
[0056] S2, generate a subway station layout generation diagram based on the passenger flow control scenario information;
[0057] S3, dynamically generate a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram, and the multi-agent pedestrian logic generation diagram corresponds to the passenger flow guidance route;
[0058] S4. Conduct simulation in the subway station dynamic passenger flow control system based on the passenger flow guidance route, and verify and evaluate the passenger flow guidance effect under different passenger flow control scenarios.
[0059] As a preferred implementation, the passenger flow control scenario information includes one or more of the following: the layout arrangement of iron horses, the specific location information of security inspection equipment, the running direction of turnstiles, the running direction of escalators, and the real-time status of various equipment and facilities; all the passenger flow control scenario information together constitutes the key parameters for passenger flow management, providing basic data support for resource allocation and passenger flow organization in the station. Embodiment 2
[0060] As Figure 2 shown, this embodiment provides a subway station dynamic passenger flow control system based on the AnyLogic platform for implementing the method of Embodiment 1, including:
[0061] The front-end application interface module 101 is used to set passenger flow control scenario information;
[0062] The dynamic station generation module 102 is used to generate a subway station layout generation diagram based on the passenger flow control scenario information;
[0063] The multi-agent pedestrian logic generation module 103 is used to dynamically generate a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram, and the multi-agent pedestrian logic generation diagram corresponds to the passenger flow guidance route;
[0064] The passenger flow guidance simulation module 104 is used to conduct simulation in the subway station dynamic passenger flow control system based on the passenger flow guidance route, and verify and evaluate the passenger flow guidance effect under different passenger flow control scenarios.
[0065] As a preferred implementation, the architecture of the subway station dynamic passenger flow control system adopts a four-layer system structure, including: the front-end application layer (FAL), the data service layer (DSL), the application layer (AL), and the business service layer (BSL);
[0066] Among them:
[0067] The front-end application layer (FAL) is used to form four highly interactive dynamic user interfaces, which are the simulation scenario setting interface, the simulation scheme setting interface, the simulation playback interface, and the simulation result analysis interface;
[0068] The data service layer (DSL) is used to establish a connection between the database and the business service layer (BSL), and store and output the basic data before simulation operation and the output data after simulation operation in the business service layer (BSL);
[0069] The Application Layer (AL) is used to define the evaluation index system and evaluation method of the subway station dynamic passenger flow control system;
[0070] The Business Service Layer (BSL) is used to apply the simulation scenario to the station simulation, and generate the subway station layout generation diagram based on the station basic data;
[0071] The multi-agent pedestrian logic generation diagram is constructed based on the AnyLogic platform, where the main agent is the main body of the simulation model; the multi-agent is applied to the multi-agent pedestrian logic generation diagram, and the multi-agent includes the main agent, pedestrian agent, queuing service agent, and elevator service agent;
[0072] The Business Service Layer (BSL) includes a site dynamic generation module and multiple discrete events for counting different evaluation indicators. The main agent obtains the basic data before the simulation runs through the Data Service Layer (DSL), generates the subway station layout generation diagram and the multi-agent pedestrian logic generation diagram through the site dynamic generation module, and outputs the evaluation index system defined by the Application Layer (AL) by using the multiple discrete events for counting different evaluation indicators.
[0073] As a preferred implementation manner, generating the subway station layout generation diagram and the multi-agent pedestrian logic generation diagram through the site dynamic generation module includes: the dynamic site generation module adjusts and optimizes the physical layout and functional area division of the station in real time by inputting different passenger flow control strategies, equipment configurations, and passenger flow distribution parameters, and dynamically generates the corresponding subway station layout generation diagram and multi-agent pedestrian logic generation diagram according to the new design requirements.
[0074] As a preferred implementation manner, the subway station layout generation diagram is a modified version of the station logic diagram generated by adjusting the proportion of the multi-agent information configuration and the pedestrian probability distribution component on the basis of the original station structure and operation data of each place; the station structure and operation data of each subway station include the CAD drawings of the entrances, concourses, and platforms of each subway station, the station history and change records, and the station on-site investigation and on-site measurement data. While retaining the original logical structure, the modified version of the station logic diagram more accurately reflects the dynamic changes and configuration requirements under the passenger flow control scenario.
[0075] In this embodiment, the architecture of the subway station dynamic passenger flow control system is realized based on the secondary development of the AnyLogic simulation platform. For the comparison of different simulation platforms, the AnyLogic simulation platform is easy to perform secondary development through the Java language, supports GUI design, can perform functional development and customize components according to research needs, and at the same time supports multi-agent simulation, system dynamics, and discrete event modeling. Therefore, the embodiment of the present invention realizes the overall framework of the subway station dynamic passenger flow control system based on the AnyLogic simulation platform.
[0076] In this embodiment, four highly interactive dynamic user interfaces cover the design functions of the simulation scenario and the simulation scheme. Specifically, the simulation scenario setting interface is used to support the import of passenger flow control measures; the simulation scheme setting interface is used to support the import of real-time passenger flow data, passenger flow information, and train operation data; the simulation playback interface is used to support 2D and 3D displays, and to display the queuing numbers and / or crowded areas of each facility in real time, and to display the dynamic pedestrian flow heat map inside the station; the simulation result analysis interface is used to provide chart analysis functions to realize the design, display, and evaluation of the whole process of the simulation.
[0077] As a preferred implementation manner, the evaluation index system includes quantitative indexes such as the service level and queuing numbers of various station facilities, the area and congestion degree of the station functional areas, the evacuation time of passengers arriving at each entrance and exit, the number of passengers getting on and off the train, and the number of passengers entering and leaving the station; the evaluation methods include a variety of statistical methods and related algorithms. By combining these evaluation methods, the simulation system can comprehensively and finely evaluate the operation status of the subway station and provide strong support for optimizing management and improvement plans.
[0078] As a preferred implementation manner, the basic data before the simulation operation includes station basic data, real-time passenger flow data and information, train operation data, and passenger flow control measure data; the output data after the simulation operation is the evaluation index system defined by the application layer (AL).
[0079] As a preferred implementation manner, the passenger flow control measures include adjusting the position of the security inspection machine, the layout of iron horses or railings, the entrance and exit directions of the turnstiles and the elevator directions within a specified time range, and increasing or decreasing the number of devices during peak hours.
[0080] As a preferred implementation manner, the real-time passenger flow data includes the inbound volume, outbound volume, transfer volume, and passenger volume data of each station within a specified time range; the passenger flow information includes the personnel density of each station area, card swiping data, the service time of pedestrians passing through each service module, and the personnel ratio of pedestrians buying tickets and undergoing security inspection.
[0081] As a preferred embodiment, the train operation data includes the line number, train number, train direction, arrival time, departure time, occupancy rate, boarding passengers and alighting passengers of each train within a specified time range.
[0082] As a preferred embodiment, constructing the multi-agent pedestrian logic generation diagram based on the AnyLogic platform includes:
[0083] Through the PedSource component, set the passenger flow generation location, the generation method of inbound and outbound passenger flow, and the parameters of the pedestrian agent, and further define whether to enter the station by purchasing tickets through the ticket vending machine; the parameters of the pedestrian agent include: comfortable speed, initial speed, diameter, and inbound and outbound behavior. The generation method of the inbound and outbound passenger flow is to call the inject() function, and combine the card-swipe passenger flow data and the alighting and boarding passenger flow data in the database to generate the corresponding number of pedestrians at different time periods (in s).
[0084] Through the PedEscalator agent, set all the elevator service logic diagrams required for the station, including: generating the corresponding elevator components using the API interface and storing them in the Map data structure; setting the PedEscalator component into the newly created PedEscalator agent, generating the corresponding elevators into the set through the code, and selecting the corresponding elevator components for each PedEscalator component in the PedEscalator agent to implement specific service logic; through the Enter component and the Exit component, effectively connect the process of setting all the elevator service logic diagrams required for the station with other modules to construct a complete system operation process.
[0085] Through the PedService agent, set all the gate queuing and passing logic diagrams required for the station, including: generating the corresponding gate service line components using the API interface and storing them in the Map data structure; selecting the corresponding gate service line for each PedService component in the PedService agent to implement specific service logic; through the Enter component and the Exit component, effectively connect the process of setting all the gate queuing and passing logic diagrams required for the station with other modules to construct a complete system operation process.
[0086] Through the PedSelectOutPut component, set the selection probabilities of different devices based on the actual station environment, facility configuration, and passenger flow factors, so as to simulate the device selection behavior of passengers in the simulation system.
[0087] Through the PedGoTo component, simulate the entire movement process of passengers from the current location to the target location based on defining a specific destination and travel route for each passenger.
[0088] Through the PedSink component, simulate the disappearance behavior of passengers during the process of entering and leaving the subway station.
[0089] As Figure 3 As shown, the present invention includes four levels, namely the front-end application layer, the data service layer, the application layer, and the business service layer. The four layers are interconnected and independent of each other. The front-end application layer sets the basic data required before the simulation and simultaneously displays the simulation results output after the simulation, which is used for simulation playback and display of simulation result charts; the data service layer realizes the storage of the basic data required before the simulation and the simulation results output after the simulation; the application layer realizes the definition of the evaluation index system and methods; the business service layer realizes multi-agent simulation and evaluation index data output.
[0090] The front-end application layer is responsible for configuring and managing various key parameters of the subway station passenger flow control scenario, specifically including the layout information of iron horses, the flow direction settings of turnstiles, the flow direction settings of escalators, the location and related configurations of security inspection machines, etc. The setting of these scenario information provides an accurate scenario model for the system, ensuring high-precision simulation and analysis during the simulation process. The front-end application layer also undertakes the display function of the 2D / 3D simulation playback and result analysis interface, through which the operation situation of the station can be viewed in real time.
[0091] In the result analysis interface, the system can display multiple key evaluation indicators in real time, including the capacity utilization rate of equipment, the passenger flow statistical data in each functional area, the overall passing capacity of the station, the passing capacity of various equipment (such as turnstiles, escalators, security inspection machines, etc.), the full load rate of trains, and service level evaluation, etc. These indicators provide a scientific and intuitive reference basis for operation management personnel, which is helpful for comprehensively evaluating the passenger flow control, equipment use efficiency, and service quality of the station.
[0092] The data service layer is mainly responsible for the centralized management and storage of all data in the system, including various key parameters of the passenger flow control scenario set by the front-end application layer and the simulation operation statistical results output by the business service layer. The data service layer plays a key role in data transmission and coordination in this process. These simulation operation results constitute the multiple key evaluation index data displayed in the result analysis interface of the front-end application layer, ensuring the accurate calculation and real-time display of various indicators during the operation of the system.
[0093] As Figure 4As shown in the figure, the business service layer framework mainly includes a main agent, a pedestrian agent, a queuing service agent, and an elevator service agent. The business service layer is mainly responsible for simulating the walking process of pedestrians in the subway station and outputting various evaluation index data. By initializing the simulation parameters in the main agent, controlling the interaction between agents, the simulation of the walking process of pedestrians in the subway station is realized. The main agent obtains relevant scheme basic data based on the data service layer, including the station floor plan, passenger flow control scheme data, passenger flow data, and train operation data. Based on the AnyLogic platform, a station layout and logic diagram are constructed, and combined with the relevant scheme basic data, a modified version of the station layout diagram and logic diagram is dynamically generated through the dynamic site generation module, so as to automatically adjust the relevant passenger flow direction and behavior logic.
[0094] As Figure 5 shown, a dynamic site generation module is designed based on the AnyLogic platform, which can dynamically generate a dynamic simulation module of the site layout and logical relationship according to the real-time passenger flow control scheme data.
[0095] Specifically, the module construction includes the following steps: First, carry out the collection work of station operation data; after inputting the collected data into the AnyLogic platform, data processing and modeling are carried out; finally, the agent information is configured to complete the generation of the new logic diagram. The core function of this module is to adjust and optimize the physical layout and functional area division of the station in real time after inputting different passenger flow control strategies, equipment configurations, passenger flow distributions and other parameters, and generate the corresponding station layout diagram and logic diagram according to the new design requirements. Through this module, the flexible and real-time update of the station's spatial layout and equipment configuration can be realized, and then the station operation status under different scenarios can be simulated. This not only improves the adaptability of station design, but also effectively supports the optimization work of the station. The module will integrate various data inputs, such as the arrangement of barricades or railings, the arrangement of security inspection channels, the maintenance status of facilities, the adjustment of the position and direction of facilities, etc., and carry out data processing and modeling based on these data, configure the agent information, and output the updated station layout diagram.
[0096] The above-mentioned station operation data collection work includes the following steps: First, obtain the original element data of the station, and the original element data includes information such as levels, walls, barricades, functional areas, service lines, pedestrian flow statistics components, elevators, target lines, paths, heat maps, and rectangular nodes; subsequently, obtain the database data, and the database data includes relevant data parameters such as different passenger flow control strategies, equipment configurations, and passenger flow distributions.
[0097] The data processing and modeling include the following steps: First, based on the AnyLogic platform, secondary development is carried out through the API interface to generate a new hierarchical module; then, based on the collected station data, station elements are generated, and the station elements include levels, walls, barricades, functional areas, service lines, pedestrian flow statistics components, elevators, target lines, paths, heat maps, and rectangular nodes; finally, the generated station elements are added to the new hierarchical module, and the new hierarchical module is encapsulated.
[0098] The configuration of agent information includes the following steps: configuring queuing service agents, elevator service agents, and pedestrian agents. When configuring queuing service agents, the service lines required for queuing at each facility need to be set; when configuring elevator service agents, the elevator components required for each elevator service need to be set; when configuring pedestrian agents, information such as the gender ratio, age ratio, speed, and behavior classification of pedestrians needs to be set.
[0099] As Figure 6 shown, after constructing the basic station layout diagram of the station by combining the structures and operation data of each subway station, a site layout generation diagram is dynamically generated based on the dynamic site generation module. This layout generation diagram visually presents the internal spatial distribution and functional division of the station in a graphical form, including detailed structural information of core areas such as concourses, platforms, entrances and exits, fare collection areas and non-fare collection areas, security inspection areas, gate arrangements, escalators, and vertical transportation facilities. Through this site layout generation diagram, the logical relationship between the physical structure and operation function of the station can be comprehensively displayed, providing an accurate basic basis for subsequent logical diagram modeling generation, passenger flow analysis, equipment layout optimization, and emergency plan formulation.
[0100] As Figure 7 shown, in order to visually display the overall function and working process of the subway station, a set of logical diagrams are constructed according to actual needs, and a logic generation diagram is dynamically generated before the simulation starts. The generated logical diagram clearly depicts the mutual relationship and cooperation mode between each system and component in the station in a graphical way, and comprehensively presents the positioning and role of each functional module in the station operation. This logic generation diagram not only visually displays the layout and main facilities of the subway station, but also covers information in multiple aspects such as passenger flow, equipment scheduling, and safety management. Through this diagram, users can comprehensively understand the operation mechanism of each system inside the station and their cooperation relationship. Specifically, each module in the diagram represents key facilities or service nodes in the station, such as turnstiles for entering and leaving the station, escalators, security inspection equipment, and entrances and exits; the connection lines between the modules reflect their interaction methods and information flow paths. The generated logical diagram provides an intuitive and systematic basic reference for subsequent simulation analysis, optimization design, and system integration, helping to comprehensively improve the operation efficiency and service level of the station.
[0101] Run simulation experiments on the AnyLogic platform. Through the dynamic site generation module, combined with the passenger flow control plan data, dynamically generate the site layout generation diagram and the logic generation diagram. At the same time, use the evaluation index system and evaluation method at the application layer to output simulation data to the data service layer, and then apply it to the front-end application layer to achieve an intuitive display of the generated site layout generation diagram and the corresponding passenger walking logic, and combine the simulation results of different passenger flow control plans to compare and analyze the operation status of the station and the design optimization effect.
[0102] The subway station dynamic passenger flow control system and method are applied to the following three aspects: First, the optimization of station equipment configuration and layout. Through dynamic simulation and passenger flow analysis, the system can optimize the equipment layout and facility configuration inside the station. Different configuration schemes can be evaluated through simulation to obtain the optimal layout scheme.
[0103] Second, the optimization of subway station passenger flow control. The system can help subway stations simulate and evaluate the effects of different passenger flow control plans during the design stage to ensure that the stations can cope with the passenger flow pressure during peak hours. Third, digital station management and decision support. The system provides a decision support platform for subway operation companies based on simulation and data analysis.
[0104] The above preferred embodiments provide a subway station dynamic passenger flow control system and method based on the AnyLogic platform. The subway station dynamic passenger flow control system is realized through secondary development based on the AnyLogic simulation platform. The overall framework of the simulation system adopts a four-layer system structure, including a front-end application layer (FAL), a data service layer (DSL), an application layer (AL), and a business service layer (BSL). The front-end application layer realizes four highly interactive dynamic user interfaces, namely a simulation scenario setting interface, a simulation scheme setting interface, a simulation playback interface, and a simulation result analysis interface. The data service layer is responsible for the connection between the database and the business service layer, mainly storing and outputting the basic data before simulation and the output data after simulation in the business service layer. The application layer is responsible for defining the evaluation index system and evaluation method of the subway station dynamic passenger flow control system. The business service layer is responsible for applying the simulation scenario to the station simulation, applying multi-agent to the pedestrian logic diagram, dynamically generating a multi-agent passenger walking logic diagram based on the AnyLogic platform, obtaining the basic data before simulation operation through the data service layer by the main agent, dynamically generating a station layout diagram and a logic diagram based on the station basic data, and using multiple discrete events to output the evaluation index data defined by the application layer. With the support of the dynamic passenger flow control system, the traditional method of relying on the real scenario for regulation experiments is innovated, avoiding high cost consumption, and realizing the experimental verification of the passenger flow control scheme at the design stage through this system, so as to ensure the feasibility and effectiveness of the scheme. The present invention comprehensively considers factors such as development cost, technical feasibility, and implementation effect, designs a dynamic passenger flow control method, proposes a subway station dynamic passenger flow control system based on the AnyLogic platform, simulates different passenger flow control schemes in combination with the station safety management requirements, realizes the evaluation of the influence of different passenger flow control schemes on the personnel evacuation effect, so as to discover potential problems in advance at the design stage and reduce the cost and risk of later adjustment.
[0105] The present invention also provides a memory storing multiple instructions for implementing the method as in Embodiment 1.
[0106] As Figure 8 shown, the present invention also provides an electronic device, including a processor 301 and a memory 302 connected to the processor 301. The memory 302 stores multiple instructions that can be loaded and executed by the processor, enabling the processor to execute the method as in Embodiment 1.
[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than 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 described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dynamic passenger flow control method for subway stations based on the AnyLogic platform, characterized in that, Including: S1, set passenger flow control scenario information; S2, generate a subway station layout generation diagram based on the passenger flow control scenario information; S3, dynamically generate a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram, and the multi-agent pedestrian logic generation diagram corresponds to the passenger flow diversion route; S4, carry out simulation in the subway station dynamic passenger flow control system based on the passenger flow diversion route to verify and evaluate the passenger flow diversion effect under different passenger flow control scenarios; The passenger flow control scenario information includes one or more of the following: the layout arrangement of barricades, the specific location information of security inspection equipment, the running direction of turnstiles, the running direction of escalators, and the real-time status of various equipment and facilities; all passenger flow control scenario information together constitutes the key parameters of passenger flow management and provides basic data support for resource allocation and passenger flow organization in the station; The dynamically generating a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram includes: Set the passenger flow generation location, the generation method of inbound and outbound passenger flow, and the parameters of the pedestrian agent, and further define whether to purchase a ticket to enter the station through the ticket vending machine; the parameters of the pedestrian agent include: comfortable speed, initial speed, diameter, and inbound and outbound behavior, and the generation method of inbound and outbound passenger flow is to call the inject() function and generate corresponding numbers of pedestrians at different times in combination with the swiping card passenger flow data and the getting on and off passenger flow data in the database; Set all elevator service logic diagrams required for the station, including: generate corresponding elevator components using the API interface and store them in the Map data structure; set the PedEscalator component into the newly created PedEscalator agent, generate the corresponding elevator and store it in the set through code, and select the corresponding elevator component for each PedEscalator component by setting the PedEscalator component in the PedEscalator agent to implement specific service logic; connect the process of setting all elevator service logic diagrams required for the station with other modules effectively through the Enter component and the Exit component to construct a complete system operation process; Set all turnstile queuing and passing logic diagrams required for the station, including: generate corresponding turnstile service line components using the API interface and store them in the Map data structure; select the corresponding turnstile service line for each PedService component by setting the PedService component in the PedService agent to implement specific service logic; connect the process of setting all turnstile queuing and passing logic diagrams required for the station with other modules effectively through the Enter component and the Exit component to construct a complete system operation process; Set the selection probability of different devices based on the actual station environment, facility configuration, and passenger flow factors to simulate the device selection behavior of passengers in the simulation system; Simulate the entire movement process of passengers from the current position to the target position based on defining a specific destination and travel route for each passenger; Simulate the disappearing behavior of passengers during the process of entering and leaving the subway station.
2. A subway station dynamic passenger flow control system based on the AnyLogic platform for implementing the method described in claim 1, characterized in that, It includes: The front-end application interface module (101) is used to set the passenger flow control scenario information; The dynamic station generation module (102) is used to generate a subway station layout generation diagram based on the passenger flow control scenario information; The multi-agent pedestrian logic generation module (103) is used to dynamically generate a multi-agent pedestrian logic generation diagram based on the subway station layout generation diagram, and the multi-agent pedestrian logic generation diagram corresponds to the passenger flow guidance route; The passenger flow guidance simulation module (104) is used to carry out simulation in the subway station dynamic passenger flow control system based on the passenger flow guidance route, and verify and evaluate the passenger flow guidance effect under different passenger flow control scenarios.
3. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 2, wherein The architecture of the subway station dynamic passenger flow control system adopts a four-layer system structure, including: the front-end application layer, the data service layer, the application layer, and the business service layer; Among them: The front-end application layer is used to form four highly interactive dynamic user interfaces, and the four highly interactive dynamic user interfaces are respectively a simulation scenario setting interface, a simulation scheme setting interface, a simulation playback interface, and a simulation result analysis interface; The data service layer is used to establish a connection between the database and the business service layer, and store and output the basic data before simulation operation and the output data after simulation operation in the business service layer; The application layer is used to define the evaluation index system and evaluation method of the subway station dynamic passenger flow control system; The business service layer is used to apply the simulation scenario to the station simulation, and generate a subway station layout generation diagram based on the station basic data; The multi-agent pedestrian logic generation diagram is constructed based on the AnyLogic platform, where the main agent is the main body of the simulation model; the multi-agent is applied to the multi-agent pedestrian logic generation diagram, and the multi-agent includes the main agent, the pedestrian agent, the queuing service agent, and the elevator service agent; The business service layer contains a site dynamic generation module and multiple discrete events for counting different evaluation indicators. The main agent obtains the basic data before simulation operation through the data service layer, generates the subway station layout generation diagram and the multi-agent pedestrian logic generation diagram through the site dynamic generation module, and outputs the evaluation index system defined by the application layer by using the multiple discrete events for counting different evaluation indicators.
4. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 3, characterized in that, The generation of the subway station layout generation diagram and the multi-agent pedestrian logic generation diagram through the site dynamic generation module includes: the dynamic station generation module adjusts and optimizes the physical layout and functional area division of the station in real time by inputting different passenger flow control strategies, equipment configurations, and passenger flow distribution parameters, and dynamically generates the corresponding subway station layout generation diagram and multi-agent pedestrian logic generation diagram according to the new design requirements.
5. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 4, wherein, The subway station layout generation diagram is a modified version of the station logic diagram generated by adjusting the proportion of multi-agent information configuration and pedestrian probability distribution components on the basis of the original station structures and operation data of each place, combined with the passenger flow control scenario information; the station structures and operation data of each subway station include CAD drawings of the entrances, concourses, and platform levels of each subway station, station history and change records, and station field investigation and on-site measurement data.
6. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 5, characterized in that The simulation scenario setting interface is used to support the import of passenger flow control measures; the simulation plan setting interface is used to support the import of real-time passenger flow data, passenger flow information, and train operation data; the simulation playback interface is used to support 2D and 3D displays, and to display the queuing numbers and / or crowded areas of each facility in real time, and to display the dynamic pedestrian heat map inside the station; the simulation result analysis interface provides a chart analysis function for the whole process design, display, and evaluation of the simulation.
7. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 6, characterized in that, The evaluation index system includes multiple quantitative indicators, and the multiple quantitative indicators include: the service level and queuing numbers of various station facilities, the area and congestion degree of station functional areas, the evacuation time of passengers arriving at each entrance and exit, the number of passengers getting on and off, and the number of passengers entering and leaving the station; the evaluation methods include statistical methods and statistical algorithms.
8. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 7, wherein The basic data before the simulation operation includes station basic data, real-time passenger flow data and information, train operation data, and passenger flow control measure data; the output data after the simulation operation is the evaluation index system defined by the application layer; the passenger flow control measures include adjusting the position of the security inspection machine, the layout of iron horses or railings, the entrance and exit directions of the turnstiles and the elevator directions within a specified time range, and increasing or decreasing the number of devices; the real-time passenger flow data includes the inbound volume, outbound volume, transfer volume, and passenger volume data of each station within a specified time range; the passenger flow information includes the personnel density of each station area, card swiping data, the service time of pedestrians passing through each service module, and the personnel ratio of pedestrians buying tickets and undergoing security inspection; the train operation data includes the line number, train number, running direction, arrival time, departure time, full load rate, number of passengers getting on, and number of passengers getting off of each train within a specified time range.
9. The subway station dynamic passenger flow control system based on the AnyLogic platform according to claim 8, characterized in that, The construction of the multi-agent pedestrian logic generation diagram based on the AnyLogic platform includes: Through the PedSource component, set the passenger flow generation location, the inbound and outbound passenger flow generation method, and the parameters of the pedestrian agent, and further define whether to enter the station by purchasing tickets through the ticket vending machine; the parameters of the pedestrian agent include: comfortable speed, initial speed, diameter, and inbound and outbound behavior, and the inbound and outbound passenger flow generation method is to call the inject() function and generate the corresponding number of pedestrians at different time periods in combination with the card swiping passenger flow data and the passenger flow data of getting on and off the train in the database. Through the PedEscalator agent, set all the elevator service logic diagrams required for the station, including: generating corresponding elevator components using the API interface and storing them in the Map data structure; setting the PedEscalator components into the newly created PedEscalator agent, generating the corresponding elevators through code and storing them in a collection, and by setting the PedEscalator components in the PedEscalator agent, selecting the corresponding elevator components for each PedEscalator component to implement specific service logic; through the Enter component and the Exit component, effectively connect the process of setting all the elevator service logic diagrams required for the station with other modules, thereby constructing a complete system operation process; Through the PedService agent, set all the turnstile queuing and passing logic diagrams required for the station, including: generating corresponding turnstile service line components using the API interface and storing them in the Map data structure; by setting the PedService components in the PedService agent, selecting the corresponding turnstile service lines for each PedService component to implement specific service logic; through the Enter component and the Exit component, effectively connect the process of setting all the turnstile queuing and passing logic diagrams required for the station with other modules, thereby constructing a complete system operation process; Through the PedSelectOutPut component, set the selection probabilities of different devices based on actual station environment, facility configuration, and passenger flow factors, so as to simulate the device selection behavior of passengers in the simulation system; Through the PedGoTo component, simulate the entire movement process of passengers from the current position to the target position based on defining a specific destination and travel route for each passenger; Simulate the disappearance behavior of passengers during the process of entering and leaving the subway station through the PedSink component.
Citation Information
Patent Citations
Multi-agent microscopic simulation modeling method for eco-type passenger and freight roll / roll wharf system
CN109472522A
Full-road-network passenger flow direction statistics and passenger flow control simulation method and system
CN112101685A