Disclosure of Invention
The invention aims to at least solve the technical problems of manual operation, low efficiency, easy error, non-convergence of tide and abnormal voltage in the prior art of off-line simulation data splicing.
Therefore, the invention provides a power grid off-line simulation data fusion splicing method.
The invention provides a power grid off-line simulation data fusion splicing method, which comprises the following steps:
s1, acquiring off-line simulation data, reading scheduling data files at all levels, analyzing VERSION fields of the Info worksheet, and screening worksheets with the same VERSION fields;
and S2, determining the splicing sequence, extracting the same bus data in each level of scheduling data, using the bus data as a boundary bus, using the boundary bus as a tie line of adjacent off-line simulation data, and determining the scheduling level to which the tie line belongs.
S3, calculating the data deviation of the position of the contact line;
and S4, judging whether the data deviation in S2 meets the deviation range given by the user, closing or adjusting the data, and fusing and splicing the offline simulation data of the main network and the sub-network.
According to the technical scheme of the invention, the power grid off-line simulation data fusion splicing method can also have the following additional technical characteristics:
further, the Info worksheet comprises a bus bar table, an alternating current line table, a parallel capacitor reactor table, a two-winding transformer table, a three-winding transformer table, a generator table and a load table.
Further, the data splicing sequence in S2 is: the provincial tone data is before and the local tone data is after.
Further, the boundary bus bar determination method in S2 is as follows:
s21, analyzing Bus _ Name and Base _ kV fields of the Bus table in each level of scheduling data;
s22, extracting buses with the same Bus _ Name fields in different scheduling data Bus tables as boundary buses;
s23, the voltage class of the boundary bus is the same as the Base _ kV field data of the bus in the original table.
Further, when the tie line is on the 220kV side of the transformer, comparing whether the parameters of the reactance x and the resistance r on each side of the transformer connected with the tie line are consistent, the comparing method is as follows:
AG=(Si-Di)/Di (1);
wherein A isGFor tie line data deviation, SiTo save the parameters of the individual sides of the transformer connected to the tie line in the data, (i ═ x, r.. multidot.), DiFor each side parameter of the transformer in the ground tone data.
Further, when A isGAnd when the deviation does not meet the requirement, closing a switch at the high-voltage side of the corresponding transformer in the local dispatching data, simultaneously adding short connecting wires of 110kV buses at the medium-voltage sides of the two transformers, and pushing a deviation result and change information to a user.
Further, when the tie line is at the 110kV side of the transformer, the area power difference is calculated by the following method:
ΔP=Ps-(ΣPdi-ΣPgi) (2);
wherein Ps is an equivalent load value of a corresponding node in the provincial dispatching data, Σ Pdi is a sum of load values of all effective branches of the sub-network in the local dispatching data, and Σ Pgi is a sum of generator values of all effective branches of the sub-network in the local dispatching data.
Further, when the area power difference is within the difference range given by the user, closing the corresponding equivalent load in the provincial dispatching data; and when the area power difference is out of the difference range given by the user, changing the equivalent load value Ps of the corresponding transformer 110kV side in the provincial dispatching data to meet the deviation.
Further, the deviation range can be adjusted according to the needs of a user, data deviation judgment is carried out again after modification is finished, data closing or adjustment is carried out according to the judgment result, and a data fusion splicing result is output.
Further, the method also comprises the steps of processing the generator table, analyzing a TYPE TYPE field of the generator table in the local dispatching data, and closing all balance machine nodes of the sub-network in the local dispatching data when the TYPE is 0.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that: the method for fusion splicing of the off-line simulation data of the power grid is provided, automatic fusion splicing of simulation data of provincial and local dispatching full voltage levels is achieved, fusion splicing efficiency is improved, the problems that errors are prone to occurring, tide is not converged and voltage is abnormal in the existing splicing technology are solved, fusion splicing results are accurate, data are complete, the influence of new energy power supply permeability increase on the stability of the power grid can be effectively analyzed and evaluated, key constraint links are identified, data diagnosis is carried out, guidance is provided for new energy access, and therefore the stability and the power supply reliability of the power grid are enhanced.
Meanwhile, the accuracy of the data can be checked through manual secondary verification, the deviation range parameters can be adjusted at any time, different numerical values can be drawn up as required, and the result precision is further improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as specifically described herein, and thus the scope of the present invention is not limited by the specific embodiments disclosed below.
The following describes a power grid offline simulation data fusion splicing method provided according to some embodiments of the present invention with reference to fig. 1.
Some embodiments of the application provide a power grid offline simulation data fusion splicing method.
As shown in fig. 1, a first embodiment of the present invention provides a power grid offline simulation data fusion splicing method, which includes the following steps:
s1, acquiring off-line simulation data, reading scheduling data files at all levels, analyzing VERSION fields of the Info worksheet, and screening worksheets with the same VERSION fields;
the Info worksheet comprises a bus meter, an alternating current meter, a shunt capacitance reactor meter, a two-winding transformer meter, a three-winding transformer meter, a generator meter, a load meter and the like.
And S2, determining the splicing sequence, extracting the same bus data in each level of scheduling data, using the bus data as a boundary bus, using the boundary bus as a tie line of adjacent off-line simulation data, and determining the scheduling level to which the tie line belongs.
When the scheduling grades are different, the upper-level scheduling grade is arranged in front, the lower-level scheduling grade is arranged in back, when the scheduling grades are the same, the current-level scheduling grade is arranged in front, and the rest scheduling data are arranged in back. In this embodiment, the provincial dispatching data and the local dispatching data are superimposed according to the principle that the provincial dispatching data is before and the local dispatching data is after, each level of dispatching is according to the principle of unified dispatching and hierarchical management, the provincial dispatching offline simulation data includes a grid frame with a voltage level of 220kV or above, the local dispatching offline simulation data includes a grid frame with a voltage level of 110kV or below, and it is noted that the provincial dispatching offline simulation data and the local dispatching offline simulation data overlap at the boundary, and the boundary and the attribution of the boundary need to be determined.
The boundary bus determining method comprises the following steps:
s21, analyzing Bus _ Name and Base _ kV fields of the Bus table in each level of scheduling data;
s22, extracting buses with the same Bus _ Name fields in different scheduling data Bus tables as boundary buses;
s23, the voltage class of the boundary bus is the same as the Base _ kV field data of the bus in the original table.
The method for judging the scheduling level of the junctor comprises the following steps:
if the number of the boundary buses is more than 0 and the voltage grades are all 220kV, the connecting line is arranged on the 220kV side;
if the number of the boundary buses is more than 0 and the voltage grades are all 110kV, the connecting line is arranged on the 110kV side;
if the number of the boundary buses is greater than 0 and the voltage class includes 110kV and 220kV, it means that the tie lines are simultaneously provided on the 220kV side and the 110kV side.
S3, calculating the data deviation of the position of the contact line before the data table fusion;
when the tie line is at the 220kV side of the transformer, comparing whether the parameters of the reactance x and the resistance r of each side of the transformer connected with the tie line are consistent or not, wherein the comparison method comprises the following steps:
AG=(Si-Di)/Di (1);
wherein A isGFor tie line data deviation, SiTo save the parameters of the individual sides of the transformer connected to the tie line in the data, (i ═ x, r.. multidot.), DiFor each side parameter of the transformer in the ground tone data.
When the tie line is at the 110kV side of the transformer, calculating the regional power difference value, wherein the calculation method comprises the following steps:
ΔP=Ps-(ΣPdi-ΣPgi) (2);
wherein Ps is an equivalent load value of a corresponding node in the provincial dispatching data, Σ Pdi is a sum of load values of all effective branches of the sub-network in the local dispatching data, and Σ Pgi is a sum of generator values of all effective branches of the sub-network in the local dispatching data.
The deviation range can be adjusted according to the needs of a user, data deviation judgment is carried out again after modification is finished, data closing or adjustment is carried out according to the judgment result, and a data fusion splicing result is output.
And S4, judging whether the data deviation in S2 meets the deviation range given by the user, closing or adjusting the data, and fusing and splicing the offline simulation data of the main network and the sub-network.
When A isGWhen the deviation range given by a user is within, closing corresponding transformer data in provincial dispatching data; and when the deviation does not meet the requirement, closing a corresponding transformer high-voltage side switch in the local dispatching data, simultaneously adding short connecting wires of 110kV buses at the medium-voltage sides of the two transformers, and pushing the deviation result and the change information to a user.
When the regional power difference value delta P is within the difference value range given by the user, closing the corresponding equivalent load in the provincial dispatching data; and when the area power difference is out of the difference range given by the user, changing the equivalent load value Ps of the corresponding transformer 110kV side in the provincial dispatching data to meet the deviation.
The method also comprises the steps of processing the generator table, analyzing a TYPE TYPE field of the generator table in the local dispatching data, and closing all balanced machine nodes of the sub-network in the local dispatching data when the TYPE is 0. When the TYPE is 0, the data is expressed as a subnet balancer, after provincial dispatching and local dispatching data are spliced, a power supply of the subnet is supplied by a main network without a virtual subnet balancer, all balancer nodes of the local dispatching data file subnet are closed, and incorrect tide results caused by a plurality of balancers in the whole network during tide calculation are avoided.
The main network is provincial dispatching data, the sub-network is local dispatching data, offline simulation data of the main network and the sub-network after data processing are fused and overlapped to generate a complete network frame containing all data of a network frame with a voltage level of 220kV or above and a network frame with a voltage level of 110kV or below, therefore, the influence of the permeability increase of the new energy power supply on the stability of the power grid is evaluated according to the network frame, the power flow distribution of each link on the network frame is analyzed, and key constraint links are distinguished.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.