Wind and light station grid-connected modeling method considering extreme natural disaster scene and facing PSASP

By automatically generating detailed and equivalent simulation models of the scenery station, the problem of low efficiency in building the grid-connected model of the scenery station in the existing technology in extreme natural disaster scenarios is solved, efficient and accurate simulation analysis is achieved, and manual errors are reduced possibilities.

CN118899837APending Publication Date: 2024-11-05STATE GRID CHONGQING ELECTRIC POWER COMPANY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410958033.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

When building a grid-connected model of the winding stations considering extreme natural disaster scenarios, the existing technology is inefficient and manual workload is large, which can easily lead to errors. Especially when multiple winding stations are shut down, simulation modeling and The efficiency and accuracy of computational analysis are affected.

Method used

Provide an automated grid-connected modeling method for wind and light stations, using the data storage characteristics and computer programs of PSASP, to automatically generate trendy operation data of the operation mode of disaster scenarios in detailed simulation models, equivalent simulation models and large power grid simulation models. Reduce repetitive manual modeling operations.

Benefits of technology

It greatly reduces the repetitive operations of manual modeling, improves modeling efficiency and accuracy, reduces the probability of errors, and has high engineering practical value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118899837A_ABST
    Figure CN118899837A_ABST
Patent Text Reader

Abstract

The invention relates to a wind and light station grid-connected modeling method considering an extreme natural disaster scene and facing a PSASP, and belongs to the technical field of power systems. The method comprises the following steps: S1, reading information of a wind and light station with equipment damage or shutdown conditions in a natural disaster scene; s2, automatically generating power flow operation data for describing a disaster scene operation mode in the detailed simulation model of the wind and light station; s3, power flow operation data describing a disaster scene operation mode in the wind and light station equivalent simulation model is automatically generated; and S4, automatically generating load flow operation data describing a disaster scene operation mode in the large power grid simulation model. According to the method provided by the invention, the PSASP user can be helped to quickly construct the large power grid electromechanical transient simulation model considering the influence of the extreme natural disasters under the condition that the large-scale wind and light field station is accessed, the speed and efficiency of electromechanical transient simulation modeling are effectively improved, and the method has relatively high engineering significance and practical value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electric power systems and relates to a wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP. Background Art

[0002] With the construction of power systems, more and more wind farms and photovoltaic power stations are connected to the public power grid, and their impact on the operation and control of the power system is becoming more and more prominent. Therefore, when using power system simulation software to analyze the actual large power grid, it is necessary to establish a grid-connected model of wind farms and photovoltaic power stations. Since a wind farm / photovoltaic power station usually contains dozens or even hundreds of wind turbines / photovoltaic power generation units, in order to take into account the accuracy of the simulation model and the speed of simulation calculation, the following steps are usually used in engineering to construct a large power grid simulation model that takes into account the grid connection of wind and solar power stations: 1) The external power grid connected to the wind and solar power station is equivalent to a low-order model, and the collection lines, box transformers, and wind turbines / photovoltaic power generation units inside the wind farm are modeled in detail; 2) Keep the external power grid in step 1) unchanged, and according to the dynamic response characteristics of different types of wind turbines / photovoltaic power generation units in the event of a fault (low voltage ride-through characteristics, high voltage ride-through characteristics, etc.), Using the clustering method, the units with similar dynamic response characteristics are represented by equivalent generators. Then, according to the electrical topology inside the wind and solar power station and the parameters of the collector line and box transformer, the parameters of the equivalent box transformer and the equivalent AC line connected to the equivalent generator are calculated, and then the equivalent model of the wind and solar power station is represented by a small number of equivalent generators, equivalent lines and equivalent box transformers; 3) The equivalent model of the wind and solar power station obtained in step 2) is constructed in the large power grid simulation model. When constructing, it may be necessary to modify the equipment information (name, parameter group number, etc.) in the equivalent model to avoid duplication of the equipment information in the equivalent model with the existing equipment information in the large power grid simulation model. The above modeling and simulation analysis work is usually completed by the Power System Analysis Comprehensive Program (PSASP) developed by the China Electric Power Research Institute, and it often only considers the equivalent modeling under the normal operation mode of the wind and solar power station.

[0003] In order to enhance the reliability of the power system and ensure the safety of the power system, system analysts need to consider extreme natural disaster scenarios when conducting power system stability calculations and analysis. In extreme natural disaster scenarios, some equipment such as AC lines, box transformers, wind turbines / photovoltaic power generation units in wind and solar power stations may be damaged or may be shut down for risk avoidance. Therefore, when conducting simulation modeling and calculation analysis for extreme natural disaster scenarios, it is necessary to consider the situation where some equipment inside the wind and solar power stations is damaged or shut down. In other words, the equivalent modeling of wind and solar power stations connected to the large power grid must take into account the operation mode under extreme natural disaster scenarios.

[0004] As mentioned above, the detailed model, equivalent model and model of the wind and solar power station in normal operation mode and its integration into the large power grid are usually established, and the corresponding power flow calculation is also carried out and the power flow operation is stored. Therefore, on this basis, the system analyst can use the above steps to build a large power grid simulation model taking into account the grid connection of wind and solar power stations, based on the user interface provided by PSASP and combined with manual calculation, to consider the operation mode under extreme natural disaster scenarios. However, this conventional modeling method is not efficient and the manual workload is large, which is mainly reflected in the following two aspects: 1) When a section of the collector line is shut down, not only the line needs to be set to a shutdown state, but also the downstream equipment needs to be set to a shutdown state. Otherwise, the power flow calculation or stability calculation may not be carried out normally due to problems such as parameter setting and power flow initialization; 2) Like the equivalent modeling under normal operation mode, it is necessary to calculate the equivalent AC line, equivalent box transformer and other parameters. The workload of this approach is roughly proportional to the number of wind and solar power stations whose equipment is to be shut down in disaster scenarios. When there are many wind and solar power stations whose equipment is to be shut down in disaster scenarios, the inefficiency of this approach becomes more obvious and the probability of error increases.

[0005] In view of this, it is necessary to develop a rapid modeling method for wind-solar station grid connection considering extreme natural disaster scenarios based on the existing wind-solar station model considering normal operation, making full use of the data storage characteristics of PSASP, and combining it with computer programs. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide a wind-solar station grid-connected modeling method that takes into account extreme natural disaster scenarios and is oriented to PSASP, so as to help power system simulation analysts efficiently construct a wind-solar station grid-connected equivalent model that is consistent with natural disaster scenarios, and effectively improve the commercial value and engineering practicality of PSASP.

[0007] In order to achieve the above object, the present invention provides the following technical solutions:

[0008] A wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP includes the following steps:

[0009] S1: Read the information of wind and solar stations with equipment damage or shutdown in natural disaster scenarios;

[0010] S2: Automatically generate power flow operation data describing the operation mode of disaster scenarios in the detailed simulation model of wind and solar power stations;

[0011] S3: Automatically generate power flow operation data describing the operation mode of disaster scenarios in the equivalent simulation model of wind and solar power stations;

[0012] S4: Automatically generate power flow operation data describing the operation mode of disaster scenarios in large power grid simulation models.

[0013] Furthermore, in S1, the information of wind and solar power stations with equipment damage or shutdown in natural disaster scenarios includes:

[0014] The names of the folders where the detailed simulation model of the wind and solar power station, the equivalent simulation model, and the large power grid simulation model taking into account the access of the wind and solar power station are stored respectively;

[0015] The name of the power flow operation that describes the normal operation mode in the detailed simulation model, the equivalent simulation model, and the large power grid simulation model taking into account the access of wind and solar power stations;

[0016] A collection of names of damaged or out-of-service equipment (including wind turbines, photovoltaic power generation units, box transformers, static VAR compensation equipment, and AC lines) in the detailed simulation model data;

[0017] The correspondence between the equivalent generator (wind turbine or photovoltaic power source) in the detailed simulation model and the equivalent generator in the equivalent simulation model;

[0018] The correspondence between the equivalent generators (wind turbines or photovoltaic power sources) in the equivalent simulation model and the corresponding equivalent generators in the large power grid simulation model;

[0019] Furthermore, the S2 specifically includes the following steps:

[0020] S21: according to the folder name where the detailed simulation model of the wind and solar power station read in S1 is stored, obtain the database name where the simulation model is stored in MySQL, and establish a connection with the database;

[0021] S22: For the MySQL database mentioned in S21, according to the flow operation name describing the normal operation mode in the detailed simulation model of the wind and solar power station read by S1, the lf_case data table is queried to obtain the field value (indicated by symbol a) of the field name "Case_No" in the corresponding table record and the maximum value of the field name "Case_No" in the data table, and then a new flow operation record for describing the operation mode of the disaster scenario is added to the data table, and its "Case_No" field value (indicated by symbol b) = the maximum value of the "Case_No" field + 1;

[0022] S23: For the MySQL database mentioned in S21, copy the parameter table used in calculating the normal operation mode flow operation, and then create the parameter table required for calculating the disaster scenario operation mode flow, and the table names of these data tables start with "lfr_", "ls" and end with the "Case_No" field value corresponding to the flow operation;

[0023] S24: For the MySQL database mentioned in S21, traverse the line parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls2_b", b represents the "Case_No" field value mentioned in S22), and use the "I_Name" and "J_Name" field values ​​representing the node names connected at both ends of the line in the table record as vertices to establish an undirected graph. When the "ID_Name" field value representing the line name in the table record is not in the set of damaged or outage equipment names obtained in S1, the "Valid" field value indicating whether the line is valid is 1, and the "I_Break" and "J_Break" field values ​​indicating the breaking status of both ends of the line are 1, then add an edge to the undirected graph, and the vertices of the edge are the "I_Name" and "J_Name" field values;

[0024] S25: For the MySQL database connected in S21, traverse the transformer parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls3_b", b represents the "Case_No" field value mentioned in S22), and use the "I_Name" and "J_Name" field values ​​representing the node names at both ends of the transformer in the table record as vertices, and add them to the undirected graph mentioned in S24. When the "ID_Name" field value representing the transformer name in the table record is not in the damaged or outage equipment name set obtained by S1 and the "Valid" field value indicating whether the transformer is valid is 1, then add an edge to the undirected graph, and the vertices of the edge are the "I_Name" and "J_Name" field values; perform connectivity analysis on the undirected graph, traverse the name set of the damaged or outage equipment obtained by S1, and obtain all connected subgraphs to which the damaged or outage line / transformer belongs;

[0025] S26: Establish an empty hash table for storing AC line parameters in the detailed simulation model, where the key is the line name, and the value is a combination of the line positive-sequence resistance per unit value, positive-sequence reactance per unit value, half of the positive-sequence susceptance per unit value, zero-sequence resistance per unit value, zero-sequence reactance per unit value, and half of the zero-sequence susceptance per unit value; traverse the line parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls2_b", b represents the "Case_No" field value mentioned in S22), if the "I_Name" or "J_Name" field value representing the node name connected to the line in the table record is in the connected subgraph mentioned in S25, then the setting The "Valid" field value indicating whether the device is valid is updated to 0, so that the device is in an invalid state during the power flow calculation. Otherwise, the "ID_Name" field value in the table record is used as the key, and the "R1" field value indicating the per-unit value of the positive-sequence resistance, the "X1" field value indicating the per-unit value of the positive-sequence reactance, the "B1_Half" field value indicating half of the per-unit value of the positive-sequence susceptance, the "R0" field value indicating the per-unit value of the zero-sequence resistance, the "X0" field value indicating the per-unit value of the zero-sequence reactance, and the "B0_Half" field value indicating half of the per-unit value of the zero-sequence susceptance in the table record are used as values ​​of the hash table and added to the hash table.

[0026] S27: Establish an empty hash table for storing the parameters of the box-type transformer in the detailed simulation model, where the key is the transformer name, and the value is a combination of the positive-sequence conductance per unit value, the positive-sequence susceptance per unit value, the magnetizing conductance, the magnetizing susceptance, the zero-sequence conductance per unit value, the zero-sequence susceptance per unit value, the zero-sequence magnetizing conductance per unit value, the zero-sequence magnetizing susceptance per unit value, and the rated capacity; traverse the transformer parameter table corresponding to the disaster scenario operation mode (the transformer table is in the form of "ls3_b", b represents the "Case_No" field value mentioned in S22), if the "I_Name" or "J_Name" field value representing the node name connected to the transformer in the table record is in the connected subgraph mentioned in S25, then the "Valid" field value indicating whether the device is valid is updated to 0, from This makes the device in an invalid state during the power flow calculation. Otherwise, the "ID_Name" field value in the table record is used as the key, and the reciprocal of the "R1" field value representing the per-unit value of the positive-sequence resistance, the reciprocal of the "X1" field value representing the per-unit value of the positive-sequence reactance, the "Gm" field value representing the per-unit value of the magnetizing conductance, the "Bm" field value representing the per-unit value of the magnetizing susceptance, the reciprocal of the "R0" field value representing the per-unit value of the zero-sequence resistance, the reciprocal of the "X0" field value representing the per-unit value of the zero-sequence reactance, the "Gm0" field value representing the per-unit value of the zero-sequence magnetizing conductance, the "Bm0" field value representing the per-unit value of the zero-sequence magnetizing susceptance, and the "Rate_MVA" field value representing the rated capacity are used as hash table values ​​and added to the hash table.

[0027] S28: For the MySQL database connected in S21, query the static VAR compensation device parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls_svc_b", b represents the "Case_No" field value mentioned in S22), if the "Set_Bus" field value representing the installation point node name in the table record is in the connected subgraph mentioned in S25, then update the "Valid" field value indicating whether the device is valid to 0, thereby setting the device to a shutdown state; query the load parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls6_b", b represents the "Case_No" field value mentioned in S22), find the load record used to represent the steady-state reactive output of the static VAR compensation device, and set the load to an invalid state by updating the "Valid" field value indicating whether the load is valid to 0;

[0028] S29: Establish an empty hash table for storing the generator parameters in the detailed simulation model, with the key being the generator name and the value being a combination of the per-unit value of the generator's active power and the name of the node to which the generator is connected; for the MySQL database connected in S21, traverse the generator parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls5_b", b represents the "Case_No" field value mentioned in S22), if the "Node_Name" field value representing the name of the node to which the generator is connected in the table record is in the connected subgraph mentioned in S25, then the "Valid" field value indicating whether the device is valid is updated to 0, thereby setting the device to a shutdown state, otherwise, the "Node_Name" field value in the table record is used as the key, and the combination of the "Pg" field value representing the per-unit value of the generator's active power and the name of the node to which the generator is connected is used as the value, and added to the hash table.

[0029] Furthermore, the S3 specifically includes the following steps:

[0030] S31: according to the folder name where the wind-solar station equivalent simulation model read in S1 is stored, obtain the database name where the simulation model is stored in MySQL, and establish a connection with the database;

[0031] S32: For the MySQL database mentioned in S31, according to the flow operation name describing the normal operation mode in the wind and solar power station equivalent simulation model read by S1, the lf_case data table is queried to obtain the field value (indicated by the symbol m) of the field name "Case_No" in the corresponding table record and the maximum value of the field name "Case_No" in the data table, and then a new flow operation record for describing the disaster scenario operation mode is added to the data table, and its "Case_No" field value (indicated by the symbol n) = the maximum value of the "Case_No" field + 1;

[0032] S33: For the MySQL database mentioned in S31, copy the parameter table used in calculating the normal operation mode flow operation, and then create the parameter table used for calculating the disaster scenario operation mode flow, and the table names of these data tables start with "lfr_", "ls" and end with the "Case_No" field value corresponding to the flow operation;

[0033] S34: According to the correspondence between the equivalent generator in the detailed simulation model obtained in S1 and the equivalent generator in the equivalent simulation model, a hash table is established, the key is the name of the equivalent generator in the detailed simulation model, and the value is the name of the equivalent generator in the equivalent simulation model; an empty hash table for storing equivalent generator parameters under disaster scenarios is established, the key is the name of the equivalent generator, and the value represents the per unit active power value of the equivalent generator; an empty hash table for storing the relationship between equivalent AC lines under disaster scenarios and equivalent lines in the detailed model is established, the name of the equivalent AC line is used as the key, and the array consisting of the names of the equivalent lines in the detailed model is used as the value; an empty hash table for storing the relationship between equivalent box-type transformers under disaster scenarios and equivalent box-type transformers in the detailed model is established, the name of the equivalent box-type transformer is used as the key, and the array consisting of the names of the equivalent box-type transformers in the detailed model is used as the value;

[0034] S35: Based on the undirected graph obtained in S25, traverse all keys of the hash table storing the generator parameters in the detailed simulation model obtained in S29, and perform the following sub-steps:

[0035] S351: According to the value corresponding to the key, use the node name connected to the generator in the detailed model to query whether the node name connected to the generator in the detailed model is connected to the node name connected to the low-voltage side bus of the wind and solar station step-up transformer. If connected, store the connection path and execute S352-S354;

[0036] S352: In combination with the hash table describing the correspondence between the equivalent generators in the detailed simulation model and the equivalent generators in the equivalent simulation model in S34, an update operation is performed on the hash table storing the parameters of the equivalent generators under the disaster scenario mentioned in S34. If the name of the equivalent generator is not a key in the hash table, the name of the equivalent generator is used as the key and the per-unit value of the active power of the generator in the detailed model is used as the value, and the key-value pair is added to the hash table. Otherwise, the sum of the value originally corresponding to the key and the per-unit value of the active power of the generator in the detailed model is used as the new value corresponding to the key.

[0037] S353: According to the name of the equivalent generator described in S352, query the equivalent generator parameter table corresponding to the disaster operation mode (the table name is in the form of "ls5_n", n represents the "Case_No" field value mentioned in S32), and obtain the node name connected to the equivalent generator (the "Node_Name" field value in the table record); according to the node name, query the equivalent box-type transformer parameter table corresponding to the disaster operation mode (the table name is in the form of "ls3_n", n represents the "Case_No" field value mentioned in S32), and find the equivalent box-type transformer connected to the generator. The equivalent box-type transformer name (i.e., the box-type transformer parameter table "ID_Name" field value); according to the "I_NAME", "J_NAME" field values ​​of the equivalent box-type transformer in the equivalent box-type transformer parameter table, the equivalent AC line parameter table corresponding to the disaster operation mode is queried (the table name is in the form of "ls2_n", n represents the "Case_No" field value mentioned in S32), and the equivalent AC line name connected to the equivalent box-type transformer is found (i.e., the equivalent AC line parameter table "ID_Name" field value);

[0038] S354: Update the hash table in S34 that stores the relationship between the equivalent AC lines in the disaster scenario and the equivalent AC lines in the detailed model. If the name of the equivalent AC line in S353 is already a key of the hash table, then add the names of all AC lines on the connected path in S353 to the value corresponding to the key; otherwise, use the name of the equivalent AC line in S353 as the key and the array consisting of the names of all AC lines on the connected path in S353 as the value, and add them to the hash table;

[0039] S355: Update the hash table in S34 that stores the relationship between the equivalent box-type transformers in the disaster scenario and the equivalent box-type transformers in the detailed model. If the name of the equivalent box-type transformer in S353 is already the key of the hash table, when the name of the box-type transformer on the connection path in S353 is not in the value corresponding to the key, add the name of the box-type transformer on the connection path to the value corresponding to the key; otherwise, use the name of the equivalent box-type transformer in S353 as the key, and use the array consisting of the names of all box-type transformers on the connection path in S353 as the value, and add them to the hash table;

[0040] S36: Traverse all the keys of the hash table mentioned in S354 and perform the following sub-steps:

[0041] S361: traverse the names of all AC lines in the value corresponding to the key, use the AC line name to query the hash table mentioned in S26 that stores the AC line parameters in the detailed simulation model, obtain the positive-sequence resistance per unit value, the positive-sequence reactance per unit value, the zero-sequence resistance per unit value, and the zero-sequence reactance per unit value of each AC line, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent AC line;

[0042] S362: for all the names of the AC lines in the value corresponding to the key, remove the names with the same name, traverse the remaining set of AC line names, use the AC line names to query the hash table storing the parameters of the AC lines in the detailed simulation model mentioned in S26, obtain half of the positive-sequence susceptance per unit value and half of the zero-sequence susceptance per unit value of each AC line, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent AC lines;

[0043] S363: Use the per-unit positive-sequence resistance value, per-unit positive-sequence reactance value, per-unit zero-sequence resistance value, and per-unit zero-sequence reactance value of the equivalent AC line obtained in S361 to update the "R1" field value, "X1" field value, "R0" field value, and "X0" field value of the corresponding table record of the line parameter table in the equivalent simulation model (the table name is in the form of "ls2_n", and n represents the "Case_No" field value mentioned in S32), and use half of the per-unit positive-sequence susceptance value and half of the per-unit zero-sequence susceptance value of the equivalent AC line obtained in S362 to update the "B1_Half" field value and "B0_Half" field value of the corresponding table record of the line parameter table;

[0044] S37: Traverse all the keys of the hash table mentioned in S355 and perform the following sub-steps:

[0045] S371: For the names of all box-type transformers in the value corresponding to the key, remove the names with the same name, traverse the names of all box-type transformers in the value corresponding to the key, use the box-type transformer names to query the hash table of box-type transformer parameters in the detailed simulation model mentioned in S27, obtain the positive-sequence susceptance per unit value, positive-sequence conductance per unit value and other parameters of each box-type transformer, add these parameters respectively, and obtain the corresponding parameter values ​​of the equivalent box-type transformer;

[0046] S372: According to the reciprocal of the positive-sequence conductance per unit value, the positive-sequence susceptance per unit value, the zero-sequence conductance per unit value, and the zero-sequence susceptance per unit value of the equivalent box-type transformer obtained in S371, take the reciprocals of these values ​​to update the "R1" field value, "X1" field value, "R0" field value, and "X0" field value recorded in the corresponding table of the equivalent simulation model equivalent box-type transformer parameter table (the table name is in the form of "ls3_n", n represents the "Case_No" field value mentioned in S32); according to the excitation conductance per unit value, excitation susceptance per unit value, zero-sequence excitation conductance per unit value, zero-sequence excitation susceptance per unit value and rated capacity obtained in S371, update the "Gm" field value, "Bm" field value, "Gm0" field value, "Bm0" field value, and "Rate_MVA" field value recorded in the corresponding table of the equivalent box-type transformer parameter table.

[0047] Furthermore, the S4 specifically includes the following steps:

[0048] S41: according to the folder name where the large power grid simulation model is stored, the database name where the simulation model is stored in MySQL is obtained, and a connection is established with the database;

[0049] S42: For the MySQL database mentioned in S41, according to the power flow operation name describing the normal operation mode in the large power grid simulation model read by S1, the lf_case data table is queried to obtain the field value (indicated by the symbol x) of the field name "Case_No" in the corresponding table record and the maximum value of the field name "Case_No" in the data table, and then a new power flow operation record for describing the disaster scenario operation mode is added to the data table, and its "Case_No" field value (indicated by the symbol y) = the maximum value of the "Case_No" field + 1;

[0050] S43: For the MySQL database mentioned in S41, copy the parameter table used in calculating the normal operation mode flow operation, and then create the parameter table required for calculating the disaster scenario operation mode flow, and the table names of these data tables are "lfr_", "ls" and end with the "Case_No" field value corresponding to the flow operation;

[0051] S44: According to the correspondence between the equivalent generator in the equivalent simulation model described in S1 and the corresponding equivalent generator in the large power grid simulation model, query the equivalent generator parameter table corresponding to the disaster operation mode in the large power grid simulation model (the table name is in the form of "ls5_y", y represents the "Case_No" field value mentioned in S42), and obtain the node name connected to the equivalent generator (the "Node_Name" field value in the table record); according to the node name, query the equivalent box transformer parameter table corresponding to the disaster operation mode (the table name is in the form of "ls3_y", y represents the "Case_No" mentioned in S42 Field value), find the name of the equivalent box-type transformer connected to the generator (i.e., the "ID_Name" field value of the box-type transformer parameter table); according to the "I_NAME" and "J_NAME" field values ​​of the equivalent box-type transformer in the equivalent box-type transformer parameter table, which represent the name of the connected node, query the equivalent AC line parameter table corresponding to the disaster operation mode (the table name is in the form of "ls2_y", y represents the "Case_No" field value mentioned in S42), and find the name of the equivalent AC line connected to the equivalent box-type transformer (i.e., the "ID_Name" field value of the AC line parameter table);

[0052] S45: According to the names of the equivalent box transformers connected to the equivalent generators and the names of the AC lines connected to the equivalent box transformers in the equivalent simulation model obtained in S353, and the names of the equivalent box transformers connected to the equivalent generators and the names of the AC lines connected to the equivalent box transformers in the large power grid simulation model obtained in S44, combined with the corresponding relationship between the equivalent generators in the equivalent simulation model described in S1 and the corresponding equivalent generators in the large power grid simulation model, a corresponding relationship between the names of the equivalent box transformers in the equivalent simulation model and the names of the equivalent box transformers in the large power grid simulation model is established, and a corresponding relationship between the names of the equivalent AC lines in the equivalent simulation model and the names of the equivalent AC lines in the large power grid simulation model is established;

[0053] S46: Based on the correspondence between the equivalent generator in the equivalent simulation model described in S1 and the corresponding equivalent generator in the large power grid simulation model, use the "Pg" field value of the corresponding record in the equivalent generator parameter table (table name is such as "ls5_n", n represents the "Case_No" field value mentioned in S32) in the equivalent simulation model to update the corresponding field value in the equivalent generator parameter table (table name is such as "ls5_y", y represents the "Case_No" field value mentioned in S42) in the large power grid simulation model.

[0054] S47: Based on the correspondence between the equivalent box transformer name in the equivalent simulation model obtained in S45 and the equivalent box transformer name in the large power grid simulation model, use the "R1" field value, "X1" field value, "Gm" field value, "Bm" field value, "R0" field value, "X0" field value, "Gm0" field value, "Bm0" field value and "Rate_MVA" field value of the corresponding records in the equivalent box transformer parameter table (table name is such as "ls3_y", y represents the "Case_No" field value mentioned in S42) in the equivalent simulation model to update the corresponding field values ​​in the equivalent box transformer parameter table (table name is such as "ls3_y", y represents the "Case_No" field value mentioned in S42) in the large power grid simulation model.

[0055] S48: Based on the correspondence between the equivalent AC line names in the equivalent simulation model obtained in S45 and the equivalent AC line names in the large power grid simulation model, use the "R1" field value, "X1" field value, "B1_Half" field value, "R0" field value, "X0" field value and "B0_Half" field value of the corresponding records in the equivalent AC line parameter table (table name is such as "ls2_y", y represents the "Case_No" field value mentioned in S32) in the equivalent simulation model to update the corresponding field values ​​in the equivalent AC line parameter table (table name is such as "ls2_y", y represents the "Case_No" field value mentioned in S42) in the large power grid simulation model.

[0056] The beneficial effects of the present invention are:

[0057] (1) The wind and solar power station grid-connected modeling method provided by the present invention takes into account extreme natural disaster scenarios and is oriented to PSASP. The program automatically generates the flow operation data describing the operation mode of the disaster scenario in the detailed simulation model of the wind and solar power station, the flow operation data describing the operation mode of the disaster scenario in the equivalent simulation model of the wind and solar power station, and the flow operation data describing the operation mode of the disaster scenario in the large power grid simulation model, thereby greatly reducing repetitive manual modeling operations.

[0058] (2) The wind and solar power station grid-connected modeling method provided by the present invention, which takes into account extreme natural disaster scenarios and is oriented to PSASP, has the advantages of strong operability, comprehensive consideration of factors, and reasonable scheme, and has high engineering practical value.

[0059] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0061] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0062] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0063] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.

[0064] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0065] like Figure 1 As shown in FIG. 1 , the wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP includes the following steps:

[0066] (1) Read the information of wind and solar power stations with damaged equipment or shutdown in natural disaster scenarios.

[0067] Information on wind and solar power stations with equipment damage or outages in natural disaster scenarios includes:

[0068] 1) The names of the folders where the detailed simulation model of the wind and solar power station, the equivalent simulation model, and the large power grid simulation model taking into account the access of the wind and solar power station are stored respectively;

[0069] 2) The name of the power flow operation that describes the normal operation mode in the detailed simulation model, the equivalent simulation model, and the large power grid simulation model that takes into account the access of wind and solar power stations;

[0070] 3) A collection of names of damaged or out-of-service equipment (including wind turbines, photovoltaic power generation units, box transformers, static VAR compensation equipment, and AC lines) in the detailed simulation model data;

[0071] 4) The correspondence between the equivalent generator (wind turbine or photovoltaic power source) in the detailed simulation model and the equivalent generator in the equivalent simulation model;

[0072] 5) The correspondence between the equivalent generators (wind turbines or photovoltaic power generation sources) in the equivalent simulation model and the corresponding equivalent generators in the large power grid simulation model.

[0073] The wind and solar station information can be in a file format that is easy for programs to read, such as ini, xml, excel, etc. The wind and solar station information file format includes but is not limited to ini, xml and excel formats.

[0074] Taking the use of Excel format to store wind and solar power station information with equipment damage or shutdown in natural disaster scenarios as an example, it can be divided into four workbooks: 1) a workbook storing the model folder name and flow operation name, whose style is shown in Table 1; 2) a workbook storing the name of the damaged or shut down equipment in the detailed simulation model data, whose style is shown in Table 2; 3) a workbook storing the correspondence between the equivalent generator in the detailed simulation model and the equivalent generator in the equivalent simulation model, whose style is shown in Table 3; 4) a workbook storing the correspondence between the equivalent generator in the equivalent simulation model and the corresponding equivalent generator in the large power grid simulation model, whose style is shown in Table 4.

[0075] Table 1 Example of workbook style for storing model folder names and flow job names

[0076]

[0077] Table 2 Example of workbook style for storing model folder names and flow job names

[0078] Scenery station name Name of damaged or out-of-service box transformer Name of damaged or out-of-service AC line Name of damaged or out-of-service generating unit First Box transformer A Route A Power generation unit A

[0079] Table 3 Example of workbook style for storing the correspondence between the equivalent generators in the detailed simulation model and the equivalent generators in the equivalent simulation model

[0080] Scenery station name Name of the equivalent generator in the detailed simulation model The name of the equivalent generator in the equivalent simulation model First Power generation unit A Equivalent machine 1

[0081] Table 4 Example of workbook style for storing the correspondence between equivalent generators in the equivalent simulation model and the corresponding equivalent generators in the large power grid simulation model

[0082]

[0083]

[0084] (2) Automatically generate power flow operation data that describes the operation mode of disaster scenarios in the detailed simulation model of wind and solar power stations.

[0085] Automatically generating the power flow operation data describing the operation mode of the disaster scenario in the detailed simulation model of the wind and solar power station specifically includes the following steps:

[0086] (2.1) according to the folder name where the detailed simulation model of the wind and solar power station is stored, the name of the database in MySQL where the simulation model is stored is obtained, and a connection is established with the database;

[0087] After reading the folder name where the detailed simulation model of the wind and solar power station is stored, traverse the sub-directory names under the Data directory of MySQL. If the folder name pointed to by the soft link of the sub-directory name is the folder name where the detailed simulation model is stored, then the sub-directory name is the database name that can be used to establish a connection with MySQL.

[0088] (2.2) For the MySQL database mentioned in sub-step (2.1), according to the flow operation name describing the normal operation mode in the detailed simulation model of the wind and solar power station read by S1, query the lf_case data table, obtain the field value of the field named "Case_No" in the corresponding table record (indicated by symbol a), and the maximum value of the field named "Case_No" in the data table, and then add a flow operation record for describing the disaster scenario operation mode in the data table, and its "Case_No" field value (indicated by symbol b) = the maximum value of the "Case_No" field + 1;

[0089] (2.3) For the MySQL database mentioned in sub-step (2.1), copy the parameter table used to calculate the normal operation mode flow operation, and then create the parameter table required for calculating the disaster scenario operation mode flow. The table names of these data tables start with "lfr_" or "ls" and end with the "Case_No" field value corresponding to the flow operation;

[0090] Specifically, the parameter table includes a table starting with the following character strings: lfr_acline_r_, lfr_breaker_r_, lfr_bs_r_, lfr_bus_r_, lfr_dcline_r_, lfr_gen_r_, lfr_load_r_, lfr_pcr_r_, lfr_scr_r_, lfr_shift_r_, lfr_t2w_r_, lfr_t3w_r_, lfr_upfc_ps_r_, lfr_upfc_r_, lfr_upfc_ss_r _, ls_area_, ls_bus_, ls_dcground_, ls_genbrach_, ls_lcc_, ls_mdc_, ls_ms_, ls_mutual_, ls_node_, ls_pstation_, ls_scpd_, ls_svc_, ls_tcsc_, ls_upfc_, ls_upfc_ps_, ls_upfc_ss_, ls_vsc_, ls_zone_, ls2_, ls3_, ls4_, ls5_, ls6_, lsk_. The table names of these tables begin with the above string and end with the "Case_No" field value corresponding to the power flow operation. If the "Case_No" field value is equal to 1, the table name of the corresponding line parameter table is "ls2_1". The table names of other tables are similar.

[0091] (2.4) For the MySQL database mentioned in sub-step (2.1), traverse the line parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls2_b", b represents the "Case_No" field value mentioned in sub-step (2.2)), and use the "I_Name" and "J_Name" field values ​​representing the node names connected at both ends of the line in the table record as vertices to establish an undirected graph. When the "ID_Name" field value representing the line name in the table record is not in the set of damaged or outage equipment names obtained by S1, the "Valid" field value indicating whether the line is valid is 1, and the "I_Break" and "J_Break" field values ​​indicating the disconnection status of both ends of the line are 1, then add an edge to the undirected graph, and the vertices of the edge are the "I_Name" and "J_Name" field values;

[0092] (2.5) For the MySQL database connected in sub-step (2.1), traverse the transformer parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls3_b", b represents the "Case_No" field value mentioned in sub-step (2.2)), and add the "I_Name" and "J_Name" field values ​​representing the node names at both ends of the transformer in the table record as vertices to the undirected graph mentioned in S24. When the "ID_Name" field value representing the transformer name in the table record is not in the damaged or outage equipment name set obtained in S1 and the "Valid" field value indicating whether the transformer is valid is 1, add an edge to the undirected graph, and the vertices of the edge are the "I_Name" and "J_Name" field values; perform connectivity analysis on the undirected graph, traverse the name set of the damaged or outage equipment obtained in step (1), and obtain all connected subgraphs to which the damaged or outage line / transformer belongs;

[0093] (2.6) Establish an empty hash table for storing AC line parameters in the detailed simulation model, with the key being the line name and the value being a combination of the line positive-sequence resistance per unit value, positive-sequence reactance per unit value, half of the positive-sequence susceptance per unit value, zero-sequence resistance per unit value, zero-sequence reactance per unit value, and half of the zero-sequence susceptance per unit value; traverse the line parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls2_b", where b represents the "Case_No" field value mentioned in sub-step (2.2)). If the "I_Name" or "J_Name" field value representing the node name connected to the line in the table record is in the connected subgraph mentioned in sub-step (2.5), The "Valid" field value indicating whether the device is valid is updated to 0, so that the device is in an invalid state during the power flow calculation. Otherwise, the "ID_Name" field value in the table record is used as the key, and the "R1" field value indicating the per-unit value of the positive-sequence resistance, the "X1" field value indicating the per-unit value of the positive-sequence reactance, the "B1_Half" field value indicating half of the per-unit value of the positive-sequence susceptance, the "R0" field value indicating the per-unit value of the zero-sequence resistance, the "X0" field value indicating the per-unit value of the zero-sequence reactance, and the "B0_Half" field value indicating half of the per-unit value of the zero-sequence susceptance in the table record are used as values ​​of the hash table and added to the hash table.

[0094] Taking the Rust language to implement the above hash table as an example, the hash table can be represented by HashMap in Rust, the key is the string representing the line name, and the value can be represented by Vector in Rust, which is composed of the per-unit value of the line positive-sequence resistance, the per-unit value of the positive-sequence reactance, half of the per-unit value of the positive-sequence susceptance, the per-unit value of the zero-sequence resistance, the per-unit value of the zero-sequence reactance, and half of the per-unit value of the zero-sequence susceptance.

[0095] (2.7) Establish an empty hash table for storing the parameters of the box-type transformer in the detailed simulation model, with the key being the transformer name, and the value being a combination of the positive-sequence conductance per unit value, positive-sequence susceptance per unit value, magnetizing conductance, magnetizing susceptance, zero-sequence conductance per unit value, zero-sequence susceptance per unit value, zero-sequence magnetizing conductance per unit value, zero-sequence magnetizing susceptance per unit value, and rated capacity; traverse the transformer parameter table corresponding to the disaster scenario operation mode (the transformer table is in the form of "ls3_b", b represents the "Case_No" field value mentioned in sub-step (2.2)), if the "I_Name" or "J_Name" field value representing the node name to which the transformer is connected in the table record is in the connected subgraph mentioned in sub-step (2.5), then the "Valid" field value indicating whether the device is valid will be Updated to 0, so that the device is in an invalid state during the power flow calculation, otherwise, the "ID_Name" field value in the table record is used as the key, and the reciprocal of the "R1" field value representing the per-unit value of the positive-sequence resistance, the reciprocal of the "X1" field value representing the per-unit value of the positive-sequence reactance, the "Gm" field value representing the per-unit value of the magnetizing conductance, the "Bm" field value representing the per-unit value of the magnetizing susceptance, the reciprocal of the "R0" field value representing the per-unit value of the zero-sequence resistance, the reciprocal of the "X0" field value representing the per-unit value of the zero-sequence reactance, the "Gm0" field value representing the per-unit value of the zero-sequence magnetizing conductance, the "Bm0" field value representing the per-unit value of the zero-sequence magnetizing susceptance, and the "Rate_MVA" field value representing the rated capacity are used as hash table values ​​and added to the hash table.

[0096] (2.8) For the MySQL database connected in sub-step (2.1), query the static VAR compensation device parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls_svc_b", b represents the "Case_No" field value mentioned in sub-step (2.2)), if the "Set_Bus" field value representing the installation point node name in the table record is in the connected subgraph mentioned in sub-step (2.5), then update the "Valid" field value indicating whether the device is valid to 0, thereby setting the device to a shutdown state; query the load parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls6_b", b represents the "Case_No" field value mentioned in sub-step (2.2)), find the load record used to represent the steady-state reactive output of the static VAR compensation device, and set the load to an invalid state by updating the "Valid" field value indicating whether the load is valid to 0;

[0097] (2.9) Establish an empty hash table for storing the generator parameters in the detailed simulation model, where the key is the generator name and the value is a combination of the generator active power per unit value and the name of the node to which the generator is connected; for the MySQL database connected in sub-step (2.1), traverse the generator parameter table corresponding to the disaster scenario operation mode (the table name is in the form of "ls5_b", b represents the "Case_No" field value mentioned in sub-step (2.2)), if the "Node_Name" field value representing the node name to which the generator is connected in the table record is in the connected subgraph mentioned in S25, then the "Valid" field value indicating whether the device is valid is updated to 0, thereby setting the device to a shutdown state; otherwise, the "Node_Name" field value in the table record is used as the key, and the combination of the "Pg" field value representing the generator active power per unit value and the name of the node to which the generator is connected is used as the value, and added to the hash table.

[0098] (3) Automatically generate power flow operation data that describes the operation mode of disaster scenarios in the equivalent simulation model of wind and solar power stations.

[0099] Automatically generating the power flow operation data describing the operation mode of the disaster scenario in the equivalent simulation model of the wind and solar power station specifically includes the following steps:

[0100] (3.1) according to the folder name where the wind-solar station equivalent simulation model read in step (1) is stored, the database name where the simulation model is stored in MySQL is obtained, and a connection is established with the database;

[0101] (3.2) For the MySQL database mentioned in sub-step (3.1), according to the flow operation name describing the normal operation mode in the equivalent simulation model of the wind and solar power station read in step (1), query the lf_case data table, obtain the field value of the field named "Case_No" in the corresponding table record (indicated by the symbol m), and the maximum value of the field named "Case_No" in the data table, and then add a flow operation record for describing the disaster scenario operation mode in the data table, and its "Case_No" field value (indicated by the symbol n) = the maximum value of the "Case_No" field + 1;

[0102] (3.3) For the MySQL database mentioned in sub-step (3.1), copy the parameter table used to calculate the normal operation mode flow operation, and then create the parameter table required for calculating the disaster scenario operation mode flow. The table names of these data tables start with "lfr_", "ls_" or "lsk_" and end with the "Case_No" field value corresponding to the flow operation;

[0103] (3.4) According to the correspondence between the equivalent generator in the detailed simulation model obtained in step (1) and the equivalent generator in the equivalent simulation model, a hash table is established, where the key is the name of the equivalent generator in the detailed simulation model and the value is the name of the equivalent generator in the equivalent simulation model; an empty hash table is established to store the parameters of the equivalent generator under the disaster scenario, where the key is the name of the equivalent generator and the value represents the per-unit value of the active power of the equivalent generator; an empty hash table is established to store the relationship between the equivalent AC line under the disaster scenario and the equivalent line in the detailed model, with the name of the equivalent AC line as the key and the array consisting of the name of the equivalent line in the detailed model as the value; an empty hash table is established to store the relationship between the equivalent box-type transformer under the disaster scenario and the equivalent box-type transformer in the detailed model, with the name of the equivalent box-type transformer as the key and the array consisting of the name of the equivalent box-type transformer in the detailed model as the value;

[0104] (3.5) Based on the undirected graph obtained in sub-step (2.5), traverse all the keys of the hash table storing the generator parameters in the detailed simulation model obtained in step (2.9), and perform the following sub-steps:

[0105] (3.5.1) According to the value corresponding to the key, use the node name connected to the generator in the detailed model to query whether the node name connected to the generator in the detailed model is connected to the node name connected to the low-voltage side bus of the wind and solar station step-up transformer. If connected, store the connection path and execute sub-steps (3.5.2) to (3.5.4);

[0106] (3.5.2) In combination with the hash table describing the correspondence between the equivalent generators in the detailed simulation model and the equivalent generators in the equivalent simulation model in sub-step (3.4), an update operation is performed on the hash table storing the equivalent generator parameters under the disaster scenario mentioned in sub-step (3.4). If the name of the equivalent generator is not a key in the hash table, the name of the equivalent generator is used as the key and the per-unit value of the active power of the generator in the detailed model is used as the value, and the key-value pair is added to the hash table. Otherwise, the sum of the value originally corresponding to the key and the per-unit value of the active power of the generator in the detailed model is used as the new value corresponding to the key.

[0107] (3.5.3) According to the name of the equivalent generator described in sub-step (3.5.2), query the equivalent generator parameter table corresponding to the disaster operation mode (the table name is in the form of "ls5_n", n represents the "Case_No" field value mentioned in sub-step (3.2)), and obtain the node name to which the equivalent generator is connected (the "Node_Name" field value in the table record); according to the node name, query the equivalent box-type transformer parameter table corresponding to the disaster operation mode (the table name is in the form of "ls3_n", n represents the "Case_No" field value mentioned in sub-step (3.2)), and find the node name to which the equivalent generator is connected. The name of the equivalent box-type transformer connected to the motor (i.e., the value of the "ID_Name" field in the box-type transformer parameter table); according to the "I_NAME" and "J_NAME" field values ​​representing the name of the connected node in the equivalent box-type transformer parameter table, query the equivalent AC line parameter table corresponding to the disaster operation mode (the table name is in the form of "ls2_n", where n represents the "Case_No" field value mentioned in sub-step (3.2)), and find the name of the equivalent AC line connected to the equivalent box-type transformer (i.e., the value of the "ID_Name" field in the equivalent AC line parameter table);

[0108] (3.5.4) updating the hash table storing the relationship between the equivalent AC lines in the disaster scenario and the equivalent AC lines in the detailed model in sub-step (3.4); if the name of the equivalent AC line in sub-step (3.5.3) is already a key of the hash table, then adding the names of all AC lines on the connected path in sub-step (3.5.3) to the value corresponding to the key; otherwise, using the name of the equivalent AC line in sub-step (3.5.3) as the key and the array consisting of the names of all AC lines on the connected path in sub-step (3.5.3) as the value, adding them to the hash table;

[0109] (3.5.5) Update the hash table storing the relationship between the equivalent box-type transformers in the disaster scenario and the equivalent box-type transformers in the detailed model in sub-step (3.4); if the name of the equivalent box-type transformer in sub-step (3.5.3) is already the key of the hash table, when the name of the box-type transformer on the connection path in sub-step (3.5.3) is not in the value corresponding to the key, add the name of the box-type transformer on the connection path to the value corresponding to the key; otherwise, use the name of the equivalent box-type transformer in sub-step (3.5.3) as the key, and the array consisting of the names of all the box-type transformers on the connection path in sub-step (3.5.3) as the value, and add them to the hash table;

[0110] (3.6) Traverse all the keys of the hash table mentioned in substep (3.5.4) and perform the following substeps:

[0111] (3.6.1) Traverse the names of all AC lines in the value corresponding to the key, use the AC line name to query the hash table storing the AC line parameters in the detailed simulation model mentioned in sub-step (2.6), obtain the positive-sequence resistance per unit value, positive-sequence reactance per unit value, zero-sequence resistance per unit value, and zero-sequence reactance per unit value of each AC line, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent AC line;

[0112] (3.6.2) For all the names of the AC lines in the value corresponding to the key, remove the names with the same name, traverse the remaining set of AC line names, use the AC line names to query the hash table storing the parameters of the AC lines in the detailed simulation model mentioned in sub-step (2.6), obtain half of the positive-sequence susceptance per unit value and half of the zero-sequence susceptance per unit value of each AC line, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent AC lines;

[0113] (3.6.3) Use the per-unit positive-sequence resistance value, per-unit positive-sequence reactance value, per-unit zero-sequence resistance value, and per-unit zero-sequence reactance value of the equivalent AC line obtained in sub-step (3.6.1) to update the "R1" field value, "X1" field value, "R0" field value, and "X0" field value of the corresponding table record of the line parameter table in the equivalent simulation model (the table name is in the form of "ls2_n", n represents the "Case_No" field value mentioned in sub-step (3.2)), and use half of the per-unit positive-sequence susceptance value and half of the per-unit zero-sequence susceptance value of the equivalent AC line obtained in sub-step (3.6.2) to update the "B1_Half" field value and "B0_Half" field value of the corresponding table record of the line parameter table;

[0114] (3.7) Traverse all the keys of the hash table mentioned in substep (3.5.5) and perform the following substeps:

[0115] (3.7.1) For the names of all the box-type transformers in the value corresponding to the key, remove the names with the same name, traverse the names of all the box-type transformers in the value corresponding to the key, use the box-type transformer names to query the hash table storing the box-type transformer parameters in the detailed simulation model mentioned in sub-step (2.7), obtain the positive-sequence susceptance per unit value, positive-sequence conductance per unit value and other parameters of each box-type transformer, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent box-type transformer;

[0116] (3.7.2) According to the reciprocal of the positive-sequence conductance per unit value, the positive-sequence susceptance per unit value, the zero-sequence conductance per unit value, and the zero-sequence susceptance per unit value of the equivalent box-type transformer obtained in sub-step (3.7.1), take the reciprocals of these values ​​to update the equivalent simulation model equivalent box-type transformer parameter table (the table name is in the form of "ls3_n", n represents the "Case_No" field value mentioned in sub-step (3.2)) corresponding to the table record "R1" field value, "X1" field value, "R0" field value, "X0" field value; according to the per-unit value of magnetizing conductance, per-unit value of magnetizing susceptance, per-unit value of zero-sequence magnetizing conductance, per-unit value of zero-sequence magnetizing susceptance and rated capacity obtained in sub-step (3.7.1), update the "Gm" field value, "Bm" field value, "Gm0" field value, "Bm0" field value, "Rate_MVA" field value recorded in the corresponding table of the equivalent box-type transformer parameter table.

[0117] (4) Automatically generate power flow operation data that describes the operation mode of disaster scenarios in large power grid simulation models.

[0118] Automatically generating power flow operation data describing the operation mode of disaster scenarios in a large power grid simulation model specifically includes the following steps:

[0119] (4.1) According to the name of the folder where the large power grid simulation model is stored, the name of the database in MySQL where the simulation model is stored is obtained, and a connection is established with the database;

[0120] (4.2) For the MySQL database mentioned in sub-step (4.1), according to the flow operation name describing the normal operation mode in the large power grid simulation model read by S1, query the lf_case data table, obtain the field value (represented by the symbol x) of the field name "Case_No" in the corresponding table record, and the maximum value of the field name "Case_No" in the data table, and then add a flow operation record for describing the disaster scenario operation mode in the data table, and its "Case_No" field value (represented by the symbol y) = the maximum value of the "Case_No" field + 1;

[0121] (4.3) For the MySQL database mentioned in sub-step (4.1), copy the parameter table used to calculate the normal operation mode flow operation, and then create the parameter table required for calculating the disaster scenario operation mode flow. The table names of these data tables start with "lfr_", "ls_" or "lsk_" and end with the "Case_No field value" corresponding to the flow operation;

[0122] (4.4) According to the correspondence between the equivalent generator in the equivalent simulation model of step (1) and the corresponding equivalent generator in the large power grid simulation model, query the equivalent generator parameter table corresponding to the disaster operation mode in the large power grid simulation model (the table name is in the form of "ls5_y", y represents the "Case_No" field value mentioned in sub-step (4.2)), and obtain the node name connected to the equivalent generator (the "Node_Name" field value in the table record); according to the node name, query the equivalent box transformer parameter table corresponding to the disaster operation mode (the table name is in the form of "ls3_y", y represents the "Cas" mentioned in sub-step (4.2) e_No" field value), find the name of the equivalent box-type transformer connected to the generator (i.e., the "ID_Name" field value of the box-type transformer parameter table); according to the "I_NAME" and "J_NAME" field values ​​of the equivalent box-type transformer in the equivalent box-type transformer parameter table, which represent the name of the connected node, query the equivalent AC line parameter table corresponding to the disaster operation mode (the table name is in the form of "ls2_y", y represents the "Case_No" field value mentioned in sub-step (4.2)), and find the name of the equivalent AC line connected to the equivalent box-type transformer (i.e., the "ID_Name" field value of the AC line parameter table);

[0123] (4.5) Based on the names of the equivalent transformers connected to the equivalent generators in the equivalent simulation model obtained in sub-step (3.5.3) and the names of the AC lines connected to the equivalent transformers, as well as the names of the equivalent transformers connected to the equivalent generators in the large power grid simulation model obtained in sub-step (4.4), and in combination with the corresponding relationship between the equivalent generators in the equivalent simulation model described in step (1) and the corresponding equivalent generators in the large power grid simulation model, a corresponding relationship between the names of the equivalent transformers in the equivalent simulation model and the names of the equivalent transformers in the large power grid simulation model is established, and a corresponding relationship between the names of the equivalent AC lines in the equivalent simulation model and the names of the equivalent AC lines in the large power grid simulation model is established;

[0124] (4.6) Based on the correspondence between the equivalent generator in the equivalent simulation model described in step (1) and the corresponding equivalent generator in the large power grid simulation model, the "Pg" field value of the corresponding record in the equivalent generator parameter table in the equivalent simulation model (the table name is in the form of "ls5_n", n represents the "Case_No" field value mentioned in sub-step (3.2)) is used to update the corresponding field value in the equivalent generator parameter table in the large power grid simulation model (the table name is in the form of "ls5_y", y represents the "Case_No" field value mentioned in sub-step (4.2)).

[0125] (4.7) Based on the correspondence between the equivalent box-type transformer name in the equivalent simulation model obtained in sub-step (4.5) and the equivalent box-type transformer name in the large power grid simulation model, the "R1" field value, "X1" field value, "Gm" field value, "Bm" field value, "R0" field value, "X0" field value, "Gm0" field value, "Bm0" field value and "Rate_MVA" field value of the corresponding records in the equivalent box-type transformer parameter table in the equivalent simulation model (the table name is in the form of "ls3_y", y represents the "Case_No" field value mentioned in sub-step (4.2)) are used to update the corresponding field values ​​in the equivalent box-type transformer parameter table in the large power grid simulation model (the table name is in the form of "ls3_y", y represents the "Case_No" field value mentioned in sub-step (4.2)).

[0126] (4.8) Based on the correspondence between the equivalent AC line names in the equivalent simulation model obtained in sub-step (4.5) and the equivalent AC line names in the large power grid simulation model, use the "R1" field value, "X1" field value, "B1_Half" field value, "R0" field value, "X0" field value and "B0_Half" field value of the corresponding records in the equivalent AC line parameter table in the equivalent simulation model (the table name is in the form of "ls2_y", y represents the "Case_No" field value mentioned in sub-step (4.2)) to update the corresponding field values ​​in the equivalent AC line parameter table in the large power grid simulation model (the table name is in the form of "ls2_y", y represents the "Case_No" field value mentioned in sub-step (4.2)).

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A wind and solar station grid connection modeling method considering extreme natural disaster scenarios and oriented to PSASP, characterized by: The method comprises the following steps: S1: Read the information of wind and solar stations with equipment damage or shutdown in natural disaster scenarios; S2: Automatically generate power flow operation data describing the operation mode of disaster scenarios in the detailed simulation model of wind and solar power stations; S3: Automatically generate power flow operation data describing the operation mode of disaster scenarios in the equivalent simulation model of wind and solar power stations; S4: Automatically generate power flow operation data describing the operation mode of disaster scenarios in large power grid simulation models.

2. According to claim 1, a wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP is characterized by: In S1, the information of wind and solar power stations with equipment damage or shutdown in natural disaster scenarios includes: The names of the folders where the detailed simulation model of the wind and solar power station, the equivalent simulation model, and the large power grid simulation model taking into account the access of the wind and solar power station are stored respectively; The name of the power flow operation that describes the normal operation mode in the detailed simulation model, the equivalent simulation model, and the large power grid simulation model taking into account the access of wind and solar power stations; A collection of names of damaged or out-of-service equipment in the detailed simulation model data; The correspondence between the equivalent generator in the detailed simulation model and the equivalent generator in the equivalent simulation model; The correspondence between the equivalent generators in the equivalent simulation model and the corresponding equivalent generators in the large power grid simulation model.

3. According to claim 1, a wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP is characterized by: In S2, the generation of the power flow operation data describing the operation mode of the disaster scenario in the detailed simulation model of the wind and solar power station includes the following steps: S21: according to the folder name where the detailed simulation model of the wind and solar power station read in S1 is stored, obtain the database name where the simulation model is stored in MySQL, and establish a connection with the database; S22: For the MySQL database mentioned in S21, according to the flow operation name describing the normal operation mode in the detailed simulation model of the wind and solar power station read by S1, the lf_case data table is queried to obtain the field value of the field named "Case_No" in the corresponding table record and the maximum value of the field named "Case_No" in the data table, and then a new flow operation record for describing the operation mode of the disaster scenario is added to the data table, and its "Case_No" field value = the maximum value of the "Case_No" field + 1; S23: For the MySQL database mentioned in S21, copy the parameter table used in calculating the normal operation mode flow operation, and then create the parameter table used for calculating the disaster scenario operation mode flow, the table names of these data tables start with "lfr_", "ls_" or "lsk_" and end with the "Case_No" field value corresponding to the flow operation; S24: For the MySQL database mentioned in S21, traverse the line parameter table corresponding to the disaster scenario operation mode, and use the "I_Name" and "J_Name" field values ​​representing the node names connected at both ends of the line in the table record as vertices to establish an undirected graph. When the "ID_Name" field value representing the line name in the table record is not in the set of damaged or out-of-service equipment names obtained in S1, the "Valid" field value indicating whether the line is valid is 1, and the "I_Break" and "J_Break" field values ​​indicating the breaking status at both ends of the line are both 1, then add an edge to the undirected graph, and the vertices of the edge are the "I_Name" and "J_Name" field values; S25: For the MySQL database connected in S21, traverse the transformer parameter table corresponding to the disaster scenario operation mode, and use the "I_Name" and "J_Name" field values ​​representing the node names at both ends of the transformer in the table record as vertices, and add them to the undirected graph mentioned in S24. When the "ID_Name" field value representing the transformer name in the table record is not in the damaged or outage equipment name set obtained by S1 and the "Valid" field value indicating whether the transformer is valid is 1, then add an edge to the undirected graph, and the vertex of the edge is the "I_Name" and "J_Name" field values; perform connectivity analysis on the undirected graph, traverse the name set of the damaged or outage equipment obtained by S1, and obtain all connected subgraphs to which the damaged or outage line / transformer belongs; S26: Establish an empty hash table for storing AC line parameters in the detailed simulation model, with the key being the line name and the value being a combination of the line positive-sequence resistance per unit value, positive-sequence reactance per unit value, half of the positive-sequence susceptance per unit value, zero-sequence resistance per unit value, zero-sequence reactance per unit value, and half of the zero-sequence susceptance per unit value; traverse the line parameter table corresponding to the disaster scenario operation mode, and if the "I_Name" or "J_Name" field value representing the node name connected to the line in the table record is in the connected subgraph mentioned in S25, then update the "Valid" field value indicating whether the device is valid is 0, so that the device is in an invalid state during power flow calculation. Otherwise, the "ID_Name" field value in the table record is used as the key, and the "R1" field value representing the per-unit value of the positive-sequence resistance, the "X1" field value representing the per-unit value of the positive-sequence reactance, the "B1_Half" field value representing half of the per-unit value of the positive-sequence susceptance, the "R0" field value representing the per-unit value of the zero-sequence resistance, the "X0" field value representing the per-unit value of the zero-sequence reactance, and the "B0_Half" field value representing half of the per-unit value of the zero-sequence susceptance in the table record are used as values ​​of the hash table and added to the hash table; S27: Establish an empty hash table for storing the parameters of the box-type transformer in the detailed simulation model, where the key is the transformer name, and the value is a combination of the positive-sequence conductance per unit value, the positive-sequence susceptance per unit value, the magnetizing conductance, the magnetizing susceptance, the zero-sequence conductance per unit value, the zero-sequence susceptance per unit value, the zero-sequence magnetizing conductance per unit value, the zero-sequence magnetizing susceptance per unit value, and the rated capacity; traverse the transformer parameter table corresponding to the disaster scenario operation mode, and if the "I_Name" or "J_Name" field value representing the node name connected to the transformer in the table record is in the connected subgraph mentioned in S25, then the "Valid" field value indicating whether the device is valid is updated to 0, so that the device is in an invalid state during the power flow calculation. , otherwise, use the "ID_Name" field value in the table record as the key, and take the reciprocal of the "R1" field value representing the per-unit value of the positive-sequence resistance, the reciprocal of the "X1" field value representing the per-unit value of the positive-sequence reactance, the "Gm" field value representing the per-unit value of the magnetizing conductance, the "Bm" field value representing the per-unit value of the magnetizing susceptance, the reciprocal of the "R0" field value representing the per-unit value of the zero-sequence resistance, the reciprocal of the "X0" field value representing the per-unit value of the zero-sequence reactance, the "Gm0" field value representing the per-unit value of the zero-sequence magnetizing conductance, the "Bm0" field value representing the per-unit value of the zero-sequence magnetizing susceptance, and the "Rate_MVA" field value representing the rated capacity as the value of the hash table, and add them to the hash table; S28: query the static VAR compensation device parameter table corresponding to the disaster scenario operation mode for the MySQL database connected in S21, if the "Set_Bus" field value indicating the installation point node name in the table record is in the connected subgraph mentioned in S25, then update the "Valid" field value indicating whether the device is valid to 0, thereby setting the device to a shutdown state; query the load parameter table corresponding to the disaster scenario operation mode, find the load record used to represent the steady-state reactive power output of the static VAR compensation device, and update the "Valid" field value indicating whether the load is valid to 0, thereby setting the load to an invalid state; S29: Establish an empty hash table for storing the generator parameters in the detailed simulation model, with the key being the generator name and the value being a combination of the per-unit value of the generator's active power and the name of the node to which the generator is connected; for the MySQL database connected in S21, traverse the generator parameter table corresponding to the disaster scenario operation mode, and if the "Node_Name" field value representing the name of the node to which the generator is connected in the table record is in the connected subgraph mentioned in S25, then the "Valid" field value representing whether the device is valid is updated to 0, and the device is set to a shutdown state; otherwise, the "Node_Name" field value in the table record is used as the key, and the combination of the "Pg" field value representing the per-unit value of the generator's active power and the name of the node to which the generator is connected is used as the value, and added to the hash table.

4. According to claim 1, a wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP is characterized by: In S3, the generation of the power flow operation data describing the operation mode of the disaster scenario in the equivalent simulation model of the wind and solar power station includes the following steps: S31: according to the folder name where the wind-solar station equivalent simulation model read in S1 is stored, obtain the database name where the simulation model is stored in MySQL, and establish a connection with the database; S32: for the MySQL database mentioned in S31, according to the power flow operation name describing the normal operation mode in the wind and solar power station equivalent simulation model read by S1, the lf_case data table is queried to obtain the field value of the field named "Case_No" in the corresponding table record and the maximum value of the field named "Case_No" in the data table, and then a new power flow operation record for describing the disaster scenario operation mode is added to the data table, and its "Case_No" field value = the maximum value of the "Case_No" field + 1; S33: For the MySQL database mentioned in S31, copy the parameter table used in calculating the normal operation mode flow operation, and then create the parameter table used for calculating the disaster scenario operation mode flow, the table names of these data tables start with "lfr_" and "ls" and end with the "Case_No" field value corresponding to the flow operation; S34: According to the correspondence between the equivalent generator in the detailed simulation model obtained in S1 and the equivalent generator in the equivalent simulation model, a hash table is established, the key is the name of the equivalent generator in the detailed simulation model, and the value is the name of the equivalent generator in the equivalent simulation model; an empty hash table for storing equivalent generator parameters under disaster scenarios is established, the key is the name of the equivalent generator, and the value represents the per unit active power value of the equivalent generator; an empty hash table for storing the relationship between equivalent AC lines under disaster scenarios and equivalent lines in the detailed model is established, the name of the equivalent AC line is used as the key, and the array consisting of the names of the equivalent lines in the detailed model is used as the value; an empty hash table for storing the relationship between equivalent box-type transformers under disaster scenarios and equivalent box-type transformers in the detailed model is established, the name of the equivalent box-type transformer is used as the key, and the array consisting of the names of the equivalent box-type transformers in the detailed model is used as the value; S35: Based on the undirected graph obtained in S25, traverse all keys of the hash table storing the generator parameters in the detailed simulation model obtained in S29, and perform the following sub-steps: S351: According to the value corresponding to the key, use the node name connected to the generator in the detailed model to query whether the node name connected to the generator in the detailed model is connected to the node name connected to the low-voltage side bus of the wind and solar station step-up transformer. If connected, store the connection path and execute S352-S354; S352: In combination with the hash table describing the correspondence between the equivalent generators in the detailed simulation model and the equivalent generators in the equivalent simulation model in S34, an update operation is performed on the hash table storing the parameters of the equivalent generators under the disaster scenario mentioned in S34. If the name of the equivalent generator is not a key in the hash table, the name of the equivalent generator is used as the key and the per-unit value of the active power of the generator in the detailed model is used as the value, and the key-value pair is added to the hash table. Otherwise, the sum of the value originally corresponding to the key and the per-unit value of the active power of the generator in the detailed model is used as the new value corresponding to the key. S353: According to the equivalent generator name described in S352, query the equivalent generator parameter table corresponding to the disaster operation mode to obtain the node name connected to the equivalent generator; according to the node name, query the equivalent box-type transformer parameter table corresponding to the disaster operation mode to find the name of the equivalent box-type transformer connected to the generator; according to the "I_NAME" and "J_NAME" field values ​​of the equivalent box-type transformer in the equivalent box-type transformer parameter table indicating the name of the node connected to the equivalent box-type transformer, query the equivalent AC line parameter table corresponding to the disaster operation mode to find the name of the equivalent AC line connected to the equivalent box-type transformer; S354: Update the hash table in S34 that stores the relationship between the equivalent AC lines in the disaster scenario and the equivalent AC lines in the detailed model. If the name of the equivalent AC line in S353 is already a key of the hash table, then add the names of all AC lines on the connected path in S353 to the value corresponding to the key; otherwise, use the name of the equivalent AC line in S353 as the key and the array consisting of the names of all AC lines on the connected path in S353 as the value, and add them to the hash table; S355: Update the hash table in S34 that stores the relationship between the equivalent box-type transformers in the disaster scenario and the equivalent box-type transformers in the detailed model. If the name of the equivalent box-type transformer in S353 is already the key of the hash table, when the name of the box-type transformer on the connection path in S353 is not in the value corresponding to the key, add the name of the box-type transformer on the connection path to the value corresponding to the key; otherwise, use the name of the equivalent box-type transformer in S353 as the key, and use the array consisting of the names of all box-type transformers on the connection path in S353 as the value, and add them to the hash table; S36: Traverse all the keys of the hash table mentioned in S354 and perform the following sub-steps: S361: traverse the names of all AC lines in the value corresponding to the key, use the AC line name to query the hash table mentioned in S26 that stores the AC line parameters in the detailed simulation model, obtain the positive-sequence resistance per unit value, the positive-sequence reactance per unit value, the zero-sequence resistance per unit value, and the zero-sequence reactance per unit value of each AC line, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent AC line; S362: for all the names of the AC lines in the value corresponding to the key, remove the names with the same name, traverse the remaining set of AC line names, use the AC line names to query the hash table storing the parameters of the AC lines in the detailed simulation model mentioned in S26, obtain half of the positive-sequence susceptance per unit value and half of the zero-sequence susceptance per unit value of each AC line, add these parameters respectively, and thus obtain the corresponding parameter values ​​of the equivalent AC lines; S363: Use the per-unit positive-sequence resistance value, per-unit positive-sequence reactance value, per-unit zero-sequence resistance value, and per-unit zero-sequence reactance value of the equivalent AC line obtained in S361 to update the "R1" field value, "X1" field value, "R0" field value, and "X0" field value recorded in the corresponding table of the line parameter table in the equivalent simulation model, and use half of the per-unit positive-sequence susceptance value and half of the per-unit zero-sequence susceptance value of the equivalent AC line obtained in S362 to update the "B1_Half" field value and "B0_Half" field value recorded in the corresponding table of the line parameter table; S37: Traverse all the keys of the hash table mentioned in S355 and perform the following sub-steps: S371: For the names of all box-type transformers in the value corresponding to the key, remove the names with the same name, traverse the names of all box-type transformers in the value corresponding to the key, use the box-type transformer names to query the hash table of box-type transformer parameters in the detailed simulation model mentioned in S27, obtain the positive-sequence susceptance per unit value and positive-sequence conductance per unit value parameters of each box-type transformer, add these parameters respectively, and obtain the corresponding parameter values ​​of the equivalent box-type transformer; S372: According to the reciprocal of the positive-sequence conductance per unit value, the positive-sequence susceptance per unit value, the zero-sequence conductance per unit value, and the zero-sequence susceptance per unit value of the equivalent box-type transformer obtained in S371, take the reciprocals of these values ​​to update the "R1" field value, "X1" field value, "R0" field value, and "X0" field value recorded in the corresponding table of the equivalent simulation model equivalent box-type transformer parameter table; according to the magnetizing conductance per unit value, magnetizing susceptance per unit value, zero-sequence magnetizing conductance per unit value, zero-sequence magnetizing susceptance per unit value, and rated capacity obtained in S371, update the "Gm" field value, "Bm" field value, "Gm0" field value, "Bm0" field value, and "Rate_MVA" field value recorded in the corresponding table of the equivalent box-type transformer parameter table.

5. According to claim 1, a wind-solar station grid-connected modeling method considering extreme natural disaster scenarios and oriented to PSASP is characterized by: In S4, the steps of automatically generating the power flow operation data describing the operation mode of the disaster scenario in the large power grid simulation model are: S41: according to the folder name where the large power grid simulation model is stored, the database name where the simulation model is stored in MySQL is obtained, and a connection is established with the database; S42: for the MySQL database mentioned in S41, according to the power flow operation name describing the normal operation mode in the large power grid simulation model read by S1, query the lf_case data table, obtain the field value of the field named "Case_No" in the corresponding table record, and the field maximum value of the field named "Case_No" in the data table, and then add a power flow operation record for describing the disaster scenario operation mode in the data table, and its "Case_No" field value = the maximum value of the "Case_No" field + 1; S43: For the MySQL database mentioned in S41, copy the parameter table used in calculating the normal operation mode flow operation, and then create the parameter table required for calculating the disaster scenario operation mode flow, the table names of these data tables start with "lfr_" and "ls" and end with the "Case_No" field value corresponding to the flow operation; S44: According to the correspondence between the equivalent generator in the equivalent simulation model described in S1 and the corresponding equivalent generator in the large power grid simulation model, query the equivalent generator parameter table corresponding to the disaster operation mode in the large power grid simulation model to obtain the node name connected to the equivalent generator; According to the node name, query the equivalent box-type transformer parameter table corresponding to the disaster operation mode to find the name of the equivalent box-type transformer connected to the generator; according to the "I_NAME" and "J_NAME" field values ​​of the equivalent box-type transformer in the equivalent box-type transformer parameter table indicating the name of the connected node, query the equivalent AC line parameter table corresponding to the disaster operation mode to find the name of the equivalent AC line connected to the equivalent box-type transformer; S45: According to the names of the equivalent box transformers connected to the equivalent generators and the names of the AC lines connected to the equivalent box transformers in the equivalent simulation model obtained in S353, and the names of the equivalent box transformers connected to the equivalent generators and the names of the AC lines connected to the equivalent box transformers in the large power grid simulation model obtained in S44, combined with the corresponding relationship between the equivalent generators in the equivalent simulation model described in S1 and the corresponding equivalent generators in the large power grid simulation model, a corresponding relationship between the names of the equivalent box transformers in the equivalent simulation model and the names of the equivalent box transformers in the large power grid simulation model is established, and a corresponding relationship between the names of the equivalent AC lines in the equivalent simulation model and the names of the equivalent AC lines in the large power grid simulation model is established; S46: Based on the correspondence between the equivalent generator in the equivalent simulation model described in S1 and the corresponding equivalent generator in the large power grid simulation model, the "Pg" field value of the corresponding record in the equivalent generator parameter table in the equivalent simulation model is used to update the corresponding field value in the equivalent generator parameter table in the large power grid simulation model; S47: Based on the correspondence between the names of the equivalent box transformers in the equivalent simulation model obtained in S45 and the names of the equivalent box transformers in the large power grid simulation model, the corresponding field values ​​in the equivalent box transformer parameter table in the large power grid simulation model are updated by using the "R1" field value, "X1" field value, "Gm" field value, "Bm" field value, "R0" field value, "X0" field value, "Gm0" field value, "Bm0" field value and "Rate_MVA" field value of the corresponding record in the equivalent box transformer parameter table in the equivalent simulation model; S48: Based on the correspondence between the equivalent AC line names in the equivalent simulation model obtained in S45 and the equivalent AC line names in the large power grid simulation model, use the "R1" field value, "X1" field value, "B1_Half" field value, "R0" field value, "X0" field value and "B0_Half" field value of the corresponding record in the equivalent AC line parameter table in the equivalent simulation model to update the corresponding field values ​​in the equivalent AC line parameter table in the large power grid simulation model.