Simulation-driven railway traction power supply system digital twinning device
By building a digital twin model of the railway traction power supply system and using real-time measurement data for electromagnetic transient simulation, the problem that traditional simulation methods cannot reflect the system status in real time is solved, and high-precision real-time monitoring and refined operation and maintenance of the railway traction power supply system are achieved.
Patent Information
- Application Number
- CN202510146539.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-05-30
AI Technical Summary
The traditional simulation method of railway traction power supply system cannot reflect the system status in real time, cannot accurately analyze the power quality and operational safety and stability, and cannot support real-time monitoring and efficient operation and maintenance.
A simulation-driven digital twin device for railway traction power supply system was designed. By building the main circuit model, locomotive controller model and digital twin model, and using real-time measurement data for electromagnetic transient simulation, a digital twin simulation core is generated to realize the system's high-precision mirror simulation.
Real-time panoramic monitoring of the railway traction power supply system is realized, accurately simulates the complex state change mechanism and dynamic response characteristics of the system, supports a variety of testing and analysis applications, and improves the level of refinement of operation and maintenance.
Smart Images

Figure CN120068424A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of railway power supply, and particularly to a digital twin device for a railway traction power supply system driven by simulation. Background Art
[0002] The electrified railway traction power supply system is a power supply system that supplies electricity for electric locomotives. It not only needs to ensure the efficient traction performance of electric locomotives, but also meet the overall operation requirements of the power system, while ensuring no negative impact on the public power grid. However, this system faces a series of challenges due to the particularity of its power supply. For example, when an electric locomotive is running, it will introduce harmonic interference into the traction power supply system, which not only affects the power supply quality, but also may pose a threat to the stability of the entire power system. In addition, the power system may exhibit oscillation phenomena due to the special load conditions of electrified railways, further exacerbating the operation risks.
[0003] To address these challenges, traditional railway traction power supply system simulation methods often use equivalent static or dynamic load models to replace the actual traction load. Although this simplified treatment can simulate the system operation to a certain extent, it cannot accurately analyze the power quality and the safety and stability of the operation of the railway traction power supply system. More importantly, traditional simulation methods usually adopt an offline mode, which means that they cannot reflect the current system state in real time, including the actual distribution of system voltage and power, as well as key information such as the real-time position and load changes of railway trams. Therefore, these offline simulation models have significant deficiencies in reflecting the actual operation conditions of the railway power grid and cannot provide strong support for the real-time monitoring and efficient operation and maintenance of the railway traction power supply system. Summary of the Invention
[0004] In view of the above deficiencies of the prior art, the present invention provides a digital twin device for a railway traction power supply system driven by simulation, which effectively solves the problem that the offline simulation model has significant deficiencies in reflecting the actual operation conditions of the railway power grid.
[0005] In a first aspect, the present invention provides a digital twin device for a railway traction power supply system driven by simulation, and the device includes:
[0006] A main circuit model construction module, configured to construct a main circuit model of a railway traction power supply system according to device parameters;
[0007] A controller model construction module, configured to construct a locomotive controller model according to a controller binary file;
[0008] A digital twin model construction module, configured to construct a digital twin model according to the main circuit model and the locomotive controller model;
[0009] A real-time section generation module for writing the measurement data of the railway traction power supply system into the digital twin model to generate an electromagnetic transient simulation section;
[0010] A simulation kernel construction module for performing digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel;
[0011] A digital twin simulation module for performing operation state simulation of the railway traction power supply system according to the digital twin model and the digital twin simulation kernel to obtain a simulation result.
[0012] Further, the controller model construction module includes:
[0013] A file conversion unit for accessing the controller binary file into a virtual simulation engine to run and generate a dynamic link library file;
[0014] A component construction unit for constructing foreground components according to the input and output interface information of the controller binary file;
[0015] A model construction unit for associating the dynamic link library file and the foreground components to obtain the locomotive controller model.
[0016] Further, the digital twin model construction module includes:
[0017] A model association unit for accessing the locomotive controller model into the main circuit model;
[0018] A model setting unit for setting the signal input and output connection relationship between the locomotive controller model and the main circuit model to obtain the digital twin model.
[0019] Further, the simulation kernel construction module includes:
[0020] An equation processing unit for discretizing the transient equations of the electrical components of the railway traction power supply system to obtain the Norton equivalent equations of the electrical components;
[0021] A matrix construction unit for constructing the node matrix of the railway traction power supply system according to the Norton equivalent equations;
[0022] A kernel generation unit for generating the digital twin simulation kernel according to the Norton equivalent equations and the node matrix.
[0023] Further, the kernel generation unit includes:
[0024] A first calculation sub-unit for substituting the power management data of the railway traction power supply system into the Norton equivalent equations to obtain the Norton equivalent resistance of the electrical components;
[0025] A matrix generation subunit, configured to generate an admittance matrix according to the Norton equivalent resistance and the node matrix;
[0026] A second calculation subunit, configured to calculate the Norton equivalent current of the electrical component according to the Norton equivalent equation;
[0027] A third calculation subunit, configured to calculate the node voltage of the railway traction power supply system according to the admittance matrix and the Norton equivalent current;
[0028] A fourth calculation subunit, configured to calculate the state data of the electrical component at the current moment according to the node voltage, and obtain a digital twin result according to the state data.
[0029] Further, the device further includes:
[0030] A communication module, configured to communicate with the railway traction power supply system, acquire the measurement data of the railway traction power supply system, and transmit the measurement data to the real-time section generation module.
[0031] Further, the device further includes:
[0032] A remote terminal module, configured to communicate with the communication module, receive the simulation result, monitor the operation state of the railway traction power supply system according to the simulation result, and perform test analysis.
[0033] In a second aspect, the present invention provides a digital twin simulation method for a railway traction power supply system driven by simulation. The simulation method is applied to the digital twin simulation device for a railway traction power supply system driven by simulation according to the first aspect of the present invention. The simulation method includes:
[0034] Construct a main circuit model of the railway traction power supply system according to equipment parameters;
[0035] Construct a locomotive controller model according to the controller binary file;
[0036] Construct a digital twin model according to the main circuit model and the locomotive controller model;
[0037] Acquire the measurement data of the railway traction power supply system, and write the measurement data into the digital twin model to generate an electromagnetic transient simulation section;
[0038] Perform digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel;
[0039] Import the digital twin model with the electromagnetic transient simulation section into the digital twin simulation kernel for simulation to obtain a simulation result.
[0040] In a third aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the computer program to implement the simulation-driven digital twin simulation method for a railway traction power supply system as described in the second aspect of the present invention.
[0041] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the simulation-driven digital twin simulation method for a railway traction power supply system as described in the second aspect of the present invention.
[0042] The simulation-driven digital twin device for a railway traction power supply system provided by the present invention conducts panoramic monitoring of the railway traction power supply system by constructing a digital model based on a locomotive model and introducing real-time measurement data. The electromagnetic transient simulation section initialization of the railway traction power supply system model is completed using the real-time measurement data of the railway traction power supply system. The high-precision mirror simulation of the actual railway traction power supply system device is realized using the digital twin simulation kernel, which can accurately and real-time simulate the complex state change mechanism and dynamic response characteristics of the actual railway traction power supply system. At the same time, all internal state variables of the railway traction power supply system can be real-time simulated using the digital twin kernel, realizing various testing and analysis applications, enabling real-time control of more comprehensive monitoring information, and achieving refined operation and maintenance. Description of the Drawings
[0043] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and thus should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative efforts.
[0044] Figure 1 It is the first schematic diagram of the structure of the simulation-driven digital twin device for a railway traction power supply system provided by the embodiment of the present invention;
[0045] Figure 2 It is the second schematic diagram of the structure of the simulation-driven digital twin device for a railway traction power supply system provided by the embodiment of the present invention;
[0046] Figure 3 It is the first schematic diagram of the process flow of the simulation-driven digital twin simulation method for a railway traction power supply system provided by the embodiment of the present invention;
[0047] Figure 4 It is the second schematic diagram of the process flow of the simulation-driven digital twin simulation method for a railway traction power supply system provided by the embodiment of the present invention;
[0048] Figure 5It is the third schematic diagram of the process of the simulation-driven digital twin simulation method for railway traction power supply systems provided by the embodiments of the present invention;
[0049] Figure 6 It is the fourth schematic diagram of the process of the simulation-driven digital twin simulation method for railway traction power supply systems provided by the embodiments of the present invention;
[0050] Figure 7 It is the fifth schematic diagram of the process of the simulation-driven digital twin simulation method for railway traction power supply systems provided by the embodiments of the present invention;
[0051] Figure 8 It is a schematic diagram of the structure of an electronic device provided by the embodiments of the present invention.
[0052] Main element symbol description:
[0053] 100, simulation-driven digital twin device for railway traction power supply systems; 110, main circuit model construction module; 120, controller model construction module; 130, digital twin model construction module; 140, real-time section generation module; 150, simulation kernel construction module; 160, digital twin simulation module; 170, communication module; 180, remote terminal module; 200, railway traction power supply system; 800, electronic device; 810, processor; 820, communication interface; 830, memory; 840, communication bus. Detailed implementation manners
[0054] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be further described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. It should be noted that the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. 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.
[0055] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, "a plurality" means two or more unless otherwise specifically defined.
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used in the specification of the present invention are for the purpose of describing specific embodiments only and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0057] Due to the particularity of its power supply, the electrified railway traction power supply system faces a series of challenges. To address these challenges, traditional railway traction power supply system simulation methods often use equivalent static or dynamic load models to replace the actual traction load. Although this simplification can simulate system operation to a certain extent, it cannot accurately analyze the power quality and operational safety and stability of the railway traction power supply system. More importantly, traditional simulation methods usually adopt an offline mode, which means they cannot reflect the current system state in real time, including key information such as the actual distribution of system voltage and power, as well as the real-time position and load changes of railway trams. Therefore, these offline simulation models have significant deficiencies in reflecting the actual operation of the railway power grid and cannot provide strong support for the real-time monitoring and efficient operation and maintenance of the railway traction power supply system.
[0058] Embodiment 1
[0059] An embodiment of the present invention provides a simulation-driven digital twin device for a railway traction power supply system, effectively solving the problem that the offline simulation model has significant deficiencies in reflecting the actual operation of the railway power grid. Figure 1 FIG. 1 is a first schematic diagram of the structure of the simulation-driven digital twin device for a railway traction power supply system provided by an embodiment of the present invention. The simulation-driven digital twin device 100 for a railway traction power supply system includes: a main circuit model construction module 110, a controller model construction module 120, a digital twin model construction module 130, a real-time section generation module 140, a simulation kernel construction module 150, and a digital twin simulation module 160.
[0060] The main circuit model construction module 110 is used to construct a main circuit model of the railway traction power supply system according to device parameters. Based on the actual device parameters of the railway traction power supply system, a main circuit model can be constructed, and the device parameters include, but are not limited to, traction substation parameters, equivalent parameters of the external power transmission network, and main circuit parameters of AC-DC-AC locomotives, etc.
[0061] The controller model construction module 120 is used to construct a locomotive controller model according to the controller binary file. The controller model construction module 120 specifically includes a file conversion unit, a component construction unit, and a model construction unit.
[0062] The file conversion unit is used to connect the controller binary file to the virtual simulation engine for running and generate a dynamic link library file. The controller binary file can be a static link library file and related header files and documents. An interface layer is created in the virtual simulation engine to call the functions in the static link library file. This interface layer converts the data format of the simulation engine into a format that the controller binary model can understand and returns the output of the controller to the simulation engine. This interface layer can be wrapper code. Then, a compiler is used to compile the wrapper code and the static link library file into a dynamic link library file.
[0063] The component construction unit is used to construct the foreground components according to the input and output interface information of the controller binary file. According to the input and output interface information of the controller, the foreground components are designed. The foreground components include, but are not limited to, user interface elements such as buttons, sliders, and dashboards, which are used to receive user input and display the controller output. At the same time, the foreground components are designed to implement the logic for interacting with the dynamic link library file, including, but not limited to, initializing the controller, sending input data to the controller, receiving and processing the controller output data, etc.
[0064] The model construction unit is used to associate the dynamic link library file with the foreground components to obtain the locomotive controller model. The simulation model is configured in the virtual simulation engine to load and call the dynamic link library file, including specifying the path of the dynamic link library file in the configuration file of the simulation model. According to the configured simulation model, the foreground components are connected to the dynamic link library to ensure that the foreground components can correctly call the functions in the dynamic link library and process the returned data.
[0065] The digital twin model construction module 130 is used to construct a digital twin model according to the main circuit model and the locomotive controller model. The digital twin model construction module 130 specifically includes a model association unit and a model setting unit.
[0066] The model association unit is used to connect the locomotive controller model to the main circuit model. According to the input and output interfaces of the locomotive controller model, the signal types and quantities connected to the main circuit model are determined, and then the parameters such as the signal format and data range of the interface are ensured to be consistent to avoid errors during signal transmission. In the simulation environment, the input interface of the locomotive controller model is connected to the output signal of the main circuit model, and the output interface of the locomotive controller model is connected to the input signal of the main circuit model.
[0067] The model setting unit is used to set the signal input-output connection relationship between the locomotive controller model and the main circuit model to obtain a digital twin model. The input signals of the locomotive controller model include, but are not limited to, parameters such as the three-phase AC voltage of the locomotive converter, the three-phase AC current of the locomotive converter, the vehicle speed, and the voltage set value. The output signals include, but are not limited to, signals such as the PWM modulation wave, which are used to control the switching devices in the locomotive converter to achieve voltage and current regulation. Parameters such as the frequency and duty cycle of the PWM modulation wave directly affect the operating performance and efficiency of the locomotive. In the simulation environment, according to the working principles of the locomotive controller and the main circuit, the connection relationship between the input signals and the output signals is set to ensure the real-time and accuracy of signal transmission, so as to reflect the dynamic performance of the locomotive during actual operation. After setting the signal input-output connection relationship between the locomotive controller model and the main circuit model, the construction of the digital twin model of the railway traction power supply system can be completed.
[0068] The real-time section generation module 140 is used to write the measurement data of the railway traction power supply system into the digital twin model to generate an electromagnetic transient simulation section. The measurement data includes, but is not limited to, data such as the port voltage of the traction substation, the port power of the traction substation, the locomotive position, and the locomotive speed. Integrating and writing these measurement data into the digital twin model in real time and applying them to the electromagnetic transient simulation of the railway traction power supply system can generate a section with initial parameters in real time, so as to simulate and evaluate the electromagnetic transient response of the system under different working conditions.
[0069] The simulation kernel construction module 150 is used to perform digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel. The simulation kernel construction module specifically includes an equation processing unit, a matrix construction unit, and a kernel generation unit.
[0070] The equation processing unit is used to discretize the transient equations of the electrical components in the railway traction power supply system to obtain the Norton equivalent equations of the electrical components. The transient equations of all electrical components in the railway traction power supply system are discretized through a numerical integration algorithm and transformed into the Norton equivalent equations of each electrical component. The specific selection of the numerical integration algorithm is determined according to the complexity and accuracy requirements of the railway traction power supply system. The numerical integration algorithms include, but are not limited to, the Euler method, the trapezoidal method, and the Runge-Kutta method, etc.
[0071] The matrix construction unit is used to construct the node matrix of the railway traction power supply system according to the Norton equivalent equations. The current source value and impedance value of each node in the railway traction power supply system are obtained according to the Norton equivalent equations, and the current source value and impedance are used to construct the node matrix.
[0072] The kernel generation unit is used to generate a digital twin simulation kernel according to the Norton equivalent equation and the node matrix. The kernel generation unit includes a first calculation subunit, a matrix generation subunit, a second calculation subunit, a third calculation subunit, and a fourth calculation subunit.
[0073] The first calculation subunit is used to substitute the power management data of the railway traction power supply system into the Norton equivalent equation to obtain the Norton equivalent resistance of the electrical component. The matrix generation subunit is used to generate an admittance matrix according to the Norton equivalent resistance and the node matrix. The second calculation subunit is used to calculate the Norton equivalent current of the electrical component according to the Norton equivalent equation. The third calculation subunit is used to calculate the node voltage of the railway traction power supply system according to the admittance matrix and the Norton equivalent current. The fourth calculation subunit is used to calculate the state data of the electrical component at the current moment according to the node voltage, and obtain the digital twin result according to the state data.
[0074] The digital twin simulation module 160 is used to perform the operation state simulation of the railway traction power supply system according to the digital twin model and the digital twin simulation kernel, and obtain the simulation result. Importing the digital twin model with the electromagnetic transient simulation section into the digital twin simulation kernel for simulation can achieve a high-precision simulation of the internal operation state of the railway traction power supply system, and obtain a digital twin result highly consistent with the actual operation state of the railway traction power supply system.
[0075] As a preferred implementation manner of the embodiment of the present invention, Figure 2 is the second schematic diagram of the structure of the simulation-driven digital twin device for railway traction power supply system provided by the embodiment of the present invention. As Figure 2 shown, the simulation-driven digital twin device 100 for railway traction power supply system further includes a communication module 170 and a remote terminal module 180.
[0076] The communication module 170 is used to communicate with the railway traction power supply system, obtain the measurement data of the railway traction power supply system and transmit it to the real-time section generation module. The remote terminal module 180 is used to communicate with the communication module, receive the simulation result, monitor the operation state of the railway traction power supply system according to the simulation result and perform test analysis.
[0077] Optionally, the communication module 170 is communicatively connected to the railway traction power supply system 200 through optical port communication or wireless network communication, and is communicatively connected to the remote terminal module 180 through wired network communication. The communication module 170 is responsible for transmitting the power management data of the railway traction power supply system 200 to the real-time section generation module 140, providing the latest real-time data for the device to support simulation analysis. At the same time, the simulation result data generated by the digital twin simulation module 160 is transmitted to the remote terminal module 180 for result viewing and analysis, enabling users to monitor and analyze the operating status of the railway traction power supply system 200 in real time at a remote location, providing timely and accurate data support for decision-making.
[0078] The remote terminal module 180 can monitor the operating status of the railway traction power supply system 200 in real time and simulate various internal status quantities of the railway traction power supply system 200, such as converter valve arm current signals, PWM control pulse signals, high and low voltage ride-through flags, etc. Through the remote terminal module 180, users can perform a variety of test and analysis applications, including but not limited to high and low voltage ride-through function tests, constant reactive power control function tests, load compensation control function tests, constant voltage control function tests, constant power factor control function tests, short-circuit fault analysis tests, and converter fault analysis tests, etc.
[0079] The communication module 170 transmits the digital twin results of the railway traction power supply system 200 to the remote terminal module 180. Users can view these results through the remote terminal module 180 and perform further analysis. Through such a communication method, a convenient way is provided to monitor and evaluate the operating status of the railway traction power supply system 200, and at the same time, it also provides strong support for the testing, analysis, and fault diagnosis of the railway traction power supply system 200. Through the remote terminal module 180, users can understand the operating conditions of the railway traction power supply system 200 in real time, discover problems in a timely manner and take corresponding measures, thereby ensuring the stable operation and high efficiency of the railway traction power supply system 200.
[0080] The digital twin device for the railway traction power supply system driven by simulation provided by the embodiment of the present invention provides panoramic monitoring of the railway traction power supply system by constructing a digital model based on the locomotive model and introducing real-time measurement data. At the same time, all internal status quantities of the railway traction power supply system can be simulated in real time using the digital twin kernel, realizing a variety of test and analysis applications, enabling real-time control of more comprehensive monitoring information, and realizing refined operation and maintenance.
[0081] Embodiment 2
[0082] The embodiment of the present invention provides a simulation-driven digital twin simulation method for a railway traction power supply system. Figure 3 It is the first schematic diagram of the process of the simulation-driven digital twin simulation method for the railway traction power supply system provided by the embodiment of the present invention. AsFigure 3 As shown in the figure, the method includes the following steps:
[0083] S100. Construct a main circuit model of the railway traction power supply system according to the equipment parameters.
[0084] In the embodiment of the present invention, the railway traction power supply system is an electrified railway traction power supply system. Based on the actual equipment parameters of the railway traction power supply system, a main circuit model can be constructed. The equipment parameters include, but are not limited to, traction substation parameters, external power grid equivalent parameters, and main circuit parameters of AC-DC-AC power locomotives, etc.
[0085] S200. Construct a locomotive controller model according to the controller binary file.
[0086] Figure 4 This is the second schematic diagram of the process of the digital twin simulation method for the railway traction power supply system driven by simulation provided by the embodiment of the present invention. As Figure 4 shown, the construction of the locomotive controller model specifically includes the following steps:
[0087] S210. Connect the controller binary file to the virtual simulation engine to run and generate a dynamic link library file.
[0088] In the embodiment of the present invention, the controller binary file can be a static link library file and related header files and documents. Create an interface layer in the virtual simulation engine to call the functions in the static link library file. The interface layer converts the data format of the simulation engine into a format that the controller binary model can understand and returns the output of the controller to the simulation engine. The interface layer can be wrapper code. Then use a compiler to compile the wrapper code and the static link library file into a dynamic link library file.
[0089] S220. Construct foreground components according to the input-output interface information of the controller binary file.
[0090] According to the input-output interface information of the controller, design foreground components. The foreground components include, but are not limited to, user interface elements such as buttons, sliders, and dashboards, which are used to receive user input and display the controller output. At the same time, design the foreground components to implement the logic of interacting with the dynamic link library file, including, but not limited to, initializing the controller, sending input data to the controller, receiving and processing the controller output data, etc.
[0091] S230. Associate the dynamic link library file with the foreground components to obtain the locomotive controller model.
[0092] Configure the simulation model in the virtual simulation engine to load and call the dynamic link library file, including specifying the path of the dynamic link library file in the configuration file of the simulation model. Connect the foreground component with the dynamic link library according to the configured simulation model to ensure that the foreground component can correctly call the functions in the dynamic link library and process the returned data.
[0093] S300. Construct a digital twin model based on the main circuit model and the locomotive controller model.
[0094] Figure 5 It is the third schematic diagram of the digital twin simulation method for the railway traction power supply system driven by simulation provided by the embodiment of the present invention. As Figure 5 shown, the construction of the digital twin model includes the following steps:
[0095] S310. Connect the locomotive controller model to the main circuit model.
[0096] Determine the signal types and quantities connected to the main circuit model according to the input and output interfaces of the locomotive controller model, and then ensure that the parameters such as the signal format and data range of the interfaces are consistent to avoid errors during signal transmission. In the simulation environment, connect the input interface of the locomotive controller model to the output signal of the main circuit model, and connect the output interface of the locomotive controller model to the input signal of the main circuit model.
[0097] S320. Set the signal input-output connection relationship between the locomotive controller model and the main circuit model to obtain the digital twin model.
[0098] Optionally, the input signals of the locomotive controller model include but are not limited to parameters such as the three-phase AC voltage of the locomotive converter, the three-phase AC current of the locomotive converter, the vehicle speed, and the voltage set value. Among them, the three-phase AC voltage of the locomotive converter is used to monitor the working state of the locomotive converter to ensure that the voltage is within the rated range; the three-phase AC current of the locomotive converter is used to monitor the current change to prevent the occurrence of overcurrent faults; the vehicle speed reflects the running speed of the locomotive and is used to control the acceleration and deceleration of the locomotive; the voltage set value is used to adjust the output voltage of the locomotive converter. The output signals include but are not limited to signals such as PWM modulation waves, which are used to control the switching devices in the locomotive converter to achieve voltage and current regulation. Parameters such as the frequency and duty cycle of the PWM modulation wave directly affect the running performance and efficiency of the locomotive. In the simulation environment, according to the working principles of the locomotive controller and the main circuit, set the connection relationship between the input signals and the output signals to ensure the real-time and accuracy of signal transmission to reflect the dynamic performance of the locomotive during actual operation. After setting the signal input-output connection relationship between the locomotive controller model and the main circuit model, the construction of the digital twin model of the railway traction power supply system can be completed.
[0099] S400. Obtain the measurement data of the railway traction power supply system, and write the measurement data into the digital twin model to generate an electromagnetic transient simulation section.
[0100] In the embodiments of the present invention, the measurement data includes but is not limited to data such as the port voltage of the traction substation, the port power of the traction substation, the locomotive position, and the locomotive speed. Integrating and writing these measurement data into the digital twin model in real time and applying it to the electromagnetic transient simulation of the railway traction power supply system can generate a section with initial parameters in real time, so as to simulate and evaluate the electromagnetic transient response of the system under different working conditions.
[0101] Utilize the real-time obtained measurement data to update and adjust the digital twin model, providing accurate initial conditions for the electromagnetic transient simulation of the railway traction power supply system. By generating the initialization section in real time, the digital twin model can more accurately simulate the electromagnetic transient characteristics of the railway traction power supply system during operations such as startup, speed change, and braking, providing an important reference basis for the design and optimization of the railway traction power supply system.
[0102] S500. Conduct digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel.
[0103] Figure 6 It is the fourth schematic diagram of the digital twin simulation method process of the simulation-driven railway traction power supply system provided by the embodiments of the present invention. As Figure 6 shown, the generation of the digital twin simulation kernel specifically includes the following steps:
[0104] S510. Discretize the transient equations of the electrical components of the railway traction power supply system to obtain the Norton equivalent equations of the electrical components.
[0105] In the embodiments of the present invention, the transient equations of all electrical components in the railway traction power supply system are discretized through a numerical integration algorithm and transformed into the Norton equivalent equations of each electrical component. The specific selection of the numerical integration algorithm is determined according to the complexity and accuracy requirements of the railway traction power supply system. The numerical integration algorithm includes but is not limited to the Euler method, the trapezoidal method, and the Runge-Kutta method, etc.
[0106] Based on the physical characteristics and electrical relationships of the electrical components, establish their transient equations. Select a suitable time step according to the dynamic characteristics and required accuracy of the railway traction power supply system, and use the selected numerical integration algorithm to discretize the transient equations of the electrical components within the time step. Calculate the equivalent current source (or voltage source) and impedance (or admittance) for each discretized electrical component, and combine the equivalent current source (or voltage source) and impedance (or admittance) of each electrical component to construct the Norton equivalent equation of the entire railway traction power supply system.
[0107] S520. Construct the node matrix of the railway traction power supply system according to the Norton equivalent equation.
[0108] Optionally, obtain the current source value and impedance value of each node in the railway traction power supply system according to the Norton equivalent equation, and use the current source value and impedance to construct the node matrix.
[0109] S530. Generate a digital twin simulation kernel according to the Norton equivalent equation and the node matrix.
[0110] Figure 7 It is the fifth schematic diagram of the digital twin simulation method for the railway traction power supply system driven by simulation provided by the embodiments of the present invention. As Figure 7 shown, step S530 specifically includes the following steps:
[0111] S531. Substitute the power management data of the railway traction power supply system into the Norton equivalent equation to obtain the Norton equivalent resistance of the electrical components.
[0112] In the embodiments of the present invention, obtain the power management data of the railway traction power supply system, extract parameters such as the impedance and current of each electrical component from the power management data, substitute these parameters into the Norton equivalent equation, and solve for the Norton equivalent resistance of each electrical component.
[0113] S532. Generate an admittance matrix according to the Norton equivalent resistance and the node matrix.
[0114] According to the Norton equivalent resistance and the node connection relationship, the node admittance matrix of the railway traction power supply system can be constructed. Each element of the node admittance matrix represents the conductance value between nodes, and its inverse matrix describes the impedance relationship between nodes.
[0115] S533. Calculate the Norton equivalent current of the electrical components according to the Norton equivalent equation.
[0116] By substituting the known Norton equivalent resistance and the excitation of the railway traction power supply system (such as voltage source and current source, etc.) into the Norton equivalent equation, the Norton equivalent current of each electrical component can be solved.
[0117] S534. Calculate the node voltage of the railway traction power supply system according to the admittance matrix and the Norton equivalent current.
[0118] The node voltage is the potential difference of each node in the railway traction power supply system relative to the reference node. In the case of known admittance matrix and Norton equivalent current, the voltage of each node can be obtained by solving a system of linear equations.
[0119] S535. Calculate the state data of the electrical components at the current moment according to the node voltage, and obtain the digital twin result according to the state data.
[0120] Based on parameters such as the node voltage and the impedance of electrical components, the state data of electrical components such as power, current, and voltage at the current moment can be calculated, and the state data is crucial for evaluating the operating state and performance of electrical components. By combining the calculated state data of electrical components with the digital twin model, real-time monitoring and prediction of the system state can be achieved.
[0121] Optionally, if time-domain iteration is required, the Norton equivalent current of each discrete component needs to be solved at each time step, injected into the railway traction power supply system, and the node voltage is calculated. After calculating the branch current and other internal state variables of each discrete component at this moment, the calculation of the next time step is carried out.
[0122] The digital twin simulation kernel performs a highly accurate digital twin simulation of the railway traction power supply system through simulation algorithms and numerical calculation methods. By transforming the physical characteristics of the railway traction power supply system into mathematical equations and using the Norton equivalent equation and node matrix, an accurate simulation of the behavior of the railway traction power supply system is realized, thereby providing an accurate digital mirror of the operating state of the railway traction power supply system and providing important support for system performance evaluation, optimization, and fault diagnosis. Through digital twin technology, users can quickly and accurately simulate various operating conditions of the system in the simulation environment, providing a scientific basis for system design and operation decision-making.
[0123] S600. Import the digital twin model with the electromagnetic transient simulation section into the digital twin simulation kernel for simulation to obtain the simulation results.
[0124] In the embodiment of the present invention, importing the digital twin model with the electromagnetic transient simulation section into the digital twin simulation kernel for simulation can achieve a high-precision simulation of the internal operating state of the railway traction power supply system and obtain digital twin results that are highly consistent with the actual operating state of the railway traction power supply system.
[0125] The digital twin device of the railway traction power supply system driven by simulation provided by the embodiment of the present invention completes the initialization of the electromagnetic transient simulation section of the digital twin model by using the real-time measurement data of the railway traction power supply system, and realizes the high-precision mirror simulation of the actual railway traction power supply system device by using the digital twin simulation kernel, and can accurately and real-time simulate the complex state change mechanism and dynamic response characteristics of the actual railway traction power supply system.
[0126] It can be understood that the implementation manners in the digital twin device of the railway traction power supply system driven by simulation described in the above-mentioned Embodiment 1 are equally applicable to this embodiment and can achieve the same technical effects, so they will not be repeated here.
[0127] Embodiment 3
[0128] Based on the same concept, an embodiment of the present invention further provides an electronic device. Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As Figure 8 shown, the electronic device 800 may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840. Among them, the processor 810, the communication interface 820, and the memory 830 complete communication with each other through the communication bus 840. The processor 810 may call the logical instructions in the memory 830 to execute the steps of the simulation-driven digital twin simulation method for the railway traction power supply system as described in the above embodiments. For example, it includes:
[0129] S100. Construct a main circuit model of the railway traction power supply system according to device parameters;
[0130] S200. Construct a locomotive controller model according to the controller binary file;
[0131] S300. Construct a digital twin model according to the main circuit model and the locomotive controller model;
[0132] S400. Obtain the measurement data of the railway traction power supply system, and write the measurement data into the digital twin model to generate an electromagnetic transient simulation section;
[0133] S500. Perform digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel;
[0134] S600. Import the digital twin model with the electromagnetic transient simulation section into the digital twin simulation kernel for simulation to obtain the simulation result.
[0135] Among them, the processor 810 may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. chips, or a combination of the above types of chips.
[0136] In addition, when the logical instructions in the above-mentioned memory 830 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0137] The memory 830 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created by the processor, etc. In addition, the memory may include a high-speed random access memory and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include memories remotely provided with respect to the processor, and these remote memories can be connected to the processor through a network. Examples of the above-mentioned network include but are not limited to the Internet, enterprise intranets, local area networks, mobile communication networks, and their combinations.
[0138] Embodiment 4
[0139] Based on the same concept, an embodiment of the present invention also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program, and this computer program includes at least one segment of code. This at least one segment of code can be executed by the main control device to control the main control device to implement the steps of the digital twin simulation method of the simulation-driven railway traction power supply system as described in the above-mentioned various embodiments. For example, it includes:
[0140] S100. Construct a main circuit model of the railway traction power supply system according to device parameters;
[0141] S200. Construct a locomotive controller model according to the controller binary file;
[0142] S300. Construct a digital twin model according to the main circuit model and the locomotive controller model;
[0143] S400. Obtain the measurement data of the railway traction power supply system, and write the measurement data into the digital twin model to generate an electromagnetic transient simulation section;
[0144] S500. Perform digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel;
[0145] S600. Import the digital twin model with the electromagnetic transient simulation section into the digital twin simulation kernel for simulation to obtain simulation results.
[0146] Based on the same technical concept, an embodiment of the present invention also provides a computer program, which, when executed by a main control device, is used to implement the above method embodiment.
[0147] The computer program can be stored in whole or in part on a computer-readable storage medium packaged together with the processor, or can be stored in whole or in part on a memory not packaged together with the processor.
[0148] Based on the same technical concept, an embodiment of the present invention also provides a processor, which is used to implement the above method embodiment. The above processor can be a chip.
[0149] In summary, a digital twin device for a railway traction power supply system driven by simulation provided by the present invention performs panoramic monitoring of the railway traction power supply system by constructing a digital model based on a locomotive model and introducing real-time measurement data. The electromagnetic transient simulation section of the railway traction power supply system model is initialized using the real-time measurement data of the railway traction power supply system, and high-precision mirror simulation of the actual railway traction power supply system device is realized using the digital twin simulation kernel, which can accurately and real-time simulate the complex state change mechanism and dynamic response characteristics of the actual railway traction power supply system. At the same time, all internal state variables of the railway traction power supply system can be real-time simulated using the digital twin kernel, realizing various tests and analysis applications, enabling real-time control of more comprehensive monitoring information, and realizing refined operation and maintenance.
[0150] As used herein, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0151] The above embodiments merely represent several implementation manners of the present invention, and the description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the invention patent of the present invention shall be subject to the appended claims.
[0152] 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 it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A simulation-driven digital twin device for a railway traction power supply system, characterized in that: The device comprises: A main circuit model building module is used to build a main circuit model of the railway traction power supply system according to equipment parameters; A controller model building module, used for building a locomotive controller model according to a controller binary file; A digital twin model construction module, used to construct a digital twin model according to the main circuit model and the locomotive controller model; A real-time section generation module, used for writing the measurement data of the railway traction power supply system into the digital twin model to generate an electromagnetic transient simulation section; A simulation kernel building module, used to perform digital twin simulation on the railway traction power supply system and generate a digital twin simulation kernel; The digital twin simulation module is used to simulate the operating status of the railway traction power supply system according to the digital twin model and the digital twin simulation kernel to obtain simulation results.
2. The simulation-driven railway traction power supply system digital twin device according to claim 1, characterized in that: The controller model building module includes: A file conversion unit, used for connecting the controller binary file to the virtual simulation engine for operation, and generating a dynamic link library file; A component construction unit, used for constructing a foreground component according to the input and output interface information of the controller binary file; The model building unit is used to associate the dynamic link library file with the foreground element to obtain the locomotive controller model.
3. The simulation-driven railway traction power supply system digital twin device according to claim 1, characterized in that: The digital twin model building module includes: A model association unit, used for connecting the locomotive controller model to the main circuit model; The model setting unit is used to set the signal input and output connection relationship between the locomotive controller model and the main circuit model to obtain the digital twin model.
4. The simulation-driven railway traction power supply system digital twin device according to claim 1, characterized in that: The simulation kernel building block includes: An equation processing unit, used for discretizing transient equations of electrical components of the railway traction power supply system to obtain Norton equivalent equations of the electrical components; A matrix construction unit, used for constructing a node matrix of the railway traction power supply system according to the Norton equivalent equation; A kernel generation unit is used to generate the digital twin simulation kernel according to the Norton equivalent equation and the node matrix.
5. The simulation-driven railway traction power supply system digital twin device according to claim 4, characterized in that: The kernel generation unit comprises: A first calculation subunit is used to substitute the power management data of the railway traction power supply system into the Norton equivalent equation to obtain the Norton equivalent resistance of the electrical component; A matrix generating subunit, used for generating an admittance matrix according to the Norton equivalent resistor and the node matrix; A second calculation subunit, used for calculating the Norton equivalent current of the electrical component according to the Norton equivalent equation; A third calculation subunit is used to calculate the node voltage of the railway traction power supply system according to the admittance matrix and the Norton equivalent current; The fourth calculation subunit is used to calculate the state data of the electrical component at a current moment according to the node voltage, and obtain the digital twin result according to the state data.
6. The simulation-driven railway traction power supply system digital twin device according to claim 1, characterized in that: The device also includes: A communication module is used to communicate with the railway traction power supply system, obtain the measurement data of the railway traction power supply system and transmit it to the real-time section generation module.
7. The simulation-driven railway traction power supply system digital twin device according to claim 6, characterized in that: The device also includes: The remote terminal module is used to communicate with the communication module, receive the simulation results, monitor the operating status of the railway traction power supply system according to the simulation results, and perform test analysis.
8. A simulation-driven railway traction power supply system digital twin simulation method, characterized in that: The simulation method is applied to the simulation-driven railway traction power supply system digital twin device according to any one of claims 1 to 7, and the simulation method comprises: Construct the main circuit model of the railway traction power supply system according to the equipment parameters; Build a locomotive controller model based on the controller binary file; Building a digital twin model according to the main circuit model and the locomotive controller model; Acquiring measurement data of the railway traction power supply system, and writing the measurement data into the digital twin model to generate an electromagnetic transient simulation section; Performing digital twin simulation on the railway traction power supply system to generate a digital twin simulation kernel; The digital twin model with the electromagnetic transient simulation section is imported into the digital twin simulation kernel for simulation to obtain simulation results.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the computer program to implement the simulation-driven railway traction power supply system digital twin simulation method as described in claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the simulation-driven railway traction power supply system digital twin simulation method as described in claim 8.
Citation Information
Patent Citations
Railway electrical training system based on virtual reality
CN104504956A
Traction simulation model based on power supply and signal system, and simulation method thereof
CN113901655A
Simulation operation control method and system based on unreal engine
CN117032895A
Digital twinborn modeling method of new energy access high-speed rail traction power supply system
CN117592356A
Static var generator digital twin system, method, device and medium
CN119209584A