Digital twinning construction method of energy storage valve grid-connected system and related device
By importing the system data and operating status of the energy storage valve grid-connected system into the real-time digital simulator and establishing a relational data table, the problem that existing systems cannot sense the state of the energy storage valve grid-connected system in real time is solved, real-time monitoring of the system status and timely analysis of the grid operation risks are achieved.
Patent Information
- Application Number
- CN202311686273.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2025-06-17
AI Technical Summary
The existing energy storage valve grid-connected system simulation and testing system cannot sense the actual status of the energy storage valve grid-connected system in real time.
By obtaining the system data and operating status of the grid-connected energy storage valve system and importing it into the real-time digital simulator (RTDS) simulation model, a relational data table between the system data and the simulation model is established, and the simulation model is updated to maintain consistency with the actual data.
Real-time status perception of the energy storage valve grid-connected system is realized, and it can timely analyze and warn of the power grid operation risks, ensuring the safe and stable operation of the power grid.
Smart Images

Figure CN120165422A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of power systems, and in particular, to a method for constructing a digital twin of a grid-connected energy storage valve system and related devices. Background Art
[0002] With the development of new power systems, grid-connected energy storage systems are being applied more and more widely and playing an increasingly important role. As a new type of grid-connected energy storage system, the grid-connected energy storage system based on energy storage valves (hereinafter simply referred to as the energy storage valve grid-connected system) has a relatively high voltage level and a relatively large capacity, and plays an important supporting role in the stable operation of the power grid.
[0003] However, the current simulation test system of the energy storage valve grid-connected system cannot perceive the actual state of the energy storage valve grid-connected system in real time. Summary of the Invention
[0004] In view of the above problems, this application provides a method for constructing a digital twin of an energy storage valve grid-connected system and related devices, aiming to solve the technical problem of being unable to perceive the actual state of the energy storage valve grid-connected system in real time.
[0005] In a first aspect, an embodiment of this application provides a method for constructing a digital twin of an energy storage valve grid-connected system, including: obtaining the system data and operating status of the energy storage valve grid-connected system, where the system data includes the data information of each component in the energy storage valve grid-connected system; obtaining the data file of the real-time digital simulator (RTDS) simulation model corresponding to the energy storage valve grid-connected system; establishing a relational data table between the system data and each component in the data file; updating the data file according to the relational data table to import the system data into the real-time digital simulator simulation model; and sending the operating status to the real-time digital simulator simulation model.
[0006] By importing the system data and operating status of the energy storage valve grid-connected system into the real-time digital simulator simulation model, an embodiment of this application can construct an image virtual system of the energy storage valve grid-connected system to real-time simulate the actual state of the energy storage valve grid-connected system, so as to perceive the actual state of the energy storage valve grid-connected system in real time.
[0007] In some embodiments, establishing a relational data table between the system data and each component in the data file includes: establishing an index corresponding to the system data; and based on the index, establishing a relational data table between the system data and each component in the data file.
[0008] An embodiment of this application can establish a relational data table between the system data and each component in the data file of the real-time digital simulator simulation model based on the index, making the establishment of the relational data table more convenient and accurate.
[0009] In some embodiments, after updating the data file according to the relational data table to import the system data into the real-time digital simulator simulation model, it further includes: in the case where the system data changes, updating the relational data table according to the changed system data; updating the data file according to the updated relational data table to import the changed system data into the real-time digital simulator simulation model.
[0010] In the embodiments of the present application, in the case where the system data changes, the relational data table can be updated first, and then the data file can be updated according to the updated relational data table to import the changed system data into the real-time digital simulator simulation model, so that the real-time digital simulator simulation model maintains data consistency with the actual on-site energy storage valve grid-connected system.
[0011] In some embodiments, the energy storage valve grid-connected system includes a power grid and an energy storage system, and the energy storage system includes a converter and an energy storage valve; the system data includes power grid data, converter data, and energy storage valve data; the power grid data includes data information of each component in the power grid, the converter data includes data information of each component in the converter, and the energy storage valve data includes data information of each component in the energy storage valve.
[0012] In the embodiments of the present application, the system data of the energy storage valve grid-connected system is composed of power grid data, converter data, and energy storage valve data, making the system data of the energy storage valve grid-connected system more comprehensive to better maintain data consistency between the real-time digital simulator simulation model and the actual on-site energy storage valve grid-connected system.
[0013] In some embodiments, the operating state includes the switching state, operating mode, and power command.
[0014] In the embodiments of the present application, by importing operating states such as the switching state, operating mode, and power command into the real-time digital simulator simulation model, the operating state of the real-time digital simulator simulation model is made to be consistent with the actual on-site operating state of the energy storage valve grid-connected system.
[0015] In some embodiments, after sending the operating state to the real-time digital simulator simulation model, it further includes: running the real-time digital simulator simulation model to analyze the operating risks of the energy storage valve grid-connected system.
[0016] In the embodiments of the present application, the operating risks of the energy storage valve grid-connected system can be analyzed based on the real-time digital simulator simulation model, so as to analyze, judge, and give early warnings in a timely manner about the operating risks of the energy storage valve grid-connected system when the operating mode of the power grid changes, thereby ensuring the safe and stable operation of the power grid.
[0017] In some embodiments, a real-time digital simulator simulation model is run to analyze the operation risks of the energy storage valve grid-connected system, including: based on the real-time digital simulator simulation model in operation, impedance scans are respectively performed on the power grid and the energy storage system in the energy storage valve grid-connected system to obtain a first impedance characteristic curve corresponding to the power grid and / or a second impedance characteristic curve corresponding to the energy storage system, so as to analyze the operation risks of the energy storage valve grid-connected system.
[0018] Embodiments of the present application can respectively perform impedance scans on the power grid and the energy storage system in the energy storage valve grid-connected system based on the real-time digital simulator simulation model, so as to facilitate timely analysis, judgment and early warning of the operation risks of the energy storage valve grid-connected system according to the first impedance characteristic curve corresponding to the power grid and / or the second impedance characteristic curve corresponding to the energy storage system when the operation mode of the power grid changes, thereby ensuring the safe and stable operation of the power grid.
[0019] In a second aspect, an embodiment of the present application provides a digital twin construction device for an energy storage valve grid-connected system, including: a first acquisition module, a second acquisition module, a relationship establishment module, a system data import module and an operation state sending module. The first acquisition module is used to acquire the system data and operation state of the energy storage valve grid-connected system, and the system data includes the data information of each component in the energy storage valve grid-connected system; the second acquisition module is used to acquire the data file of the real-time digital simulator simulation model corresponding to the energy storage valve grid-connected system; the relationship establishment module is used to establish a relational data table between the system data and each component in the data file; the system data import module is used to update the data file according to the relational data table to import the system data into the real-time digital simulator simulation model; the operation state sending module is used to send the operation state to the real-time digital simulator simulation model.
[0020] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call the computer program to execute the above-mentioned digital twin construction method for the energy storage valve grid-connected system.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run, the above-mentioned digital twin construction method for the energy storage valve grid-connected system is implemented.
[0022] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the specific embodiments of the present application are specifically listed below. Description of the Drawings
[0023] 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 drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.
[0024] Figure 1 Schematic flowchart of the digital twin construction method for the energy storage valve grid-connected system in some embodiments of this application;
[0025] Figure 2 Schematic topological structure diagram of the energy storage valve grid-connected system in some embodiments of this application;
[0026] Figure 3 Schematic circuit diagram of the energy storage module in the energy storage valve grid-connected system in some embodiments of this application;
[0027] Figure 4 Schematic flowchart of the digital twin construction method for the energy storage valve grid-connected system in some other embodiments of this application;
[0028] Figure 5 Schematic flowchart of the digital twin construction method for the energy storage valve grid-connected system in some other embodiments of this application;
[0029] Figure 6 Schematic diagram of some curves obtained after impedance scanning of the power grid and the energy storage system in the energy storage valve grid-connected system in some embodiments of this application;
[0030] Figure 7 Control block diagram of the current inner loop controller in some embodiments of this application;
[0031] Figure 8 Control block diagram of the virtual synchronous machine in some embodiments of this application;
[0032] Figure 9 Schematic diagram of the root locus corresponding to the virtual synchronous machine in some embodiments of this application;
[0033] Figure 10 Schematic structure diagram of the digital twin construction device for the energy storage valve grid-connected system in some embodiments of this application;
[0034] Figure 11 Schematic structure diagram of the electronic device in some embodiments of this application. Detailed implementation manners
[0035] The embodiments of the technical solution of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to illustrate the technical solution of the present application more clearly, so they are only examples and cannot be used to limit the protection scope of the present application.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above accompanying drawings are intended to cover non-exclusive inclusion.
[0037] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "a plurality" is more than two, unless otherwise specifically defined.
[0038] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0039] In the description of the embodiments of this application, the term "and / or" is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the front and back associated objects.
[0040] In the description of the embodiments of this application, the term "a plurality" refers to more than two (including two). Similarly, "a plurality of groups" refers to more than two groups (including two groups), and "a plurality of pieces" refers to more than two pieces (including two pieces).
[0041] In the description of the embodiments of the present application, the orientation or positional relationship indicated by technical terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the embodiments of the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the embodiments of the present application.
[0042] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installation", "connection", "connection", "fixation", etc. should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can also be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.
[0043] Currently, the simulation test system of the energy storage valve grid connection system and the energy storage valve grid connection system are independent systems from each other, so that the simulation test system of the energy storage valve grid connection system cannot obtain the actual state of the energy storage valve grid connection system, resulting in the simulation test system of the energy storage valve grid connection system being unable to perceive the actual state of the energy storage valve grid connection system in real time.
[0044] Based on the above considerations, the embodiments of the present application propose a digital twin construction method and related device for an energy storage valve grid connection system. By obtaining the system data and operating state of the energy storage valve grid connection system, where the system data includes the data information of each component in the energy storage valve grid connection system, obtaining the data file of the real-time digital simulator simulation model corresponding to the energy storage valve grid connection system, establishing a relational data table between the system data and each component in the data file, updating the data file according to the relational data table to import the system data into the real-time digital simulator simulation model, and sending the operating state to the real-time digital simulator simulation model. In this way, by importing the system data and operating state of the energy storage valve grid connection system into the real-time digital simulator simulation model, it can construct an image virtual system of the energy storage valve grid connection system to real-time simulate the actual state of the energy storage valve grid connection system, so as to perceive the actual state of the energy storage valve grid connection system in real time.
[0045] To better understand the embodiments of the present application, the following will describe in detail the digital twin construction method and related device for an energy storage valve grid connection system provided according to the embodiments of the present application in conjunction with the drawings.
[0046] The execution subject of the digital twin construction method of the energy storage valve grid-connection system provided by the embodiments of the present application can be an electronic device, which includes but is not limited to personal computers, laptop computers, smartphones, tablets, wearable devices (such as smart watches, smart bracelets), etc. It should be noted that the above execution subject does not limit the embodiments of the present application.
[0047] In some embodiments of the present application, referring to Figure 1 as shown Figure 1 is a schematic flowchart of the digital twin construction method of the energy storage valve grid-connection system according to some embodiments of the present application. The digital twin construction method of the energy storage valve grid-connection system may include:
[0048] S10: Obtain the system data and operating status of the energy storage valve grid-connection system. The system data includes the data information of each component in the energy storage valve grid-connection system.
[0049] The energy storage valve grid-connection system includes multiple components. The system data of the energy storage valve grid-connection system refers to the data information of each component in the energy storage valve grid-connection system.
[0050] S20: Obtain the data file of the real-time digital simulator simulation model corresponding to the energy storage valve grid-connection system.
[0051] The real-time digital simulator simulation model corresponding to the energy storage valve grid-connection system runs on the real-time digital simulator platform. The real-time digital simulator simulation model corresponding to the energy storage valve grid-connection system can generate its corresponding data file, and the data file can be a DFX file.
[0052] S30: Establish a relational data table between the system data and each component in the data file.
[0053] A relational data table corresponding one-to-one between the system data and each component in the data file of the real-time digital simulator simulation model can be established in the database system, so as to establish a mapping relationship between the system data and each component in the data file of the real-time digital simulator simulation model.
[0054] S40: Update the data file according to the relational data table to import the system data into the real-time digital simulator simulation model.
[0055] After establishing the relational data table between the system data and each component in the data file, the parameters of each component in the data file can be assigned values according to the relational data table to update the data file, so as to realize importing the system data into the real-time digital simulator simulation model. In this way, the real-time digital simulator simulation model can maintain data consistency with the actual on-site energy storage valve grid-connection system.
[0056] S50: Send the operating status to the real-time digital simulator simulation model.
[0057] After obtaining the operating status of the energy storage valve grid-connection system, the operating status of the energy storage valve grid-connection system can be sent to the real-time digital simulator simulation model in real time through a communication network. In this way, the operating status of the real-time digital simulator simulation model can be made consistent with the actual on-site operating status of the energy storage valve grid-connection system.
[0058] The digital twin construction method of the energy storage valve grid-connection system proposed in the embodiments of the present application can construct a mirror virtual system of the energy storage valve grid-connection system by importing the system data and operating status of the energy storage valve grid-connection system into the real-time digital simulator simulation model, so as to realize a 1:1 equivalent simulation of the actual on-site energy storage valve grid-connection system, in order to simulate the actual status of the energy storage valve grid-connection system in real time, and thus the actual status of the energy storage valve grid-connection system can be sensed in real time. The mirror virtual system of the energy storage valve grid-connection system can also be called the digital twin of the energy storage valve grid-connection system.
[0059] In addition, since the system data of the energy storage valve grid-connection system is generally static data and rarely changes, therefore, by constructing a relational data table between the system data of the energy storage valve grid-connection system and each component in the data file of the real-time digital simulator simulation model, and realizing the import of system data into the real-time digital simulator simulation model based on the relational data table, the data import method is relatively simple; and since the operating status of the energy storage valve grid-connection system is dynamic data and its operating status may change every once in a while, therefore, the operating status is sent to the real-time digital simulator simulation model in real time through a communication network to improve the consistency between the operating status of the real-time digital simulator simulation model and the actual on-site operating status of the energy storage valve grid-connection system within the same time period.
[0060] In some embodiments, the energy storage valve grid-connection system includes a power grid and an energy storage system, and the energy storage system includes a converter and an energy storage valve; the system data includes power grid data, converter data, and energy storage valve data. The power grid data includes data information of each component in the power grid, the converter data includes data information of each component in the converter, and the energy storage valve data includes data information of each component in the energy storage valve.
[0061] Schematically, as Figure 2 shown, the energy storage valve grid-connection system includes a power grid 110 and an energy storage system, and the energy storage system includes a converter 120 and an energy storage valve 130. The AC side of the converter 120 is used to connect to the power grid 110, and the DC side of the converter 120 is used to connect to the energy storage valve 130.
[0062] Converter 120 is used to implement the conversion function between alternating current and direct current. Among them, converter 120 can be a voltage source converter (VSC) or other types of converters. Energy storage valve 130 is used to implement the function of power output or energy storage.
[0063] Among them, converter 120 includes devices such as a modular multilevel converter (MMC), a converter transformer T, a lightning arrester, a disconnector, a circuit breaker, a resistor, and a reactor.
[0064] The lightning arrester can include, for example Figure 2 the first lightning arrester MOA1, the second lightning arrester MOA2, the third lightning arrester MOA3, and the fourth lightning arrester MOA4 as shown. The disconnector can include, for example Figure 2 the first disconnector QS1, the second disconnector QS2, the third disconnector QS3, the fourth disconnector QS4, the fifth disconnector QS5, the sixth disconnector QS6, the seventh disconnector QS7, the eighth disconnector QS8, the ninth disconnector QS9, the tenth disconnector QS10, the eleventh disconnector QS11, and the twelfth disconnector QS12 as shown. The circuit breaker includes, for example Figure 2 the first circuit breaker QF1, the second circuit breaker QF2, the third circuit breaker QF3, the fourth circuit breaker QF4, and the fifth circuit breaker QF5 as shown. The resistor can include, for example Figure 2 the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 as shown. The second resistor R2 and the third resistor R3 can also be called starting resistors. The reactor can include, for example Figure 2 the first reactor L1 and the second reactor L2 as shown. The first reactor L1 and the second reactor L2 can also be called arm reactors.
[0065] The modular multilevel converter can include, for example Figure 2 two modular multilevel converter sub-modules 121 as shown. Each modular multilevel converter sub-module 121 includes a first switching tube Q1, a second switching tube Q2, and a first capacitor C1. Among them, both the first switching tube Q1 and the second switching tube Q2 are equipped with anti-parallel diodes. The first end of the first switching tube Q1 is connected to the first end of the first capacitor C1. The second end of the first switching tube Q1 is connected to the first end of the second switching tube Q2. The second end of the second switching tube Q2 is connected to the second end of the first capacitor C1.
[0066] The energy storage valve 130 can be a directly-connected DC energy storage valve. The energy storage valve 130 can include multiple series-connected energy storage modules, such as Figure 2The energy storage modules SM1, SM2 to SMn shown; in addition, the energy storage valve 130 further includes a third reactor L3 and a fourth reactor L4 connected in series with the energy storage modules.
[0067] Wherein, each energy storage module may include, as Figure 3 shown, a third switching transistor Q3, a fourth switching transistor Q4, a second capacitor C2, and an energy storage battery BAT. Both the third switching transistor Q3 and the fourth switching transistor Q4 are provided with anti-parallel diodes. The first end of the third switching transistor Q3 is connected to the first end of the second capacitor C2. The second end of the third switching transistor Q3 is connected to the first end of the fourth switching transistor Q4. The second end of the fourth switching transistor Q4 is connected to the second end of the second capacitor C2. And, the positive electrode of the energy storage battery BAT is connected to the first end of the second capacitor C2, and the negative electrode of the energy storage battery BAT is connected to the second end of the second capacitor C2.
[0068] In the actual application process, the energy storage battery BAT can be in an input state or an output state by controlling the input or withdrawal of the energy storage modules. Assuming the number of input energy storage modules is n, and the average voltage of the internal energy storage of each energy storage module is U b , then the total voltage of n energy storage modules is n×U b . I dc is the DC side current, L d is the arm reactance of the energy storage valve 130. Ignoring the influence of the resistance, then the DC side voltage U dc has the following relationship:
[0069]
[0070] Thus, when the DC side voltage U dc is greater than n×U b , then the energy storage valve 130 is in the charging state; when the DC side voltage U dc is less than n×U b , then the energy storage valve 130 is in the discharging state. Therefore, the charge and discharge state of the energy storage valve 130 can be controlled by controlling the number of energy storage modules input in the energy storage valve 130.
[0071] It can be understood that the energy storage valve grid-connected system of the embodiment of the present application can be Figure 2 the energy storage valve grid-connected system shown, or can be other energy storage valve grid-connected systems. The embodiment of the present application does not limit this.
[0072] In this way, the system data of the energy storage valve grid-connection system can include grid data, converter data, and energy storage valve data. The grid data mainly refers to the data information of each component in the power grid 110. For example, the grid data can include the data information of components such as generators, transformers, transmission lines, circuit breakers, and loads in the power grid 110. The converter data mainly refers to the data information of each component in the converter 120. For example, the converter data can include the number of modular multilevel converter sub-modules 121, the first capacitor C1, the second resistor R2, the third resistor R3, the first reactor L1, the second reactor L2, and the converter transformer T, etc. The energy storage valve data mainly refers to the data information of each component in the energy storage valve 130. For example, the energy storage valve data can include the number of energy storage modules, the second capacitor C2, the third reactor L3, and the fourth reactor L4, etc.
[0073] The digital twin construction method of the energy storage valve grid-connection system proposed in the embodiment of the present application constitutes the system data of the energy storage valve grid-connection system through grid data, converter data, and energy storage valve data, making the system data of the energy storage valve grid-connection system more comprehensive to better maintain the data consistency between the real-time digital simulator simulation model and the actual on-site energy storage valve grid-connection system.
[0074] In some embodiments, the operating state includes the opening / closing state, operating mode, and power command.
[0075] The operating state of the energy storage valve grid-connection system includes the opening / closing state, operating mode, and power command, etc. The opening / closing state refers to the opening / closing state of each circuit breaker and each disconnecting switch in the energy storage valve grid-connection system. The operating mode refers to the operating form of the energy storage valve grid-connection system, including the operating forms of devices such as the energy storage valve 130 and the converter 120, such as the constant DC voltage operation mode, the constant DC current operation mode, the constant power operation mode, etc. The power command refers to the power adjustment command issued by the operator, such as the charging / discharging power command of the energy storage valve grid-connection system.
[0076] The digital twin construction method of the energy storage valve grid-connection system proposed in the embodiment of the present application makes the operating state of the real-time digital simulator simulation model consistent with the actual on-site operating state of the energy storage valve grid-connection system by importing operating states such as the opening / closing state, operating mode, and power command into the real-time digital simulator simulation model.
[0077] In some embodiments, with reference to Figure 4 , the steps of S30 can specifically include:
[0078] S31: Establish an index corresponding to the system data.
[0079] For all system data of the energy storage valve grid-connected system, their respective corresponding indexes can be established, and all system data and their corresponding indexes can be stored in the database system to manage the system data.
[0080] S32: Based on the indexes, establish a relational data table between the system data and each component in the data file.
[0081] The attribute information of each component in the energy storage valve grid-connected system is defined in the data file of the real-time digital simulator simulation model. For example, the data file of the real-time digital simulator simulation model defines the index number (DRAFT_UNIQUEID), name (Name), and related parameter information of each component.
[0082] Based on the corresponding relationship between the indexes corresponding to the system data and the index numbers in the data file of the real-time digital simulator simulation model, a one-to-one corresponding relational data table can be established between the system data and each component in the data file of the real-time digital simulator simulation model in the database system, thereby establishing a mapping relationship between the system data and each component in the data file of the real-time digital simulator simulation model.
[0083] Taking the power supply component of the energy storage valve grid-connected system as an example, the relational schema of the power supply component is defined as Source, and its attribute information includes the index number (DRAFT_UNIQUEID), name (Name), internal resistance (R) of the power supply, internal reactance (L) of the power supply, and number of phases (nmbr) of the power supply, etc. Among them, the index number is the primary key attribute. Therefore, the established relational data table corresponding to the power supply component can be shown in Table 1 as follows:
[0084] DRAFT_UNIQUEID Name R L nmbr 1200 SCR1 1e-6 Ω 0.0138H 3 1302 SCR2 1e-6 Ω 1e-5 H 3 1401 SCR3 4.34 Ω 0.00124H 1 … … … … …
[0085] Table 1
[0086] Among them, the index numbers of different power supply components are 1200, 1302, and 1401 respectively. The name of the power supply component with the index number 1200 can be SCR1, the name of the power supply component with the index number 1302 can be SCR2, and the name of the power supply component with the index number 1401 can be SCR3.
[0087] Therefore, in the above manner, for each component in the energy storage valve grid-connected system, such as transformers, disconnectors, circuit breakers, etc., relational data tables corresponding to each component are established respectively, and then a relational data table for the real-time digital simulator simulation model of the entire energy storage valve grid-connected system is established. The relational schema of the real-time digital simulator simulation model of the energy storage valve grid-connected system is defined as Model, and its attribute information includes the index number (DRAFT_UNIQUEID) and name (Name) of each component. Therefore, the relational data table of the real-time digital simulator simulation model of the energy storage valve grid-connected system can be as shown in Table 2 below:
[0088] DRAFT_UNIQUEID Name 1200 SCR1 1302 SCR2 1401 SCR3 1005 Breaker1 1034 Breaker2 2308 Breaker3 … …
[0089] Table 2
[0090] Among them, the index numbers of different circuit breakers are 1005, 1034, and 2308 respectively. The name of the circuit breaker with index number 1005 can be Breaker1, the name of the circuit breaker with index number 1034 can be Breaker2, and the name of the circuit breaker with index number 2308 can be Breaker3.
[0091] The method for constructing a digital twin of the energy storage valve grid-connected system proposed in the embodiments of the present application can establish a relational data table between the system data and each component in the data file of the real-time digital simulator simulation model based on the index, so as to make the establishment of the relational data table more convenient and accurate.
[0092] In some embodiments, after the step of S40 above, it further includes: when the system data changes, updating the relational data table according to the changed system data; updating the data file according to the updated relational data table to import the changed system data into the real-time digital simulator simulation model.
[0093] When the system data of the energy storage valve grid-connected system changes, that is, when the parameters of some components in the energy storage valve grid-connected system change, the data in the relational data table can be updated first according to the changed system data, and then the parameters of each component in the data file are assigned values according to the updated relational data table to update the data file, so that the real-time digital simulator simulation model can refresh the parameters of each component in the real-time digital simulator simulation model according to the updated data file, so as to realize importing the changed system data into the real-time digital simulator simulation model, so that the real-time digital simulator simulation model maintains data consistency with the actual on-site energy storage valve grid-connected system.
[0094] The system data of the energy storage valve grid-connected system are generally static data and rarely change. Therefore, after the system data of the energy storage valve grid-connected system are imported into the real-time digital simulator simulation model for the first time, when the system data change subsequently, only the changed system data need to be modified, and the rest of the system data can remain unchanged.
[0095] The digital twin construction method of the energy storage valve grid-connected system proposed in the embodiments of the present application, in the case of system data changes, can first update the relational data table, and then update the data file according to the updated relational data table, so as to import the changed system data into the real-time digital simulator simulation model, so that the real-time digital simulator simulation model maintains data consistency with the actual on-site energy storage valve grid-connected system.
[0096] In some embodiments, referring to Figure 5 , after the step of S50 above, it further includes:
[0097] S60: Run the real-time digital simulator simulation model to analyze the operation risks of the energy storage valve grid-connected system.
[0098] After importing the system data and operation status of the energy storage valve grid-connected system into the real-time digital simulator simulation model to construct an image virtual system of the energy storage valve grid-connected system, the real-time digital simulator simulation model can be run to analyze the operation risks of the energy storage valve grid-connected system.
[0099] The digital twin construction method of the energy storage valve grid-connected system proposed in the embodiments of the present application can analyze the operation risks of the energy storage valve grid-connected system based on the real-time digital simulator simulation model, so as to analyze, judge and give early warnings in time about the operation risks of the energy storage valve grid-connected system when the operation mode of the power grid changes, thereby ensuring the safe and stable operation of the power grid.
[0100] In some embodiments, the step of S60 above may specifically include: Based on the running real-time digital simulator simulation model, impedance scans are respectively performed on the power grid and the energy storage system in the energy storage valve grid-connected system to obtain the first impedance characteristic curve corresponding to the power grid and / or the second impedance characteristic curve corresponding to the energy storage system, so as to analyze the operation risks of the energy storage valve grid-connected system.
[0101] After importing the system data and operation status of the energy storage valve grid-connected system into the real-time digital simulator simulation model to construct an image virtual system of the energy storage valve grid-connected system, based on the real-time digital simulator simulation model, small disturbance signals can be respectively injected into the power grid and the energy storage system in the energy storage valve grid-connected system by using the frequency sweep method to perform impedance scans on the power grid and the energy storage system respectively, so as to identify the first impedance characteristic curve corresponding to the power grid and the second impedance characteristic curve corresponding to the energy storage system.
[0102] Schematically, taking the impedance scanning of the power grid as an example, small disturbance signals at different disturbance frequencies are sequentially injected into the power grid, and then the disturbance voltage and disturbance current caused by the small disturbance signal at each disturbance frequency are detected; the positive sequence component and negative sequence component of the disturbance voltage, as well as the positive sequence component and negative sequence component of the disturbance current, are extracted by using the symmetrical component method or other methods; Fourier transform is performed on the positive sequence component and negative sequence component of the disturbance voltage and the positive sequence component and negative sequence component of the disturbance current to transform each sequence component from the time domain to the frequency domain; the impedance value at the corresponding disturbance frequency is calculated according to each sequence component in the frequency domain, so that the first impedance characteristic curve corresponding to the power grid is obtained according to the impedance values at all disturbance frequencies. Among them, the first impedance characteristic curve corresponding to the power grid includes the impedance amplitude curve corresponding to the power grid (including the positive sequence impedance amplitude curve and the negative sequence impedance amplitude curve) and the impedance phase curve corresponding to the power grid (including the positive sequence impedance phase curve and the negative sequence impedance phase curve).
[0103] Correspondingly, the second impedance characteristic curve corresponding to the energy storage system can also be obtained in the above manner. Among them, the second impedance characteristic curve corresponding to the energy storage system includes the impedance amplitude curve corresponding to the energy storage system (including the positive sequence impedance amplitude curve and the negative sequence impedance amplitude curve) and the impedance phase curve corresponding to the energy storage system (including the positive sequence impedance phase curve and the negative sequence impedance phase curve).
[0104] For example, impedance scanning is performed on the power grid and the energy storage system in the energy storage valve grid-connected system respectively, and the obtained impedance characteristic curves can be as shown in Figure 6 (a) and Figure 6 in(b). Among them, Figure 6 (a) shows that after impedance scanning is performed on the power grid and the energy storage system in the energy storage valve grid-connected system respectively, the positive sequence impedance amplitude curve corresponding to the power grid, the negative sequence impedance amplitude curve corresponding to the power grid, the positive sequence impedance amplitude curve corresponding to the energy storage system, and the negative sequence impedance amplitude curve corresponding to the energy storage system are obtained, the abscissa represents the frequency, and the ordinate represents the impedance amplitude. Figure 6 (b) shows that after impedance scanning is performed on the power grid and the energy storage system in the energy storage valve grid-connected system respectively, the positive sequence impedance phase curve corresponding to the power grid, the negative sequence impedance phase curve corresponding to the power grid, the positive sequence impedance phase curve corresponding to the energy storage system, and the negative sequence impedance phase curve corresponding to the energy storage system are obtained, the abscissa represents the frequency, and the ordinate represents the impedance phase.
[0105] The digital twin construction method of the energy storage valve grid connection system proposed in the embodiments of the present application can perform impedance scans on the power grid and the energy storage system in the energy storage valve grid connection system based on a real-time digital simulator simulation model, so as to facilitate the timely analysis, judgment, and early warning of the operation risks of the energy storage valve grid connection system according to the first impedance characteristic curve corresponding to the power grid and / or the second impedance characteristic curve corresponding to the energy storage system when the operation mode of the power grid changes, thereby ensuring the safe and stable operation of the power grid.
[0106] In some embodiments, after performing impedance scans on the power grid and the energy storage system in the energy storage valve grid connection system based on the above-mentioned real-time digital simulator simulation model in operation to obtain the first impedance characteristic curve corresponding to the power grid and / or the second impedance characteristic curve corresponding to the energy storage system, and analyzing the operation risks of the energy storage valve grid connection system, it may further include: determining whether there is an oscillation risk in the energy storage valve grid connection system according to the first impedance characteristic curve and the second impedance characteristic curve; in the case of an oscillation risk, determining that a virtual impedance module needs to be added to the current inner loop controller corresponding to the energy storage valve grid connection system.
[0107] After performing impedance scans on the power grid and the energy storage system in the energy storage valve grid connection system respectively to obtain the first impedance characteristic curve corresponding to the power grid and the second impedance characteristic curve corresponding to the energy storage system, the Nyquist curve of Zg / Zin as shown in Figure 6 (c) can be generated, where Zg represents the impedance of the power grid and Zin represents the impedance of the energy storage system. According to the intersection point of the Nyquist curve of Zg / Zin and the unit circle, it is determined whether there is an oscillation risk in the energy storage valve grid connection system.
[0108] Schematically, as shown in Figure 6 (a), the impedance amplitude curve corresponding to the power grid can be generated according to the positive sequence impedance amplitude curve corresponding to the power grid and the negative sequence impedance amplitude curve corresponding to the power grid; as shown in Figure 6 (b), the impedance phase curve corresponding to the power grid can be generated according to the positive sequence impedance phase curve corresponding to the power grid and the negative sequence impedance phase curve corresponding to the power grid.
[0109] Based on the impedance amplitude curve corresponding to the power grid, the positive sequence impedance amplitude curve corresponding to the energy storage system, the negative sequence impedance amplitude curve corresponding to the energy storage system, the impedance phase curve corresponding to the power grid, the positive sequence impedance phase curve corresponding to the energy storage system, and the negative sequence impedance phase curve corresponding to the energy storage system, etc., the Nyquist curve of Zg / Zin as shown in Figure 6 (c) is plotted.
[0110] As shown in Figure 6As shown in (c) thereof, it includes the Nyquist curve between the impedance of the power grid and the positive-sequence impedance (i.e., Zp) of the energy storage system (hereinafter simply referred to as the Nyquist curve corresponding to the positive-sequence impedance), and the Nyquist curve between the impedance of the power grid and the negative-sequence impedance (i.e., Zn) of the energy storage system (hereinafter simply referred to as the Nyquist curve corresponding to the negative-sequence impedance).
[0111] For example, according to the intersection point of the Nyquist curve corresponding to the positive-sequence impedance and the unit circle, it is determined that the amplitude margin corresponding to the positive-sequence impedance at 420 Hz is 2.7 dB, and the phase margin corresponding to the positive-sequence impedance at 440 Hz is 10°. Correspondingly, according to the intersection point of the Nyquist curve corresponding to the negative-sequence impedance and the unit circle, it is determined that the amplitude margin corresponding to the negative-sequence impedance at 350 Hz is 7.5 dB, and the phase margin corresponding to the negative-sequence impedance at 440 Hz is 23°. Therefore, it can be seen that the phase margin corresponding to the positive-sequence impedance at 440 Hz is insufficient, so it is judged that there is an oscillation risk in the energy storage valve grid-connected system at 440 Hz.
[0112] It should be noted that Figure 6 the black dots shown in (c) represent the intersection points of the Nyquist curve corresponding to the positive-sequence impedance and the unit circle Figure 6 in (c), Figure 6 in (b), and Figure 6 the black dots interconnected by solid lines between (a) represent the same point, but in different forms of representation.
[0113] In the case where it is determined that there is an oscillation risk in the energy storage valve grid-connected system, a virtual impedance module can be added to the current inner-loop controller corresponding to the energy storage valve grid-connected system. By adding this virtual impedance module, the impedance of the energy storage system can be changed, the damping of the energy storage system can be increased, the stability margin can be improved, and thus the oscillation risk can be reduced.
[0114] Figure 7 This is the control block diagram of the current inner-loop controller of some embodiments of the present application. Referring to Figure 7 as shown, for three-phase alternating current i abc abc / dq coordinate transformation is performed through the phase angle ωt to obtain the d-axis current component i d in the dq coordinate system and the q-axis current component i q in the dq coordinate system. The difference between the d-axis current reference value i d * and the d-axis current component i d is passed through a proportional-integral (PI) controller to obtain a first parameter. The voltage after decoupling the q-axis current component i q by ωL is summed with the d-axis voltage component U d and then subtracted by the first parameter to be used as the d-axis modulation voltage V output by the current inner-loop controllerd The difference between the q-axis current reference value i q * and the q-axis current component i q is passed through a PI controller to obtain a second parameter. The difference between the q-axis voltage component U q and the voltage after decoupling the d-axis current component i d by ωL, and then subtracting the second parameter, is used as the q-axis modulation voltage V q output by the current inner-loop controller. The d-axis modulation voltage V d and the q-axis modulation voltage V q output by the current inner-loop controller are transformed from dq / abc coordinates through the phase angle ωt, and then subtracted from the voltage of the three-phase alternating current i abc after passing through the virtual impedance module, to obtain the three-phase voltage V abc . This three-phase voltage can be used as the modulation wave of the modular multilevel converter. This modulation wave is then passed through a pulsewidth modulation (PWM) module to generate a drive signal to control the on and off of the first switch tube Q1 and the second switch tube Q2 in the modular multilevel converter.
[0115] It should be noted that the current inner-loop controller is a software control module of the energy storage valve grid-connected system. In the case where there is an oscillation risk in the energy storage valve grid-connected system, a virtual impedance module can be added to the current inner-loop controller to reduce the oscillation risk; while in the case where there is no oscillation risk in the energy storage valve grid-connected system, there is no need to add a virtual impedance module to the current inner-loop controller, that is, the virtual impedance module in the current inner-loop controller shown in Figure 7 can be removed, so that the d-axis modulation voltage V d and the q-axis modulation voltage V q output by the current inner-loop controller can obtain the three-phase voltage V abc after being transformed from dq / abc coordinates through the phase angle ωt.
[0116] Among them, the virtual impedance module includes a filter and a virtual impedance. The frequency allowed to pass through the filter is the frequency at the oscillation risk.
[0117] As Figure 7 shown, the virtual impedance module added to the current inner-loop controller can include a filter and a virtual impedance R v . The input end of the filter is used to receive the three-phase alternating current i abc , and the output end of the filter is connected to the input end of the virtual impedance R v .
[0118] The frequency allowed to pass through the filter is the frequency at the oscillation risk. For example, if the energy storage valve grid-connected system has an oscillation risk at 440 Hz, the frequency allowed to pass through the filter is 440 Hz. The virtual impedance Rv The specific value can be determined according to the empirical value.
[0119] The digital twin construction method of the energy storage valve grid-connection system proposed in the embodiment of the present application can judge whether there is an oscillation risk in the energy storage valve grid-connection system according to the first impedance characteristic curve and the second impedance characteristic curve after impedance scanning. In the case of an oscillation risk, a virtual impedance module is added to the current inner-loop controller to increase the damping of the energy storage system and improve the stability margin, thereby reducing the oscillation risk.
[0120] In some embodiments, after impedance scanning is performed on the power grid and the energy storage system in the energy storage valve grid-connection system respectively based on the above-mentioned real-time digital simulator simulation model during operation to obtain the first impedance characteristic curve corresponding to the power grid and / or the second impedance characteristic curve corresponding to the energy storage system, and to analyze the operation risk of the energy storage valve grid-connection system, it may further include: determining the parameter values of the control parameters to be adjusted in the virtual synchronous machine corresponding to the energy storage valve grid-connection system according to the first impedance characteristic curve; the control parameters to be adjusted include the damping coefficient and / or the inertia constant.
[0121] Schematically, Figure 8 is the control block diagram of the virtual synchronous generator (VSG) in some embodiments of the present application. Refer to Figure 8 As shown, ΔP* M represents the active power reference value of the virtual synchronous machine, ΔP* e represents the measured active power value of the virtual synchronous machine, D represents the damping coefficient of the virtual synchronous machine, H S represents the inertia constant of the virtual synchronous machine, S E represents the synchronous power coefficient of the virtual synchronous machine, Δω* represents the per-unit value of the angular frequency deviation, ω n represents the rated angular frequency, Δω represents the actual value of the angular frequency deviation, s represents the Laplace operator, and Δδ represents the phase angle of the output voltage of the virtual synchronous machine.
[0122] Therefore, after impedance scanning is performed on the power grid in the energy storage valve grid-connection system to obtain the first impedance characteristic curve corresponding to the power grid, the damping coefficient D and / or the inertia constant H S in the virtual synchronous machine corresponding to the energy storage valve grid-connection system can be determined according to the first impedance characteristic curve.
[0123] It should be noted that the virtual synchronous machine is a software control module of the energy storage valve grid-connection system, and the control parameters to be adjusted in the virtual synchronous machine can be understood as the control parameters of the energy storage system.
[0124] The digital twin construction method of the energy storage valve grid-connected system proposed in the embodiments of the present application can enable the energy storage system to have better dynamic response characteristics by online adjusting the parameter values of the control parameters to be adjusted in the virtual synchronous machine corresponding to the energy storage valve grid-connected system.
[0125] In some embodiments, the step of determining the parameter values of the control parameters to be adjusted in the virtual synchronous machine corresponding to the energy storage valve grid-connected system according to the first impedance characteristic curve may specifically include: determining the synchronous power coefficient of the virtual synchronous machine according to the first impedance characteristic curve; determining the optimal damping ratio according to the root locus corresponding to the synchronous power coefficient; and determining the parameter values of the control parameters to be adjusted in the virtual synchronous machine according to the damping ratio.
[0126] It is possible to Figure 8 draw the root loci corresponding to different synchronous power coefficients S for the virtual synchronous machine shown in E to obtain a schematic diagram of the root locus corresponding to the virtual synchronous machine shown in Figure 9 .
[0127] Generally, the control parameters of the energy storage system are designed according to a certain grid strength. During the actual operation process, the grid strength will change with the change of the actual operation mode, resulting in the possible deterioration of the dynamic response characteristics of the energy storage system.
[0128] Therefore, the synchronous power coefficient S related to the grid strength can be calculated according to the first impedance characteristic curve corresponding to the grid. E ; then, from Figure 9 the root locus corresponding to the virtual synchronous machine shown in, find the root locus corresponding to the synchronous power coefficient S of the virtual synchronous machine calculated above. E Thus, the optimal damping ratio ξ can be found. The damping ratio ξ is a damping parameter reflecting the dynamic response characteristics. Then, determine the parameter values of the damping coefficient and / or the inertia constant in the virtual synchronous machine according to the optimal damping ratio ξ.
[0129] For example, the following formula can be used to determine the parameter values of the damping coefficient and / or the inertia constant in the virtual synchronous machine:
[0130] 2×ω s ×ξ = D / H s
[0131] where ω s represents the natural frequency of the system.
[0132] The digital twin construction method of the energy storage valve grid connection system proposed in the embodiments of the present application can calculate the synchronous power coefficient related to the grid strength according to the first impedance characteristic curve of the power grid, and then find the optimal damping ratio to determine the parameter values of the damping coefficient and / or inertia constant in the virtual synchronous machine. In this way, the control parameters of the energy storage system can be adjusted online according to the actual operating grid strength, so that the energy storage system has better dynamic response characteristics.
[0133] In some embodiments, the step of determining the synchronous power coefficient of the virtual synchronous machine according to the first impedance characteristic curve may specifically include: determining the fundamental frequency impedance of the power grid at the fundamental frequency according to the first impedance characteristic curve; determining the short circuit ratio of the power grid according to the fundamental frequency impedance; determining the equivalent total impedance between the virtual synchronous machine and the power grid according to the short circuit ratio; and determining the synchronous power coefficient of the virtual synchronous machine according to the equivalent total impedance.
[0134] First, the fundamental frequency impedance of the power grid at the fundamental frequency (such as 50 Hz) can be found from the first impedance characteristic curve corresponding to the power grid; then, the short circuit ratio (SCR) of the power grid can be derived according to the fundamental frequency impedance of the power grid at the fundamental frequency.
[0135] The short circuit ratio (SCR) refers to the ratio of the short circuit capacity of the system divided by the equipment capacity. Therefore, when the short circuit ratio is large, it means that this equipment is connected to a strong system, indicating that the switching of the equipment has little impact on the system. And the short circuit capacity is numerically equal to the system admittance value under the unit voltage, which is the reciprocal of the Thevenin equivalent impedance of the system. The larger the short circuit capacity, the smaller the Thevenin equivalent resistance of the system, and the switching of the load, shunt capacitor or reactor will not cause large changes in the voltage amplitude, so the system is relatively strong.
[0136] Next, according to the short circuit ratio of the power grid, the equivalent total impedance Z between the virtual synchronous machine and the power grid is calculated. Among them, there is a one-to-one correspondence between the short circuit ratio of the power grid and the equivalent total impedance Z.
[0137] For example, the short circuit ratio of the power grid and the equivalent total impedance Z satisfy the following formula:
[0138]
[0139] Where U N represents the rated voltage of the power grid, and S N represents the rated capacity of the energy storage system. Since U N and S N are both constants, the short circuit ratio SCR of the power grid is only related to the equivalent total impedance Z.
[0140] Then, according to the equivalent total impedance between the virtual synchronous machine and the power grid, the synchronous power coefficient of the virtual synchronous machine is determined. For example, the equivalent total impedance Z and the synchronous power coefficient S E satisfy the following formula:
[0141]
[0142] where U represents the terminal voltage of the virtual synchronous machine, and U g represents the power grid voltage. Therefore, if the equivalent total impedance Z between the virtual synchronous machine and the power grid changes, correspondingly, it causes the determination of the synchronous power coefficient S of the virtual synchronous machine E to also change, thus changing the control effect of the energy storage system.
[0143] The digital twin construction method of the energy storage valve grid-connected system proposed in the embodiments of this application. Since different short-circuit ratios mean different power grid strengths, in this way, the equivalent total impedance can be calculated according to the short-circuit ratio of the power grid, and then the synchronous power coefficient related to the power grid strength can be calculated to improve the adjustment accuracy when online adjusting the control parameters of the energy storage system, thereby optimizing the dynamic response process of the energy storage system online.
[0144] Based on the same inventive concept, the embodiments of this application also provide a digital twin construction device for implementing the above-mentioned energy storage valve grid-connected system. The solution for solving problems provided by this digital twin construction device of the energy storage valve grid-connected system is similar to the solution described in the above method. Therefore, the specific limitations of one or more digital twin construction devices of the energy storage valve grid-connected system provided below can refer to the limitations of the digital twin construction method of the energy storage valve grid-connected system in the above text, and will not be repeated here.
[0145] Figure 10 is a schematic structural diagram of a digital twin construction device of the energy storage valve grid-connected system in some embodiments of this application. Specifically, this digital twin construction device 1000 of the energy storage valve grid-connected system includes: a first acquisition module 1001, a second acquisition module 1002, a relationship establishment module 1003, a system data import module 1004, and an operating state sending module 1005. Among them, the first acquisition module 1001 is used to acquire the system data and operating state of the energy storage valve grid-connected system, and the system data includes the data information of each component in the energy storage valve grid-connected system; the second acquisition module 1002 is used to acquire the data file of the real-time digital simulator simulation model corresponding to the energy storage valve grid-connected system; the relationship establishment module 1003 is used to establish a relational data table between the system data and each component in the data file; the system data import module 1004 is used to update the data file according to the relational data table to import the system data into the real-time digital simulator simulation model; the operating state sending module 1005 is used to send the operating state to the real-time digital simulator simulation model.
[0146] In some embodiments, the relationship establishment module 1003 is specifically configured to establish an index corresponding to the system data; and based on the index, establish a relational data table between the system data and each component in the data file.
[0147] In some embodiments, the digital twin construction device 1000 of the energy storage valve grid-connected system further includes: a first update module and a second update module. The first update module is used to update the relational data table according to the changed system data when the system data changes; the second update module is used to update the data file according to the updated relational data table to import the changed system data into the real-time digital simulator simulation model.
[0148] In some embodiments, the energy storage valve grid-connected system includes a power grid and an energy storage system, and the energy storage system includes a converter and an energy storage valve; the system data includes power grid data, converter data, and energy storage valve data. The power grid data includes data information of each component in the power grid, the converter data includes data information of each component in the converter, and the energy storage valve data includes data information of each component in the energy storage valve.
[0149] In some embodiments, the operating state includes the opening / closing state, the operating mode, and the power command.
[0150] In some embodiments, the digital twin construction device 1000 of the energy storage valve grid-connected system further includes an operation risk analysis module, which is used to run the real-time digital simulator simulation model to analyze the operation risk of the energy storage valve grid-connected system.
[0151] In some embodiments, the operation risk analysis module is specifically configured to perform impedance scanning on the power grid and the energy storage system in the energy storage valve grid-connected system respectively based on the running real-time digital simulator simulation model, to obtain a first impedance characteristic curve corresponding to the power grid and / or a second impedance characteristic curve corresponding to the energy storage system, so as to analyze the operation risk of the energy storage valve grid-connected system.
[0152] Figure 11 It is a schematic structural diagram of an electronic device according to some embodiments of the present application. Specifically, the electronic device 1100 may include: a processor 1101, a memory 1102, a bus 1103, and a communication interface 1104. The processor 1101, the communication interface 1104, and the memory 1102 are connected through the bus 1103. A computer program that can run on the processor 1101 is stored in the memory 1102. When the processor 1101 runs the computer program, it executes the digital twin construction method of the energy storage valve grid-connected system provided in any of the above embodiments of the present application.
[0153] The electronic device provided in the embodiments of the present application has the same implementation principle and technical effects as those of the above method embodiments, and will not be elaborated here.
[0154] The embodiment of the present application further provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is run, the digital twin construction method of the energy storage valve grid-connected system provided in any of the above embodiments is executed.
[0155] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0156] The computer-readable storage medium provided by the embodiment of the present application has the same implementation principle and technical effect as the above method embodiment, and will not be described in detail here.
[0157] The embodiment of the present application further provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the digital twin construction method of the energy storage valve grid-connected system provided in any of the above embodiments. Its implementation principle and technical effect are similar to those of the above method embodiment, and will not be described in detail here.
[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application 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 on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should all be covered by the scope of the claims and the description of the present application. In particular, as long as there is no structural conflict, the technical features mentioned in each embodiment can be combined in any way. The present application is not limited to the specific embodiments disclosed in the text, but includes all technical solutions falling within the scope of the claims.
Claims
1. A method for constructing a digital twin of an energy storage valve grid connection system, characterized in that, Including: Obtain the system data and operating status of the energy storage valve grid-connected system; the system data includes the data information of each component in the energy storage valve grid-connected system; Obtain the data file of the real-time digital simulator simulation model corresponding to the energy storage valve grid-connected system; Establish a relational data table between the system data and each component in the data file; Update the data file according to the relational data table to import the system data into the real-time digital simulator simulation model; Send the operating status to the real-time digital simulator simulation model.
2. The method according to claim 1, characterized in that, The establishment of the relational data table between the system data and each component in the data file includes: Establish an index corresponding to the system data; Based on the index, establish a relational data table between the system data and each component in the data file.
3. The method according to claim 1, characterized in that, After updating the data file according to the relational data table to import the system data into the real-time digital simulator simulation model, it further includes: In the case where the system data changes, update the relational data table according to the changed system data; Update the data file according to the updated relational data table to import the changed system data into the real-time digital simulator simulation model.
4. The method according to claim 1, characterized in that, The energy storage valve grid-connected system includes a power grid and an energy storage system, and the energy storage system includes a converter and an energy storage valve; the system data includes power grid data, converter data, and energy storage valve data; The power grid data includes the data information of each component in the power grid, the converter data includes the data information of each component in the converter, and the energy storage valve data includes the data information of each component in the energy storage valve.
5. The method according to claim 1, characterized in that, The operating status includes opening / closing status, operating mode, and power command.
6. The method according to any one of claims 1 to 5, characterized in that, After sending the operating status to the real-time digital simulator simulation model, it further includes: Run the real-time digital simulator simulation model to analyze the operating risks of the energy storage valve grid-connected system.
7. The method according to claim 6, characterized in that, The running of the real-time digital simulator simulation model to analyze the operating risks of the energy storage valve grid-connected system includes: Based on the running real-time digital simulator simulation model, perform impedance scanning on the power grid and the energy storage system in the energy storage valve grid-connected system respectively to obtain the first impedance characteristic curve corresponding to the power grid and / or the second impedance characteristic curve corresponding to the energy storage system, so as to analyze the operating risks of the energy storage valve grid-connected system.
8. A device for constructing a digital twin of an energy storage valve grid connection system, characterized in that, Including: A first acquisition module for obtaining the system data and operating status of the energy storage valve grid-connected system; the system data includes the data information of each component in the energy storage valve grid-connected system; A second acquisition module for obtaining the data file of the real-time digital simulator simulation model corresponding to the energy storage valve grid-connected system; A relationship establishment module for establishing a relational data table between the system data and each component in the data file; A system data import module for updating the data file according to the relational data table to import the system data into the real-time digital simulator simulation model; The operating status sending module is used to send the operating status to the real-time digital simulator simulation model.
9. An electronic device, characterized in that, It includes a memory and a processor. The memory is used to store computer programs, and the processor is used to call the computer programs to execute the digital twin construction method of the energy storage valve grid connection system according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Computer programs or instructions are stored in the computer-readable storage medium. When the computer programs or instructions are run, the digital twin construction method of the energy storage valve grid connection system according to any one of claims 1 to 7 is implemented.