A traction power supply and electricity integration simulation method and system
By establishing an integrated simulation model library for urban rail transit traction power supply and consumption, and by employing distributed parallel simulation software and graphical modeling, the problem of the complexity of coupling simulation between urban rail transit power supply system and vehicle was solved, achieving efficient and accurate system simulation and optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2026-03-17
AI Technical Summary
Existing technologies cannot effectively simulate the coupling between urban rail transit traction power supply systems and vehicles, resulting in low simulation accuracy, complex operation, and low efficiency, which cannot meet the needs of system coupling analysis.
Develop a server-based distributed parallel simulation software, establish a traction power supply-consumption integrated simulation model library, realize joint simulation between traction power supply system and vehicle through graphical modeling and core-based computation, adopt distributed algorithms for model segmentation and storage, and support multi-user distributed modeling.
It achieves efficient and accurate simulation of the power supply and consumption system of urban rail transit, simplifies modeling operations, improves simulation efficiency and model size, supports multi-person collaborative modeling, and optimizes power supply and energy management.
Smart Images

Figure CN115186321B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of urban rail transit simulation technology, and in particular to an integrated simulation method and system for traction power supply and consumption. Background Technology
[0002] In the early stages, the traction vehicles and power supply systems of urban rail transit in China were designed independently. However, in actual operation, the vehicles and the traction power supply system are highly coupled and mutually influential electrical systems. During system operation, electrical energy is unidirectionally transferred from the power grid to the vehicles. The vehicles consume electrical energy during traction, and the electrical energy generated during electric braking is consumed by the braking resistors. With the development of energy conservation and environmental protection requirements, energy storage devices, energy feedback devices, and bidirectional converters that simultaneously provide power supply and energy feedback functions have been added to the system. The coupling characteristics and energy flow of the system have become increasingly complex. The coupling characteristics of the system need to be considered during the system design, commissioning, and operation phases to improve system matching and operational performance. Experimental studies of the system coupling characteristics have high requirements for experimental conditions, limited experimental operating conditions, and are prone to damaging equipment. Therefore, theoretical analysis and simulation methods are usually used for research.
[0003] Currently, dedicated simulation software exists for both power supply systems and vehicles, but it cannot meet the needs of system coupling analysis. While some highly flexible general-purpose software such as MATLAB and SCILAB can be used to model and simulate various systems, they require advanced modeling skills from the users, making them inconvenient for design, development, and testing engineers.
[0004] To simplify modeling, common methods include developing dedicated traction power supply simulation platforms and employing graphical modeling and design methods. Existing comprehensive simulation software for traction power supply steady-state calculations abroad mainly includes SINANET, RAILPOWER, NETOMAC, and OpenPowerNET. Domestically, various rail transit-related units and universities have also developed a series of vehicle-to-grid simulation software. For traction network steady-state calculations, DCTPS simulation software is commonly used. Some universities, considering the high-power electrical components of the entire power supply network, have conducted detailed simulation modeling of AC / DC power supply systems and built subway AC / DC power supply simulation platforms. However, these platforms primarily focus on traction network power quality analysis, vehicle timetable design, and return current cabinet design, with the vehicles simply equated as power sources.
[0005] Fundamental research and simulation of vehicle traction systems currently mainly include traction calculation and control algorithm development. The Dynamis traction calculation software developed by the German rail transport management consulting firm RMCon can achieve high-precision traction calculations for rail transit trains. Domestic universities and related institutions have also developed train traction calculation simulation software. The development and verification of control algorithms currently mainly rely on the MATLAB simulation platform and hardware-in-the-loop simulation platforms developed based on the MATLAB environment. However, the traction network of the above simulation platforms is equivalent to a constant DC voltage, which affects the accuracy of the simulation results.
[0006] Graphical modeling is the use of graphical means to establish mathematical or application models. It uses graphical operations to define data, algorithms, and the relationships between these elements. It uses the intuitive expression and convenient operation of graphical methods to establish mathematical algorithms for simulation calculations and data model descriptions for professional calculations and analysis.
[0007] Currently, due to the complexity and precision required for graphical modeling operations, graphical modeling is widely used in standalone desktop software. However, the widely used browser / server architecture cannot perform precise graphical operations or accurately control the position of graphical objects due to browser limitations. Therefore, to analyze the coupling relationship between the traction power supply system and the vehicles, conduct multi-system, full-line, multi-vehicle vehicle-network coupling simulations, study fault mechanisms such as vehicle-network short circuits, analyze power supply and consumption operation energy consumption, and optimize the capacity configuration and control strategies of the power supply, vehicles, and regenerative braking energy absorption system, this invention, based on existing scientific computing software, establishes an integrated simulation model library for urban rail traction power supply and consumption. This library includes main substations, traction step-down hybrid substations, switching stations, step-down substations, traction power supply networks, trains and supporting vehicle control models, multi-train operation models, bidirectional converters, energy feeders, energy storage devices, and equivalent train models. Based on each unit model as the foundation model library, a dedicated simulation platform has been developed for studying the characteristics of the aforementioned coupled systems. Summary of the Invention
[0008] This application provides a simulation method and system for integrated traction power supply and consumption. It designs a distributed parallel simulation software based on a server architecture that considers the coupling of power supply and consumption in urban rail transit. This solves the problems of limited hardware resources preventing the parallel and rapid solution of large-scale urban rail power supply and consumption simulation models through application software, the inability to perform accurate graphical operations, the complexity of the simulation operation process, and the low simulation efficiency.
[0009] This invention provides a simulation method, comprising:
[0010] Model library construction steps: Construct an integrated simulation model library for traction power supply and power consumption;
[0011] Steps for acquiring integrated simulation data: Based on the target simulation line information, call the integrated simulation model library of traction power supply and power consumption to configure the traction power supply and power consumption simulation model, the signal control model and the train operation simulation model, obtain the model description data, and obtain the integrated simulation data of the model through the event notification mechanism based on the model description data and the model operation data.
[0012] Data storage result acquisition steps: Edit the integrated graph and model data to obtain an execution file; based on the execution file, obtain a distributed execution plan through a distributed algorithm; based on the distributed execution plan, perform distributed storage on the second integrated graph and model data through the coordination and control part to obtain the storage result;
[0013] Joint simulation steps: Obtain the position information, speed information, and current information or power information output by the traction power supply-consumption simulation model and the train operation simulation model from the stored results. The traction power supply-consumption simulation model obtains the grid-side voltage information based on the position information, speed information, and current information or power information, and transmits the grid-side voltage information to the train operation simulation model to obtain simulation results.
[0014] The above simulation method, wherein the step of acquiring integrated image and model data includes:
[0015] Based on the target simulation line information, the traction power supply-consumption integrated simulation model library is called, the traction power supply-consumption simulation model and the train operation simulation model are configured, the graphical representation attributes are set, and the traction power supply-consumption integrated simulation model library is edited to obtain the model description data;
[0016] Based on the model description data, the model runtime data is obtained through the event notification mechanism.
[0017] The present invention also provides a simulation system, wherein the simulation system is applicable to the simulation method described above, the simulation system comprising:
[0018] Model library construction unit: Constructing an integrated simulation model library for traction power supply and power consumption;
[0019] Graphical modeling unit: It calls the integrated traction power supply and power consumption simulation model library to configure the traction power supply and power consumption simulation model, train operation simulation model and signal control model, obtains model description data, obtains the first integrated graphic model data through the event notification mechanism based on the model description data and model operation data, edits the integrated graphic model data to obtain an execution file, obtains a distributed execution plan through a distributed algorithm based on the execution file, and obtains the storage result by distributing the second integrated graphic model data through the coordination control part according to the distributed execution plan.
[0020] The co-simulation unit obtains the position information, speed information, and current information or power information output by the traction power supply-consumption simulation model and the train operation simulation model based on the stored results. The traction power supply-consumption simulation model obtains the grid-side voltage information based on the position information, speed information, and current information or power information, and transmits the grid-side voltage information to the train operation simulation model to obtain simulation results.
[0021] The aforementioned simulation system, wherein the integrated traction power supply and power consumption simulation model library includes:
[0022] The signal-controlled vehicle model;
[0023] The train operation simulation model is built based on the target simulation line information and measured train operation data.
[0024] The traction power supply-consumption simulation model includes a traction power supply system model and an equivalent model of the trains in the section.
[0025] The aforementioned simulation system, wherein the co-simulation unit comprises:
[0026] The server and modeling unit, each server includes a graphics management unit, which includes a logical topology layer, a graphics representation layer, a command processing layer, a network communication layer, and a graphics modeling layer.
[0027] In the aforementioned simulation system, the modeling unit includes:
[0028] In the modeling area, based on the target simulation line information, the integrated traction power supply and power consumption simulation model library is called, the traction power supply and power consumption simulation model, the train operation simulation model, and the signal control model are configured, the graphical representation attributes are set, the integrated traction power supply and power consumption simulation model library is edited, and the model description data is obtained.
[0029] In the runtime area, the model runtime data is obtained through the event notification mechanism based on the model description data.
[0030] In the aforementioned simulation system, the modeling unit includes:
[0031] The first integrated model data is edited to obtain the second integrated model data. After the second integrated model data is processed by the model processing tool, the execution files corresponding to the traction power supply-electricity consumption simulation model, the train operation simulation model and the signal control model are obtained.
[0032] In the aforementioned simulation system, the modeling unit includes:
[0033] After editing or loading the executable file, the distributed execution plan is obtained based on the executable file using the distributed algorithm.
[0034] In the aforementioned simulation system, the modeling unit includes:
[0035] The graph model library is whereby, after the distributed execution plan performs the modeling task, it stores the second integrated graph model data in the graph model library.
[0036] The aforementioned simulation system, wherein the co-simulation unit comprises:
[0037] The signal control model simulates the train dispatching and control unit based on the target simulated line information and the position and speed information output by the train operation simulation model, and outputs control signals.
[0038] After receiving the control signal, the train operation simulation model simulates the current or power of the vehicle during operation based on the grid-side voltage information output by the traction power supply-consumption simulation model, and outputs the position information, speed information, and current information or power information.
[0039] Based on the target simulation line information, the target simulation line is divided into multiple line sections. Based on the position information and current information or power information output by the train operation simulation model, the equivalent model of the train is occupied in the traction power supply-consumption simulation model. After the vehicle side is equivalent in the form of a controlled current source connected in series and parallel with a braking resistor and a filter inductor, the traction power supply-consumption simulation model outputs the grid-side voltage information.
[0040] Compared to related technologies, this invention proposes an integrated simulation method and system for traction power supply and consumption. By establishing a complete urban rail traction power supply model, it achieves a full simulation of the actual operating conditions of the traction power supply system. Through train model occupancy and grid voltage feedback, it realizes joint simulation of the train operation model and the grid-side model, enabling a better exploration of the characteristics of the vehicle-grid coupling system. By simulating train dispatching and control units through a signal control model, and combining it with the train operation simulation model, it provides support for train timetable design and optimization. The use of core-based computation and code generation algorithms for model segmentation, compilation, and simulation improves model solution efficiency and increases the scale of the achievable model. Based on core requirements, it implements... This invention achieves mutual decoupling of the line impedance on the power supply side; based on its own model, it utilizes a drag-and-drop interface to facilitate the simulation of complex models using a drag-and-drop method, based on the integrated traction power supply and power consumption simulation model library required for functional encapsulation graphical modeling; by providing functions such as energy feed, bidirectional converter, and short-circuit point simulation, this invention supports parameter settings for each system; the modeling software platform adopts a functional layered design, with each part of the function decoupled and independent, improving the ability for extended development; it employs a distributed logic algorithm, distributing graphics and model objects on different servers, but logically forming a whole, thus supporting a multi-user distributed modeling mechanism, enabling its application in multi-user collaborative modeling.
[0041] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description
[0042] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0043] Figure 1 This is a flowchart of the integrated simulation method for traction power supply and power consumption according to an embodiment of this application;
[0044] Figure 2 This is a framework diagram of the traction power supply-electricity consumption integrated simulation model library according to an embodiment of this application;
[0045] Figure 3 This is an energy storage system architecture diagram according to an embodiment of this application;
[0046] Figure 4 This is a diagram of an energy feeder or bidirectional converter power supply system architecture according to an embodiment of this application;
[0047] Figure 5 This is a schematic diagram of the software logic structure according to an embodiment of this application;
[0048] Figure 6This is a schematic diagram of a distributed structure according to an embodiment of this application;
[0049] Figure 7 This is a flowchart of the modeling and execution process according to an embodiment of this application;
[0050] Figure 8 This is a flowchart of the distributed operation execution process according to an embodiment of this application;
[0051] Figure 9 This is a schematic diagram of an event notification mechanism according to an embodiment of this application;
[0052] Figure 10 This is a schematic diagram of a model update according to an embodiment of this application;
[0053] Figure 11 This is a schematic diagram of the integrated simulation system for traction power supply and consumption of the present invention.
[0054] The attached figures are labeled as follows:
[0055] Model library construction unit: 51;
[0056] Graphical modeling units: 52;
[0057] Co-simulation unit: 53. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.
[0059] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any creative effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the disclosure of this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of this application.
[0060] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0061] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.
[0062] This invention provides an integrated simulation method and system for traction power supply and consumption. It establishes an integrated simulation model library for urban rail traction power supply and consumption, encompassing main substations, traction step-down hybrid substations, switching stations, step-down substations, traction power supply networks, trains and supporting vehicle control models, multi-train operation simulation models, bidirectional converters, energy feeder devices, energy storage devices, and equivalent train models. A dedicated simulation platform for studying the characteristics of the aforementioned coupled systems has also been developed. To simplify the modeling process, this invention employs a graphical modeling method on the simulation platform, facilitating use by designers, developers, and testers. Furthermore, this invention utilizes a core-distribution computing and code generation algorithm to improve simulation efficiency, thereby enabling the expansion of the simulation model's scale.
[0063] The present invention will now be described with reference to specific embodiments.
[0064] Example 1
[0065] This embodiment also provides an integrated simulation method for traction power supply and consumption. Please refer to... Figure 1 , Figure 1 This is a flowchart of the integrated simulation method for traction power supply and consumption according to an embodiment of this application. Figure 1 As shown, the simulation method includes:
[0066] Model library construction step S1: Construct a traction power supply-electricity consumption integrated simulation model library;
[0067] Step S2 for acquiring integrated model and graphic data: Based on the target simulation line information, call the integrated traction power supply and power consumption simulation model library to configure the traction power supply and power consumption simulation model, the signal control model and the train operation simulation model, obtain the model description data, and obtain the integrated model and graphic data through the event notification mechanism based on the model description data and the model operation data.
[0068] Data storage result acquisition step S3: Edit the integrated graph and model data to obtain an execution file; based on the execution file, obtain a distributed execution plan through a distributed algorithm; based on the distributed execution plan, perform distributed storage on the second integrated graph and model data through the coordination and control part to obtain the storage result;
[0069] Joint simulation step S4: Obtain the position information, speed information, and current information or power information output by the traction power supply-consumption simulation model and the train operation simulation model from the stored results. Obtain the grid-side voltage information from the position information, speed information, and current information or power information obtained from the traction power supply-consumption simulation model, and transmit the grid-side voltage information to the train operation simulation model to obtain the simulation results.
[0070] In this embodiment, the integrated image and model data acquisition step S2 includes:
[0071] Based on the target simulation line information, the traction power supply-consumption integrated simulation model library is called, the traction power supply-consumption simulation model and the train operation simulation model are configured, the graphical representation attributes are set, and the traction power supply-consumption integrated simulation model library is edited to obtain the model description data;
[0072] Based on the model description data, the model runtime data is obtained through the event notification mechanism.
[0073] Example 2
[0074] This embodiment also provides an integrated simulation system for traction power supply and consumption. Figure 2 This is a framework diagram of the traction power supply-electricity consumption integrated simulation model library according to an embodiment of this application; Figure 3 This is an energy storage system architecture diagram according to an embodiment of this application; Figure 4This is a diagram of an energy feeder or bidirectional converter system architecture according to an embodiment of this application; Figure 5 This is a schematic diagram of the software logic structure according to an embodiment of this application; Figure 6 This is a schematic diagram of a distributed structure according to an embodiment of this application; Figure 7 This is a flowchart of the modeling and execution process according to an embodiment of this application; Figure 8 This is a flowchart of the distributed operation execution process according to an embodiment of this application; Figure 9 This is a schematic diagram of an event notification mechanism according to an embodiment of this application; Figure 10 This is a schematic diagram of a model update according to an embodiment of this application; Figure 11 This is a schematic diagram of the integrated traction power supply and consumption simulation system of the present invention. Figures 1 to 11 As shown, the simulation system of the invention is applicable to the above-described simulation method. The simulation system includes:
[0075] Model Library Construction Unit 51: Constructing an integrated simulation model library for traction power supply and power consumption;
[0076] Graphical modeling unit 52: calls the traction power supply-consumption integrated simulation model library to configure the traction power supply-consumption simulation model, train operation simulation model and signal control model, obtains model description data, obtains the first integrated graphic model data through the event notification mechanism based on the model description data and model operation data, edits the integrated graphic model data to obtain an execution file, obtains a distributed execution plan through a distributed algorithm based on the execution file, and obtains the storage result by distributing the second integrated graphic model data through the coordination control part according to the distributed execution plan.
[0077] Joint simulation unit 53: Based on the stored results, it obtains the position information, speed information, and current information or power information output by the traction power supply-consumption simulation model and the train operation simulation model. The position information, speed information, and current information or power information obtained by the traction power supply-consumption simulation model are used to obtain grid-side voltage information, and the grid-side voltage information is transmitted to the train operation simulation model to obtain simulation results.
[0078] In this embodiment, the integrated traction power supply and power consumption simulation model library includes:
[0079] Signal-controlled vehicle model;
[0080] The train operation simulation model is constructed based on the target simulation line information and measured train operation data.
[0081] Traction power supply and power consumption simulation model, including traction power supply system model and equivalent model of inter-section train.
[0082] In practice, the train operation simulation model includes a train traction force simulation module, a basic resistance simulation module, a track condition simulation module, a vehicle braking force simulation module, a vehicle information simulation module, and a coupler and buffer force simulation module.
[0083] The traction power supply-electricity consumption simulation model includes a traction power supply system model and a train equivalent model, both of which are electrical simulation models.
[0084] The traction power supply system model is built based on the actual network topology, including models of transformers, rectifier units, traction networks, etc., to simulate or model the actual traction power supply system. Energy storage, energy feeder and bidirectional converter units can be configured as needed.
[0085] The energy storage system, energy feeder system, and bidirectional converter system are all configuration components of the traction substation. They can be configured according to the actual line conditions. The traction power supply system includes models of the main substation, traction substation, and grid-side line impedance. Combined with the train operation simulation model, it can realize vehicle operation simulation. In the dynamic simulation, the grid-side line impedance is dynamically adjusted according to the train position information output by the train operation simulation model. The impedance model is simulated dynamically by using a series controlled voltage source. The traction power supply-consumption simulation model dynamically simulates the power demand of the line train operation according to the corresponding power or current information, realizes the reproduction of the line grid voltage or grid current, and returns the corresponding grid voltage data to the train operation simulation model. The traction power supply system is a strongly coupled serial system, which requires decoupling of the power supply system so that the models of each power supply section and substation can realize the core operation. Therefore, a small circuit decoupling method is adopted to realize the decoupling of the connection of each traction network section.
[0086] The energy storage and energy feed system can absorb the returned energy during regenerative braking. The energy storage system can be modeled based on various energy storage elements. The device is connected in parallel with the DC output side of the rectifier unit. The voltage sensor monitors the change of the DC grid voltage in real time and controls the charging and discharging of the energy storage elements according to the preset charging and discharging threshold of the energy storage system. The energy feed system operates in parallel with the rectifier unit. The device consists of an energy feed transformer, a three-phase inverter, an AC inductor, and matching switch control signals. It adopts a dual-loop control structure and controls the switching of the three-phase bridge arm IGBTs through a modulation module, thereby realizing the flow of energy from the DC side to the AC side.
[0087] The bidirectional converter system can both absorb braking energy and provide corresponding energy output during traction. The overall structure of the bidirectional converter system is similar to that of the energy feed system. The difference lies in the control implementation. The bidirectional converter system can operate in both inverter and rectifier modes.
[0088] Among them, the traction power supply system model, the energy feed system, and the bidirectional converter system together play a role in stabilizing the grid voltage.
[0089] In this embodiment, the co-simulation unit 53 includes:
[0090] The server and modeling unit, each server contains a graphics management unit, which includes a logical topology layer, a graphics representation layer, a command processing layer, a network communication layer, and a graphics modeling layer.
[0091] In practice, each server contains a graphics management unit, referred to as GLDBMS; a distributed architecture is used to deploy the overall graphics in fragments across different servers.
[0092] The graphics management unit includes:
[0093] The logical topology layer is a logical topology computing library implemented by distributed directed graph, directed network, undirected graph, and undirected network topology algorithms. It is used to describe nodes and their connections. The algorithm adopts a distributed algorithm based on network architecture, which can describe not only the connection relationships between local nodes, but also the connection relationships between graphs of nodes deployed on different servers.
[0094] Graphical Representation Layer: The graphical representation layer builds upon the logical topology layer by graphically representing topological relationships. It consists of node graphics and connection primitives. Nodes correspond to data connection points in the topology layer, while connection primitives represent the connections between nodes. The drawing format of node primitives and connection primitives varies depending on application requirements.
[0095] The command processing layer receives commands from remote clients over the network, such as those for creating, deleting, connecting, disconnecting, modifying, naming, showing, and hiding graphics. It converts these network commands into modeling operations, enabling the addition, deletion, modification, and querying of graphics and models. The command processing layer then returns the execution results and prompts to the client.
[0096] The network communication layer is the communication channel for completing client network operations. It uses reliable network transmission and network monitoring functions. It is not only used for command transmission and information feedback, but also provides processing mechanisms for operation timeouts, network anomalies, and information recovery after network reconnection, ensuring the consistency of information between the client and the server.
[0097] The graphics modeling layer provides mouse and keyboard operation functions for graphics operations such as drawing, connecting, deleting, modifying attributes, colors, and fill colors, as well as graphics import functions from other peripheral devices.
[0098] In this embodiment, the modeling unit includes:
[0099] In the modeling area, based on the target simulation line information, the traction power supply-consumption integrated simulation model library is called up, the traction power supply-consumption simulation model, the train operation simulation model and the signal control model are configured, the graphical expression attributes are set, the traction power supply-consumption integrated simulation model library is edited, and the model description data is obtained.
[0100] The runtime area obtains model runtime data through an event notification mechanism based on the model description data.
[0101] In specific implementation, based on the target simulation line information, the traction power supply-consumption integrated simulation model library is called, monitored, or registered in the modeling area through the registration or monitoring component in the modeling tool. The traction power supply-consumption simulation model, train operation simulation model, and signal control model are configured or edited. The operation area obtains the data of the traction power supply-consumption simulation model, train operation simulation model, and signal control model through the event notification mechanism, and controls the model operation based on the above data.
[0102] In the modeling area, the graphical representation attributes are set using the graphical representation attribute setting component in the modeling tools. In the runtime area, the graphical representation attributes are obtained through an event notification mechanism, and the parameters of the model during runtime are adjusted according to the graphical representation attributes.
[0103] In the modeling area, the model library is edited using the model library editing component in the modeling tools; in the runtime area, the model library editing data is monitored by the event notification mechanism.
[0104] The configuration or editing of traction power supply and power consumption simulation model, train operation simulation model and signal control model data, graphic expression attributes and graphic model library editing data constitute the model description data; the model operation control data, the parameters of the model during operation and the model monitoring data constitute the model operation data;
[0105] Based on the model description data and model operation data, the event notification mechanism outputs the first integrated data of the model and graph.
[0106] In this embodiment, the modeling unit includes:
[0107] The first integrated model data is edited to obtain the second integrated model data. After the second integrated model data is processed by the model processing tool, the corresponding execution files of the traction power supply-consumption simulation model, the train operation simulation model and the signal control model are obtained.
[0108] In practice, the modeling execution process is divided into editing mode and runtime mode;
[0109] In the editing state, the first integrated model data is edited to obtain the second integrated model data. The core information is set according to the second integrated model data. The traction power supply-consumption simulation model, train operation simulation model and signal control model are segmented according to the core information to generate automatic code. The code is compiled to obtain the modeling execution file. After storing the modeling execution file, the execution file information is loaded and transmitted to the running state.
[0110] In this embodiment, the modeling unit includes:
[0111] After editing or loading the executable file, a distributed execution plan is obtained based on the executable file using a distributed algorithm;
[0112] The graph model library stores the second integrated graph model data after executing the modeling task according to the distributed execution plan.
[0113] In practical implementation, all operations in the runtime state are executed through distributed transactions. The distributed operation execution process is illustrated using a graphical transaction execution process as an example:
[0114] In the running state, after parallel computation of the executable file, the model modeling data is recorded, and after adjusting the parameters in the model modeling process, the model modeling data and the parameters in the model modeling process are sent back to the graph model library for storage.
[0115] In the editing state, when the model is edited using the model editing component, a model update event is generated. After the event notification mechanism notifies or triggers the model update event in the graph model library, the graph model library updates the model data according to the model update data. After the event notification mechanism triggers or notifies the attribute editing component of the model update event, the model editing component updates or re-edits the model attribute data according to the model update data.
[0116] In the above process, all operations are executed through distributed transactions. The distributed operation execution process is illustrated using the graphical transaction execution process as an example:
[0117] Based on the execution file information, the client initiates an execution request for a graphical distributed transaction T. After being transformed, decomposed, and optimized by the global graphical modeling management system (which acts as the coordinator of T), a corresponding distributed execution plan is generated. Then, a phase coordination control is created at the initiation point to be responsible for the execution and submission of the distributed execution plan. For each sub-execution plan in the forked distributed execution plan, the graphical operation sub-transaction is responsible for notifying the corresponding site to create a local proxy for T to call the model library model to execute the corresponding graphical operations. At the same time, it is responsible for controlling and coordinating the execution of each sub-transaction graph to ensure the consistency of the global graph and relationships. Sub-transactions on the same server constitute the server's sub-transaction set, which are executed and submitted concurrently under the control of the server's local graphical system.
[0118] The graphical modeling tool adopts a component-based design approach, supporting extended development. It provides modeling, drawing, and graphical model attribute setting functions, as well as features such as a custom graphical model library and standard event registration. The application layer first calls the corresponding interfaces to obtain and modify the basic information of the graphical model units, and registers or listens to corresponding standard events to achieve data interaction between components. Each component corresponds to its own business model, and data interaction is achieved through an event notification mechanism. Model description data and model execution data are independently stored in corresponding disk files or business data tables. This invention provides a dynamic configuration mechanism for graphical models and a custom integrated graphical model library, enabling the reuse of graphical models. Based on an XML model and using Qt, this invention ensures cross-operating system compatibility of the modeling tool and supports domestic operating systems.
[0119] Based on the above design concept, the specific implementation process of this invention is as follows: adopting a layered componentization approach, each component maintains its own information, model description information and model operation information are stored independently, and an event notification mechanism is used between components.
[0120] The modeling tool is divided into a modeling area and a runtime area, corresponding to modeling and running the model. The integrated image and model data is stored in a distributed manner. On the same node, users can register or listen for relevant events, edit the model, set image representation attributes, or edit the image and model library. All operations such as editing the model, controlling the model's operation, adjusting parameters during runtime, or monitoring the model are achieved through corresponding event notifications.
[0121] To achieve loose coupling between components, an event notification mechanism is adopted, in which each component completes data interaction by registering and calling the corresponding events.
[0122] The modeling tool is divided into editing and runtime modes. The editing mode handles the editing of the graphical model, including model segmentation, automatic code generation, and model compilation. The runtime mode handles model start / stop control, parallel computation, export of calculation results, and runtime parameter tuning. The modeling tool supports a graphical model library; selected modules can be stored in the library during model editing for reuse. Graphical model information, compiled model files, and the graphical model library are stored independently and persisted to their respective disk files or database tables.
[0123] In the above implementation process, Qt is used as the modeling tool development language, the underlying XML model is used, and the data is stored in local disk files and relational databases. The development tool used is VisualStdio.
[0124] To achieve scalability, the system framework adopts a layered, component-based architecture, with components communicating via an event notification mechanism. Graphics and models are dynamically combined using templates, ensuring both integrated graphics and models while facilitating maintenance and expansion. Functional and business layers are managed separately, each maintaining its own XML model. Communication between layers occurs through event notification messaging. Vector graphics in SVG and VML formats are used for drawing, enabling graphical representation of data.
[0125] The event mechanism mentioned above is based on the libEvent library and uses event binding and triggering methods to implement an event notification mechanism. On this basis, functions such as creating models, dragging and dropping graphics, scaling, editing primitive and model attributes, and setting primitive attributes and animations are implemented.
[0126] Based on the core class library mentioned above, it is possible to extend and develop it according to the actual business characteristics, forming a graphical modeling tool that is more in line with the business characteristics, thereby improving modeling efficiency.
[0127] In this embodiment, the co-simulation unit 53 includes:
[0128] The signal control model simulates the train dispatching and control unit based on the target simulated track information and the position and speed information output by the train operation simulation model, and outputs control signals.
[0129] After receiving the train control signal, the train operation simulation model simulates the current or power of the vehicle during operation based on the grid-side voltage information output by the traction power supply-consumption simulation model, and outputs the position information, the speed information, and the current information or the power information.
[0130] Based on the target simulation line information, the target simulation line is divided into multiple line sections. Based on the position information and current information or power information output by the train operation simulation model, the train equivalent model is occupied in the traction power supply-consumption model. After the vehicle side is equivalent in the form of a controlled current source connected in series and parallel with braking resistors and filter inductors, the traction power supply-consumption simulation model outputs the grid-side voltage information.
[0131] In practical implementation, the signal control model takes the actual track conditions and the train position and speed information output by the train operation simulation model as input, simulates the train dispatching and control unit, and outputs the corresponding control level position signal, i.e., the control signal. Among them, the signal control model provides a variety of real-time functions such as anti-collision, temporary speed limit, and multi-car cooperative control.
[0132] After receiving the corresponding train control level position signal, i.e., the train control signal, the train operation simulation model combines the grid voltage signal returned by the traction power supply-consumption simulation model to simulate the current and force output of the train during actual operation. It integrates various force conditions and outputs the actual position of the train, i.e., the train position information, speed information, and current information or power information.
[0133] The traction power supply and power consumption simulation model divides the line according to the station configuration conditions of the simulated line. Each section is equipped with multiple equivalent models of trains in both directions. Based on the train position, speed and current or power information returned by the train operation simulation model, the equivalent model of the train is occupied in the traction power supply and power consumption simulation model. The vehicle side is equivalent in the form of controlled current source series and parallel braking resistor and filter inductor. Then, the grid side voltage information is returned to the train operation simulation model, realizing the joint simulation of the train operation simulation model and the traction power supply system model.
[0134] In summary, this invention provides an integrated simulation method and system for traction power supply and consumption. The traction power supply system includes models of the main substation, traction substation, and grid-side line impedance. The traction substation includes configuration components such as energy storage systems, energy feeder systems, and bidirectional converter systems, which can be configured according to actual line conditions. The key to the overall model simulation is to achieve joint simulation of the traction power supply-consumption simulation model, the signal control model, and the train operation simulation model. The traction power supply system model simulates the traction power supply system, the train operation simulation model simulates the current and force output during actual train operation, and the traction power supply-consumption simulation model occupies space in the equivalent train model based on the position and current information returned by the train operation simulation model, and returns the grid-side voltage information to the train operation simulation model. This achieves joint simulation of the train operation simulation model and the traction power supply-consumption simulation model, thus realizing joint simulation of the traction power supply system and the vehicle traction system.
[0135] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the scope of the appended claims.
Claims
1. A method for simulating integration of electric power for traction and electric power supply, characterized by, The simulation method comprises: A model library construction step of constructing a traction power supply and power consumption integrated simulation model library; A graph and model integrated data acquisition step of configuring a traction power supply and power consumption simulation model, a signal control model and a train operation simulation model according to target simulation line information by calling the traction power supply and power consumption integrated simulation model library, obtaining model description data, and obtaining graph and model integrated data through an event notification mechanism according to the model description data and model operation data; A data storage result acquisition step of obtaining an execution file by editing the graph and model integrated data, obtaining a distributed execution plan through a distributed algorithm according to the execution file, and obtaining a storage result by distributing and storing second graph and model integrated data according to the distributed execution plan through a coordination control part; A joint simulation step of obtaining position information, speed information and current information or power information output by the traction power supply and power consumption simulation model and the train operation simulation model from the storage result, obtaining grid side voltage information according to the position information, the speed information and the current information or the power information by the traction power supply and power consumption simulation model, and transmitting the grid side voltage information to the train operation simulation model to obtain a simulation result.
2. The simulation method of claim 1, wherein, The graph and model integrated data acquisition step comprises: According to target simulation line information, the traction power supply and power consumption integrated simulation model library is called to configure the traction power supply and power consumption simulation model and the train operation simulation model, graph expression attributes are set, and the model description data is obtained by editing the traction power supply and power consumption integrated simulation model library; According to the model description data, the model operation data is obtained through the event notification mechanism.
3. An emulation system, comprising: The simulation system comprises: A model library construction unit of constructing a traction power supply and power consumption integrated simulation model library; A graphical modeling unit of obtaining model description data by calling the traction power supply and power consumption integrated simulation model library to configure a traction power supply and power consumption simulation model, a train operation simulation model and a signal control model, obtaining first graph and model integrated data through an event notification mechanism according to the model description data and model operation data, obtaining an execution file by editing the graph and model integrated data, obtaining a distributed execution plan through a distributed algorithm according to the execution file, and obtaining a storage result by distributing and storing second graph and model integrated data according to the distributed execution plan through a coordination control part; A joint simulation unit of obtaining position information, speed information and current information or power information output by the traction power supply and power consumption simulation model and the train operation simulation model according to the storage result, obtaining grid side voltage information according to the position information, the speed information and the current information or the power information by the traction power supply and power consumption simulation model, and transmitting the grid side voltage information to the train operation simulation model to obtain a simulation result.
4. The simulation system of claim 3, wherein, The traction power supply and power consumption integrated simulation model library comprises: The signal control model; The train operation simulation model is built according to target simulation line information and measured train operation data. The traction power supply-power consumption simulation model comprises a traction power supply system model and an interval train equivalent model.
5. The simulation system of claim 3, wherein, The joint simulation unit comprises: The server comprises a graphic management unit, which comprises a logical topology layer, a graphic expression layer, a command processing layer, a network communication layer and a graphic modeling layer.
6. The simulation system of claim 5, wherein, The modeling unit comprises: The modeling area configures the traction power supply-power consumption simulation model, the train operation simulation model and the signal control model according to target simulation line information, sets graphic expression attributes, edits the traction power supply-power consumption simulation model library and obtains model description data. The running area obtains model running data through the event notification mechanism according to the model description data.
7. The simulation system of claim 5, wherein, The modeling unit comprises: The first graphic model integrated data is edited to obtain the second graphic model integrated data, and the second graphic model integrated data is processed by a model processing tool to obtain the execution file corresponding to the traction power supply-power consumption simulation model, the train operation simulation model and the signal control model.
8. The simulation system of claim 5, wherein, The modeling unit comprises: After the execution file is edited or loaded, the distributed execution plan is obtained through the distributed algorithm according to the execution file.
9. The simulation system of claim 5, wherein, The modeling unit comprises: The second graphic model integrated data is stored in the graphic model library after the distributed execution plan performs a modeling task.
10. The simulation system of claim 4, wherein, The joint simulation unit comprises: The signal control model simulates a train dispatching and control unit according to the target simulation line information, the position information and the speed information output by the train operation simulation model and outputs a control signal; The train operation simulation model simulates current or power during vehicle operation according to the net-side voltage information output by the traction power supply-power consumption simulation model after receiving the control signal and outputs the position information, the speed information, the current information or the power information; According to the target simulation line information, a target simulation line is divided into a plurality of line intervals, the train equivalent model occupies the traction power supply-power consumption simulation model according to the position information and the current information or the power information output by the train operation simulation model, and the traction power supply-power consumption simulation model outputs the net-side voltage information after the vehicle side is equivalent in the form of a controlled current source, series and parallel braking resistance and filter inductance.