Joint Real-Time Simulation Method and System between RTDS and RTLAB
The RTDS and RTLAB real-time simulators are connected through high-speed optical fiber, and a decoupled control model is built to realize the connection and real-time simulation between the two, solving the problem of insufficient simulation efficiency and accuracy in the existing technology, expanding the simulation calculation scale and avoiding errors.
Patent Information
- Application Number
- CN202211427202.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-11-15
AI Technical Summary
The prior art is difficult to realize the connection and real-time simulation of two real-time simulators of RTDS and RTLAB on the basis of ensuring power simulation efficiency and accuracy.
Connect the RTDS and RTLAB real-time emulators through high-speed optical fiber, and build the same line model for decoupling between the two, including the decoupling control model and the data receiver, the data transmitter and the physical interface to ensure the consistent simulation step size and avoid errors caused by data connection.
The combined real-time simulation of RTDS and RTLAB is realized, the scale of simulation calculation is expanded, the computing efficiency and simulation accuracy are ensured, and errors caused by data connection are avoided.
Smart Images

Figure CN115733248B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system simulation analysis, and particularly to a combined real-time simulation method and system between RTDS and RTLAB. Background Art
[0002] With the increasing scale of domestic power grid systems, the requirements for the hardware of real-time simulators are getting higher and higher. A single simulator can no longer meet the accuracy requirements for real-time simulation of large power grids.
[0003] The existing real-time simulators for power systems mainly include RTDS and RTLAB. Among them, RTDS has relatively great advantages in simulating large power systems, and RTLAB has relatively great advantages in simulating new energy. When conducting a real-time simulation project for a large power grid, it becomes particularly important to realize the combined real-time simulation of the two real-time simulators RTDS and RTLAB to make full use of the simulation advantages of RTDS and RTLAB. Summary of the Invention
[0004] The present invention provides a combined real-time simulation method and system between RTDS and RTLAB, realizing the combined real-time simulation of the two real-time simulators RTDS and RTLAB. A corresponding decoupling control model is designed, which can ensure the calculation efficiency while expanding the scale of simulation calculation, and avoid the influence of errors caused by data connection between the two real-time simulators RTDS and RTLAB on the simulation results, solving the technical problem of how to realize the combined real-time simulation of RTDS and RTLAB on the basis of ensuring power simulation efficiency and accuracy.
[0005] The first aspect of the present invention provides a combined real-time simulation method between RTDS and RTLAB, including:
[0006] After the RTDS real-time simulator and the RTLAB real-time simulator are connected through a high-speed optical fiber, configure the optical fiber communication protocol on the RTDS real-time simulator and the RTLAB real-time simulator respectively;
[0007] Set the simulation step sizes of the RTDS real-time simulator and the RTLAB real-time simulator to be the same;
[0008] Construct the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively; wherein, the line model includes a decoupling control model and a data receiving end, a data sending end, and a physical interface of the real-time simulator to which the decoupling control model is connected. The decoupling control model includes a voltage-current delay unit, a first calculation unit, a second calculation unit, a step delay unit, and a third calculation unit. The voltage-current delay unit is used to delay the voltage of the controlled current source by a preset delay time to obtain a delayed voltage; the first calculation unit is used to multiply the delayed voltage by a voltage influence coefficient and then subtract a current influence coefficient to obtain a first calculation result; the second calculation unit is used to multiply the first calculation result by the voltage influence coefficient to obtain a second calculation result and output it to the connected data sending end; the step delay unit is used to delay the first calculation result by one simulation step; the third calculation unit is used to multiply the result output by the step delay unit by the voltage influence coefficient, sum the obtained product result with the data received by the connected data receiving end, and use the obtained sum result as the input current of the controlled current source for the next simulation step.
[0009] Connect the data receiving end of the line model in the RTDS real-time simulator to the data sending end of the line model in the RTLAB real-time simulator, and connect the data sending end of the line model in the RTDS real-time simulator to the data receiving end of the line model in the RTLAB real-time simulator to realize the data connection between the RTDS real-time simulator and the RTLAB real-time simulator.
[0010] According to an implementable manner of the first aspect of the present invention, the constructing the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively includes:
[0011] Set the voltage influence coefficient as:
[0012]
[0013] Wherein:
[0014]
[0015] In the formula, k v represents the voltage influence coefficient, l is the inductance per kilometer of the line, h is the line constant, Z is the equivalent resistance of the line, Z c is the capacitive reactance of the line, R is the line impedance, r is the resistance per kilometer of the line, d is the line length, and c is the capacitance per kilometer of the line.
[0016] According to an implementable manner of the first aspect of the present invention, constructing the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively further includes:
[0017] Set the current influence coefficient as h.
[0018] According to an implementable manner of the first aspect of the present invention, setting the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be consistent includes:
[0019] Set the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be both 50 us.
[0020] The second aspect of the present invention provides a combined real-time simulation system between RTDS and RTLAB, including:
[0021] A communication protocol configuration module, configured to, after the RTDS real-time simulator and the RTLAB real-time simulator are connected through a high-speed optical fiber, configure the optical fiber communication protocols in the RTDS real-time simulator and the RTLAB real-time simulator respectively;
[0022] A simulation step length setting module, configured to set the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be consistent;
[0023] A model construction module, configured to construct the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively; wherein, the line model includes a decoupling control model and a data receiving end, a data sending end and a physical interface of the real-time simulator where they are located connected to the decoupling control model, the decoupling control model includes a voltage-current delay part, a first calculation part, a second calculation part, a step length delay part and a third calculation part, the voltage-current delay part is used to delay the voltage of the controlled current source by a preset delay time to obtain a delayed voltage; the first calculation part is used to multiply the delayed voltage by the voltage influence coefficient and then subtract the current influence coefficient to obtain a first calculation result; the second calculation part is used to multiply the first calculation result by the voltage influence coefficient to obtain a second calculation result and output it to the connected data sending end; the step length delay part is used to delay the first calculation result by one simulation step length; the third calculation part is used to multiply the result output by the step length delay part by the voltage influence coefficient, sum the obtained product result with the data received by the connected data receiving end, and use the obtained sum result as the input current of the controlled current source for the next simulation step;
[0024] The simulation interconnection module is used to connect the data receiving end of the line model in the RTDS real-time simulator to the data sending end of the line model in the RTLAB real-time simulator, and connect the data sending end of the line model in the RTDS real-time simulator to the data receiving end of the line model in the RTLAB real-time simulator, so as to realize the data connection between the RTDS real-time simulator and the RTLAB real-time simulator.
[0025] According to an implementable manner of the second aspect of the present invention, the model construction module includes:
[0026] The first setting unit is used to set the voltage influence coefficient as:
[0027]
[0028] Where:
[0029]
[0030] In the formula, k v represents the voltage influence coefficient, l is the inductance per kilometer of the line, h is the line constant, Z is the equivalent resistance of the line, Z c is the capacitive reactance of the line, R is the line impedance, r is the resistance per kilometer of the line, d is the line length, and c is the capacitance per kilometer of the line.
[0031] According to an implementable manner of the second aspect of the present invention, the model construction module further includes:
[0032] The second setting unit is used to set the current influence coefficient as h.
[0033] According to an implementable manner of the second aspect of the present invention, the simulation step setting module includes:
[0034] The third setting unit is used to set the simulation step of both the RTDS real-time simulator and the RTLAB real-time simulator to be 50 us.
[0035] The third aspect of the present invention provides a combined real-time simulation system between RTDS and RTLAB, including:
[0036] A memory for storing instructions; wherein, the instructions are used to implement the combined real-time simulation method between RTDS and RTLAB described in any of the above implementable manners;
[0037] A processor for executing the instructions in the memory.
[0038] In a fourth aspect of the present invention, a computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, it implements the combined real-time simulation method between RTDS and RTLAB in any of the above realizable manners.
[0039] As can be seen from the above technical solutions, the present invention has the following advantages:
[0040] The present invention is based on connecting an RTDS real-time simulator and an RTLAB real-time simulator through a high-speed optical fiber and setting the simulation step sizes of the two to be the same; respectively constructing the same line model for decoupling in the two simulators, where the line model includes a decoupling control model and a data receiving end, a data sending end, and corresponding physical interfaces connected to the decoupling control model. The decoupling control model includes a voltage and current delay part, a first calculation part, a second calculation part, a step size delay part, and a third calculation part; connecting the data receiving end of the line model in the RTDS real-time simulator to the data sending end of the line model in the RTLAB real-time simulator, and connecting the data sending end of the line model in the RTDS real-time simulator to the data receiving end of the line model in the RTLAB real-time simulator; the present invention naturally decomposes the tasks that originally needed to be calculated in one simulator into two simulators for calculation, enabling the calculation to be parallelized, capable of expanding the scale of simulation calculation and at the same time ensuring the calculation efficiency, and constructing the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator based on the same simulation step size, avoiding the influence of errors caused by data connection between the two real-time simulators of RTDS and RTLAB on the simulation results, so as to be able to realize the combined real-time simulation of RTDS and RTLAB on the basis of ensuring the power simulation efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0042] Figure 1 It is a flowchart of a combined real-time simulation method between RTDS and RTLAB provided for an optional embodiment of the present invention;
[0043] Figure 2 It is a schematic physical wiring diagram of an RTDS real-time simulator and an RTLAB real-time simulator provided for an optional embodiment of the present invention;
[0044] Figure 3Schematic structural diagram of the circuit model provided by an alternative embodiment of the present invention;
[0045] Figure 4 Physical decoupling schematic diagram of the circuit model provided by an alternative embodiment of the present invention;
[0046] Figure 5 Principle schematic diagram of the decoupling control model provided by an alternative embodiment of the present invention;
[0047] Figure 6 Structural connection block diagram of a combined real-time simulation system between RTDS and RTLAB provided by an alternative embodiment of the present invention.
[0048] Reference numerals:
[0049] 1 - Communication protocol configuration module; 2 - Simulation step size setting module; 3 - Model construction module; 4 - Simulation interconnection module; DCM - Decoupling control model; receive - Data receiving end; send - Data sending end; CCS - Controlled current source; A - Physical interface; 10 - Voltage-current delay section; 20 - First calculation section; 30 - Second calculation section; 40 - Step size delay section; 50 - Third calculation section. Detailed implementation manners
[0050] The embodiments of the present invention provide a combined real-time simulation method and system between RTDS and RTLAB, which are used to solve the technical problem of how to realize the combined real-time simulation between RTDS and RTLAB on the basis of ensuring the efficiency and accuracy of power simulation.
[0051] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0052] The present invention provides a combined real-time simulation method between RTDS and RTLAB.
[0053] Please refer to Figure 1 , Figure 1 which shows a flowchart of a combined real-time simulation method between RTDS and RTLAB provided by an embodiment of the present invention.
[0054] A combined real-time simulation method between RTDS and RTLAB provided by an embodiment of the present invention includes steps S1 - S4.
[0055] Step S1, after the RTDS real-time simulator and the RTLAB real-time simulator are connected by high-speed optical fiber, configure the optical fiber communication protocol on the RTDS real-time simulator and the RTLAB real-time simulator respectively.
[0056] In this embodiment, the RTDS real-time simulator and the RTLAB real-time simulator are connected by high-speed optical fiber, as Figure 2 shown. Compared with the existing method of connecting the RTDS real-time simulator and the RTLAB real-time simulator through the interface boards of both parties, this embodiment can solve the problems existing in the existing connection method, such as complex wiring, low simulation accuracy, and the delay and jitter between the interface boards are likely to cause system instability.
[0057] Among them, the optical fiber communication protocol can be the AURORA optical fiber communication protocol or other existing protocols for supporting high-speed optical fiber communication. In this embodiment, no limitation is made in this regard.
[0058] By configuring the optical fiber communication protocol of this line and combining the connection between the data receiver receive and the data sender send in step S4, the corresponding data of one real-time simulator can be transmitted to the real-time simulator of the other party, realizing the data interconnection between the RTDS real-time simulator and the RTLAB real-time simulator.
[0059] Step S2, set the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be the same.
[0060] Among them, the setting of the simulation step length can be set according to the actual situation.
[0061] In a feasible way, set the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be both 50 us.
[0062] In this embodiment, setting the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be the same and then making the data port connection between the RTDS real-time simulator and the RTLAB real-time simulator can help avoid the influence of errors caused by data connection between the two real-time simulators of RTDS and RTLAB on the simulation results and ensure the simulation accuracy.
[0063] Step S3, respectively construct the same line model for decoupling on the RTDS real-time simulator and the RTLAB real-time simulator.
[0064] Among them, the line model includes a decoupling control model DCM, a data receiving end receive, a data sending end send connected to the decoupling control model DCM, and a physical interface A of the real-time simulator where it is located, as Figure 3 shown.
[0065] The physical decoupling schematic diagram of the line model is as Figure 4 shown. The line model is equivalent to a form of a controlled current source CCS in parallel with a resistor. At the same time, the voltage of the controlled current source CCS is measured and sent to the decoupling control model DCM of the other real-time simulator. Figure 4 In , "Va" represents voltage, "I" represents the input signal, "V" represents the output signal, and "Z" represents the equivalent resistance of the line.
[0066] As Figure 5 shown, the decoupling control model DCM includes a voltage-current delay unit 10, a first calculation unit 20, a second calculation unit 30, a step delay unit 40, and a third calculation unit 50. The voltage-current delay unit 10 is used to delay the voltage of the controlled current source CCS by a preset delay time to obtain the delayed voltage. The first calculation unit 20 is used to multiply the delayed voltage by the voltage influence coefficient and then subtract the current influence coefficient to obtain a first calculation result. The second calculation unit 30 is used to multiply the first calculation result by the voltage influence coefficient, obtain a second calculation result and output it to the connected data sending end send. The step delay unit 40 is used to delay the first calculation result by one simulation step. The third calculation unit 50 is used to multiply the result output by the step delay unit 40 by the voltage influence coefficient, sum the obtained product result with the data received by the connected data receiving end receive, and use the obtained sum result as the input current of the controlled current source CCS for the next simulation step.
[0067] Among them, Figure 5 in , "tau-Ts" represents the preset delay time. This preset delay time can be set according to the actual situation.
[0068] In a realizable manner, building the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively includes:
[0069] Set the voltage influence coefficient as:
[0070]
[0071] Among them:
[0072]
[0073] In the formula, k vrepresents the voltage influence coefficient, l is the inductance per kilometer of the line, h is the line constant, Z is the equivalent resistance of the line, Z c is the capacitive reactance of the line, R is the line impedance, r is the resistance per kilometer of the line, d is the line length, and c is the capacitance per kilometer of the line.
[0074] In an implementable manner, respectively constructing the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator further includes:
[0075] Setting the current influence coefficient to h.
[0076] In the above embodiments of the present invention, a decoupling control model DCM is designed based on the traveling wave transmission theory. Through this decoupling control model DCM, line decoupling is achieved. The tasks that originally needed to be calculated in one simulator are naturally decomposed into two simulators for calculation through the decoupling control model DCM, enabling the calculation to be parallelized, expanding the scale of simulation calculation, and ensuring the calculation efficiency at the same time.
[0077] Step S4, connecting the data receiving end receive of the line model in the RTDS real-time simulator to the data sending end send of the line model in the RTLAB real-time simulator, and connecting the data sending end send of the line model in the RTDS real-time simulator to the data receiving end receive of the line model in the RTLAB real-time simulator to achieve data connection between the RTDS real-time simulator and the RTLAB real-time simulator.
[0078] In the above embodiments of the present invention, two real-time simulators, RTDS and RTLAB, are directly connected through high-speed optical fibers. By designing relevant line models, the purpose of joint real-time simulation is achieved, so that the advantages of RTDS in large power grid simulation and RTLAB in power electronics simulation can be fully utilized, expanding the simulation scale while ensuring simulation accuracy and efficiency.
[0079] The present invention also provides a joint real-time simulation system between RTDS and RTLAB. This device can be used to execute the joint real-time simulation method between RTDS and RTLAB described in any one of the above embodiments of the present invention.
[0080] Please refer to Figure 6 , Figure 6 which shows the structural connection block diagram of a joint real-time simulation system between RTDS and RTLAB provided by an embodiment of the present invention.
[0081] A joint real-time simulation system between RTDS and RTLAB provided by an embodiment of the present invention includes:
[0082] A communication protocol configuration module 1, which is used to configure fiber optic communication protocols for the RTDS real-time simulator and the RTLAB real-time simulator respectively after the RTDS real-time simulator and the RTLAB real-time simulator are connected by a high-speed optical fiber;
[0083] A simulation step setting module 2, which is used to set the simulation steps of the RTDS real-time simulator and the RTLAB real-time simulator to be the same;
[0084] A model construction module 3, which is used to construct the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively; wherein, the line model includes a decoupling control model DCM and a data receiver receive, a data sender send and a physical interface A of the real-time simulator where they are located that are connected to the decoupling control model DCM, and the decoupling control model DCM includes a voltage-current delay unit 10, a first calculation unit 20, a second calculation unit 30, a step delay unit 40 and a third calculation unit 50. The voltage-current delay unit 10 is used to delay the voltage of the controlled current source CCS by a preset delay time to obtain a delayed voltage; the first calculation unit 20 is used to multiply the delayed voltage by a voltage influence coefficient and then subtract a current influence coefficient to obtain a first calculation result; the second calculation unit 30 is used to multiply the first calculation result by the voltage influence coefficient to obtain a second calculation result and output it to the connected data sender send; the step delay unit 40 is used to delay the first calculation result by one simulation step; the third calculation unit 50 is used to multiply the result output by the step delay unit 40 by the voltage influence coefficient, sum the obtained product result with the data received by the connected data receiver receive, and use the obtained sum result as the input current of the controlled current source CCS in the next simulation step;
[0085] A simulation interconnection module 4, which is used to connect the data receiver receive of the line model in the RTDS real-time simulator to the data sender send of the line model in the RTLAB real-time simulator, and connect the data sender send of the line model in the RTDS real-time simulator to the data receiver receive of the line model in the RTLAB real-time simulator, so as to realize data connection between the RTDS real-time simulator and the RTLAB real-time simulator.
[0086] In an implementable manner, the model construction module 3 includes:
[0087] A first setting unit, which is used to set the voltage influence coefficient as:
[0088]
[0089] Wherein:
[0090]
[0091] Wherein, k v represents the voltage influence coefficient, l is the inductance per kilometer of the line, h is the line constant, Z is the equivalent resistance of the line, Z c is the capacitive reactance of the line, R is the line impedance, r is the resistance per kilometer of the line, d is the line length, and c is the capacitance per kilometer of the line.
[0092] In an implementable manner, the model construction module 3 further includes:
[0093] A second setting unit, configured to set the current influence coefficient as h.
[0094] In an implementable manner, the simulation step setting module 2 includes:
[0095] A third setting unit, configured to set the simulation step lengths of the RTDS real-time simulator and the RTLAB real-time simulator to be both 50 us.
[0096] The present invention also provides a combined real-time simulation system between RTDS and RTLAB, including:
[0097] A memory, configured to store instructions; wherein, the instructions are used to implement the combined real-time simulation method between RTDS and RTLAB as described in any one of the foregoing embodiments;
[0098] A processor, configured to execute the instructions in the memory.
[0099] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the combined real-time simulation method between RTDS and RTLAB as described in any one of the foregoing embodiments.
[0100] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working processes of the systems and modules described above can refer to the corresponding processes in the foregoing method embodiments, and the specific beneficial effects of the systems and modules described above can refer to the corresponding beneficial effects in the foregoing method embodiments, which will not be elaborated herein.
[0101] In several embodiments provided by the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0102] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0103] In addition, in each embodiment of the present invention, the functional modules can be integrated in a processing module, or each module can exist physically alone, or two or more modules can be integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0104] If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or 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 can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The foregoing 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.
[0105] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. And these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention.
Claims
1. A combined real-time simulation method between RTDS and RTLAB, characterized in that, Including: After the RTDS real-time simulator and the RTLAB real-time simulator are connected by high-speed optical fiber, configure the optical fiber communication protocol in the RTDS real-time simulator and the RTLAB real-time simulator respectively; Set the simulation step sizes of the RTDS real-time simulator and the RTLAB real-time simulator to be the same; Construct the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively; wherein, the line model includes a decoupling control model and a data receiving end, a data sending end and a physical interface of the real-time simulator to which the decoupling control model is connected. The decoupling control model includes a voltage-current delay part, a first calculation part, a second calculation part, a step delay part and a third calculation part. The voltage-current delay part is used to delay the voltage of the controlled current source by a preset delay time to obtain a delayed voltage; the first calculation part is used to multiply the delayed voltage by a voltage influence coefficient and then subtract a current influence coefficient to obtain a first calculation result; the second calculation part is used to multiply the first calculation result by the voltage influence coefficient to obtain a second calculation result and output it to the connected data sending end; the step delay part is used to delay the first calculation result by one simulation step; the third calculation part is used to multiply the result output by the step delay part by the voltage influence coefficient, sum the obtained product result and the data received by the connected data receiving end, and use the obtained sum result as the input current of the controlled current source in the next simulation step; Connect the data receiving end of the line model in the RTDS real-time simulator to the data sending end of the line model in the RTLAB real-time simulator, and connect the data sending end of the line model in the RTDS real-time simulator to the data receiving end of the line model in the RTLAB real-time simulator to realize the data connection between the RTDS real-time simulator and the RTLAB real-time simulator.
2. The combined real-time simulation method between RTDS and RTLAB according to claim 1, characterized in that, The step of constructing the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively includes: Set the voltage influence coefficient as: Wherein: where k v represents the voltage influence coefficient, l is the inductance per kilometer of the line, h is the line constant, Z is the equivalent resistance of the line, Z c is the capacitive reactance of the line, R is the line impedance, r is the resistance per kilometer of the line, d is the line length, and c is the capacitance per kilometer of the line.
3. The combined real-time simulation method between RTDS and RTLAB according to claim 2, characterized in that The step of constructing the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively further includes: Set the current influence coefficient as h.
4. The combined real-time simulation method between RTDS and RTLAB according to claim 1, characterized in that, The step of setting the simulation step sizes of the RTDS real-time simulator and the RTLAB real-time simulator to be the same includes: Set the simulation step sizes of the RTDS real-time simulator and the RTLAB real-time simulator to be both 50 us.
5. A combined real-time simulation system between RTDS and RTLAB, characterized in that, Including: A communication protocol configuration module, configured to configure the optical fiber communication protocol in the RTDS real-time simulator and the RTLAB real-time simulator respectively after the RTDS real-time simulator and the RTLAB real-time simulator are connected by high-speed optical fiber; A simulation step size setting module, configured to set the simulation step sizes of the RTDS real-time simulator and the RTLAB real-time simulator to be the same; A model construction module is configured to construct the same line model for decoupling in the RTDS real-time simulator and the RTLAB real-time simulator respectively; wherein, the line model includes a decoupling control model, a data receiving end, a data sending end and a physical interface of the real-time simulator to which the decoupling control model is connected. The decoupling control model includes a voltage-current delay unit, a first calculation unit, a second calculation unit, a step delay unit and a third calculation unit. The voltage-current delay unit is configured to delay the voltage of a controlled current source by a preset delay time to obtain a delayed voltage. The first calculation unit is configured to multiply the delayed voltage by a voltage influence coefficient and then subtract a current influence coefficient to obtain a first calculation result. The second calculation unit is configured to multiply the first calculation result by the voltage influence coefficient, obtain a second calculation result and output it to the connected data sending end. The step delay unit is configured to delay the first calculation result by one simulation step. The third calculation unit is configured to multiply the result output by the step delay unit by the voltage influence coefficient, sum the obtained product result with the data received by the connected data receiving end, and use the obtained sum result as the input current of the controlled current source for the next simulation step. A simulation interconnection module is configured to connect the data receiving end of the line model in the RTDS real-time simulator to the data sending end of the line model in the RTLAB real-time simulator, and connect the data sending end of the line model in the RTDS real-time simulator to the data receiving end of the line model in the RTLAB real-time simulator, so as to realize data connection between the RTDS real-time simulator and the RTLAB real-time simulator.
6. The combined real-time simulation system between RTDS and RTLAB according to claim 5, characterized in that, The model construction module includes: A first setting unit is configured to set the voltage influence coefficient as: Wherein: Where k v represents the voltage influence coefficient, l is the inductance per kilometer of the line, h is the line constant, Z is the equivalent resistance of the line, Z c is the capacitive reactance of the line, R is the line impedance, r is the resistance per kilometer of the line, d is the line length, and c is the capacitance per kilometer of the line.
7. The combined real-time simulation system between RTDS and RTLAB according to claim 6, wherein The model construction module further includes: A second setting unit is configured to set the current influence coefficient as h.
8. The combined real-time simulation system between RTDS and RTLAB according to claim 5, characterized in that, The simulation step setting module includes: A third setting unit is configured to set the simulation step of both the RTDS real-time simulator and the RTLAB real-time simulator to be 50 us.
9. A combined real-time simulation system between RTDS and RTLAB, characterized in that, It includes: A memory is configured to store instructions; wherein, the instructions are used to implement the joint real-time simulation method between the RTDS and the RTLAB as described in any one of claims 1-4. A processor is configured to execute the instructions in the memory.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, it implements the joint real-time simulation method between the RTDS and the RTLAB as described in any one of claims 1-4.
Citation Information
Patent Citations
Interface data transmission method based on RTDS and RTLAB joint real-time hybrid simulation
CN109521690A
RTDS and RTLAB interconnection simulation method and system based on optical fiber communication
CN114491991A