One-button sequential control method and system for distribution network
Through the one-click sequence control method, sparse coding and attention calculation are used to predict the load of the distribution network, and combined with the opening and closing parameter identification model, the control instructions are generated, which solves the problems of long operation time and safety hazards of the distribution network and improves the operating efficiency. and security.
Patent Information
- Application Number
- CN202311745899.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-12-19
AI Technical Summary
The existing distribution network control system has problems such as long equipment operation time, large safety hazards, and incomplete error prevention mechanisms. Especially in multi-task situations and remote sequence control operations, it is difficult to achieve seamless closed-loop management.
A one-click sequence control method is adopted to collect the operating status information of substation equipment, construct an operating load sequence and predict it, combine sparse coding and attention calculation to generate a load distribution plan, build an opening and closing parameter image information recognition model, and generate Control instructions to achieve intelligent control of the distribution network.
It improves the operating efficiency and safety of the distribution network, realizes real-time control and monitoring of equipment, reduces manual operation delays, and ensures the normal operation and energy efficiency optimization of the distribution network.
Smart Images

Figure CN117526575B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power distribution network control, and in particular to a one-key sequential control method and system for a power distribution network. Background Art
[0002] With the development of social economy, the number of power generation, transmission and transformation devices in various places is increasing, and the grid structure is more complex and changeable. The traditional power grid switching operation and maintenance management mode has the following problems: 1) The operation time of equipment decommissioning and recommissioning tasks is concentrated, and serial waiting is required in multi-task situations, which reduces the full remote control coverage rate and the equipment operation time is too long, seriously affecting the maintenance work cycle; 2) The power grid safety relies too much on the experience of the monitor to prevent misoperation events, and there are safety hazards such as misoperation caused by fatigue of the staff; 3) The control and remote control operation requires the operation of the isolation knife switch, and the logic anti-error function of the station still has the problem of insufficient topology anti-error rules. There are blind spots in the real-time information monitoring during the operation, which makes the anti-error mechanism unable to meet the requirements of seamless closed-loop management of the whole chain. Remote sequential control operation can effectively solve the above problems. At present, some research has been done on the sequential control mode of substations, but the sequential control operation of remote substations still needs to be further optimized, especially in terms of operation instruction generation and scheduling planning. It is necessary to consider the optimal operation strategy under different equipment types and working conditions, and be able to adapt to the changing operating environment. To address this problem, the present invention proposes a one-button sequential control method and system for a distribution network, which realizes real-time control and monitoring of substation power equipment through adaptive strategy generation, avoids time delays in manual operations, and improves the operating efficiency and safety of substations. Summary of the invention
[0003] In view of this, the present invention provides a one-key sequential control method for a distribution network, the purpose of which is to: 1) collect and calculate the operating load sequences of different power-consuming equipment in the distribution network to form the operating load sequence of the substation, and encode the operating load sequence in combination with the timing information of the operating load, and perform attention calculation in combination with the sparsity of the encoding to improve the robustness of the predicted operating load result to the sparse coding result, realize the substation operating load prediction, and construct an objective function based on the prediction result to minimize the difference between the allocated load of the power-consuming equipment and the predicted load and the fluctuation degree of the operating load sequence of the power-consuming equipment after the load is allocated, solve and obtain the load distribution scheme that optimizes the overall energy efficiency of the substation, and improve the distribution efficiency of the distribution network; 2) construct a separation and closing parameter image information recognition model to identify the current separation and closing parameters of the distribution protection equipment corresponding to different power-consuming equipment, and generate corresponding control instructions according to the load distribution scheme and the current separation and closing parameter information corresponding to the power-consuming equipment, so as to ensure the normal operation of each substation in the distribution network, avoid the power consumption of other power-consuming equipment affected by the problematic power-consuming equipment, and realize the one-key sequential control management of the distribution network.
[0004] To achieve the above object, the present invention provides a one-key sequential control method for a power distribution network, comprising the following steps:
[0005] S1: Collect the operating status information of each device in the substation in the distribution network, including the voltage and current information of each power-consuming device and the opening and closing status image information of the distribution protection equipment;
[0006] S2: Calculate the substation operation load sequence based on the operation status information of each device in the substation;
[0007] S3: A substation operating load prediction model is constructed based on a supervised learning method with an integrated attention mechanism to predict the substation operating load. The substation operating load prediction model takes the substation operating load sequence as input and takes the predicted operating load as output;
[0008] S4: Based on the substation operation load prediction result, the total load of the substation is distributed according to the priority of the power equipment to obtain a load distribution plan that optimizes the overall energy efficiency of the substation;
[0009] S5: constructing a switch-off parameter image information recognition model to identify the current switch-off parameters of the power distribution protection device corresponding to different power consumption equipment, wherein the switch-off parameter image information recognition model takes the current switch-off state image of the power distribution protection device corresponding to different power consumption equipment as input and takes the identified switch-off parameters as output;
[0010] S6: Generate corresponding control instructions according to the load distribution plan and the current opening and closing parameter information corresponding to the power-consuming equipment, and send the generated control instructions to the corresponding equipment for one-key sequential control.
[0011] As a further improvement method of the present invention:
[0012] Optionally, collecting the operating status information of each device in the substation in the distribution network in step S1 includes:
[0013] Collect the operating status information of each device in the substation in the distribution network, where the substation includes power-consuming equipment and distribution protection equipment. The operating status information of each device in the substation collected is:
[0014] {X n =(X n (t1),X n (t2),...,X n (t h ),...,X n (t H ))|n∈[1,N]}
[0015] X n (t h)=(U n (t h ),I n (t h ),M n (t h ))
[0016] in:
[0017] X n It represents the operating status information sequence of the nth power-consuming equipment and the corresponding distribution protection equipment in the substation, and N represents the total number of power-consuming equipment that the substation transmits electric energy to;
[0018] X n (t h ) represents the nth power-consuming equipment and the corresponding distribution protection equipment in the substation at t h The operating status information at time, including the nth power-consuming equipment in the substation at t h Voltage information U over time n (t h ), current information I n (t h ), and the image information M of the opening and closing status of the corresponding distribution protection equipment n (t h );
[0019] (t1,t2,...,t H ) represents the collection time of the operating status information of each device in the substation in the distribution network. In the embodiment of the present invention, t H Indicates the current time;
[0020] In an embodiment of the present invention, the substation is used to receive electric energy from the power supply side of the distribution network and transmit the electric energy to a corresponding number of electrical equipment. The distribution protection equipment is used to control the opening and closing of the transmission circuits of different electrical equipment and to protect the transmission circuits of different electrical equipment.
[0021] Optionally, the substation operating load sequence calculated in step S2 includes:
[0022] According to the operating status information of each device in the substation, the substation operating load sequence is calculated, and the calculation process of the substation operating load sequence is as follows:
[0023] S21: Obtain the energy consumption depreciation rate and power factor of different electrical equipment, where the energy consumption depreciation rate of the nth electrical equipment is α n , the power factor is ;
[0024] S22: Calculate the load of each power consumption equipment in the substation at different collection times, where the nth power consumption equipment is at th The time load is:
[0025]
[0026] in:
[0027] Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ];
[0028] S23: sorting the loads of the power consumption equipment according to the order of collection time to form an operating load sequence of the power consumption equipment, and forming a substation operating load sequence from the operating load sequences of all power consumption equipment, wherein the substation operating load sequence is:
[0029] x=(x(1),x(2),...,x(n),...,x(N)) T
[0030] x(n)=(Q n (t1),Q n (t2),...,Q n (t h ),...,Q n (t H ))
[0031] in:
[0032] x represents the substation operating load sequence;
[0033] x(n) represents the operating load sequence of the nth power-consuming equipment in the substation;
[0034] T stands for transpose.
[0035] Optionally, in step S3, constructing a substation operation load prediction model based on a supervised learning method integrating an attention mechanism includes:
[0036] A substation operation load prediction model is constructed based on a supervised learning method with an integrated attention mechanism, and the substation operation load prediction model is used to predict the substation operation load to obtain the predicted operation load of the substation. The substation operation load prediction model takes the substation operation load sequence as input and takes the predicted operation load as output, wherein the substation operation load prediction model includes an input layer, a coding mapping layer, an attention calculation layer and an output layer;
[0037] The input layer is used to receive the substation operating load sequence, the coding and mapping layer is used to encode and map the operating load sequences of different power equipment in the substation operating load sequence respectively, the attention calculation layer is used to perform attention calculation on the coding and mapping results, and generate the attention-weighted operating load sequence coding and mapping results of different power equipment; the output layer is used to convert the attention-weighted operating load sequence coding and mapping results of the power equipment into predicted operating loads, and output the predicted operating loads of all power equipment as the predicted operating loads of the substation.
[0038] Optionally, in step S3, using a substation operation load prediction model to predict the substation operation load includes:
[0039] The substation operation load prediction model is used to predict the substation operation load, and the prediction process is as follows:
[0040] S31: The input layer receives the substation operating load sequence x;
[0041] S32: The coding mapping layer performs coding mapping on the operating load sequences of different power-consuming devices in the substation operating load sequence x, wherein the coding mapping formula of the operating load sequence x(n) is:
[0042]
[0043] in:
[0044] q n (t h ) indicates Q n (t h )’s encoding mapping result;
[0045] y(n) represents the encoding mapping result of the operating load sequence x(n);
[0046] S33: The attention calculation layer performs attention calculation on the coding mapping result to generate the attention-weighted operating load sequence coding mapping results of different power consumption equipment, wherein the attention-weighted operating load sequence coding mapping result of the nth power consumption equipment in the substation is:
[0047] Y(n)=(P n (t1),P n (t2),...,P n (t h ),...,P n (t H ))
[0048] P n (t h )=q n (t h )n (h)
[0049]
[0050] in:
[0051] e n (h) represents the encoding mapping result q n (t h )'s attention, P n (t h ) represents the encoding mapping result q n (t h )’s attention weighted result;
[0052] Y(n) represents the attention-weighted operating load sequence coding mapping result of the nth electrical equipment in the substation;
[0053] exp(·) represents an exponential function with a natural constant as the base;
[0054] L for Q n (t h )’s encoding mapping result q n (t h )’s length;
[0055] W1, W2 represent the attention calculation weights;
[0056] S34: The output layer converts the weighted attention load sequence encoding mapping result of the power equipment into the predicted load, and outputs the predicted load of all power equipment as the predicted load of the substation, where the predicted load of the substation is:
[0057] c=(c(1),c(2),...,c(n),...,c(N))
[0058] c(n)=Y(n)(W3) T
[0059] in:
[0060] Y(n) represents the attention-weighted operating load sequence coding mapping result of the nth electrical equipment in the substation;
[0061] W3 represents the prediction matrix, and T represents transpose;
[0062] c(n) represents the predicted operating load of the nth power-consuming equipment in the substation;
[0063] c represents the predicted operating load of the substation.
[0064] Optionally, in step S4, according to the substation operation load forecast result, the total load of the substation is distributed according to the priority of the power equipment, including:
[0065] According to the substation operation load forecast results, the total load of the substation is distributed according to the priority of the power equipment. The load distribution process is as follows:
[0066] S41: Construct the optimal distribution objective function of the total load of the substation:
[0067]
[0068] ρ n =15%×(max(x(n))-min(x(n)))
[0069] θ=(θ(1),θ(2),...,θ(n),...,θ(N))
[0070] x(n)=(Q n (t1),Q n (t2),...,Q n (t h ),...,Q n (t H ))
[0071] in:
[0072] Indicates the priority of the nth electrical device; in the embodiment of the present invention, The larger the value, the higher the priority of the electrical equipment;
[0073] Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ];
[0074] F(θ) represents the objective function for optimal distribution of total load in substation;
[0075] θ=(θ(1),θ(2),...,θ(n),...,θ(N)) represents the load distribution result of N electrical equipment in the substation, and θ(n) represents the load distribution result of the nth electrical equipment in the substation;
[0076] σ(x(n)) represents the standard deviation of the sequence x(n), σ(x(n),θ(n)) represents the standard deviation of the sequence (x(n),θ(n)), max(x(n)) represents the maximum value in the sequence x(n), and min(x(n)) represents the minimum value in the sequence x(n);
[0077] |c(n)-θ(n)| represents the difference between the load assigned to the nth electrical equipment and the predicted load.
[0078] Indicates the degree of fluctuation of the load sequence of the electrical equipment after load distribution;
[0079] ρ n Indicates control parameters;
[0080] S42: Initialize parameters θ0=(θ0(1), θ0(2), ..., θ0(n), ..., θ0(N)), where the parameters satisfy the following threshold conditions:
[0081]
[0082] in:
[0083] Sum represents the maximum load that can be distributed by the substation;
[0084] S43: Set the current iteration number of the parameter to d, the maximum iteration number to D, then the dth iteration result of the parameter is θ d =(θ d (1),θ d (2),...,θ d (n),...,θ d (N)), the initial value of d is 0;
[0085] S44: Iteratively update the parameters, where the iteration formula is:
[0086] λ d+1 =λ d +grad(F(λ d ))||λ d -c||
[0087] in:
[0088] grad(F(θ d )) represents F(θ d ) gradient; In the embodiment of the present invention, by deriving the optimal distribution objective function F(θ) of the total load of the substation, and θ d Substituting the derivative result, we get F(θ d )’s gradient;
[0089] ||·|| represents the L1 norm;
[0090] S45: Let d=d+1, return to step S44, until d+1=D, and select the parameter with the maximum number of iterations and satisfying the threshold condition as the load distribution scheme that optimizes the overall energy efficiency of the substation.
[0091] Optionally, in step S5, the image information recognition model for the opening and closing parameters is constructed to identify and obtain the current opening and closing parameters of the power distribution protection equipment corresponding to different electrical equipment, including:
[0092] Constructing an opening and closing parameter image information recognition model, the opening and closing parameter image information recognition model takes the current opening and closing state images of the distribution protection equipment corresponding to different electrical equipment as input, and takes the recognized opening and closing parameters as output, wherein the opening and closing parameter image information recognition model comprises an input layer, an image segmentation layer, a feature map generation layer and an output layer, the input layer is used to receive the current opening and closing state images of the distribution protection equipment corresponding to different electrical equipment, the image segmentation layer is used to segment the current opening and closing state images to obtain a plurality of sub-images, the feature map generation layer is used to extract feature vectors of the sub-images to form feature maps, and the output layer is used to perform mapping calculations on the feature maps to identify and obtain the current opening and closing parameters of the distribution protection equipment corresponding to the electrical equipment;
[0093] The current opening and closing parameters of the distribution protection equipment corresponding to different electrical equipment are identified by using the opening and closing parameter image information recognition model. The current opening and closing parameters identification process of the distribution protection equipment corresponding to the nth electrical equipment is as follows:
[0094] S51: The input layer receives the current opening and closing state image M of the power distribution protection device corresponding to the nth power consumption device. n (t H );
[0095] S52: the image segmentation layer performs segmentation processing on the current opening and closing state image to obtain a plurality of sub-images whose overlapping pixels of adjacent images reach S pixels;
[0096] S53: The feature map generation layer linearly adds the pixels of the sub-images, and uses convolution kernels of different scales to process the linear addition results of the sub-image pixels in turn to obtain the feature vectors of the sub-images; sorts the sub-image feature vectors according to the order of the sub-images in the current opening and closing state image to form the current opening and closing state image M n (t H ) The corresponding feature map m n ;
[0097] S54: The output layer is used to perform mapping calculation on the feature graph to identify the current opening and closing parameters of the power distribution protection device corresponding to the power consumption device, where the current opening and closing parameters of the nth power consumption device are:
[0098] λ n =Softmax(W T m n )
[0099] in:
[0100] W represents the feature map conversion matrix;
[0101] Softmax(W T m n ) indicates that W T m n Convert it into a two-dimensional vector, corresponding to the probability that the current opening and closing parameters are 1 or 0, and select the current opening and closing parameters with the highest probability for output;
[0102] λ n Indicates the current opening and closing parameters of the distribution protection device corresponding to the nth electrical equipment, where λ n =0 means that the power distribution protection device corresponding to the nth power-consuming device is in the open state, λ n =1 indicates that the power distribution protection device corresponding to the nth electrical equipment is in the closed state.
[0103] Optionally, in step S6, generating corresponding control instructions for one-key sequential control according to the load distribution scheme and the opening and closing parameter information corresponding to the electrical equipment includes:
[0104] According to the load distribution plan and the opening and closing parameter information corresponding to the power-consuming equipment, the corresponding control instructions are generated, and the generated control instructions are sent to the corresponding control equipment for one-key sequential control. The control instruction generation process of the nth power-consuming equipment is as follows:
[0105] S61: Obtain the load distribution result θ of the nth electrical equipment in the load distribution plan * (n) and the opening and closing parameters λ n ;
[0106] S62: If θ * (n) If the load exceeds the preset threshold, a virtual parameter λ is generated. * =1, and for the virtual parameter λ * And the opening and closing parameters λ n Perform an XOR operation. If the operation result is 1, the opening and closing operation of the power distribution protection device corresponding to the n-th power consumption device is not performed. If the operation result is 0, an opening operation instruction for the power distribution protection device corresponding to the n-th power consumption device is generated.
[0107] S63: If no opening operation command is generated, the load distribution result θ * (n), generating a power transmission control instruction for the nth power-consuming device.
[0108] In order to solve the above problems, the present invention provides a one-key sequential control system for a power distribution network, characterized in that the system comprises:
[0109] The load management module is used to collect the operating status information of each device in the substation in the distribution network, calculate the substation operating load sequence based on the operating status information of each device in the substation, build a substation operating load prediction model based on the supervised learning method of the fusion attention mechanism, predict the substation operating load, and according to the substation operating load prediction results, distribute the total load of the substation according to the priority of the power equipment;
[0110] The opening and closing control module is used to construct an opening and closing parameter image information recognition model to identify the current opening and closing parameters of the power distribution protection equipment corresponding to different electrical equipment;
[0111] The command control device is used to generate corresponding control instructions according to the load distribution plan and the current opening and closing parameter information corresponding to the power-consuming equipment, and send the generated control instructions to the corresponding equipment for one-key sequential control.
[0112] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0113] A memory storing at least one instruction;
[0114] Communication interface, enabling electronic equipment to communicate; and
[0115] The processor executes the instructions stored in the memory to implement the one-key sequential control method for the power distribution network described above.
[0116] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned one-key sequential control method for a distribution network.
[0117] Compared with the prior art, the present invention proposes a one-key sequential control method for a distribution network, which has the following advantages:
[0118] First, this scheme proposes a substation load prediction and allocation method, and uses the substation operation load prediction model to predict the substation operation load, where the prediction process is: the input layer receives the substation operation load sequence x; the coding mapping layer encodes and maps the operation load sequences of different power equipment in the substation operation load sequence x, where the coding mapping formula of the operation load sequence x(n) is:
[0119] y(n)=(q n (t1),q n (t2),...,q n (t h ),...,q n (t H ))
[0120]
[0121] Where: q n (th) indicates Q n (t h ) is the coding mapping result; y(n) represents the coding mapping result of the operating load sequence x(n); the attention calculation layer performs attention calculation on the coding mapping result to generate the attention-weighted operating load sequence coding mapping results of different power-consuming devices, where the attention-weighted operating load sequence coding mapping result of the nth power-consuming device in the substation is:
[0122] Y(n)=(P n (t1),P n (t2),...,P n (t h ),...,P n (t H ))
[0123] P n (t h )=q n (t h ) n (h)
[0124]
[0125] Where: e n (h) represents the encoding mapping result q n (t h )'s attention, P n (t h ) represents the encoding mapping result q n (t h ) is the attention weighted result; Y(n) represents the load sequence coding mapping result after attention weighting of the nth power equipment in the substation; exp(·) represents the exponential function with natural constant as the base; L represents Q n (t h )’s encoding mapping result q n (t h ) length; W1, W2 represent the attention calculation weights; the output layer converts the weighted attention load sequence encoding mapping result of the power equipment into the predicted operating load, and outputs the predicted operating load of all power equipment as the predicted operating load of the substation, where the predicted operating load of the substation is:
[0126] c=(c(1),c(2),...,c(n),...,c(N))
[0127] c(n)=Y(n)(W3) T
[0128] Among them: Y(n) represents the weighted attention operation load sequence coding mapping result of the nth power equipment in the substation; W3 represents the prediction matrix, T represents the transposition; c(n) represents the predicted operation load of the nth power equipment in the substation; c represents the predicted operation load of the substation. According to the substation operation load prediction result, the total load of the substation is distributed according to the priority of the power equipment, and the load distribution process is as follows: Construct the optimal distribution objective function of the total load of the substation:
[0129]
[0130] ρ n =15%×(max(x(n))-min(x(n)))
[0131] θ=(θ(1),θ(2),...,θ(n),...,θ(N))
[0132] x(n)=(Q n (t1),Q n (t2),...,Q n (th),...,Q n (t H ))
[0133] in: Indicates the priority of the nth electrical equipment; Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ]; F(θ) represents the optimal distribution objective function of the total load of the substation; θ=(θ(1),θ(2),...,θ(n),...,θ(N)) represents the load distribution result of N electrical equipment in the substation, θ(n) represents the load distribution result of the nth electrical equipment in the substation; σ(x(n)) represents the standard deviation of the sequence x(n), σ(x(n),θ(n)) represents the standard deviation of the sequence (x(n),θ(n)), max(x(n)) represents the maximum value in the sequence x(n), min(x(n)) represents the minimum value in the sequence x(n); |c(n)-θ(n)| represents the difference between the load distributed by the nth electrical equipment and the predicted load, It indicates the fluctuation degree of the load sequence of the electrical equipment after the load is distributed; ρ nRepresents control parameters. This scheme collects and calculates the operating load sequence of different power equipment in the distribution network to form the operating load sequence of the substation, and encodes the operating load sequence in combination with the timing information of the operating load, and performs attention calculation in combination with the sparsity of the encoding to improve the robustness of the predicted operating load results to the sparse coding results, realize the substation operating load prediction, and construct an objective function based on the prediction results to minimize the difference between the allocated load of the power equipment and the predicted load and the fluctuation of the operating load sequence of the power equipment after the load is allocated, and solve the load distribution scheme that optimizes the overall energy efficiency of the substation, thereby improving the distribution efficiency of the distribution network.
[0134] At the same time, this scheme proposes a distribution network control command generation method, which uses the switch-off parameter image information recognition model to identify the current switch-off parameters of the distribution protection device corresponding to different power consumption equipment. The current switch-off parameter recognition process of the distribution protection device corresponding to the nth power consumption equipment is as follows: the input layer receives the current switch-off state image M of the distribution protection device corresponding to the nth power consumption equipment. n (t H ); the image segmentation layer segments the current opening and closing state image to obtain a number of sub-images with overlapping pixels of S pixels in adjacent images; the feature map generation layer linearly adds the pixels of the sub-images, and uses convolution kernels of different scales to process the linear addition results of the sub-image pixels in turn to obtain the feature vectors of the sub-images; the sub-image feature vectors are sorted according to the order of the sub-images in the current opening and closing state image to form the current opening and closing state image M n (t H ) The corresponding feature map m n The output layer is used to map and calculate the feature graph, and identify the current opening and closing parameters of the distribution protection device corresponding to the electrical equipment. The current opening and closing parameters of the nth electrical equipment are:
[0135] λ n =Softmax(W T m n )
[0136] Where: W represents the feature map conversion matrix; Softmax(W T m n ) indicates that W T m n Converted into a two-dimensional vector, corresponding to the probability of the current opening and closing parameters being 1 or 0, and the current opening and closing parameters with the highest probability are selected for output; λ n Indicates the current opening and closing parameters of the distribution protection device corresponding to the nth electrical equipment, where λ n =0 means that the power distribution protection device corresponding to the nth power-consuming device is in the open state, λ n=1 indicates that the power distribution protection device corresponding to the nth power consumer is in the closed state. According to the load distribution plan and the opening and closing parameter information corresponding to the power consumer, the corresponding control instructions are generated, and the generated control instructions are sent to the corresponding control device for one-key sequential control. The control instruction generation process of the nth power consumer is: Obtain the load distribution result θ of the nth power consumer in the load distribution plan * (n) and the opening and closing parameters λ n ; If θ * (n) If the load exceeds the preset threshold, a virtual parameter λ is generated. * =1, and for the virtual parameter λ * And the opening and closing parameters λ n Perform an XOR operation. If the operation result is 1, the opening and closing operation of the distribution protection device corresponding to the nth power consumption device will not be performed. If the operation result is 0, an opening operation instruction for the distribution protection device corresponding to the nth power consumption device will be generated. If no opening operation instruction is generated, the load distribution result θ * (n), generate the transmission power control instruction of the nth power consumption equipment. This scheme builds the opening and closing parameter image information recognition model to identify the current opening and closing parameters of the distribution protection equipment corresponding to different power consumption equipment, and generates corresponding control instructions according to the load distribution scheme and the current opening and closing parameter information corresponding to the power consumption equipment, so as to ensure the normal operation of each substation in the distribution network, avoid the power consumption of other power consumption equipment affected by the problematic power consumption equipment, and realize the one-key sequential control management of the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS
[0137] Figure 1 A schematic flow chart of a one-key sequential control method for a power distribution network provided by an embodiment of the present invention;
[0138] Figure 2 A functional module diagram of a one-key sequential control system for a power distribution network provided by an embodiment of the present invention;
[0139] Figure 2 In: 100 is a one-button sequential control system for distribution network, 101 is a load management module, 102 is a switch opening and closing control module, 103 is a command control device;
[0140] Figure 3 A schematic diagram of the structure of an electronic device for implementing a one-key sequential control method for a power distribution network provided by an embodiment of the present invention.
[0141] Figure 3 In: 1 electronic device, 10 processor, 11 memory, 12 program, 13 communication interface;
[0142] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0143] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0144] The embodiment of the present application provides a one-key sequential control method for a distribution network. The execution subject of the one-key sequential control method for a distribution network includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the one-key sequential control method for a distribution network can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0145] Embodiment 1:
[0146] S1: Collect the operating status information of each device in the substation in the distribution network, including the voltage and current information of each power-consuming device and the image information of the opening and closing status of the distribution protection equipment.
[0147] The operation status information of each device in the substation in the distribution network is collected in step S1, including:
[0148] Collect the operating status information of each device in the substation in the distribution network, where the substation includes power-consuming equipment and distribution protection equipment. The operating status information of each device in the substation collected is:
[0149] {X n =(X n (t1),X n (t2),...,X n (t h ),...,X n (t H ))|n∈[1,N]}
[0150] X n (t h )=(U n (t h ),I n (t h ),M n (t h ))
[0151] in:
[0152] X n It represents the operating status information sequence of the nth power-consuming equipment and the corresponding distribution protection equipment in the substation, and N represents the total number of power-consuming equipment that the substation transmits electric energy to;
[0153] X n(t h ) represents the nth power-consuming equipment and the corresponding distribution protection equipment in the substation at t h The operating status information at time, including the nth power-consuming equipment in the substation at t h Voltage information U over time n (t h ), current information I n (t h ), and the image information M of the opening and closing status of the corresponding distribution protection equipment n (t h );
[0154] (t1,t2,...,t H ) indicates the collection time of the operating status information of each device in the substation in the distribution network.
[0155] S2: According to the operating status information of each device in the substation, the substation operating load sequence is calculated.
[0156] The substation operation load sequence calculated in step S2 includes:
[0157] According to the operating status information of each device in the substation, the substation operating load sequence is calculated, and the calculation process of the substation operating load sequence is as follows:
[0158] S21: Obtain the energy consumption depreciation rate and power factor of different electrical equipment, where the energy consumption depreciation rate of the nth electrical equipment is α n , the power factor is ;
[0159] S22: Calculate the load of each power consumption equipment in the substation at different collection times, where the nth power consumption equipment is at t h The time load is:
[0160]
[0161] in:
[0162] Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ];
[0163] S23: sorting the loads of the power consumption equipment according to the order of collection time to form an operating load sequence of the power consumption equipment, and forming a substation operating load sequence from the operating load sequences of all power consumption equipment, wherein the substation operating load sequence is:
[0164] x=(x(1),x(2),...,x(n),...,x(N)) T
[0165] x(n)=(Q n (t1),Q n (t2),...,Q n (t h ),...,Q n (t H ))
[0166] in:
[0167] x represents the substation operating load sequence;
[0168] x(n) represents the operating load sequence of the nth power-consuming equipment in the substation;
[0169] T stands for transpose.
[0170] S3: A substation operating load prediction model is constructed based on a supervised learning method integrating an attention mechanism to predict the substation operating load. The substation operating load prediction model takes the substation operating load sequence as input and takes the predicted operating load as output.
[0171] In the step S3, a substation operation load prediction model is constructed based on a supervised learning method integrating an attention mechanism, including:
[0172] A substation operation load prediction model is constructed based on a supervised learning method with an integrated attention mechanism, and the substation operation load prediction model is used to predict the substation operation load to obtain the predicted operation load of the substation. The substation operation load prediction model takes the substation operation load sequence as input and takes the predicted operation load as output, wherein the substation operation load prediction model includes an input layer, a coding mapping layer, an attention calculation layer and an output layer;
[0173] The input layer is used to receive the substation operating load sequence, the coding and mapping layer is used to encode and map the operating load sequences of different power equipment in the substation operating load sequence respectively, the attention calculation layer is used to perform attention calculation on the coding and mapping results, and generate the attention-weighted operating load sequence coding and mapping results of different power equipment; the output layer is used to convert the attention-weighted operating load sequence coding and mapping results of the power equipment into predicted operating loads, and output the predicted operating loads of all power equipment as the predicted operating loads of the substation.
[0174] In the step S3, the substation operation load prediction model is used to predict the substation operation load, including:
[0175] The substation operation load prediction model is used to predict the substation operation load, and the prediction process is as follows:
[0176] S31: The input layer receives the substation operating load sequence x;
[0177] S32: The coding mapping layer performs coding mapping on the operating load sequences of different power-consuming devices in the substation operating load sequence x, wherein the coding mapping formula of the operating load sequence x(n) is:
[0178] y(n)=(q n (t1),q n (t2),...,q n (t h ),...,q n (t H ))
[0179]
[0180] in:
[0181] q n (t h ) indicates Q n (t h )’s encoding mapping result;
[0182] y(n) represents the encoding mapping result of the operating load sequence x(n);
[0183] S33: The attention calculation layer performs attention calculation on the coding mapping result to generate the attention-weighted operating load sequence coding mapping results of different power consumption equipment, wherein the attention-weighted operating load sequence coding mapping result of the nth power consumption equipment in the substation is:
[0184] Y(n)=(P n (t1),P n (t2),...,P n (t h ),...,P n (t H ))
[0185] P n (t h )=q n (t h ) n (h)
[0186]
[0187] in:
[0188] e n (h) represents the encoding mapping result qn (t h )'s attention, P n (t h ) represents the encoding mapping result q n (t h )’s attention weighted result;
[0189] Y(n) represents the attention-weighted operating load sequence coding mapping result of the nth electrical equipment in the substation;
[0190] exp(·) represents an exponential function with a natural constant as the base;
[0191] L for Q n (t h )’s encoding mapping result q n (t h )’s length;
[0192] W1, W2 represent the attention calculation weights;
[0193] S34: The output layer converts the weighted attention load sequence encoding mapping result of the power equipment into the predicted load, and outputs the predicted load of all power equipment as the predicted load of the substation, where the predicted load of the substation is:
[0194] c=(c(1),c(2),...,c(n),...,c(N))
[0195] c(n)=Y(n)(W3) T
[0196] in:
[0197] Y(n) represents the attention-weighted operating load sequence coding mapping result of the nth electrical equipment in the substation;
[0198] W3 represents the prediction matrix, and T represents transpose;
[0199] c(n) represents the predicted operating load of the nth power-consuming equipment in the substation;
[0200] c represents the predicted operating load of the substation.
[0201] S4: Based on the substation operation load prediction results, the total load of the substation is distributed according to the priority of the power equipment to obtain a load distribution plan that optimizes the overall energy efficiency of the substation.
[0202] In the step S4, the total load of the substation is distributed according to the priority of the power equipment according to the substation operation load prediction result, including:
[0203] According to the substation operation load forecast results, the total load of the substation is distributed according to the priority of the power equipment. The load distribution process is as follows:
[0204] S41: Construct the optimal distribution objective function of the total load of the substation:
[0205]
[0206] ρ n =15%×(max(x(n))-min(x(n)))
[0207] θ=(θ(1),θ(2),...,θ(n),...,θ(N))
[0208] x(n)=(Q n (t1),Q n (t2),...,Q n (t h ),...,Q n (t H ))
[0209] in:
[0210] Indicates the priority of the nth electrical device; in the embodiment of the present invention, The larger the value, the higher the priority of the electrical equipment;
[0211] Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ];
[0212] F(θ) represents the objective function for optimal distribution of total load in substation;
[0213] θ=(θ(1),θ(2),...,θ(n),...,θ(N)) represents the load distribution result of N electrical equipment in the substation, and θ(n) represents the load distribution result of the nth electrical equipment in the substation;
[0214] σ(x(n)) represents the standard deviation of the sequence x(n), σ(x(n),θ(n)) represents the standard deviation of the sequence (x(n),θ(n)), max(x(n)) represents the maximum value in the sequence x(n), and min(x(n)) represents the minimum value in the sequence x(n);
[0215] |c(n)-θ(n)| represents the difference between the load assigned to the nth electrical equipment and the predicted load.
[0216] Indicates the degree of fluctuation of the load sequence of the electrical equipment after load distribution;
[0217] ρ n Indicates control parameters;
[0218] S42: Initialize parameters θ0=(θ0(1), θ0(2), ..., θ0(n), ..., θ0(N)), where the parameters satisfy the following threshold conditions:
[0219]
[0220] in:
[0221] Sum represents the maximum load that can be distributed by the substation;
[0222] S43: Set the current iteration number of the parameter to d, the maximum iteration number to D, then the dth iteration result of the parameter is θ d =(θ d (1),θ d (2),...,θ d (n),...,θ d (N)), the initial value of d is 0;
[0223] S44: Iteratively update the parameters, where the iteration formula is:
[0224] θ d+1 =θ d +grad(F(θ d ))||θ d -c||
[0225] in:
[0226] grad(F(θ d )) represents F(θ d ) gradient; In the embodiment of the present invention, by deriving the optimal distribution objective function F(θ) of the total load of the substation, and θ d Substituting the derivative result, we get F(θ d )’s gradient;
[0227] ||·|| represents the L1 norm;
[0228] S45: Let d=d+1, return to step S44, until d+1=D, and select the parameter with the maximum number of iterations and satisfying the threshold condition as the load distribution scheme that optimizes the overall energy efficiency of the substation.
[0229] S5: Construct an opening and closing parameter image information recognition model to identify the current opening and closing parameters of the distribution protection equipment corresponding to different electrical equipment. The opening and closing parameter image information recognition model takes the current opening and closing state image of the distribution protection equipment corresponding to different electrical equipment as input and the identified opening and closing parameters as output.
[0230] In the step S5, the image information recognition model for the switching-on and switching-off parameters is constructed to identify the current switching-on and switching-off parameters of the power distribution protection equipment corresponding to different power-consuming equipment, including:
[0231] Constructing an opening and closing parameter image information recognition model, the opening and closing parameter image information recognition model takes the current opening and closing state images of the distribution protection equipment corresponding to different electrical equipment as input, and takes the recognized opening and closing parameters as output, wherein the opening and closing parameter image information recognition model comprises an input layer, an image segmentation layer, a feature map generation layer and an output layer, the input layer is used to receive the current opening and closing state images of the distribution protection equipment corresponding to different electrical equipment, the image segmentation layer is used to segment the current opening and closing state images to obtain a plurality of sub-images, the feature map generation layer is used to extract feature vectors of the sub-images to form feature maps, and the output layer is used to perform mapping calculations on the feature maps to identify and obtain the current opening and closing parameters of the distribution protection equipment corresponding to the electrical equipment;
[0232] The current opening and closing parameters of the distribution protection equipment corresponding to different electrical equipment are identified by using the opening and closing parameter image information recognition model. The current opening and closing parameters identification process of the distribution protection equipment corresponding to the nth electrical equipment is as follows:
[0233] S51: The input layer receives the current opening and closing state image M of the power distribution protection device corresponding to the nth power consumption device. n (t H );
[0234] S52: the image segmentation layer performs segmentation processing on the current opening and closing state image to obtain a plurality of sub-images whose overlapping pixels of adjacent images reach S pixels;
[0235] S53: The feature map generation layer linearly adds the pixels of the sub-images, and uses convolution kernels of different scales to process the linear addition results of the sub-image pixels in turn to obtain the feature vectors of the sub-images; sorts the sub-image feature vectors according to the order of the sub-images in the current opening and closing state image to form the current opening and closing state image M n (t H ) The corresponding feature map m n ;
[0236] S54: The output layer is used to perform mapping calculation on the feature graph to identify the current opening and closing parameters of the power distribution protection device corresponding to the power consumption device, where the current opening and closing parameters of the nth power consumption device are:
[0237] λ n =Softmax(W T m n )
[0238] in:
[0239] W represents the feature map conversion matrix;
[0240] Softmax(W T m n ) indicates that W T m n Convert it into a two-dimensional vector, corresponding to the probability that the current opening and closing parameters are 1 or 0, and select the current opening and closing parameters with the highest probability for output;
[0241] λ n Indicates the current opening and closing parameters of the distribution protection device corresponding to the nth electrical equipment, where λ n =0 means that the power distribution protection device corresponding to the nth power-consuming device is in the open state, λ n =1 indicates that the power distribution protection device corresponding to the nth electrical equipment is in the closed state.
[0242] S6: Generate corresponding control instructions according to the load distribution plan and the current opening and closing parameter information corresponding to the power-consuming equipment, and send the generated control instructions to the corresponding equipment for one-key sequential control.
[0243] In step S6, according to the load distribution scheme and the opening and closing parameter information corresponding to the electrical equipment, corresponding control instructions are generated to perform one-key sequential control, including:
[0244] According to the load distribution plan and the opening and closing parameter information corresponding to the power-consuming equipment, the corresponding control instructions are generated, and the generated control instructions are sent to the corresponding control equipment for one-key sequential control. The control instruction generation process of the nth power-consuming equipment is as follows:
[0245] S61: Obtain the load distribution result θ of the nth electrical equipment in the load distribution plan * (n) and the opening and closing parameters λ n ;
[0246] S62: If θ * (n) If the load exceeds the preset threshold, a virtual parameter λ is generated. * =1, and for the virtual parameter λ * And the opening and closing parameters λ n Perform an XOR operation. If the operation result is 1, the opening and closing operation of the power distribution protection device corresponding to the n-th power consumption device is not performed. If the operation result is 0, an opening operation instruction for the power distribution protection device corresponding to the n-th power consumption device is generated.
[0247] S63: If no opening operation command is generated, the load distribution result θ * (n), generating a power transmission control instruction for the nth power-consuming device.
[0248] Embodiment 2:
[0249] like Figure 2 , which is a functional module diagram of a one-key sequential control system for a distribution network provided by an embodiment of the present invention, which can implement the one-key sequential control method for a distribution network in Example 1.
[0250] The one-key sequential control system 100 for a distribution network of the present invention can be installed in an electronic device. According to the functions to be implemented, the one-key sequential control system for a distribution network can include a load management module 101, a switch opening and closing control module 102, and a command control device 103. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.
[0251] The load management module 101 is used to collect the operating status information of each device in the substation in the distribution network, calculate the substation operating load sequence according to the operating status information of each device in the substation, build a substation operating load prediction model based on the supervised learning method of the fusion attention mechanism, predict the substation operating load, and according to the substation operating load prediction result, distribute the total load of the substation according to the priority of the power equipment;
[0252] The opening and closing control module 102 is used to construct an opening and closing parameter image information recognition model to identify and obtain the current opening and closing parameters of the power distribution protection equipment corresponding to different electrical equipment;
[0253] The command control device 103 is used to generate corresponding control instructions according to the load distribution plan and the current opening and closing parameter information corresponding to the power-consuming equipment, and send the generated control instructions to the corresponding equipment for one-key sequential control.
[0254] In detail, each module in the one-key sequential control system 100 for a power distribution network according to the embodiment of the present invention is used in the same manner as described above. Figure 1 The one-button sequential control method for distribution network described in the invention has the same technical means and can produce the same technical effects, so it will not be repeated here.
[0255] Embodiment 3:
[0256] like Figure 3 , which is a schematic diagram of the structure of an electronic device for implementing a one-key sequential control method for a power distribution network provided by an embodiment of the present invention.
[0257] The electronic device 1 may include a processor 10 , a memory 11 , a communication interface 13 and a bus, and may also include a computer program stored in the memory 11 and executable on the processor 10 , such as a program 12 .
[0258] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may be used not only to store application software and various types of data installed in the electronic device 1, such as the code of the program 12, etc., but also to temporarily store data that has been output or is to be output.
[0259] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, and executes or executes the programs or modules stored in the memory 11 (such as the program 12 for realizing one-key sequential control of the power distribution network), and calls the data stored in the memory 11 to execute various functions of the electronic device 1 and process data.
[0260] The communication interface 13 may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices, and to achieve connection and communication between internal components of the electronic device.
[0261] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0262] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0263] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0264] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0265] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0266] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0267] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0268] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A one-button sequential control method for a distribution network, characterized in that: The method comprises: S1: Collect the operating status information of each device in the substation in the distribution network, including the voltage and current information of each power-consuming device and the opening and closing status image information of the distribution protection equipment; S2: Calculate the substation operation load sequence based on the operation status information of each device in the substation; The calculation process of substation operating load sequence is as follows: S21: Obtain the demand coefficients and power factor angles of different electrical equipment, where the demand coefficient of the nth electrical equipment is α n , the power factor angle is S22: Calculate the load of each power consumption equipment in the substation at different collection times, where the nth power consumption equipment is at t h The time load is: in: Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ]; S23: sorting the loads of the power consumption equipment according to the order of collection time to form an operating load sequence of the power consumption equipment, and forming a substation operating load sequence from the operating load sequences of all power consumption equipment, wherein the substation operating load sequence is: x=(x(1),x(2),...,x(n),...,x(N)) T x(n)=(Q n (t1),Q n (t2),...,Q n (t h ),...,Q n (t H )) in: x represents the substation operating load sequence; x(n) represents the operating load sequence of the nth power-consuming equipment in the substation; T stands for transpose; S3: A substation operating load prediction model is constructed based on a supervised learning method with an integrated attention mechanism to predict the substation operating load. The substation operating load prediction model takes the substation operating load sequence as input and takes the predicted operating load as output; A substation operation load prediction model is constructed based on a supervised learning method with an integrated attention mechanism, and the substation operation load prediction model is used to predict the substation operation load to obtain the predicted operation load of the substation. The substation operation load prediction model takes the substation operation load sequence as input and takes the predicted operation load as output, wherein the substation operation load prediction model includes an input layer, a coding mapping layer, an attention calculation layer and an output layer; The input layer is used to receive the substation operating load sequence, the coding mapping layer is used to code and map the operating load sequences of different power equipment in the substation operating load sequence respectively, the attention calculation layer is used to perform attention calculation on the coding mapping results, and generate the attention-weighted operating load sequence coding mapping results of different power equipment, and the output layer is used to convert the attention-weighted operating load sequence coding mapping results of the power equipment into the predicted operating load, and output the predicted operating load of all power equipment as the predicted operating load of the substation; The substation operation load prediction model is used to predict the substation operation load, and the prediction process is as follows: S31: The input layer receives the substation operating load sequence x; S32: The coding mapping layer performs coding mapping on the operating load sequences of different power-consuming devices in the substation operating load sequence x, wherein the coding mapping formula of the operating load sequence x(n) is: y(n)=(q n (t1),q n (t2),...,q n (t h ),...,q n (t H )) in: q n (t h ) indicates Q n (t h )’s encoding mapping result; y(n) represents the encoding mapping result of the operating load sequence x(n); S33: The attention calculation layer performs attention calculation on the coding mapping result to generate the attention-weighted operating load sequence coding mapping results of different power consumption equipment, wherein the attention-weighted operating load sequence coding mapping result of the nth power consumption equipment in the substation is: Y(n)=(P n (t1),P n (t2),...,P n (t h ),...,P n (t H )) P n (t h )=q n (t h )e n (h) in: e n (h) represents the encoding mapping result q n (t h )'s attention, P n (t h ) represents the encoding mapping result q n (t h )’s attention weighted result; Y(n) represents the attention-weighted operating load sequence coding mapping result of the nth electrical equipment in the substation; exp(·) represents an exponential function with a natural constant as the base; L for Q n (t h )’s encoding mapping result q n (t h )’s length; W1, W2 represent the attention calculation weights; S34: The output layer converts the weighted attention load sequence encoding mapping result of the power equipment into the predicted load, and outputs the predicted load of all power equipment as the predicted load of the substation, where the predicted load of the substation is: c=(c(1),c(2),...,c(n),...,c(N)) c(n)=Y(n)(W3) T in: Y(n) represents the attention-weighted operating load sequence coding mapping result of the nth electrical equipment in the substation; W3 represents the prediction matrix, and T represents the transpose; c(n) represents the predicted operating load of the nth power-consuming equipment in the substation; c represents the predicted operating load of the substation; S4: Based on the substation operation load prediction result, the total load of the substation is distributed according to the priority of the power equipment to obtain a load distribution plan that optimizes the overall energy efficiency of the substation; According to the substation operation load forecast results, the total load of the substation is distributed according to the priority of the power equipment. The load distribution process is as follows: S41: Construct the optimal distribution objective function of the total load of the substation: r n =15%×(max(x(n))-min(x(n))) θ=(θ(1),θ(2),...,θ(n),...,θ(N)) x(n)=(Q n (t1),Q n (t2),...,Q n (t h ),...,Q n (t H )) in: Indicates the priority of the nth electrical equipment; Q n (t h ) The nth electrical equipment is at t h Time load, t h ∈[t1,t H ]; F(θ) represents the objective function for optimal distribution of total load in substation; θ=(θ(1),θ(2),...,θ(n),...,θ(N)) represents the load distribution result of N electrical equipment in the substation, and θ(n) represents the load distribution result of the nth electrical equipment in the substation; σ(x(n)) represents the standard deviation of the sequence x(n), σ(x(n),θ(n)) represents the standard deviation of the sequence (x(n),θ(n)), max(x(n)) represents the maximum value in the sequence x(n), and min(x(n)) represents the minimum value in the sequence x(n); |c(n)-θ(n)| represents the difference between the load assigned to the nth electrical equipment and the predicted load. Indicates the degree of fluctuation of the load sequence of the electrical equipment after load distribution; ρ n Indicates control parameters; S42: Initialize parameters θ0=(θ0(1), θ0(2), ..., θ0(n), ..., θ0(N)), where the parameters satisfy the following threshold conditions: in: Sum represents the maximum load that can be distributed by the substation; S43: Set the current iteration number of the parameter to d, the maximum iteration number to D, then the dth iteration result of the parameter is θ d =(θ d (1),θ d (2),...,θ d (n),...,θ d (N)), the initial value of d is 0; S44: Iteratively update the parameters, where the iteration formula is: i d+1 =θ d +grad(F(θ d ))||θ d -c|| in: grad(F(θ d )) represents F(θ d )’s gradient; ||·|| represents the L1 norm; S45: Let d=d+1, return to step S44, until d+1=D, and select the parameter with the maximum number of iterations and satisfying the threshold condition as the load distribution scheme that optimizes the overall energy efficiency of the substation; S5: constructing a switch-off parameter image information recognition model to identify the current switch-off parameters of the power distribution protection device corresponding to different power consumption equipment, wherein the switch-off parameter image information recognition model takes the current switch-off state image of the power distribution protection device corresponding to different power consumption equipment as input and takes the identified switch-off parameters as output; S6: Generate corresponding control instructions according to the load distribution plan and the current opening and closing parameter information corresponding to the power-consuming equipment, and send the generated control instructions to the corresponding equipment for one-key sequential control; The control instruction generation process of the nth electrical equipment is as follows: S61: Obtain the load distribution result θ of the nth electrical equipment in the load distribution plan * (n) and the opening and closing parameters λ n ; S62: If θ * (n) If the load exceeds the preset threshold, a virtual parameter λ is generated. * =1, and for the virtual parameter λ * And the opening and closing parameters λ n Perform an XOR operation. If the operation result is 1, the opening and closing operation of the power distribution protection device corresponding to the n-th power consumption device is not performed. If the operation result is 0, an opening operation instruction for the power distribution protection device corresponding to the n-th power consumption device is generated. S63: If no opening operation command is generated, the load distribution result θ * (n), generating a power transmission control instruction for the nth power-consuming device.
2. A one-key sequential control method for a distribution network as claimed in claim 1, characterized in that: The operation status information of each device in the substation in the distribution network is collected in step S1, including: Collect the operating status information of each device in the substation in the distribution network, where the substation includes power-consuming equipment and distribution protection equipment. The operating status information of each device in the substation collected is: {X n =(X n (t1),X n (t2),...,X n (t h ),...,X n (t H ))|n∈[1,N]} X n (t h )=(U n (t h ),I n (t h ),M n (t h )) in: X n It represents the operating status information sequence of the nth power-consuming equipment and the corresponding distribution protection equipment in the substation, and N represents the total number of power-consuming equipment that the substation transmits electric energy to; X n (t h ) represents the nth power-consuming equipment and the corresponding distribution protection equipment in the substation at t h The operating status information at time, including the nth power-consuming equipment in the substation at t h Voltage information U over time n (t h ), current information I n (t h ), and the image information M of the opening and closing status of the corresponding distribution protection equipment n (t h ); (t1,t2,...,t H ) indicates the collection time of the operating status information of each device in the substation in the distribution network.
3. A one-key sequential control method for a distribution network as claimed in claim 1, characterized in that: In the step S5, the image information recognition model for the switching-on and switching-off parameters is constructed to identify the current switching-on and switching-off parameters of the power distribution protection equipment corresponding to different power-consuming equipment, including: Constructing an opening and closing parameter image information recognition model, the opening and closing parameter image information recognition model takes the current opening and closing state images of the distribution protection equipment corresponding to different electrical equipment as input, and takes the recognized opening and closing parameters as output, wherein the opening and closing parameter image information recognition model comprises an input layer, an image segmentation layer, a feature map generation layer and an output layer, the input layer is used to receive the current opening and closing state images of the distribution protection equipment corresponding to different electrical equipment, the image segmentation layer is used to segment the current opening and closing state images to obtain a plurality of sub-images, the feature map generation layer is used to extract feature vectors of the sub-images to form feature maps, and the output layer is used to perform mapping calculations on the feature maps to identify and obtain the current opening and closing parameters of the distribution protection equipment corresponding to the electrical equipment; The current opening and closing parameters of the distribution protection equipment corresponding to different electrical equipment are identified by using the opening and closing parameter image information recognition model. The current opening and closing parameters identification process of the distribution protection equipment corresponding to the nth electrical equipment is as follows: S51: The input layer receives the current opening and closing state image M of the power distribution protection device corresponding to the nth power consumption device. n (t H ); S52: the image segmentation layer performs segmentation processing on the current opening and closing state image to obtain a plurality of sub-images whose overlapping pixels of adjacent images reach S pixels; S53: The feature map generation layer linearly adds the pixels of the sub-images, and uses convolution kernels of different scales to process the linear addition results of the sub-image pixels in turn to obtain the feature vectors of the sub-images; sorts the sub-image feature vectors according to the order of the sub-images in the current opening and closing state image to form the current opening and closing state image M n (t H ) The corresponding feature map m n ; S54: The output layer is used to perform mapping calculation on the feature graph to identify the current opening and closing parameters of the power distribution protection device corresponding to the power consumption device, where the current opening and closing parameters of the nth power consumption device are: l n =Softmax(W T m n ) in: W represents the feature map conversion matrix; Softmax(W T m n ) indicates that W T m n Convert it into a two-dimensional vector, corresponding to the probability that the current opening and closing parameters are 1 or 0, and select the current opening and closing parameters with the highest probability for output; λ n Indicates the current opening and closing parameters of the distribution protection device corresponding to the nth electrical equipment, where λ n =0 means that the power distribution protection device corresponding to the nth power-consuming device is in the open state, λ n =1 indicates that the power distribution protection device corresponding to the nth electrical equipment is in the closed state.
4. A one-button sequential control system for a distribution network, characterized in that: The system comprises: The load management module is used to collect the operating status information of each device in the substation in the distribution network, calculate the substation operating load sequence based on the operating status information of each device in the substation, build a substation operating load prediction model based on the supervised learning method of the fusion attention mechanism, predict the substation operating load, and according to the substation operating load prediction results, distribute the total load of the substation according to the priority of the power equipment; The opening and closing control module is used to construct an opening and closing parameter image information recognition model to identify the current opening and closing parameters of the power distribution protection equipment corresponding to different electrical equipment; The command control device is used to generate corresponding control instructions according to the load distribution plan and the current opening and closing parameter information corresponding to the electrical equipment, and send the generated control instructions to the corresponding equipment for one-key sequential control, so as to realize a one-key sequential control method for a distribution network as described in any one of claims 1-3.
Citation Information
Cited By
Dynamic interaction prompt sequence control method for chemical production
CN120276296A
