A power grid simulation method, device, electronic equipment and storage medium
By fitting the load power and voltage information of the substation equipment in the power grid, multiple corresponding relationships are obtained, which solves the problem that traditional methods cannot accurately describe the load characteristics of the power grid, and improves the accuracy and stability of power grid simulation analysis.
Patent Information
- Application Number
- CN202310349165.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-04-03
AI Technical Summary
The traditional single structure cannot accurately describe the load characteristics of the power grid, which affects the accuracy of power system simulation analysis and the safe and stable operation of the power grid.
By obtaining the target load power information and target voltage information of the substation equipment in the power grid, multiple preset correspondences are fitted based on this information, and the load power and voltage correspondence with constant impedance, constant current and constant power is obtained, using Use power grid simulation to improve analysis accuracy.
More accurately describe the actual load characteristics of substation equipment, improve the accuracy of power grid simulation analysis, and ensure the stable operation of the power grid.
Smart Images

Figure CN116432443B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power simulation, and in particular to a power grid simulation method, device, electronic equipment and storage medium. Background Art
[0002] As the scale of power grids continues to expand, their complexity is also increasing. The construction and development of smart grids have put forward higher requirements for the accuracy of real-time simulation and analysis of power systems. In order to adapt to the operation and control requirements of smart grids, the safety and stability analysis of power systems needs to more accurately reflect the actual characteristics of power grid loads. Therefore, clarifying the specific correspondence between load power and bus voltage in the power grid has an increasingly significant impact on the digital simulation of power systems and their safe and stable operation. At present, the correspondence of the traditional single structure can no longer describe the characteristics of power grid loads well, and cannot accurately reflect the actual situation, affecting the accuracy of power system simulation analysis, and thus affecting the safe and stable operation of the power network. Summary of the invention
[0003] In view of the above problems in the prior art, the present invention discloses a power grid simulation method, device, electronic device and storage medium, which can more accurately describe the actual load characteristics of substation equipment, thereby improving the accuracy of power grid simulation analysis and ensuring the stable operation of the power grid. The technical solution disclosed in the present invention is as follows:
[0004] According to one aspect of the embodiments disclosed in the present invention, there is provided a power grid simulation method, comprising:
[0005] Obtaining target load power information and target voltage information of a substation in a target power grid within a preset time period, wherein the preset time period includes a plurality of sub-time periods;
[0006] Based on the target load power information and the target voltage information, parameters of multiple preset corresponding relationships are fitted to obtain multiple target corresponding relationships, each preset corresponding relationship corresponds to a sub-time period, and each target corresponding relationship includes a corresponding relationship between load power and voltage under constant impedance, a corresponding relationship between load power and voltage under constant current, and a corresponding relationship between load power and voltage under constant power;
[0007] The target power grid is simulated based on the multiple target correspondences to obtain simulation results, where the simulation results represent the operating stability of the target power grid.
[0008] Optionally, the fitting process is performed on parameters of multiple preset corresponding relationships based on the target load power information and the target voltage information to obtain multiple target corresponding relationships, including:
[0009] Determine initial parameter information in each preset corresponding relationship, wherein the initial parameter information is a polynomial coefficient in each preset corresponding relationship;
[0010] Determine the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information;
[0011] Determine the load power loss information corresponding to each preset corresponding relationship based on the sub-load power information corresponding to the sub-voltage information in the initial load power information and the target load power information;
[0012] Based on the load power loss information, the initial parameter information in each preset corresponding relationship is updated to obtain each updated preset corresponding relationship;
[0013] Based on each updated preset corresponding relationship, repeating the steps of determining the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information, and updating the initial parameter information in each preset corresponding relationship based on the load power loss information to obtain each updated preset corresponding relationship, until a preset convergence condition is met;
[0014] A plurality of preset corresponding relationships satisfying the preset convergence condition are used as the plurality of target corresponding relationships.
[0015] Optionally, the determining the initial parameter information in each preset corresponding relationship includes:
[0016] Based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship, determining a first corresponding relationship, wherein the first corresponding relationship represents a corresponding relationship between load power and a polynomial coefficient in each preset corresponding relationship;
[0017] The initial parameter information is determined based on a preset objective function, the first corresponding relationship, and the sub-load power information corresponding to the sub-voltage information in the target load power information.
[0018] Optionally, after acquiring the target load power information and target voltage information of the substation equipment in the target power grid within a preset time period, the method further includes:
[0019] Filtering the target load power information and the target voltage information to obtain updated load power information and updated voltage information;
[0020] The fitting process is performed on the parameters of a plurality of preset corresponding relationships based on the target load power information and the target voltage information to obtain a plurality of target corresponding relationships, including:
[0021] The parameters of a plurality of preset corresponding relationships are fitted based on the updated load power information and the updated voltage information to obtain the plurality of target corresponding relationships.
[0022] Optionally, the filtering of the target load power information and the target voltage information to obtain updated load power information and updated voltage information includes:
[0023] Determine a plurality of initial correlation coefficients between the sub-load power information corresponding to each preset corresponding relationship in the target load power information and the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information, each initial correlation coefficient representing the degree of correlation between the load power and the voltage;
[0024] Screening the multiple initial correlation coefficients to obtain a target correlation coefficient;
[0025] Using the load power information corresponding to the target correlation coefficient in the target load power information as the updated load power information;
[0026] The voltage information corresponding to the target correlation coefficient in the target voltage information is used as the updated voltage information.
[0027] Optionally, after acquiring the target load power information and target voltage information of the substation equipment in the target power grid within a preset time period, the method further includes:
[0028] Performing a change trend analysis on the target load power information and the target voltage information to obtain a plurality of change trend data;
[0029] Based on the voltage information in which the corresponding change trend data in the target voltage information is greater than a preset change threshold, the voltage ranges corresponding to each of the plurality of preset corresponding relationships are constructed.
[0030] Optionally, the method further includes:
[0031] When each change trend data is not greater than the preset change threshold, obtaining the fluctuation data of the target voltage information;
[0032] The voltage ranges corresponding to the plurality of preset corresponding relationships are determined according to the fluctuation data.
[0033] According to another aspect of the disclosed embodiment of the present invention, there is provided a power grid simulation device, comprising:
[0034] An acquisition module, used to acquire target load power information and target voltage information of a substation in a target power grid within a preset time period, wherein the preset time period includes a plurality of sub-time periods;
[0035] A fitting processing module, used for fitting parameters of a plurality of preset corresponding relationships based on the target load power information and the target voltage information to obtain a plurality of target corresponding relationships, each preset corresponding relationship corresponding to a sub-time period, each target corresponding relationship including a corresponding relationship between load power and voltage under a constant impedance condition, a corresponding relationship between load power and voltage under a constant current condition, and a corresponding relationship between load power and voltage under a constant power condition;
[0036] A simulation module is used to simulate the target power grid based on the multiple target correspondences to obtain a simulation result, wherein the simulation result represents the operating stability of the target power grid.
[0037] According to another aspect of the disclosed embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a power grid simulation method as described in any one of the above items.
[0038] According to another aspect of the embodiments disclosed in the present invention, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the power grid simulation method described in any one of the embodiments disclosed in the present invention.
[0039] According to another aspect of the embodiments disclosed in the present invention, there is provided a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the power grid simulation method described in any one of the embodiments disclosed in the present invention.
[0040] The technical solution provided by the embodiments disclosed in the present invention brings at least the following beneficial effects:
[0041] The power grid simulation method provided by the present invention obtains the target load power information and target voltage information of the substation equipment in the power grid within a preset time period, and the preset time period includes multiple sub-time periods; based on the target load power information and the target voltage information, the parameters of multiple preset corresponding relationships are fitted to obtain multiple target corresponding relationships, each preset corresponding relationship corresponds to a sub-time period, and each target corresponding relationship includes the corresponding relationship between load power and voltage under constant impedance, the corresponding relationship between load power and voltage under constant current, and the corresponding relationship between load power and voltage under constant power, which can more accurately describe the actual load characteristics of the substation equipment; and based on the multiple target corresponding relationships, the power grid is simulated to obtain a simulation result that characterizes the operating stability of the target power grid. The power grid is simulated based on a more accurate corresponding relationship between load power and voltage, which can improve the accuracy of power grid simulation analysis and ensure the stable operation of the power grid.
[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the disclosure of the present invention, and together with the description are used to explain the principles of the disclosure, and do not constitute improper limitations on the disclosure of the present invention.
[0044] Figure 1 is a flow chart of a power grid simulation method according to an exemplary embodiment;
[0045] Figure 2 It is a flow chart showing a method of fitting parameters of multiple preset corresponding relationships based on target load power information and target voltage information to obtain multiple target corresponding relationships according to an exemplary embodiment;
[0046] Figure 3 It is a flow chart showing a method of filtering target load power information and target voltage information to obtain updated load power information and updated voltage information according to an exemplary embodiment;
[0047] Figure 4 is a schematic diagram showing the change of the correlation coefficient between the load power and the voltage of a certain power transformation device in a certain power grid over time during normal operation according to an exemplary embodiment;
[0048] Figure 5 is a block diagram of a power grid simulation device according to an exemplary embodiment;
[0049] Figure 6 is a block diagram of a terminal electronic device for power grid simulation according to an exemplary embodiment;
[0050] Figure 7 The invention is a block diagram showing a server electronic device for power grid simulation according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] In order to enable ordinary persons in the art to better understand the technical solutions disclosed in the present invention, the technical solutions in the embodiments disclosed in the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary persons in the art without making creative work are within the scope of protection of the present invention.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims disclosed in the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments disclosed in the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0053] Each substation in the electrical system provides services to a large number of users. When calculating and analyzing the electrical system, it is usually represented as an equivalent load, which is called a comprehensive load. The comprehensive load usually includes different types of loads, such as lighting devices, a large number of asynchronous motors of different capacities, synchronous motors, various rectifiers, electric heaters, and active and reactive power loss loads of the power grid. With the rapid development of the economy, the demand for electric energy continues to increase, and the power system faces more and more stability problems. The electrical system needs to model and simulate the power grid in more detail, especially the development and use of load models that are more in line with the actual situation, that is, the correspondence between load power and voltage. The accurate description of this correspondence plays an important role in the operation of the power grid. For example, in a microgrid, distributed power sources need to flexibly adjust the active output of each micropower source according to the load to balance supply and demand. When the voltage or frequency of the system changes significantly, the composition of the load changes significantly. For example, a large number of cooling loads appear during the summer peak in tropical areas, and the characteristics of the load also change. This change in the composition of the load under normal or critical conditions is called the variable structure characteristic of the load. With regard to the variable structure characteristics of the load, the correspondence between the traditional single-structure load power and voltage cannot be accurately described, which will lead to inaccurate results of the power grid simulation analysis and fail to guarantee the stable operation of the power grid.
[0054] The following describes a power grid simulation method of the present application. Figure 1 is a flow chart of a power grid simulation method according to an exemplary embodiment. Figure 1 As shown, the power grid simulation method includes the following steps.
[0055] S101: Obtain target load power information and target voltage information of a substation in a target power grid within a preset time period.
[0056] In a specific embodiment, the target power grid may be a power grid that needs to be simulated and analyzed, and the substation may be a device in the power grid that transforms voltage and current, receives electrical energy and distributes electrical energy, such as a substation; the above-mentioned preset time period may include multiple sub-time periods, and within the preset time period, the target voltage information has corresponding target load power information. Specifically, the target voltage information may be the bus voltage information (bus voltage value) of the substation at each moment within the preset time period, and the target load power information may be the load power information (load power value) of the substation at each moment within the preset time period. The load power information at any moment may be composed of the load power information under the condition of constant impedance at that moment, the load power information under the condition of constant current at that moment, and the load power information under the condition of constant power at that moment. The preset time period may be set according to actual application requirements.
[0057] In an optional embodiment, after obtaining the target load power information and target voltage information of the substation equipment in the target power grid within a preset time period, the method may further include:
[0058] Performing change trend analysis on target load power information and target voltage information to obtain multiple change trend data;
[0059] Based on the voltage information in which the corresponding change trend data in the target voltage information is greater than the preset change threshold, a plurality of voltage ranges corresponding to respective preset corresponding relationships are constructed.
[0060] In a specific embodiment, the change trend data can characterize the degree of change of load power with voltage changes, and the preset change threshold can be set according to actual application requirements; performing change trend analysis on the target load power information and the target voltage information, and obtaining multiple change trend data can include drawing a graph based on the target load power information and the target voltage information, and taking the change data between the slope corresponding to each point in the graph and the slope corresponding to the adjacent point as each change trend data.
[0061] In a specific embodiment, the voltage information corresponding to the change trend data in the target voltage information is greater than the preset change threshold and the minimum voltage information and maximum voltage information in the target voltage information are used as critical voltage values of the voltage range to construct voltage ranges corresponding to multiple preset corresponding relationships.
[0062] In the above embodiment, the change trend analysis of the load power information and the voltage information can be performed to obtain multiple change trend data. The voltage information corresponding to the change trend data in the voltage information is greater than the preset change threshold, and the minimum voltage information and the maximum voltage information in the target voltage information are used as the voltage critical value of the voltage range. When the degree of change in the load power is obvious, the voltage range corresponding to each of the multiple preset corresponding relationships can be accurately determined.
[0063] In an optional embodiment, the above method may further include:
[0064] When each change trend data is not greater than a preset change threshold, obtaining fluctuation data of the target voltage information;
[0065] The voltage ranges corresponding to the plurality of preset corresponding relationships are determined according to the fluctuation data.
[0066] In a specific embodiment, the fluctuation data can characterize the fluctuation of the time-varying curve of the target voltage information within a preset time period. When the above fluctuation data is greater than the preset fluctuation threshold, the target voltage information is divided into a first preset number of voltage ranges. When the above fluctuation data is not greater than the preset fluctuation threshold, the target voltage information is divided into a second preset number of voltage ranges. Specifically, the first preset number and the second preset number can be set according to actual application requirements. For example, the first preset number can be 4, and the second preset number can be 2. The preset fluctuation threshold can be set according to actual application requirements, such as 0.1 reference voltage. The voltage information corresponding to the larger fluctuation data and the minimum voltage information and maximum voltage information in the target voltage information are used as the voltage critical values of the voltage range, and multiple voltage ranges corresponding to each of the preset corresponding relationships are constructed.
[0067] In the above embodiment, when each change trend data is not greater than the preset change threshold, the voltage range corresponding to each of the multiple preset corresponding relationships is determined according to the fluctuation data of the voltage data, and the voltage range corresponding to each of the multiple preset corresponding relationships can be determined when the degree of change in load power is not obvious.
[0068] S103: Fitting parameters of multiple preset corresponding relationships based on the target load power information and the target voltage information to obtain multiple target corresponding relationships.
[0069] In a specific embodiment, each preset corresponding relationship may correspond to a sub-time period, and each preset corresponding relationship may be represented by a polynomial; specifically, taking three preset corresponding relationships, each of which is represented by a quadratic polynomial as an example, the three preset corresponding relationships may be represented by the following formula:
[0070]
[0071] in,
[0072] Wherein, y1(x), y2(x) and y3(x) respectively represent the load power at any moment in the corresponding sub-time period, x represents voltage, x1, x2, x3 and x4 respectively represent the voltage critical values of the voltage ranges corresponding to the plurality of preset corresponding relationships, a1, b1 and c1 respectively represent the proportion of the load power information under the condition of constant impedance at any moment to the load power information at that moment, the proportion of the load power information under the condition of constant current at any moment to the load power information at that moment, and the proportion of the load power information under the condition of constant power at any moment to the load power information at that moment in the sub-time period corresponding to the voltage range [x1, x2], a2, b2 and c2 respectively represent the proportion of the load power information under the condition of constant current at any moment to the load power information at that moment in the voltage range (x2, x3] In the corresponding sub-time period, the proportion of the load power information under the condition of constant impedance at any moment accounts for the load power information at that moment, the proportion of the load power information under the condition of constant current at any moment accounts for the load power information at that moment, and the proportion of the load power information under the condition of constant power at any moment accounts for the load power information at that moment. a2, b3 and c3 respectively represent the proportion of the load power information under the condition of constant impedance at any moment accounts for the load power information at that moment, the proportion of the load power information under the condition of constant current at any moment accounts for the load power information at that moment, and the proportion of the load power information under the condition of constant power at any moment accounts for the load power information at that moment in the sub-time period corresponding to the voltage range of (x3, x4].
[0073] In a specific embodiment, each target correspondence relationship can represent the correspondence between load power and voltage, and each target correspondence relationship can include the correspondence between load power and voltage under constant impedance, the correspondence between load power and voltage under constant current, and the correspondence between load power and voltage under constant power; specifically, when each target correspondence relationship is a quadratic polynomial, the quadratic term can represent the correspondence between load power and voltage under constant impedance, and the coefficient of the quadratic term can represent the proportion of load power information under constant impedance at any moment in a preset time period to the load power information at that moment, the linear term can represent the correspondence between load power and voltage under constant current, and the coefficient of the linear term can represent the proportion of load power information under constant current at any moment in the preset time period to the load power information at that moment, the constant term can represent the correspondence between load power and voltage under constant power, and can also represent the proportion of load power information under constant power at any moment in the preset time period to the load power information at that moment.
[0074] In an optional embodiment, if Figure 2 As shown, Figure 2The present invention is a flowchart of obtaining multiple target corresponding relationships by fitting parameters of multiple preset corresponding relationships based on target load power information and target voltage information according to an exemplary embodiment. The above-mentioned fitting parameters of multiple preset corresponding relationships based on target load power information and target voltage information to obtain multiple target corresponding relationships may include:
[0075] S201: Determine initial parameter information in each preset corresponding relationship.
[0076] In a specific embodiment, the initial parameter information may be polynomial coefficients in each preset corresponding relationship.
[0077] S203: Determine the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information.
[0078] In a specific embodiment, the sub-voltage information corresponding to each preset correspondence in the target voltage information can be substituted into the polynomial of each preset correspondence corresponding to the initial parameter information for calculation to obtain the initial load power information corresponding to each preset correspondence.
[0079] S205: Determine the load power loss information corresponding to each preset corresponding relationship based on the sub-load power information corresponding to the sub-voltage information in the initial load power information and the target load power information.
[0080] In a specific embodiment, the load power loss information can be expressed as
[0081]
[0082] Among them, 3 represents the load power loss information, P m () represents the kth initial load power information, P(k) represents the kth sub-load power information, and N represents the number of sub-voltage information or sub-load power information corresponding to each preset corresponding relationship.
[0083] S207: updating the initial parameter information in each preset corresponding relationship based on the load power loss information to obtain each updated preset corresponding relationship.
[0084] S209: Based on each updated preset correspondence, repeat the steps of determining the initial load power information corresponding to each preset correspondence based on the sub-voltage information corresponding to each preset correspondence in the target voltage information and each preset correspondence corresponding to the initial parameter information, and updating the initial parameter information in each preset correspondence based on the load power loss information to obtain each updated preset correspondence until the preset convergence condition is met.
[0085] In a specific embodiment, the preset convergence condition can be set according to actual application requirements. Specifically, the preset convergence condition can be that the load power loss information is less than or equal to a preset loss threshold, or the number of update repetition steps reaches a preset number of times, etc. Specifically, the preset loss threshold and the preset number of times can be set in combination with actual application requirements.
[0086] S211: taking a plurality of preset corresponding relationships that satisfy a preset convergence condition as a plurality of target corresponding relationships.
[0087] In the above embodiment, the load power loss information is determined by substituting the acquired actual voltage information into the load power information obtained in the preset corresponding relationship and the actual load power information corresponding to the actual voltage information, and the parameter information in the preset corresponding relationship is continuously updated according to the load power loss information. By taking multiple preset corresponding relationships that meet the convergence conditions as multiple target corresponding relationships, a more accurate corresponding relationship between load power and voltage can be obtained, and the actual load characteristics can be accurately described, thereby improving the accuracy of subsequent power grid simulation analysis.
[0088] In an optional embodiment, determining the initial parameter information in each preset corresponding relationship may include:
[0089] Determine a first corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship;
[0090] Initial parameter information is determined based on the preset objective function, the first corresponding relationship, and the sub-load power information corresponding to the sub-voltage information in the target load power information.
[0091] In a specific embodiment, the above-mentioned first corresponding relationship can represent the corresponding relationship between the load power and the polynomial coefficients in each preset corresponding relationship. Specifically, the first corresponding relationship can be obtained by substituting the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information into the polynomial of the corresponding preset corresponding relationship.
[0092] In a specific embodiment, the sub-load power information corresponding to the sub-voltage information in the first corresponding relationship and the target load power information can be substituted into the preset objective function, and the stationary point of the function obtained about the polynomial coefficients can be solved to obtain the initial parameter information; specifically, the preset objective function can be expressed by the following formula:
[0093]
[0094] Where, L represents the preset objective function value, P(k) represents the power information of the kth sub-load, ( i x(k) 2 +i x(k)+c i ) represents the first corresponding relationship, x(k) represents the kth sub-voltage information, i 、b i and c i They respectively represent the proportion of the load power under constant impedance to the total load power, the proportion of the load power under constant current to the total load power, and the proportion of the load power under constant power to the total load power in the i-th preset corresponding relationship, N represents the number of sub-voltage information or sub-load power information corresponding to each preset corresponding relationship, and λ represents the Lagrange multiplier.
[0095] In an optional embodiment, after obtaining the target load power information and target voltage information of the substation equipment in the target power grid within a preset time period, the method may further include:
[0096] Filtering the target load power information and the target voltage information to obtain updated load power information and updated voltage information;
[0097] Correspondingly, the above-mentioned fitting process of parameters of multiple preset corresponding relationships based on the target load power information and the target voltage information to obtain multiple target corresponding relationships may include:
[0098] Based on the updated load power information and the updated voltage information, parameters of multiple preset corresponding relationships are fitted to obtain multiple target corresponding relationships.
[0099] In an optional embodiment, if Figure 3 As shown, Figure 3 The present invention is a flowchart of filtering target load power information and target voltage information to obtain updated load power information and updated voltage information according to an exemplary embodiment. The filtering target load power information and target voltage information to obtain updated load power information and updated voltage information may include:
[0100] S301: Determine a plurality of initial correlation coefficients between sub-load power information corresponding to each preset corresponding relationship in the target load power information and sub-voltage information corresponding to each preset corresponding relationship in the target voltage information.
[0101] In a specific embodiment, each initial correlation coefficient can characterize the degree of correlation between load power and voltage. Specifically, the Pearson correlation coefficient can be calculated based on the sub-load power information corresponding to each preset correspondence in the target load power information and the sub-voltage information corresponding to each preset correspondence in the target voltage information.
[0102] S303: Screening multiple initial correlation coefficients to obtain a target correlation coefficient.
[0103] In a specific embodiment, screening multiple initial correlation coefficients to obtain a target correlation coefficient may include taking an initial correlation coefficient greater than a preset coefficient threshold as the target correlation coefficient. Specifically, the preset coefficient threshold may be set according to actual application requirements, for example, the preset coefficient threshold may be 0.3.
[0104] S305: Use the load power information corresponding to the target correlation coefficient in the target load power information as updated load power information.
[0105] S307: Using the voltage information corresponding to the target correlation coefficient in the target voltage information as updated voltage information.
[0106] In the above embodiment, multiple initial correlation coefficients between the sub-load power information corresponding to each preset corresponding relationship in the load power information and the sub-voltage information corresponding to each preset corresponding relationship in the voltage information are determined, and the multiple initial correlation coefficients are screened to obtain the target correlation coefficient; and the load power information corresponding to the target correlation coefficient in the load power information is used as the updated load power information, and the voltage information corresponding to the target correlation coefficient in the voltage information is used as the updated voltage information. The acquired load power information and voltage information can be screened according to the degree of correlation between the load power and the voltage to obtain more effective load power information and voltage information, so that fitting the parameters of the preset corresponding relationship can make the obtained corresponding relationship more accurate.
[0107] In practical applications, there are generally two types of changes in the relationship between load power and voltage. One is the voltage change caused by load power, such as random load power fluctuations causing power flow changes, affecting line voltage drop, and then causing voltage changes; the other is the load power change caused by voltage, such as due to faults or actions such as on-load tap changers (OLTC, On-LoadTap Changer), the system voltage actively changes, which in turn causes load power changes. It is necessary to screen and extract some valid data that can reflect the load power changes caused by voltage from the load power information and voltage information of the substation equipment actually obtained in the power grid, and use it to fit the parameters in the preset corresponding relationship. For the process of voltage change caused by load power, the voltage and load power are negatively correlated. For the process of load power change caused by voltage, the load power and voltage are positively correlated. In actual processing, the Pearson correlation coefficient can be used to distinguish the above two situations. The Pearson correlation coefficient can be used to reflect the degree of correlation between two random variables, such as Figure 4 As shown, Figure 4It is a schematic diagram showing the change of the correlation coefficient between the load power and the voltage during the normal operation of a certain substation in a certain power grid over time according to an exemplary embodiment, wherein a Pearson correlation coefficient greater than zero indicates that there is a positive correlation between the load power and the voltage, a Pearson correlation coefficient less than zero indicates that there is a negative correlation between the load power and the voltage, and an absolute value of the Pearson correlation coefficient less than 0.3 indicates that there is basically no correlation between the load power and the voltage, and an absolute value of the Pearson correlation coefficient between 0.3 and 0.8 indicates that there is a certain correlation between the load power and the voltage, and the larger the value, the stronger the correlation. If the Pearson correlation coefficient indicates that the correlation between the load power and the voltage is weak, a process of actively applying voltage disturbance to stimulate the load power change caused by the voltage is generally adopted to obtain effective load power information and voltage information, and the parameters in the preset corresponding relationship are fitted, so as to obtain a more accurate corresponding relationship between the load power and the voltage, and more accurately describe the actual load characteristics.
[0108] S107: Simulating the target power grid based on the multiple target correspondence relationships to obtain simulation results.
[0109] In a specific embodiment, the above simulation results can represent the operating stability of the target power grid.
[0110] It can be seen from the technical solutions provided in the above embodiments of this specification that in this specification, the target load power information and target voltage information of the substation equipment in the power grid within a preset time period are obtained, and the preset time period includes multiple sub-time periods; based on the target load power information and the target voltage information, the parameters of multiple preset corresponding relationships are fitted to obtain multiple target corresponding relationships, each preset corresponding relationship corresponds to a sub-time period, and each target corresponding relationship includes the corresponding relationship between load power and voltage under constant impedance, the corresponding relationship between load power and voltage under constant current, and the corresponding relationship between load power and voltage under constant power, which can more accurately describe the actual load characteristics of the substation equipment; and based on the multiple target corresponding relationships, the power grid is simulated to obtain simulation results that characterize the operating stability of the target power grid. Simulating the power grid based on a more accurate corresponding relationship between load power and voltage can improve the accuracy of the power grid simulation analysis and ensure the stable operation of the power grid. In addition, multiple initial correlation coefficients are determined between the sub-load power information corresponding to each preset corresponding relationship in the load power information and the sub-voltage information corresponding to each preset corresponding relationship in the voltage information, and the multiple initial correlation coefficients are screened to obtain the target correlation coefficient; and the load power information corresponding to the target correlation coefficient in the load power information is used as the updated load power information, and the voltage information corresponding to the target correlation coefficient in the voltage information is used as the updated voltage information. The acquired load power information and voltage information can be screened according to the degree of correlation between the load power and the voltage to obtain more effective load power information and voltage information, so that fitting the parameters of the preset corresponding relationship can make the obtained corresponding relationship more accurate.
[0111] The following is based on the actual data of the power grid to verify the ability of the corresponding relationship between the load power and voltage in the embodiment of the present application to describe the actual load characteristics. The verification process is for a corresponding relationship in the prior art and multiple corresponding relationships provided in the embodiment of the present application. By comparing the error information between the load power information obtained based on the above two corresponding relationships and the actual load power information obtained, it is verified that the multiple corresponding relationships between the load power and voltage in the present application can more accurately describe the actual load characteristics of the substation equipment in the power grid.
[0112] The load power information and voltage information of a substation in a certain power grid from 12:00 to 14:00 on July 15, 2019 were used for verification, and each preset corresponding relationship was expressed by a quadratic polynomial. First, based on the correlation between the load power information and the voltage information, the load power information and the voltage information are screened, and the range of the updated voltage information after screening is [10.3, 10.6]; then, the change trend analysis is performed on the updated load power information and the updated voltage information, each change trend data is not greater than the preset change threshold, and the fluctuation degree of the updated voltage information is small, the updated voltage information is divided into 2 voltage ranges, and the corresponding voltage information 10.4 with a larger fluctuation degree, the minimum voltage value 10.4 in the updated voltage information and the maximum voltage value 10.6 in the updated voltage information are taken as the voltage critical value of the voltage range, and the voltage ranges corresponding to the multiple preset corresponding relationships are determined to be [10.3, 10.4] and [10.4, 10.6] respectively, and accordingly, the number of preset corresponding relationships is 2; then, based on the sub-voltage information corresponding to each preset corresponding relationship in the updated voltage information and each preset corresponding relationship, a first corresponding relationship is determined, and based on the preset objective function, the first corresponding relationship and the sub-load power information corresponding to the sub-voltage information in the updated load power information, the initial parameter information in the preset corresponding relationship is determined, and then, based on the updated The sub-voltage information corresponding to each preset corresponding relationship in the voltage information and each preset corresponding relationship corresponding to the initial parameter information are determined, and the initial load power information corresponding to each preset corresponding relationship is determined based on the initial load power information and the sub-load power information corresponding to the sub-voltage information in the updated load power information, and the initial parameter information in each preset corresponding relationship is updated based on the load power loss information to obtain each updated preset corresponding relationship. Based on each updated preset corresponding relationship, the steps of determining the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the updated voltage information and each preset corresponding relationship corresponding to the initial parameter information are repeated to update the initial parameter information in each preset corresponding relationship based on the load power loss information to obtain each updated preset corresponding relationship, until the preset convergence condition is met, and the two preset corresponding relationships that meet the preset convergence condition are used as two target corresponding relationships, wherein the corresponding relationship corresponding to the voltage range [10.3,10.4] is y1(x)=6.911×10 -5 x 2 +1.876×10 -4 x+0.9997, the voltage range is [10.4,10.6], the corresponding relationship is y2(x)=9.189×10 -6 x 2 +2.505×10 -5x+0.9998; then, the actual voltage information is substituted into the polynomial of the corresponding target correspondence relationship, the load power information is calculated, and the error information is calculated with the actual load power information. Among them, the error information corresponding to the correspondence relationship corresponding to the voltage range [10.3, 10.4] is 0.0204, and the error information corresponding to the correspondence relationship corresponding to the voltage range [10.4, 10.6] is 0.0245; and the corresponding relationship y(x)=5.023×10 -5 x 2 +1.365×10 -4 It can be concluded that the error corresponding to the corresponding relationship in the embodiment of the present application is smaller, more in line with the actual situation, and can better reflect the actual load characteristics, thereby improving the accuracy of power grid simulation analysis and ensuring the stable operation of the power grid.
[0113] The formulas involved in the embodiments of the present application are described by taking the formula corresponding to the load active power in the load power as an example. The formula corresponding to the load reactive power is consistent with the load active power structure and will not be repeated here.
[0114] Figure 5 FIG. 1 is a block diagram of a power grid simulation device according to an exemplary embodiment. Figure 5 , the device comprises:
[0115] An acquisition module 510 is used to acquire target load power information and target voltage information of a substation in a target power grid within a preset time period, wherein the preset time period includes a plurality of sub-time periods;
[0116] A fitting processing module 520 is used to fit the parameters of multiple preset corresponding relationships based on the target load power information and the target voltage information to obtain multiple target corresponding relationships, each preset corresponding relationship corresponds to a sub-time period, and each target corresponding relationship includes a corresponding relationship between load power and voltage under constant impedance, a corresponding relationship between load power and voltage under constant current, and a corresponding relationship between load power and voltage under constant power;
[0117] The simulation module 530 is used to simulate the target power grid based on the multiple target correspondences to obtain a simulation result, wherein the simulation result represents the operation stability of the target power grid.
[0118] Optionally, the fitting processing module 520 may include:
[0119] An initial parameter information determining unit, configured to determine the initial parameter information in each of the preset corresponding relationships, wherein the initial parameter information is a polynomial coefficient in each of the preset corresponding relationships;
[0120] an initial load power information determining unit, configured to determine the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information;
[0121] a load power loss information determining unit, configured to determine the load power loss information corresponding to each preset corresponding relationship based on the initial load power information and the sub-load power information corresponding to the sub-voltage information in the target load power information;
[0122] An updating unit, configured to update the initial parameter information in each preset corresponding relationship based on the load power loss information to obtain each updated preset corresponding relationship;
[0123] a repeating unit, configured to repeat the steps of determining the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information, and updating the initial parameter information in each preset corresponding relationship based on the load power loss information, and obtaining each updated preset corresponding relationship, based on each updated preset corresponding relationship, until a preset convergence condition is met;
[0124] The target correspondence relationship determining unit is used to use a plurality of preset correspondence relationships that meet the preset convergence condition as the plurality of target correspondence relationships.
[0125] Optionally, the initial parameter information determining unit may include:
[0126] A first corresponding relationship determining unit, configured to determine a first corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship, wherein the first corresponding relationship represents a corresponding relationship between load power and a polynomial coefficient in each preset corresponding relationship;
[0127] The initial parameter information determination subunit is used to determine the initial parameter information based on a preset objective function, the first corresponding relationship and the sub-load power information corresponding to the sub-voltage information in the target load power information.
[0128] Optionally, after the acquisition module 510, the device may further include:
[0129] A screening module, used for screening the target load power information and the target voltage information to obtain updated load power information and updated voltage information;
[0130] Accordingly, the fitting processing module includes:
[0131] A fitting processing unit is used to perform fitting processing on parameters of multiple preset corresponding relationships based on the updated load power information and the updated voltage information to obtain the multiple target corresponding relationships.
[0132] Optionally, the screening module may include:
[0133] an initial correlation coefficient determination unit, used to determine a plurality of initial correlation coefficients between the sub-load power information corresponding to each preset corresponding relationship in the target load power information and the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information, each initial correlation coefficient representing the degree of correlation between the load power and the voltage;
[0134] A screening unit, used for screening the multiple initial correlation coefficients to obtain a target correlation coefficient;
[0135] an updated load power information determining unit, configured to use the load power information corresponding to the target correlation coefficient in the target load power information as the updated load power information;
[0136] The updated voltage information determining unit is used to use the voltage information corresponding to the target correlation coefficient in the target voltage information as the updated voltage information.
[0137] Optionally, after the acquisition module 510, the device may further include:
[0138] A change trend analysis module, used to perform change trend analysis on the target load power information and the target voltage information to obtain a plurality of change trend data;
[0139] The voltage range construction module is used to construct the voltage ranges corresponding to the multiple preset corresponding relationships based on the voltage information whose corresponding change trend data in the target voltage information is greater than the preset change threshold.
[0140] Optionally, the device may further include:
[0141] A fluctuation data acquisition module, used for acquiring the fluctuation data of the target voltage information when each change trend data is not greater than the preset change threshold;
[0142] A voltage range determination module is used to determine the voltage range corresponding to each of the plurality of preset corresponding relationships according to the fluctuation data.
[0143] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0144] Figure 6 is a block diagram of an electronic device for power grid simulation according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a power grid simulation method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0145] Figure 7 is a block diagram of an electronic device for power grid simulation according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a power grid simulation method is implemented.
[0146] Those skilled in the art will understand that Figure 6 or Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the disclosed solution of the present invention, and does not constitute a limitation on the electronic device to which the disclosed solution of the present invention is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0147] In an exemplary embodiment, an electronic device is also provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the power grid simulation method as in the embodiment disclosed in the present invention.
[0148] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the power grid simulation method in the disclosed embodiment of the present invention.
[0149] In an exemplary embodiment, a computer program product containing instructions is also provided. When the computer program product is run on a computer, the computer is caused to execute the power grid simulation method in the disclosed embodiment of the present invention.
[0150] Those of ordinary skill in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate (DDR), and the like.
[0151] SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct RAM bus dynamic RAM (DRDRAM), and RAM bus dynamic RAM (RDRAM), etc.
[0152] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0153] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A power grid simulation method, characterized in that: include: Obtaining target load power information and target voltage information of a substation in a target power grid within a preset time period, wherein the preset time period includes a plurality of sub-time periods; Based on the target load power information and the target voltage information, parameters of multiple preset corresponding relationships are fitted to obtain multiple target corresponding relationships, each preset corresponding relationship corresponds to a sub-time period, and each target corresponding relationship includes a corresponding relationship between load power and voltage under constant impedance, a corresponding relationship between load power and voltage under constant current, and a corresponding relationship between load power and voltage under constant power; Simulating the target power grid based on the multiple target correspondences to obtain a simulation result, wherein the simulation result represents the operation stability of the target power grid; The fitting process is performed on the parameters of a plurality of preset corresponding relationships based on the target load power information and the target voltage information to obtain a plurality of target corresponding relationships, including: Determine initial parameter information in each preset corresponding relationship, wherein the initial parameter information is a polynomial coefficient in each preset corresponding relationship; Determine the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information; Based on the sub-load power information corresponding to the sub-voltage information in the initial load power information and the target load power information, the load power loss information corresponding to each preset corresponding relationship is determined, and the load power loss information is expressed as in, Indicates load power loss information, Indicates Initial load power information, Indicates Sub-load power information, Indicates the number of sub-voltage information or sub-load power information corresponding to each preset corresponding relationship; Based on the load power loss information, the initial parameter information in each preset corresponding relationship is updated to obtain each updated preset corresponding relationship; Based on each updated preset corresponding relationship, repeating the steps of determining the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information, and updating the initial parameter information in each preset corresponding relationship based on the load power loss information to obtain each updated preset corresponding relationship, until a preset convergence condition is met; A plurality of preset corresponding relationships satisfying the preset convergence condition are used as the plurality of target corresponding relationships.
2. The method according to claim 1, characterized in that: The determining of the initial parameter information in each preset corresponding relationship includes: Based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship, determining a first corresponding relationship, wherein the first corresponding relationship represents a corresponding relationship between load power and a polynomial coefficient in each preset corresponding relationship; The initial parameter information is determined based on a preset objective function, the first corresponding relationship, and the sub-load power information corresponding to the sub-voltage information in the target load power information.
3. The method according to claim 1, characterized in that After obtaining the target load power information and target voltage information of the substation equipment in the target power grid within a preset time period, the method further includes: Filtering the target load power information and the target voltage information to obtain updated load power information and updated voltage information; The fitting process is performed on the parameters of a plurality of preset corresponding relationships based on the target load power information and the target voltage information to obtain a plurality of target corresponding relationships, including: The parameters of a plurality of preset corresponding relationships are fitted based on the updated load power information and the updated voltage information to obtain the plurality of target corresponding relationships.
4. The method according to claim 3, characterized in that The filtering of the target load power information and the target voltage information to obtain updated load power information and updated voltage information includes: Determine a plurality of initial correlation coefficients between the sub-load power information corresponding to each preset corresponding relationship in the target load power information and the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information, each initial correlation coefficient representing the degree of correlation between the load power and the voltage; Screening the multiple initial correlation coefficients to obtain a target correlation coefficient; Using the load power information corresponding to the target correlation coefficient in the target load power information as the updated load power information; The voltage information corresponding to the target correlation coefficient in the target voltage information is used as the updated voltage information.
5. The method according to any one of claims 1 to 4, characterized in that: After obtaining the target load power information and target voltage information of the substation equipment in the target power grid within a preset time period, the method further includes: Performing a change trend analysis on the target load power information and the target voltage information to obtain a plurality of change trend data; Based on the voltage information in which the corresponding change trend data in the target voltage information is greater than a preset change threshold, the voltage ranges corresponding to each of the plurality of preset corresponding relationships are constructed.
6. The method according to claim 5, characterized in that The method further comprises: When each change trend data is not greater than the preset change threshold, obtaining the fluctuation data of the target voltage information; The voltage ranges corresponding to the plurality of preset corresponding relationships are determined according to the fluctuation data.
7. A power grid simulation device, characterized in that: include: An acquisition module, used to acquire target load power information and target voltage information of a substation in a target power grid within a preset time period, wherein the preset time period includes a plurality of sub-time periods; A fitting processing module, used for fitting parameters of a plurality of preset corresponding relationships based on the target load power information and the target voltage information to obtain a plurality of target corresponding relationships, each preset corresponding relationship corresponding to a sub-time period, each target corresponding relationship including a corresponding relationship between load power and voltage under a constant impedance condition, a corresponding relationship between load power and voltage under a constant current condition, and a corresponding relationship between load power and voltage under a constant power condition; A simulation module, configured to simulate the target power grid based on the multiple target correspondences to obtain a simulation result, wherein the simulation result represents the operation stability of the target power grid; The fitting processing module includes: An initial parameter information determining unit, configured to determine the initial parameter information in each of the preset corresponding relationships, wherein the initial parameter information is a polynomial coefficient in each of the preset corresponding relationships; an initial load power information determining unit, configured to determine the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information; A load power loss information determining unit is used to determine the load power loss information corresponding to each preset corresponding relationship based on the initial load power information and the sub-load power information corresponding to the sub-voltage information in the target load power information, and the load power loss information is expressed as in, Indicates load power loss information, Indicates Initial load power information, Indicates Sub-load power information, Indicates the number of sub-voltage information or sub-load power information corresponding to each preset corresponding relationship; An updating unit, configured to update the initial parameter information in each preset corresponding relationship based on the load power loss information to obtain each updated preset corresponding relationship; a repeating unit, configured to repeat the steps of determining the initial load power information corresponding to each preset corresponding relationship based on the sub-voltage information corresponding to each preset corresponding relationship in the target voltage information and each preset corresponding relationship corresponding to the initial parameter information, and updating the initial parameter information in each preset corresponding relationship based on the load power loss information, and obtaining each updated preset corresponding relationship, based on each updated preset corresponding relationship, until a preset convergence condition is met; The target correspondence relationship determining unit is used to use a plurality of preset correspondence relationships that meet the preset convergence condition as the plurality of target correspondence relationships.
8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the power grid simulation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the power grid simulation method as claimed in any one of claims 1 to 6.
