A cross-platform joint modeling and simulation method for electromagnetic transient models
By building a data conversion system with Interface model interface module, cross-platform joint modeling and simulation of electromagnetic transient model of new energy power generation systems is solved, and the problems of poor compatibility, versatility and scalability in the existing technology are achieved, and efficient simulation interaction and accurate electromagnetic transient analysis are achieved.
Patent Information
- Application Number
- CN202210598090.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2042-05-30
AI Technical Summary
In the prior art, the cross-platform joint modeling and simulation of the electromagnetic transient model of the new energy power generation system has poor compatibility, versatility and scalability, resulting in large workload and low efficiency of unified modeling, and it is difficult for different platforms to achieve timing synchronization between the electrical physical quantity and the power switch tube pulse control signal.
A cross-platform joint modeling and simulation method of electromagnetic transient model is adopted. By building a data conversion system with an Interface model interface module, data transmission and simulation interaction between the primary main circuit electromagnetic transient model and the secondary control part electromagnetic transient model are realized. This method is based on PSCAD/EMTDC and MATLAB software, and realizes cross-platform interconnection and joint operation through simulated quantity sampling, control duty cycle, Interface model interface, model call engine and data transmission module.
The cross-platform interconnection and joint operation of the electromagnetic transient model of the new energy power generation system has been realized, the simulation accuracy has been improved, the scalability and compatibility of the platform has been enhanced, and the workload and low efficiency of unified modeling has been reduced.
Smart Images

Figure CN114912289B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy electromagnetic transient modeling and simulation, and in particular relates to a cross-platform joint modeling and simulation method of an electromagnetic transient model. Background Art
[0002] Large-scale renewable energy power generation systems are characterized by intermittency, volatility, and uncertainty. Large-scale grid connection will have a significant impact on the power flow distribution and voltage distribution of the power grid, and the power quality and safe operation of the power grid will face new challenges. Therefore, electromagnetic transient modeling and simulation analysis of renewable energy power generation systems is an important technical means to analyze and characterize the impact of large-scale renewable energy access on the stability of the power grid.
[0003] At present, the mainstream platforms for electromagnetic transient modeling of renewable energy power generation systems include MATLAB, PSCAD, etc. The electromagnetic transient model of the secondary control of renewable energy power generation systems and the electromagnetic transient model of the primary main circuit (including the grid structure) have their own professional simulation tools, and the control is mostly implemented based on the Matlab platform. The dynamic behavior of the power physical system in Matlab is continuous in time and can be represented by a set of differential equations. The current state of the system can be estimated relatively accurately through the power system simulation tool. Power planning, operation and testing units mostly build station or grid models containing renewable energy primary main circuits based on the PSCAD platform. The information and communication system is a discrete system, which is modeled using discrete time simulation tools, and the network parameters and events are described through discrete state models.
[0004] The existing research on cross-platform joint modeling and simulation of electromagnetic transient models for renewable energy power generation systems has the following problems: ① Most power planning and operation test units build station or power grid models containing renewable energy primary main circuits based on the PSCAD platform. The secondary control parts of renewable energy power generation systems are different from each other, and the control is mostly implemented based on the Matlab platform. Power planning and operation test units do not care about the specific implementation of renewable energy secondary control. In addition, there are many new energy equipment manufacturers involved in power grid simulation, and the control logic of manufacturers involved in power grid simulation in different regions is different. The compatibility, versatility and scalability of the simulation platform are poor. The unified modeling workload is large, the efficiency is low, and it is impractical. ② In the cross-platform joint simulation process, different electromagnetic transient platforms are difficult to achieve the timing synchronization of electrical physical quantities and power switch tube pulse control signals. How to achieve the interconnection and interactive operation of electromagnetic transient models of renewable energy power generation systems built on different platforms, and the cross-platform electromagnetic transient fusion modeling technology of renewable energy power generation systems needs to be solved urgently. Summary of the invention
[0005] In view of the problems of poor compatibility, versatility and scalability among different electromagnetic transient modeling, the purpose of the present invention is to provide a cross-platform joint modeling and simulation method of electromagnetic transient models for renewable energy power generation systems, so as to realize the aggregation of electromagnetic transient models of secondary control parts of renewable energy power generation systems constructed by different developers, and to test the characteristics of secondary control parts of renewable energy power generation systems based on a common primary main circuit of renewable energy power generation systems. At the same time, cross-platform interconnection and joint operation of different renewable energy electromagnetic transient models can be realized, so as to provide technical support for cluster simulation of large-scale renewable energy power generation systems, and realize interconnection and interactive operation of electromagnetic transient models of renewable energy power generation systems constructed on different platforms, so as to solve the problems of poor compatibility, versatility and scalability existing in the prior art.
[0006] The present invention adopts the following technical solution: a cross-platform joint modeling and simulation method of electromagnetic transient model, comprising the following steps:
[0007] S1, build an electromagnetic transient simulation model for new energy power generation system:
[0008] S1.1, based on PSCAD / EMTDC software, establish the electromagnetic transient model of the primary main circuit of the renewable energy power generation system;
[0009] S1.2, based on MATLAB software, establish the electromagnetic transient model of the secondary control part of the renewable energy power generation system;
[0010] S2, based on PSCAD / EMTDC software and MATLAB software, establish a data conversion system with Interface model module;
[0011] S3, during the simulation time, the data is exchanged once in each simulation step to achieve joint synchronous simulation:
[0012] Step 3.1, collecting the electrical quantities of the electromagnetic transient model of the primary main circuit of the new energy power generation system through the data conversion system, and transmitting the electrical quantities of the electromagnetic transient model of the primary main circuit of the new energy power generation system to the electromagnetic transient model of the secondary control part of the new energy power generation system;
[0013] Step 3.2, calling the modulation voltage signal of the electromagnetic transient model of the secondary control part of the new energy power generation system through the data conversion system, and transmitting the inverter duty cycle to the electromagnetic transient model of the primary main circuit of the new energy power generation system;
[0014] The order of steps 3.1 and 3.2 can be interchanged.
[0015] This application can test the characteristics of the secondary control part of the renewable energy power generation system based on the public primary main circuit of the renewable energy power generation system. It can also realize the cross-platform interconnection and joint operation of different renewable energy electromagnetic transient models, and provide technical support for cluster simulation of large-scale renewable energy power generation systems.
[0016] The electrical quantities include AC voltage, AC current, DC voltage, DC current, active power and reactive power of the electromagnetic transient model of the primary main circuit of the new energy power generation system.
[0017] Furthermore, in step 2, the data conversion system includes an analog quantity sampling module, a duty cycle control module, an Interface model interface module, a model call engine module and a data transmission module; the establishment process is:
[0018] S2.1, establish analog sampling module, duty cycle control module and Interface model interface module based on PSCAD / EMTDC software;
[0019] S2.2, establish a model calling engine module and a data transmission module based on MATLAB software;
[0020] S2.3, connecting the analog quantity sampling module and the duty cycle control module between the Interface model interface module and the electromagnetic transient model of the primary main circuit of the new energy power generation system;
[0021] S2.4, connect the model calling engine module and the data transmission module between the Interface model interface module and the electromagnetic transient model of the secondary control part of the new energy power generation system.
[0022] Furthermore, the specific process of step 3.1 is: collecting the electrical quantities of the electromagnetic transient model of the primary main circuit of the new energy power generation system through the analog quantity sampling module; storing the primary main circuit electrical quantity information collected by the analog quantity sampling module through the Interface model interface module, and sending the primary main circuit electrical quantity information, secondary control model name and path information to the model calling engine module; calling the Matlab new energy power generation system secondary control part electromagnetic transient model through the model calling engine module, and receiving the primary main circuit electrical quantity information sent by the Interface model interface module.
[0023] Furthermore, the specific process of step 3.2 is: through the data transmission module, the modulated voltage signal generated by the new energy secondary control transient model is converted into a format that meets the requirements of PSCAD, and sent to the Interface model interface module; the modulated voltage signal after format conversion is stored through the Interface model interface module and returned to PSCAD, and the modulated voltage signal after format conversion is processed through the control duty cycle module to form the inverter duty cycle.
[0024] Furthermore, the electromagnetic transient model of the primary main circuit of the renewable energy power generation system includes a renewable energy power source, an inverter, a collector line, a transformer and a grid-connected power source connected in sequence.
[0025] Furthermore, the electromagnetic transient model of the secondary control part of the new energy power generation system includes an AC / DC electrical quantity standardization module, a phase-locking and electrical quantity coordinate conversion module, a fault protection and high and low voltage ride-through module, and a voltage and current control module.
[0026] The present invention has the beneficial effects: the present invention realizes the data transmission and simulation interaction between the electromagnetic transient model of the primary main circuit of the new energy power generation system and the electromagnetic transient model of the secondary control part by constructing a data conversion system with an Interface model interface. The present application has flexible development characteristics such as expandability, compatibility, and replaceability, which can improve the accuracy of electromagnetic transient simulation of the new energy power generation system. Matlab has powerful computing functions and rich graphics functions, high efficiency, and strong expansion capabilities. In Matlab, complex and diverse control algorithm models can be built and improved according to actual control devices to make up for the limitation that the PSCAD / EMTDC component library cannot meet the modeling of complex control algorithms. It can also realize cross-platform interconnection and joint operation of different new energy electromagnetic transient models, and provide technical support for cluster simulation of large-scale new energy power generation systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the structure of the cross-platform joint modeling and simulation method of electromagnetic transient model;
[0028] Figure 2 A flowchart of the cross-platform joint modeling and simulation method for electromagnetic transient models;
[0029] FIG3( a ) is a waveform diagram of the output voltage of new energy photovoltaic power generation;
[0030] FIG3( b ) is a waveform diagram of the output current of the new energy photovoltaic power generation;
[0031] Figure 3(c) is a waveform diagram of the output power of new energy photovoltaic power generation;
[0032] Figure 4This is the structural diagram of the electromagnetic transient model of the primary main circuit of the renewable energy power generation system;
[0033] Figure 5 This is the structural diagram of the electromagnetic transient model of the secondary control part of the renewable energy power generation system;
[0034] In the figure: 1-power grid; 2-electromagnetic transient model of primary main circuit of new energy power generation system; 3-analog sampling module; 4-Interface model interface module; 5-model calling engine module; 6-electromagnetic transient model of secondary control part of new energy power generation system; 7-data transmission module; 8-control duty cycle module. DETAILED DESCRIPTION
[0035] The following is an explanation and description of the technical solutions of the embodiments of the present invention in conjunction with the accompanying drawings of the present invention, but the following embodiments are only preferred embodiments of the present invention, not all. Based on the embodiments in the implementation mode, other embodiments obtained by those skilled in the art without creative work are all within the protection scope of the present invention.
[0036] A cross-platform joint modeling and simulation method for electromagnetic transient models, such as Figure 2 As shown, the following steps are included:
[0037] S1, build an electromagnetic transient simulation model for new energy power generation system:
[0038] S1.1, based on PSCAD / EMTDC software, establish the electromagnetic transient model 2 of the primary main circuit of the renewable energy power generation system, which includes the renewable energy power source, inverter, collector line, transformer and grid-connected power source connected in sequence, such as Figure 4 As shown;
[0039] S1.2, based on MATLAB software, establish the electromagnetic transient model 6 of the secondary control part of the new energy power generation system, which includes the electromagnetic transient model 6 of the secondary control part of the new energy power generation system, including the AC and DC electrical quantity standardization module, the phase locking and electrical quantity coordinate conversion module, the fault protection and high and low voltage ride-through module, and the voltage and current control module, such as Figure 5 As shown;
[0040] S2, based on PSCAD / EMTDC software and MATLAB software, establish a data conversion system with Interface model interface module 4;
[0041] like Figure 1 As shown, the data conversion system includes an analog quantity sampling module 3, a duty cycle control module 8, an Interface model interface module 4, a model calling engine module 5 and a data transmission module 7; the establishment process is:
[0042] S2.1, based on PSCAD / EMTDC software, establish analog quantity sampling module 3, control duty cycle module 8 and Interface model interface module 4;
[0043] S2.2, establishing a model calling engine module 5 and a data transmission module 7 based on MATLAB software;
[0044] S2.3, connect the analog quantity sampling module 3 and the duty cycle control module 8 between the Interface model interface module 4 and the electromagnetic transient model of the primary main circuit of the new energy power generation system;
[0045] S2.4, connecting the model calling engine module 5 and the data transmission module 7 between the Interface model interface module 4 and the electromagnetic transient model 6 of the secondary control part of the new energy power generation system;
[0046] S3, during the simulation time, the data is exchanged once in each simulation step to achieve joint synchronous simulation:
[0047] Step 3.1, collect the electrical quantity of the electromagnetic transient model of the primary main circuit of the new energy power generation system through the analog quantity sampling module 3; store the primary main circuit electrical quantity information collected by the analog quantity sampling module 3 through the Interface model interface module 4, and send the primary main circuit electrical quantity information, secondary control model name and path information to the model calling engine module 5; call the Matlab new energy power generation system secondary control part electromagnetic transient model 6 through the model calling engine module 5, and receive the primary main circuit electrical quantity information sent by the Interface model interface module 4;
[0048] Step 3.2, through the data transmission module 7, the modulated voltage signal generated by the new energy secondary control transient model is converted into a format that meets the requirements of PSCAD, and sent to the Interface model interface module 4; the modulated voltage signal after format conversion is stored through the Interface model interface module 4 and returned to PSCAD, and the modulated voltage signal after format conversion is processed by the control duty cycle module 8 to form an inverter duty cycle;
[0049] The order of steps 3.1 and 3.2 can be interchanged.
[0050] like Figure 3(a) to Figure 3(c)As shown, specifically: the electrical quantities DC voltage udc, AC voltage ua, ub, uc of the electromagnetic transient model of the primary main circuit of the renewable energy power generation system (as shown in FIG3 (a)) are sent to the electromagnetic transient model 6 of the secondary control part of the renewable energy power generation system in Matlab through the data conversion system, and the modulation voltage signal generated by the electromagnetic transient model 6 of the secondary control part of the renewable energy power generation system is returned to PSCAD through the data conversion system to generate duty cycle signals g1, g2, g3, g4, g5, g6, so that the inverter generates AC currents Ia, Ib, Ic (as shown in FIG3 (b)), that is, power P and Q are sent to the power grid 1 (as shown in FIG3 (c)), and the AC currents Ia, Ib, Ic are also sent to the electromagnetic transient model 6 of the secondary control part of the renewable energy power generation system in Matlab through the data conversion system to form a feedback closed loop.
[0051] This application can test the characteristics of the secondary control part of the renewable energy power generation system based on the public primary main circuit of the renewable energy power generation system. It can also realize the cross-platform interconnection and joint operation of different renewable energy electromagnetic transient models, and provide technical support for cluster simulation of large-scale renewable energy power generation systems.
[0052] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0053] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0054] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0055] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0056] 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 above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A cross-platform joint modeling and simulation method for electromagnetic transient models, characterized in that: The steps include: S1, build an electromagnetic transient simulation model for new energy power generation system: S1.1, based on PSCAD / EMTDC software, establish the electromagnetic transient model of the primary main circuit of the renewable energy power generation system; S1.2, based on MATLAB software, establish the electromagnetic transient model of the secondary control part of the renewable energy power generation system; S2, based on PSCAD / EMTDC software and MATLAB software, establish a data conversion system with an Interface model interface module; the process of establishing the data conversion system is: S2.1, establish analog sampling module, duty cycle control module and Interface model interface module based on PSCAD / EMTDC software; S2.2, establish a model calling engine module and a data transmission module based on MATLAB software; S2.3, connecting the analog quantity sampling module and the duty cycle control module between the Interface model interface module and the electromagnetic transient model of the primary main circuit of the new energy power generation system; S2.4, connecting the model calling engine module and the data transmission module between the Interface model interface module and the electromagnetic transient model of the secondary control part of the new energy power generation system; S3, during the simulation time, the data is exchanged once in each simulation step to achieve joint synchronous simulation: Step 3.1, collecting the electrical quantities of the electromagnetic transient model of the primary main circuit of the new energy power generation system through the data conversion system, and transmitting the electrical quantities of the electromagnetic transient model of the primary main circuit of the new energy power generation system to the electromagnetic transient model of the secondary control part of the new energy power generation system; Step 3.2, calling the modulation voltage signal of the electromagnetic transient model of the secondary control part of the new energy power generation system through the data conversion system, and transmitting the inverter duty cycle to the electromagnetic transient model of the primary main circuit of the new energy power generation system; The order of steps 3.1 and 3.2 can be interchanged.
2. The cross-platform joint modeling and simulation method of electromagnetic transient model according to claim 1 is characterized in that: The specific process of step 3.1 is as follows: the electrical quantity of the electromagnetic transient model of the primary main circuit of the new energy power generation system is collected through the analog quantity sampling module; the electrical quantity information of the primary main circuit collected by the analog quantity sampling module is stored through the Interface model interface module, and the electrical quantity information of the primary main circuit, the name of the secondary control model and the path information are sent to the model calling engine module; The electromagnetic transient model of the secondary control part of the Matlab new energy power generation system is called through the model calling engine module, and the primary main circuit electrical quantity information sent by the Interface model interface module is received.
3. The cross-platform joint modeling and simulation method of electromagnetic transient model according to claim 1 is characterized in that: The specific process of step 3.2 is: through the data transmission module, the modulated voltage signal generated by the new energy secondary control transient model is converted into a format that meets the requirements of PSCAD, and sent to the Interface model interface module; the modulated voltage signal after format conversion is stored through the Interface model interface module and returned to PSCAD, and the modulated voltage signal after format conversion is processed through the control duty cycle module to form the inverter duty cycle.
4. The cross-platform joint modeling and simulation method of electromagnetic transient model according to claim 1 is characterized in that: The electromagnetic transient model of the primary main circuit of the new energy power generation system includes a new energy power source, an inverter, a collector line, a transformer and a grid-connected power source connected in sequence.
5. The cross-platform joint modeling and simulation method of electromagnetic transient model according to claim 1 is characterized in that: The electromagnetic transient model of the secondary control part of the new energy power generation system includes an AC / DC electrical quantity standardization module, a phase-locking and electrical quantity coordinate conversion module, a fault protection and high and low voltage ride-through module, and a voltage and current control module.
Citation Information
Patent Citations
Electromechanical transient modeling method and electromechanical transient model of direct-drive-type wind turbine generator system
CN103094921A
PSCAD based electromagnetic-electromechanical transient mixed simulation realization method
CN105160137A