Asynchronous simulation data transmission method, device, electronic device and storage medium

Through the data transmission method of asynchronous simulation, the problem of model divergence caused by data interaction misalignment in multi-physics domain simulation of wind turbines is solved, accurate data exchange between aerodynamic machinery and electromagnetic transient subsystems is achieved, and the robustness of joint simulation of wind turbines is improved. .

CN118036289BActive Publication Date: 2024-09-27SHANGHAI INVESTIGATION DESIGN & RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410170283.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2024-09-27
Estimated Expiration
2044-02-06

AI Technical Summary

Technical Problem

When simulating turbines in multiple physical domains in the prior art, data interaction between subsystems in different physical domains leads to simulation distortion, especially in pneumatic machinery and electromagnetic transient simulations, simplification or omission leads to problems in model divergence.

Method used

The asynchronous simulation data transmission method is used to determine whether the simulation timestamps of the pneumatic machinery simulation subsystem and the electromagnetic transient simulation subsystem are at the same time. If they are different, the simulation results are processed according to the asynchronous duration for data exchange to ensure the accuracy and accuracy of data interaction. Synchronicity.

Benefits of technology

It realizes the data transmission of asynchronous simulation in multiple physical domains, reduces the computing requirements, improves the robustness of the wind turbine joint simulation model, and avoids model divergence problems caused by data packet loss and model timeout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118036289B
    Figure CN118036289B
Patent Text Reader

Abstract

The present invention provides a data transmission method, device, electronic device and medium for asynchronous simulation, the method comprising: processing mechanical torque, electromagnetic torque and mechanical speed in two modes according to the order of timestamps of pneumatic mechanical simulation subsystem and electromagnetic transient simulation subsystem, so as to achieve synchronization of simulation moments of the two subsystems, and then interacting with simulation results through a data transmission interface. The present invention realizes asynchronous simulation in multi-physical domain coupling scenarios with large and small simulation steps without changing the physical domain calculation cycle through data discretization processing, and at the same time improves the problem of model divergence caused by data interaction misalignment, and increases the robustness of the large model of fan joint simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to wind turbine simulation technology, and in particular to an asynchronous simulation data transmission method, device, electronic device and storage medium. Background Art

[0002] In the planning and simulation stage of wind turbine-related projects, it is particularly important to use power simulation software to reasonably verify the scheme as a necessary means. Since the operating principle of the wind turbine is that the blades convert the wind energy in the air into the kinetic energy of the hub, and then pass the kinetic energy to the generator through the gearbox and transmission chain, and finally the generator converts the kinetic energy into electrical energy and transmits it to the user through the power grid, it involves a multi-physical domain system and needs to consider multiple types of variables: electromagnetic, mechanical and other factors. Therefore, the simulation of the pneumatic-mechanical and electromagnetic domains involved in the construction of the multi-physical domain simulation system.

[0003] In the prior art, the use of a single software for simulation has the problem of data distortion caused by the simplification of local multi-physical domain models. Specifically, when performing aerodynamic mechanical simulation, the electrical part of the wind turbine is simplified or omitted, such as simplifying the electromagnetic torque set by the controller to a first-order inertia link; and when performing electrical transient simulation, the mechanical part of the wind turbine is simplified or omitted, such as ignoring the vibration of the natural frequency on the transmission shaft. Therefore, when simulating multi-physical domain system solutions, joint simulation is usually used to process different physical domain subsystems. When simulating different physical domains such as mechanics, fluid, and electrical through joint simulation, it is difficult to ensure the real-time performance of the entire large model due to the different software platforms used in different physical domains and the limitations of the simulation platform computing power.

[0004] In order to realize joint simulation of multiple physical domains under asynchronous conditions under general conditions, a data transmission method that can connect different subsystems under discrete simulation steps is needed to realize asynchronous simulation control of multiple physical domains and multi-time scale physical domains. Summary of the invention

[0005] In view of the disadvantage of simulation distortion caused by data interaction between simulation subsystems in different physical domains in the prior art, the purpose of the present invention is to provide a data transmission method, device, electronic device and storage medium for asynchronous simulation to solve the problem that data interaction misalignment easily leads to model divergence.

[0006] The first aspect of the present disclosure provides an asynchronous simulation data transmission method, which is applied to a joint simulation system of pneumatic mechanical simulation and electromagnetic transient simulation of a fan, comprising: performing simulation calculations on a pneumatic mechanical simulation subsystem and an electromagnetic transient simulation subsystem respectively; judging whether the simulation timestamp of the small pneumatic mechanical simulation subsystem and the simulation timestamp of the electromagnetic transient simulation subsystem are at the same time; if so, directly exchanging data between the simulation calculation results of the pneumatic mechanical simulation subsystem and the simulation calculation results of the electromagnetic transient simulation subsystem until the simulation time set by the two simulation subsystems is reached; if not, processing the simulation calculation results based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, and then exchanging data until the simulation time set by the two simulation subsystems is reached.

[0007] In an embodiment of the first aspect, the physical quantities for data exchange between the electromagnetic transient simulation subsystem and the pneumatic mechanical simulation subsystem include: moment of inertia, mechanical torque, electromagnetic torque and mechanical rotation speed.

[0008] In an embodiment of the first aspect, the calculation formula of the asynchronous duration is:

[0009] Δt=Ts_m-Ts_e

[0010] Among them, Δt is the asynchronous duration, Ts_m is the simulation step of the pneumatic mechanical simulation subsystem, and Ts_e is the simulation step of the electromagnetic transient simulation subsystem.

[0011] In an embodiment of the first aspect, the simulation calculation results are processed based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, and then data exchange is performed, specifically including: judging the order of simulation timestamps of the pneumatic mechanical sub-simulation system and the electromagnetic transient sub-simulation system; if the pneumatic mechanical simulation subsystem is ahead of the electromagnetic transient simulation subsystem, the calculated simulation results of the electromagnetic transient simulation subsystem are processed and transmitted to the pneumatic mechanical simulation subsystem, wherein the calculated simulation results are electromagnetic torque and mechanical speed; if the electromagnetic transient simulation subsystem is ahead of the pneumatic mechanical simulation subsystem, the calculated simulation results of the pneumatic mechanical simulation subsystem are processed and transmitted to the electromagnetic transient simulation subsystem, wherein the calculated simulation results are mechanical torque.

[0012] In an embodiment of the first aspect, the electromagnetic torque processing of the electromagnetic transient simulation subsystem is specifically:

[0013]

[0014] Where t is the simulation time of the subsystem with the leading simulation timestamp; μ tThe electromagnetic torque transmitted to the pneumatic mechanical simulation subsystem; is the mechanical torque of the pneumatic mechanical simulation subsystem at time t, J t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t, Wr t Wr is the mechanical speed of the pneumatic mechanical simulation subsystem at time t; t-Δt is the mechanical speed of the pneumatic mechanical simulation subsystem Δt seconds before time t; Δt is the asynchronous time;

[0015] The mechanical speed processing of the electromagnetic transient simulation subsystem is specifically as follows:

[0016] W t =(Wr t-a -Wr t-a-1 ) / Ts_e*Δt-(μ m -μ m(t-b) )*Δt / 2 / J t

[0017] Where, t is the simulation time of the pneumatic mechanical simulation subsystem; Wrt is the mechanical speed transmitted to the pneumatic mechanical simulation subsystem; Wr t-a Wr is the mechanical speed of the electromagnetic transient simulation subsystem a*Ts_e seconds before time t; t-1-a is the mechanical speed of the electromagnetic transient simulation subsystem at (a+1)*Ts_e seconds before time t; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; Δt is the asynchronous time; μ mt is the mechanical torque of the pneumatic mechanical subsystem at time t; J is the mechanical torque of the pneumatic mechanical subsystem b*Ts_e seconds before time t; t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t;

[0018] The mechanical torque processing of the pneumatic mechanical simulation subsystem is specifically as follows:

[0019]

[0020] Where t is the simulation time of the subsystem with the leading simulation timestamp; μ mt is the mechanical torque transmitted to the electromagnetic transient simulation subsystem; is the mechanical torque of the pneumatic-mechanical subsystem a*Ts_e seconds before time t; is the mechanical torque of the pneumatic-mechanical subsystem at (a+b)*Ts_e seconds before time t; Δt is the asynchronous time; Ts_m is the simulation step of the pneumatic-mechanical subsystem; Ts_e is the simulation step of the electromagnetic transient simulation subsystem;

[0021] in,

[0022] a=Δt / Ts_e

[0023] Where a is the minimum simulation step; Δt is the asynchronous duration; Ts_e is the simulation step of the electromagnetic transient simulation subsystem;

[0024] b=Ts_m / Ts_e

[0025] Where b indicates that the simulation step of the pneumatic-mechanical simulation subsystem is a multiple of the simulation step of the electromagnetic transient simulation subsystem, Ts_m is the simulation step of the pneumatic-mechanical subsystem, and Ts_e is the simulation step of the electromagnetic transient simulation subsystem.

[0026] In an embodiment of the first aspect, the electromagnetic transient simulation subsystem is built by Blade or GH Bladed simulation software, and the pneumatic mechanical simulation subsystem is built by Simllink simulation software.

[0027] The second aspect of the present disclosure provides, including: a preset module, used to perform simulation calculations on a pneumatic mechanical simulation subsystem and an electromagnetic transient simulation subsystem respectively; a judgment module, used to judge whether the simulation timestamp of the small pneumatic mechanical simulation subsystem and the simulation timestamp of the electromagnetic transient simulation subsystem are at the same time; a processing module, used to, if so, directly exchange data between the simulation calculation results of the pneumatic mechanical simulation subsystem and the simulation calculation results of the electromagnetic transient simulation subsystem until the simulation time set for the two simulation subsystems is reached; if not, processing the simulation calculation results based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, and then exchanging data until the simulation time set for the two simulation subsystems is reached.

[0028] A third aspect of the present disclosure provides an electronic device, comprising: a processor and a memory; the memory stores program instructions; the processor is used to run the program instructions to execute the asynchronous simulated data transmission method as described in any one of the first aspects.

[0029] A fourth aspect of the present disclosure provides a computer-readable storage medium, characterized in that program instructions are stored therein, and the program instructions are executed to perform the asynchronous simulation data transmission method as described in any one of the first aspects.

[0030] As described above, the data transmission method, device, electronic device and medium of asynchronous simulation are provided in the embodiments of the present disclosure. By discretizing the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem with different simulation steps, the physical domain calculation cycle is not changed, and asynchronous simulation can be realized in the multi-physical domain coupling scenario with large and small simulation steps, thereby reducing the calculation requirements of multi-physical domain joint simulation and promoting the simulation verification and data support of multi-physical domain project solutions. In addition, the above method can also effectively improve the data packet loss in the multi-physical domain joint simulation process, and the data interaction misalignment caused by model timeout can easily lead to model divergence, thereby increasing the robustness of the large model of wind turbine joint simulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 Demonstrates the asynchronous simulation architecture of the wind turbine's aeromechanical subsystem and electromagnetic transient simulation subsystem.

[0032] Figure 2 A flowchart of an asynchronous simulated data transmission method according to an embodiment of the present disclosure is shown.

[0033] Figure 3 A flowchart of an asynchronous simulated data transmission method in another embodiment of the present disclosure is shown.

[0034] Figure 4 A module schematic diagram showing an asynchronous simulated data transmission device in one embodiment of the present disclosure.

[0035] Figure 5 A schematic diagram showing the circuit structure of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0036] The following is an explanation of the embodiments of the present disclosure by specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the information disclosed by the present disclosure. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in the present disclosure can also be modified or changed in various ways according to different viewpoints and application modules without departing from the spirit of the present disclosure. It should be noted that the embodiments in the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0037] The following is a detailed description of the embodiments of the present disclosure with reference to the accompanying drawings so that those skilled in the art can easily implement the present disclosure. The present disclosure can be embodied in many different forms and is not limited to the embodiments described herein.

[0038] In the representations of the present disclosure, the reference terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" and the like mean that the specific features, structures, materials or characteristics represented in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials or characteristics represented may be combined in any one or a group of embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples represented in the present disclosure and the features of different embodiments or examples, unless they are mutually contradictory.

[0039] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the representation of the present disclosure, "a group" means two or more, unless otherwise clearly and specifically defined.

[0040] The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the present disclosure. The singular form used herein also includes the plural form unless the sentence clearly indicates the contrary meaning. The meaning of "including" used in the specification is to specify specific characteristics, regions, integers, steps, operations, elements and / or components, and does not exclude the existence or addition of other characteristics, regions, integers, steps, operations, elements and / or components.

[0041] Although not defined differently, all terms, including technical and scientific terms used herein, have the same meaning as those generally understood by those skilled in the art to which the present disclosure belongs. Terms defined in commonly used dictionaries are additionally interpreted as having meanings consistent with relevant technical literature and the message of the present disclosure, and shall not be overly interpreted as ideal or very formal meanings unless defined.

[0042] The fan joint simulation involves two sub-simulation systems, one is the pneumatic mechanical simulation subsystem with a larger simulation step, and the other is the electromagnetic transient simulation subsystem with a smaller simulation step. The simulation step of the pneumatic mechanical system is 0.005 to 0.01 seconds, while the simulation step of the electromagnetic transient system is 50 microseconds, which is 1 / 100 of the simulation step of the pneumatic and mechanical subsystems. Figure 1As shown in the figure, the asynchronous simulation architecture of the aeromechanical subsystem and electromagnetic transient simulation subsystem of the wind turbine is displayed. Usually, the electromagnetic transient simulation subsystem is built by Blade or GH Bladed simulation software, and the aeromechanical simulation subsystem is built by Simllink simulation software. Among them, Bladed software is an integrated software package for wind turbine design and verification, which can provide various comprehensive models such as various wind models, control systems, dynamic responses, etc., which can be used for wind turbine power analysis, load calculation, wind turbine aerodynamic performance analysis, etc. Bladed can perform efficient calculations through cloud services, provide computing resources, reduce the cost of establishing and maintaining local IT systems, and support Linux systems. GH Bladed software is a professional software for wind turbine design. It is suitable for horizontal axis wind turbines of various sizes and types on land and at sea, and performs performance and load calculations required for design and certification. The software supports combined calculations of wind loads and wave loads, adopts full aeroelastic and hydroelastic models, and considers the influence of seismic excitation. GH Bladed has multiple functional modules, including shell stability analysis dynamic load simulation, load and power acquisition analysis, batch processing and automatic report generation, grid interaction, and linearization models for control design.

[0043] Simulink software can provide an integrated environment for dynamic system modeling, simulation and comprehensive analysis. In this environment, complex model systems can be constructed through simple and intuitive mouse operations without writing a lot of programs. Simulink software has the advantages of wide adaptability, clear structure and process, fine simulation, close to reality, high efficiency, and flexibility. Based on the above advantages, Simulink software has been widely used in complex simulation calculations and designs of control theory and digital signal processing. At the same time, there are a large number of third-party software and hardware that can be applied or are required to be applied in the Simulink software environment.

[0044] Since different physical domains use different software platforms and different step sizes, direct data interaction will cause the simulation system to oscillate, and the system simulation error will gradually increase over time, making it impossible to obtain accurate simulation results. In order to achieve joint simulation of multiple physical domains under asynchronous conditions under general conditions, a data interface that can connect different subsystems under discrete simulation steps is required to achieve data transmission of asynchronous simulation of multiple physical domains and multiple time scale physical domains. In view of this, a data transmission method for asynchronous simulation can be provided in some embodiments of the present disclosure to solve the data transmission problem of systems with different simulation step sizes.

[0045] like Figure 2 As shown, a flow chart of a data transmission method of asynchronous simulation in an embodiment of the present disclosure is shown, including steps S1 to S4:

[0046] S1. Simulate and calculate the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem respectively.

[0047] S2, determining whether the simulation timestamp of the small pneumatic mechanical simulation subsystem and the simulation timestamp of the electromagnetic transient simulation subsystem are at the same time;

[0048] If yes, then proceed to step S3: directly exchange data between the simulation calculation results of the pneumatic mechanical simulation subsystem and the simulation calculation results of the electromagnetic transient simulation subsystem until the simulation time set by the two simulation subsystems is reached;

[0049] If not, jump to S4: after processing the simulation calculation results based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, data exchange is performed; until the simulation time set by the two simulation subsystems is reached.

[0050] In some embodiments, the physical quantities for data exchange between the electromagnetic transient simulation subsystem and the pneumatic mechanical simulation subsystem include: moment of inertia J, mechanical torque μ m , electromagnetic torque μ, mechanical speed Wr. More specifically, the variables transmitted to the pneumatic mechanical subsystem by the electromagnetic transient simulation subsystem include: electromagnetic torque μ, mechanical speed Wr; the variables output to the electromagnetic by the pneumatic mechanical part include: mechanical torque μ m The moment of inertia J is an intermediate variable in the simulation process of the pneumatic mechanical subsystem. Although it does not participate in the interaction of the electromagnetic simulation subsystem, it will iterate in the pneumatic mechanical subsystem.

[0051] In some implementations, the calculation formula for the asynchronous duration is:

[0052] Δt=Ts_m-Ts_e

[0053] Where Δt is the asynchronous duration, Ts_m is the simulation step of the pneumatic mechanical simulation subsystem, and Ts_e is the simulation step of the electromagnetic transient simulation subsystem.

[0054] In some embodiments, Figure 3 As shown, the step S4 specifically includes steps S41 to S43:

[0055] S41, determining whether the pneumatic mechanical sub-simulation system is ahead of the electromagnetic transient sub-simulation system;

[0056] S42, if yes, then processing the calculation simulation results of the electromagnetic transient simulation subsystem and transmitting them to the pneumatic mechanical simulation subsystem, wherein the calculation simulation results are electromagnetic torque and mechanical speed;

[0057] S43: If not, the calculation simulation result of the pneumatic mechanical simulation subsystem is processed and transmitted to the electromagnetic transient simulation subsystem, wherein the calculation simulation result is the mechanical torque.

[0058] Through the asynchronous simulation data transmission method in the above embodiment, real-time data exchange between the pneumatic mechanical subsystem and the electromagnetic transient subsystem is achieved, the computational requirements of multi-physical domain joint simulation are reduced, and the simulation verification and data support of multi-physical domain project solutions are promoted. In addition, the data packet loss in the multi-physical domain joint simulation process is improved, and the data interaction misalignment caused by model timeout easily leads to model divergence, thereby increasing the robustness of the large model of wind turbine joint simulation.

[0059] In some implementations, the electromagnetic torque processing of the electromagnetic transient simulation subsystem in step S42 is specifically as follows:

[0060]

[0061] Where t is the simulation time of the subsystem with the leading simulation timestamp; μ t The electromagnetic torque transmitted to the pneumatic mechanical simulation subsystem; is the mechanical torque of the pneumatic mechanical simulation subsystem at time t, J t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t, Wr t Wr is the mechanical speed of the pneumatic mechanical simulation subsystem at time t; t-Δt is the mechanical speed of the pneumatic mechanical simulation subsystem Δt seconds before time t; Δt is the asynchronous time;

[0062] The mechanical speed processing of the electromagnetic transient simulation subsystem is specifically as follows:

[0063] W t =(Wr t-a -Wr t-a-1 ) / Ts_e*Δt-(μ mt -μ m(t-b) )*Δt / 2 / J t

[0064] Where, t is the simulation time of the pneumatic mechanical simulation subsystem; Wr t Wr is the mechanical speed transmitted to the pneumatic mechanical simulation subsystem; t-a Wr is the mechanical speed of the electromagnetic transient simulation subsystem a*Ts_e seconds before time t; t-1-a is the mechanical speed of the electromagnetic transient simulation subsystem at (a+1)*Ts_e seconds before time t; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; Δt is the asynchronous time; μ mt is the mechanical torque of the pneumatic mechanical subsystem at time t; J is the mechanical torque of the pneumatic mechanical subsystem b*Ts_e seconds before time t; t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t;

[0065] In some implementations, the mechanical torque processing of the pneumatic mechanical simulation subsystem in step S43 is specifically as follows:

[0066]

[0067] Where t is the simulation time of the subsystem with the leading simulation timestamp; μ mt is the mechanical torque transmitted to the electromagnetic transient simulation subsystem; is the mechanical torque of the pneumatic-mechanical subsystem a*Ts_e seconds before time t; is the mechanical torque of the pneumatic-mechanical subsystem at (a+b)*Ts_e seconds before time t; Δt is the asynchronous time; Ts_m is the simulation step of the pneumatic-mechanical subsystem; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; where,

[0068] a=Δt / Ts_e

[0069] Where a is the minimum simulation step; Δt is the asynchronous duration; Ts_e is the simulation step of the electromagnetic transient simulation subsystem;

[0070] b=Ts_m / Ts_e

[0071] Where Ts_m is the simulation step size of the pneumatic-mechanical subsystem; Ts_e is the simulation step size of the electromagnetic transient simulation subsystem.

[0072] In order to better illustrate the principles and methods of the above implementation, the following takes the asynchronous time length Δt as 5e^-4 seconds, the pneumatic-mechanical subsystem simulation step length Ts_m as 0.005 seconds, and the electromagnetic transient simulation step length Ts_e as 5e^-5 seconds as a specific example.

[0073] The principle of the data transmission method is that after the two subsystems are simulated and calculated, the simulation results of each subsystem with their own timestamps are obtained. Assuming that time t is the simulation time of the subsystem with a leading timestamp, the simulation results of the subsystem with a lagging timestamp are processed to deduce the simulation result of the physical quantity at time t. That is, after processing, the simulation results of the two subsystems are all at time t, which is equivalent to no asynchrony between the two subsystems. Therefore, data transmission can be performed directly without causing oscillation distortion of the simulation system.

[0074] In this example, the data transmission of asynchronous simulation is divided into two modes. Mode 1 is that the pneumatic mechanical simulation subsystem leads the electromagnetic transient simulation subsystem, and mode 2 is that the electromagnetic transient simulation subsystem leads the pneumatic mechanical simulation subsystem.

[0075] Specifically, since the timestamp of the pneumatic mechanical simulation subsystem in mode 1 is ahead of the electromagnetic transient simulation subsystem, the electromagnetic transient simulation subsystem is at time t-Δt, and the pneumatic mechanical simulation subsystem is at time t. At this time, the simulation result of the electromagnetic transient simulation subsystem at time t-Δt, the electromagnetic torque μ t-Δt Processed as μ t , and then transmitted to the pneumatic mechanical simulation subsystem, specifically:

[0076]

[0077] In the formula, μ t is the electromagnetic torque transmitted to the pneumatic mechanical simulation subsystem; μ mt is the mechanical torque of the pneumatic mechanical simulation subsystem at time t, J t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t, Wr t Wr is the mechanical speed of the pneumatic mechanical simulation subsystem at time t; t-Δt It is the mechanical speed of the pneumatic mechanical simulation subsystem Δt seconds before time t; Δt is the asynchronous time.

[0078] Another simulation result Wr of the electromagnetic transient simulation subsystem at time t-Δt t-Δt Processed as Wr t , and then transmitted to the pneumatic mechanical simulation subsystem, specifically:

[0079] W t =(Wr t-10 -Wr t-11 ) / Ts_e*Δt-(μ mt -μ m(t-100) )*Δt / 2 / J t

[0080] Where, t is the simulation time of the pneumatic mechanical simulation subsystem; Wr t Wr is the mechanical speed transmitted to the pneumatic mechanical simulation subsystem; t-10 Wr is the mechanical speed of the electromagnetic transient simulation subsystem 10*Ts_e seconds before time t; t-11 is the mechanical speed of the electromagnetic transient simulation subsystem 11*Ts_e seconds before time t; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; Δt is the asynchronous time; μ mt is the mechanical torque of the pneumatic mechanical subsystem at time t; J is the mechanical torque of the pneumatic mechanical subsystem b*Ts_e seconds before time t; t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t;

[0081] Since the electromagnetic transient simulation subsystem leads the pneumatic mechanical simulation subsystem in mode 2, the pneumatic mechanical simulation subsystem is at time t-Δt, and the electromagnetic transient simulation subsystem is at time t. At this time, the simulation result of the pneumatic mechanical simulation subsystem at time t-Δt, the electromagnetic torque μ mt-Δt Processed as μ mt , and then transmitted to the electromagnetic transient simulation subsystem, specifically:

[0082]

[0083] In the formula, μ mt is the mechanical torque transmitted to the electromagnetic transient simulation subsystem; is the mechanical torque of the pneumatic-mechanical subsystem 10*5e^-5 seconds before time t; μ m[t-(10+100)] is the mechanical torque of the pneumatic-mechanical subsystem at (10+100)*5e^-5 seconds before time t; Δt is the asynchronous time; Ts_m is the simulation step of the pneumatic-mechanical subsystem; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; where 100 is derived from the fact that the pneumatic-mechanical simulation step is a multiple of the electromagnetic transient simulation step, i.e.

[0084] 100 = Ts_m / Ts_e = 5e^-3 / 5e^-5

[0085] 10 is obtained from the minimum simulation step size, that is,

[0086] 10 = Δt / Ts_e = 5e^-4 / 5e^-5

[0087] In this example, the simulation results of the subsystems are processed in two modes based on the order of timestamps, which effectively solves the problem of model divergence caused by data interaction misalignment and increases the robustness of the large wind turbine joint simulation model.

[0088] like Figure 4 As shown, a functional module diagram of the asynchronous simulated data transmission device in one embodiment of the present disclosure is shown. It should be noted that the principle and technical implementation of the asynchronous simulated data transmission device can refer to the asynchronous simulated data transmission method embodiment in the previous embodiment (for example Figure 2 ), so it will not be repeated in this embodiment.

[0089] exist Figure 4 In the embodiment, the device 400 includes: a preset module 401, a determination module 402, and a processing module 303.

[0090] The preset module 401 is used to perform simulation calculations on the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem respectively.

[0091] The judging module 402 is used to judge whether the simulation timestamp of the small pneumatic mechanical simulation subsystem and the simulation timestamp of the electromagnetic transient simulation subsystem are at the same time;

[0092] The processing module 403 is used for directly exchanging data between the simulation calculation result of the pneumatic mechanical simulation subsystem and the simulation calculation result of the electromagnetic transient simulation subsystem until the simulation time set by the two simulation subsystems is reached;

[0093] If not, the simulation calculation results are processed based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, and then data exchange is performed until the simulation time set by the two simulation subsystems is reached.

[0094] It should be noted that in Figure 4 Each functional module in the embodiment can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a program instruction product. The program instruction product includes one or a group of program instructions. When the program instruction is loaded and executed on a computer, the process or function according to the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The program instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0095] and, Figure 4 The device disclosed in the embodiment can be implemented by other module division methods. The device embodiments shown above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as a group of modules or modules can be combined or dynamically added to another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical or other forms.

[0096] in addition, Figure 4 Each functional module and submodule in the embodiment can be dynamically in a processing component, or each module can exist physically separately, or two or more modules can be dynamically in one component. The above-mentioned dynamic components can be implemented in the form of hardware or in the form of software functional modules. If the above-mentioned dynamic components are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0097] It should be particularly noted that the process or method represented by the flowchart of the above embodiment of the present disclosure can be understood as representing a module, fragment or part of a code including one or more sets of executable instructions configured to implement the steps of a specific logical function or process. And the scope of the preferred embodiment of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0098] like Figure 5 , which shows a schematic structural diagram of an electronic device 500 in an embodiment of the present disclosure.

[0099] The electronic device can execute the following steps by running the computer program instructions: Figure 2 The method in the embodiment. Exemplarily, the electronic device may be a distributed computing node system, a server group / server, a desktop computer, a laptop computer, etc., so as to be used to run the following Figure 1 Alternatively, the intelligent analysis device may be a vehicle-mounted controller, or a cloud-based server / server group that communicates remotely with a server terminal (such as a terminal used by property management personnel), a distributed computing node system, etc., by executing Figure 2 The data transmission method of asynchronous simulation in is used to transmit data between subsystems with different simulation steps.

[0100] The electronic device includes a bus 501, a processor 502, and a memory 503. The processor 502 and the memory 503 can communicate with each other through the bus 501. The memory 503 may store program instructions. The processor 502 implements the method steps in the previous embodiment by running the program instructions in the memory 503, such as Figure 2 The method in .

[0101] The bus 501 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, although only one thick line is used in the figure, it does not mean that there is only one bus or one type of bus.

[0102] In some embodiments, the processor 502 may be implemented as a central processing unit (CPU), a microprocessing unit (MCU), a system on chip (System On Chip), or a field programmable logic array (FPGA). The memory 503 may include a volatile memory (Volatile Memory) for temporary storage of data when running a program, such as a random access memory (Random Access Memory, RAM).

[0103] The memory 503 may also include a non-volatile memory (non-volatile memory) for data storage, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state disk (SSD).

[0104] In some embodiments, the electronic device 500 may further include a communicator 504. The communicator 504 is used to communicate with the outside. In a specific example, the communicator 504 may include one or a group of wired and / or wireless communication circuit modules. For example, the communicator 504 may include one or more of a wired network card, a USB module, a serial interface module, etc. The wireless communication protocol followed by the wireless communication module includes: for example, near field communication (NFC) technology, infrared (IR) technology, Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), Bluetooth (BT), Global Navigation Satellite System (GNSS), etc. One or more.

[0105] In an embodiment of the present disclosure, a computer-readable storage medium may be provided, wherein program instructions are stored, and the program instructions are executed by running, for example Figure 2 Asynchronous simulated data transmission method in an embodiment.

[0106] That is, the method steps in the above embodiments are implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or are implemented as computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded via a network and to be stored in a local recording medium, so that the method represented herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA).

[0107] In summary, the data transmission method, device, electronic device and medium of asynchronous simulation are provided in the embodiments of the present disclosure. The simulation results are processed in two modes according to the order of subsystem timestamps, and then data is exchanged through the data transmission interface. Without changing the physical domain calculation cycle, asynchronous simulation in the multi-physical domain coupling scenario with large and small simulation steps is realized. At the same time, the problem of model divergence caused by data interaction misalignment is improved, and the robustness of the large model of wind turbine joint simulation is increased.

[0108] The above embodiments are merely illustrative of the principles and effects of the present disclosure, and are not intended to limit the present disclosure. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present disclosure. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present disclosure shall still be covered by the claims of the present disclosure.

Claims

1. An asynchronous simulation data transmission method, applied to the joint simulation system of aerodynamic mechanical simulation and electromagnetic transient simulation of a fan, characterized in that: include: S1. Simulate and calculate the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem respectively; S2 determines whether the simulation timestamp of the pneumatic mechanical simulation subsystem and the simulation timestamp of the electromagnetic transient simulation subsystem are at the same time; S3, if yes, then directly exchange data between the simulation calculation results of the pneumatic mechanical simulation subsystem and the simulation calculation results of the electromagnetic transient simulation subsystem until the simulation time set by the two simulation subsystems is reached; S4, if not, processing the simulation calculation results based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, and then exchanging data until the simulation time set by the two simulation subsystems is reached; including: S41, determining the order of simulation timestamps of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem; S42, if the pneumatic mechanical simulation subsystem is ahead of the electromagnetic transient simulation subsystem, the calculation simulation results of the electromagnetic transient simulation subsystem are processed and transmitted to the pneumatic mechanical simulation subsystem, wherein the calculation simulation results are electromagnetic torque and mechanical speed; S43, if the electromagnetic transient simulation subsystem is ahead of the pneumatic mechanical simulation subsystem, the calculation simulation result of the pneumatic mechanical simulation subsystem is processed and transmitted to the electromagnetic transient simulation subsystem, wherein the calculation simulation result is the mechanical torque; The calculation formula of the asynchronous duration is: Δt=Ts_m-Ts_e Where Δt is the asynchronous duration, Ts_m is the simulation step of the pneumatic mechanical simulation subsystem, and Ts_e is the simulation step of the electromagnetic transient simulation subsystem; The electromagnetic torque processing of the electromagnetic transient simulation subsystem is specifically as follows: Where, t is the simulation time of the pneumatic mechanical simulation subsystem; μ t is the electromagnetic torque transmitted to the pneumatic mechanical simulation subsystem; μ mt is the mechanical torque of the pneumatic mechanical simulation subsystem at time t, J t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t, Wr t Wr is the mechanical speed of the pneumatic mechanical simulation subsystem at time t; t-Δt is the mechanical speed of the pneumatic mechanical simulation subsystem Δt seconds before time t; Δt is the asynchronous time; The mechanical speed processing of the electromagnetic transient simulation subsystem is specifically as follows: Wr t =(Wr t-a -Wr t-1-a ) / Ts_e*Δt-(μ mt -m m(t-b) )*Δt / 2 / J t Where, t is the simulation time of the pneumatic mechanical simulation subsystem; Wr t Wr is the mechanical speed transmitted to the pneumatic mechanical simulation subsystem; t-a Wr is the mechanical speed of the electromagnetic transient simulation subsystem a*Ts_e seconds before time t; t-1-a is the mechanical speed of the electromagnetic transient simulation subsystem at (a+1)*Ts_e seconds before time t; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; Δt is the asynchronous time; μ mt is the mechanical torque of the pneumatic mechanical subsystem at time t; J is the mechanical torque of the pneumatic mechanical subsystem b*Ts_e seconds before time t; t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t; The mechanical torque processing of the pneumatic mechanical simulation subsystem is specifically as follows: Where, t is the simulation time of the electromagnetic transient simulation subsystem; μ mt is the mechanical torque transmitted to the electromagnetic transient simulation subsystem; is the mechanical torque of the pneumatic mechanical subsystem a*Ts_e seconds before time t; is the mechanical torque of the pneumatic-mechanical subsystem at (a+b)*Ts_e seconds before time t; Δt is the asynchronous time; Ts_m is the simulation step of the pneumatic-mechanical subsystem; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; in, a=Δt / Ts_e Where a is the minimum simulation step; Δt is the asynchronous duration; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; b=Ts_m / Ts_e Wherein, b indicates that the simulation step of the pneumatic machinery simulation subsystem is a multiple of the simulation step of the electromagnetic transient simulation subsystem; Ts_m is the simulation step of the pneumatic machinery simulation subsystem; and Ts_e is the simulation step of the electromagnetic transient simulation subsystem.

2. The asynchronous simulated data transmission method according to claim 1, characterized in that: The physical quantities for data exchange between the electromagnetic transient simulation subsystem and the pneumatic mechanical simulation subsystem include: moment of inertia, mechanical torque, electromagnetic torque and mechanical rotation speed.

3. The asynchronous simulated data transmission method according to claim 1, characterized in that: The electromagnetic transient simulation subsystem is built by Blade or GH Bladed simulation software, and the pneumatic mechanical simulation subsystem is built by Simllink simulation software.

4. An asynchronous simulated data transmission device, characterized in that: include: A preset module is used to perform simulation calculations on the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem respectively; A judgment module, used for judging whether the simulation timestamp of the pneumatic mechanical simulation subsystem and the simulation timestamp of the electromagnetic transient simulation subsystem are at the same time; a processing module, for directly exchanging data between the simulation calculation results of the pneumatic mechanical simulation subsystem and the simulation calculation results of the electromagnetic transient simulation subsystem until the simulation time set by the two simulation subsystems is reached; If not, then after processing the simulation calculation results based on the asynchronous duration of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem, data exchange is performed until the simulation time set by the two simulation subsystems is reached; including: A time detection unit, used to determine the order of simulation timestamps of the pneumatic mechanical simulation subsystem and the electromagnetic transient simulation subsystem; A transmission unit, used for, if the pneumatic mechanical simulation subsystem is ahead of the electromagnetic transient simulation subsystem, transmitting the calculated simulation results of the electromagnetic transient simulation subsystem to the pneumatic mechanical simulation subsystem after processing, wherein the calculated simulation results are electromagnetic torque and mechanical speed; If the electromagnetic transient simulation subsystem is ahead of the pneumatic mechanical simulation subsystem, the calculation simulation result of the pneumatic mechanical simulation subsystem is processed and transmitted to the electromagnetic transient simulation subsystem, wherein the calculation simulation result is the mechanical torque; The calculation formula of the asynchronous duration is: Δt=Ts_m-Ts_e Where Δt is the asynchronous duration, Ts_m is the simulation step of the pneumatic mechanical simulation subsystem, and Ts_e is the simulation step of the electromagnetic transient simulation subsystem; The electromagnetic torque processing of the electromagnetic transient simulation subsystem is specifically as follows: Where, t is the simulation time of the pneumatic mechanical simulation subsystem; μ t The electromagnetic torque transmitted to the pneumatic mechanical simulation subsystem; is the mechanical torque of the pneumatic mechanical simulation subsystem at time t, J t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t, Wr t Wr is the mechanical speed of the pneumatic mechanical simulation subsystem at time t; t-Δt is the mechanical speed of the pneumatic mechanical simulation subsystem Δt seconds before time t; Δt is the asynchronous time; The mechanical speed processing of the electromagnetic transient simulation subsystem is specifically as follows: Wr t =(Wr t-a -Wr t-1-a ) / Ts_e*Δt-(μ mt -m m(t-b) )*Δt / 2 / J t Where, t is the simulation time of the pneumatic mechanical simulation subsystem; Wr t Wr is the mechanical speed transmitted to the pneumatic mechanical simulation subsystem; t-a Wr is the mechanical speed of the electromagnetic transient simulation subsystem a*Ts_e seconds before time t; t-1-a is the mechanical speed of the electromagnetic transient simulation subsystem at (a+1)*Ts_e seconds before time t; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; Δt is the asynchronous time; μ mt is the mechanical torque of the pneumatic mechanical subsystem at time t; J is the mechanical torque of the pneumatic mechanical subsystem b*Ts_e seconds before time t; t is the moment of inertia of the pneumatic mechanical simulation subsystem at time t; The mechanical torque processing of the pneumatic mechanical simulation subsystem is specifically as follows: Where, t is the simulation time of the electromagnetic transient simulation subsystem; μ mt is the mechanical torque transmitted to the electromagnetic transient simulation subsystem; is the mechanical torque of the pneumatic mechanical subsystem a*Ts_e seconds before time t; is the mechanical torque of the pneumatic-mechanical subsystem at (a+b)*Ts_e seconds before time t; Δt is the asynchronous time; Ts_m is the simulation step of the pneumatic-mechanical subsystem; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; in, a=Δt / Ts_e Where a is the minimum simulation step; Δt is the asynchronous duration; Ts_e is the simulation step of the electromagnetic transient simulation subsystem; b=Ts_m / Ts_e Wherein, b indicates that the simulation step of the pneumatic machinery simulation subsystem is a multiple of the simulation step of the electromagnetic transient simulation subsystem; Ts_m is the simulation step of the pneumatic machinery simulation subsystem; and Ts_e is the simulation step of the electromagnetic transient simulation subsystem.

5. An electronic device, characterized in that: include: Processor and memory; The memory stores program instructions; The processor is used to run the program instructions to perform the method as claimed in claim 1 or 2.

6. A computer-readable storage medium, characterized in that: Program instructions are stored, and the program instructions are executed to perform the method as claimed in claim 1 or 2.