Electrical automation equipment scheduling method and device, equipment, storage medium and program product
By using prediction models and evolutionary algorithms in the electrical automation equipment scheduling system, the scheduling target data is automatically optimized, and the problems of system complexity and professional dependence are solved, and efficient and intelligent power scheduling is achieved.
Patent Information
- Application Number
- CN202410795833.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-11-29
AI Technical Summary
The existing electrical automation equipment scheduling system is complex, the configuration and debugging are cumbersome, and requires professional operation and maintenance, resulting in inefficiency and safety hazards.
The prediction model and evolutionary algorithm based on historical scheduling data are adopted, and the scheduling target data of electrical automation equipment is automatically optimized through neural networks and fuzzy logic optimization algorithms to achieve intelligent scheduling.
The scheduling target data of electrical automation equipment can be intelligently determined without the intervention of professionals, improve the stability and efficiency of the power scheduling system, and reduce energy consumption and operating costs.
Smart Images

Figure CN119047676A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power equipment dispatching, and in particular to an electric automation equipment dispatching method, device, computer equipment, storage medium and computer program product. Background Art
[0002] Automated dispatching is an important part of modern production. It is operated through information technology and digital platforms, connected to Ethernet, and sets the upper and lower limits of relevant data activities to achieve automated operation and dispatching of various types of electrical automation equipment (among which, various types of electrical automation equipment that can be automatically operated can be called electrical automation equipment). Electrical automation equipment dispatching plays a very important role in modern industrial production. Through automated dispatching, centralized management and control of electrical automation equipment can be achieved, production efficiency can be improved, energy consumption can be reduced, and production safety can be ensured.
[0003] The power dispatching system for dispatching electrical automation equipment involves the integration of multiple subsystems and modules, and the system complexity is high. This may lead to cumbersome configuration and debugging of the power dispatching system, which requires professional personnel to operate and maintain. Summary of the invention
[0004] Based on this, it is necessary to provide an electrical automation equipment scheduling method, device, computer equipment, storage medium and computer program product to address the above technical problems.
[0005] The present application provides an electrical automation equipment scheduling method, the method comprising:
[0006] Obtain actual historical dispatch data for electrical automation equipment;
[0007] Inputting the historical scheduling actual data into a pre-built scheduling prediction model to obtain current scheduling prediction data;
[0008] According to the evolutionary algorithm and the dispatching constraints of the electric power dispatching system, the current dispatching prediction data is optimized to obtain the current dispatching target data.
[0009] In one embodiment, the method further comprises:
[0010] Obtaining a first time period scheduling actual data sample and a second time period scheduling actual data sample; the first time period is earlier than the second time period;
[0011] The scheduling prediction model is obtained by performing model training based on the actual data samples for scheduling in the first time period, the actual data samples for scheduling in the second time period, and the evolutionary algorithm.
[0012] In one embodiment, model training is performed according to the actual data samples for scheduling in the first time period, the actual data samples for scheduling in the second time period, and the evolutionary algorithm to obtain the scheduling prediction model, including:
[0013] Input the actual data samples of the first time period scheduling into the neural network to obtain the second time period scheduling prediction data;
[0014] With the goal of minimizing the difference between the second time period scheduling prediction data and the second time period scheduling actual data samples, the parameters of the neural network are updated according to the evolutionary algorithm to obtain the scheduling prediction model.
[0015] In one embodiment, the loss function for measuring the difference between the second time period scheduling prediction data and the second time period scheduling actual data samples is a mean square error loss function.
[0016] In one embodiment, the scheduling prediction model is a Transformer model.
[0017] In one embodiment, the evolutionary algorithm is an evolutionary fuzzy logic optimization algorithm.
[0018] The present application provides an electrical automation equipment scheduling device, the device comprising:
[0019] A historical data acquisition module is used to obtain actual historical dispatch data for electrical automation equipment;
[0020] A prediction module, used for inputting the historical scheduling actual data into a pre-built scheduling prediction model to obtain current scheduling prediction data;
[0021] The optimization module is used to optimize the current dispatch prediction data according to the evolutionary algorithm and the dispatch constraint conditions of the power dispatch system to obtain the current dispatch target data.
[0022] The present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the above method.
[0023] The present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to execute the above method.
[0024] The present application provides a computer program product, on which a computer program is stored, and the computer program is executed by a processor to perform the above method.
[0025] The above-mentioned electrical automation equipment scheduling method, device, computer equipment, storage medium and computer program product obtain the historical scheduling actual data for the electrical automation equipment; input the historical scheduling actual data into the pre-built scheduling prediction model to obtain the current scheduling prediction data; according to the evolutionary algorithm and the scheduling constraints of the power dispatching system, the current scheduling prediction data is optimized to obtain the current scheduling target data. The present application utilizes the scheduling prediction model and the evolutionary algorithm to more intelligently determine the current scheduling target data of the electrical automation equipment without the intervention of professionals, thereby improving the scheduling stability and efficiency of the power dispatching system. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 An application environment diagram of an electrical automation equipment scheduling method in an embodiment;
[0028] Figure 2 A schematic diagram of a flow chart of an electrical automation equipment scheduling method in one embodiment;
[0029] Figure 3 is a schematic diagram of an electrical integrated energy system in one embodiment;
[0030] Figure 4 A schematic diagram of the structure of a Transformer model in one embodiment;
[0031] Figure 5 is a schematic diagram of an evolutionary fuzzy logic optimization algorithm in one embodiment;
[0032] Figure 6 It is a structural block diagram of an electrical automation equipment scheduling device in one embodiment;
[0033] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0035] The electrical automation equipment scheduling method provided in this application involves a scheduling prediction model and an evolutionary algorithm, such as Figure 1 As shown, the steps of the method can be executed by a computer device, including Figure 2 The steps shown are:
[0036] Step S201, obtaining actual historical scheduling data for electrical automation equipment.
[0037] The start and stop status data of electrical automation equipment in historical periods can be obtained and used as actual historical scheduling data.
[0038] Step S202: inputting historical scheduling actual data into a pre-built scheduling prediction model to obtain current scheduling prediction data.
[0039] The scheduling prediction model learns the correlation between the scheduling data of the historical time window and the scheduling data of the future time window through pre-training. Therefore, after obtaining the actual historical scheduling data, the actual historical scheduling data can be input into the pre-built scheduling prediction model, and the output of the scheduling prediction model can be used as the current scheduling prediction data.
[0040] The scheduling prediction model can be a Transformer model. The Transformer model is a neural network model based on the attention mechanism. In the scheduling optimization of electrical automation equipment, the Transformer can be applied to sequence modeling and prediction tasks.
[0041] The Transformer model consists of an encoder and a decoder. The encoder is responsible for encoding the input sequence, and the decoder is responsible for generating the target sequence based on the encoder's output. The encoder is composed of multiple identical layers stacked together, each of which contains a multi-head self-attention mechanism and a feedforward neural network. The self-attention mechanism can capture the dependencies between different positions in the input sequence, and the feedforward neural network is used to further process the output of the attention mechanism. The decoder is also composed of multiple identical layers stacked together, and each layer contains a multi-head attention mechanism in addition to the self-attention mechanism and the feedforward neural network. The multi-head attention mechanism is used to associate the output of the encoder with the input of the decoder in order to generate the target sequence.
[0042] Step S203, optimizing the current dispatch prediction data according to the evolutionary algorithm and the dispatch constraint conditions of the electric power dispatch system to obtain the current dispatch target data.
[0043] After obtaining the current dispatch prediction data based on the dispatch prediction model, the current dispatch prediction data can be optimized by combining the evolutionary algorithm, the objective function and constraints of the power dispatch system, and the optimization result is used as the current dispatch target data. The current dispatch target data includes the start and stop decision data of the electrical automation equipment.
[0044] The power dispatching system can be used to dispatch the electrical automation equipment in the deterministic electrical integrated energy system. The schematic diagram of the deterministic electrical integrated energy system is as follows: Figure 3 shown.
[0045] When the power dispatching system is used to dispatch the electrical automation equipment in the deterministic electrical integrated energy system, the corresponding goal is to minimize the total operating cost C of the deterministic electrical integrated energy system. The objective function is: In the objective function, the items on the right side of the equal sign are: the power generation cost of coal-fired units, the natural gas purchase cost, the gas tank operation cost, the pumped storage unit operation cost and the wind abandonment penalty cost.
[0046] (1) Power generation cost of coal-fired units
[0047] ,
[0048] In the formula,
[0049] ——The power generation cost of coal-fired units;
[0050] - Dispatch period;
[0051] ——Total scheduling cycle;
[0052] - a collection of coal-fired units;
[0053] - fuel prices for coal-fired units;
[0054] ——No. Generator sets in Active power output during the time period;
[0055] ——No. Consumption coefficient of each generating unit;
[0056] ——No. Units in The operating status of the time period;
[0057] --unit exist Starting fuel consumption during the period;
[0058] --unit exist The shutdown fuel consumption during the period.
[0059] (2) Natural gas purchase cost:
[0060] ,
[0061] In the formula
[0062] - the purchase cost of natural gas;
[0063] ——collection of gas sources;
[0064] - fuel price of gas source;
[0065] ——No. The gas source is Output gas flow rate during a period.
[0066] (3) Gas tank operating costs
[0067] ,
[0068] In the formula
[0069] - operating costs of gas storage tanks;
[0070] - a collection of gas tanks;
[0071] - fuel price of the gas tank;
[0072] ——No. Gas tanks in Output gas flow rate during a period.
[0073] (4) Operation cost of pumped storage unit:
[0074] The operating cost of a pumped storage unit mainly considers the start-up and shutdown costs of the unit.
[0075] ,
[0076] In the formula
[0077] - operating costs of pumped storage units;
[0078] - a collection of pumped storage units;
[0079] ——No. The pumping start-stop cost coefficient of each pumped storage unit;
[0080] ——No. The start-up and shutdown cost coefficient of each pumped storage unit;
[0081] ——Pumped storage power station The pumping state variable of the time period, 1 indicates pumping state, 0 indicates no pumping;
[0082] ——Pumped storage power station The power generation state variable of the time period, 1 indicates power generation, and 0 indicates no power generation.
[0083] (5) Penalty cost for wind power abandonment:
[0084] ,
[0085] In the formula
[0086] ——penalty costs for wind curtailment;
[0087] ——A collection of wind turbines;
[0088] ——penalty cost coefficient for wind curtailment;
[0089] ——Wind turbines in Time period forecast power;
[0090] ——Wind turbines in Internet access power during a period of time.
[0091] When the power dispatching system is used to dispatch electrical automation equipment in a deterministic electrical integrated energy system, the corresponding constraints may include power network constraints, natural gas network constraints and coupling constraints of the two networks.
[0092] (1) Power network constraints include: power balance constraints of deterministic electrical integrated energy systems, spinning reserve constraints, generator output constraints, generator ramp constraints, start-stop cost constraints, start-stop time constraints, branch flow constraints, wind turbine output constraints, and pumped storage power station operation constraints.
[0093] 1) The power balance constraint is:
[0094] ,
[0095] In the formula,
[0096] - a collection of generating units (including coal-fired units and gas-fired units);
[0097] - an assembly of power-to-gas devices;
[0098] ——the power of the power-to-gas device p during time period t;
[0099] ——The power of pumped storage unit j in period t;
[0100] ——The predicted power load of the system in time period t.
[0101] 2) Spinning reserve constraints and output constraints of conventional generator sets:
[0102] ,
[0103] ,
[0104] In the formula,
[0105] , ——Up and down rotation standby of the system during period t;
[0106] , ——Generator The upper and lower limits of active output.
[0107] 3) Climbing constraints of conventional generator sets:
[0108] ,
[0109] In the formula,
[0110] , ——Generator The upper limit of climbing up and down.
[0111] 4) Conventional generator set start-up and shutdown cost constraints and start-up and shutdown time constraints:
[0112] ,
[0113] ,
[0114] ,
[0115] In the formula,
[0116] , ——Generator Start-up and shutdown time.
[0117] 5) Power dispatching system branch flow constraints:
[0118] ,
[0119] In the formula,
[0120] —— Transmission lines The active power transmitted;
[0121] ——Transmission lines The maximum value of active power transmitted;
[0122] , —— Time period node , The voltage phase angle;
[0123] ——Transmission lines , reactance.
[0124] 6) Wind turbine output constraints:
[0125] ,
[0126] 7) Operation constraints of pumped storage power stations
[0127] A pumped storage power station must meet power constraints in both pumping and generating states:
[0128] ,
[0129] ,
[0130] ,
[0131] In the formula,
[0132] ——The crew is Pumping power during the period;
[0133] ——The crew is The power generated during the period;
[0134] ——Lower limit of pumping power of pumped storage units;
[0135] ——The upper limit of pumping power of pumped storage units;
[0136] ——Lower limit of power generation capacity of pumped storage units;
[0137] ——The upper limit of power generation capacity of pumped storage units;
[0138] ——The crew is The pumping state variable of the time period, 1 indicates pumping state, 0 indicates no pumping;
[0139] ——The crew is The power generation state variable of the time period, 1 indicates power generation, and 0 indicates no power generation.
[0140] The pumping power and generating power of the pumped storage unit are mutually constrained:
[0141] ,
[0142] In the formula,
[0143] ——Generation capacity of pumped storage unit;
[0144] ——the pumping power of the pumped storage unit;
[0145] Pumped storage units also need to constrain storage capacity and storage capacity energy balance:
[0146] ,
[0147] ,
[0148] In the formula
[0149] ——Pumped storage power station The amount of energy stored during the period;
[0150] ——The initial value of energy storage of the pumped storage power station;
[0151] - the lower limit of energy storage of pumped storage power stations;
[0152] ——The upper limit of energy storage capacity of pumped-storage power stations.
[0153] (2) Natural gas network constraints mainly include: gas source point constraints, node pressure upper and lower limit constraints, pipeline flow constraints, compressor constraints, gas storage tank constraints and flow balance constraints. The flow balance equation of each node in the natural gas network is obtained from the law of conservation of energy:
[0154] ,
[0155] In the formula,
[0156] ——The set of all nodes associated with node m;
[0157] —— Power-to-gas The converted natural gas flow rate;
[0158] —— Gas Turbine The flow rate of natural gas consumed;
[0159] —— Time period node of natural gas load;
[0160] —— Time period by node Flow to Node of natural gas flow.
[0161] (3) Coupling constraints of the deterministic electrical integrated energy system and the natural gas system:
[0162] The present application relates to two coupling forms: a power-to-gas device and a gas turbine.
[0163] The constraints of the power-to-gas device are: ,
[0164] In the formula
[0165] —— Power-to-gas The converted natural gas flow rate;
[0166] ——Power-to-gas conversion efficiency;
[0167] —— Time-slot power-to-gas device Active power of
[0168] ——Heating value of natural gas.
[0169] The gas turbine constraints are specifically expressed as: .
[0170] In the above-mentioned electrical automation equipment dispatching method, the historical dispatching actual data for the electrical automation equipment is obtained; the historical dispatching actual data is input into the pre-built dispatching prediction model to obtain the current dispatching prediction data; according to the evolutionary algorithm and the dispatching constraints of the power dispatching system, the current dispatching prediction data is optimized to obtain the current dispatching target data. This application utilizes the dispatching prediction model and the evolutionary algorithm to more intelligently determine the current dispatching target data of the electrical automation equipment without the intervention of professionals, thereby improving the dispatching stability and efficiency of the power dispatching system.
[0171] In one embodiment, the method provided by the present application also includes: obtaining actual data samples for scheduling in the first time period and actual data samples for scheduling in the second time period; the first time period is earlier than the second time period; performing model training based on the actual data samples for scheduling in the first time period, the actual data samples for scheduling in the second time period and an evolutionary algorithm to obtain a scheduling prediction model.
[0172] The actual scheduling data in an earlier first time period can be obtained as a sample of the actual scheduling data in the first time period, and the actual scheduling data in a second time period after the first time period can be obtained as a sample of the actual scheduling data in the second time period; model training is performed based on the sample of the actual scheduling data in the first time period, the sample of the actual scheduling data in the second time period and the evolutionary algorithm to obtain a scheduling prediction model.
[0173] In one embodiment, model training is performed based on actual data samples of scheduling in the first time period, actual data samples of scheduling in the second time period, and an evolutionary algorithm to obtain a scheduling prediction model, including: inputting the actual data samples of scheduling in the first time period into a neural network to obtain scheduling prediction data for the second time period; with the goal of minimizing the difference between the scheduling prediction data for the second time period and the actual data samples of scheduling in the second time period, updating the parameters of the neural network according to the evolutionary algorithm to obtain the scheduling prediction model.
[0174] Among the actual data samples of scheduling in the first period and the actual data samples of scheduling in the second period, the actual data samples of scheduling in the first period are input data, the neural network obtains the predicted data of scheduling in the second period based on the actual data samples of scheduling in the first period, the predicted data of scheduling in the second period is compared with the actual data samples of scheduling in the second period, and the evolutionary algorithm updates the parameters of the neural network towards the goal of minimizing the difference between the predicted data of scheduling in the second period and the actual data samples of scheduling in the second period, until a neural network that meets the conditions is obtained, and the neural network that meets the conditions is used as a scheduling prediction model.
[0175] In one embodiment, the loss function for measuring the difference between the second period scheduling prediction data and the second period scheduling actual data samples is a mean square error loss function.
[0176] The scheduling prediction model can be a Transformer model. The structure of the Transformer model is as follows: Figure 4 As shown in the figure, the training process of the Transformer model mainly includes the following aspects:
[0177] (1) The input sequence is encoded by the encoder to obtain the encoder output.
[0178] (2) The decoder generates a prediction sequence based on the encoder output and part of the target sequence.
[0179] (3) Use the loss function to compare the difference between the predicted sequence and the target sequence.
[0180] (4) Update the model parameters according to the gradient of the loss function to reduce the difference between the predicted sequence and the target sequence.
[0181] (5) Repeat the above steps until the model converges or reaches the predetermined number of training rounds.
[0182] Specifically, the training process of the Transformer model includes the following key steps:
[0183] (1) Data preprocessing: Converting historical scheduling data into a format suitable for Transformer model input, usually by converting time series data into sequence data.
[0184] (2) Feature extraction: The Transformer model is used to learn the time series features in the actual data of historical scheduling. The Transformer model automatically captures the key features in the input sequence through the self-attention mechanism and obtains various historical change data such as load demand, equipment status, and energy prices.
[0185] (3) Model training: The Transformer model uses historical scheduling actual data for self-training and optimizes model parameters by minimizing the error between the predicted value and the true value.
[0186] (4) Prediction value generation: Use the trained Transformer model to generate accurate current scheduling prediction data.
[0187] The structure of the Transformer model:
[0188] a. Input layer: The historical scheduling actual data is taken as input, and the historical scheduling actual data can be divided into multiple time steps using the time window method.
[0189] b. Encoder: It consists of multiple Transformer encoder layers, each of which contains a multi-head self-attention mechanism and a feedforward neural network. The self-attention mechanism is used to learn the dependencies between different positions in the sequence, and the feedforward neural network is used to perform nonlinear transformations on the features.
[0190] c. Decoder: It consists of multiple Transformer decoder layers, each of which also contains a multi-head self-attention mechanism, an encoder-decoder attention mechanism, and a feedforward neural network. The encoder-decoder attention mechanism is used to interact the features of the encoder layer with the features of the decoder layer.
[0191] d. Output layer: Map the output of the decoder layer to the space of predicted values through a fully connected layer.
[0192] The core of the Transformer model is the self-attention mechanism, which can capture temporal features by calculating the correlation between different positions in the input sequence. The Transformer model can be expressed as the following mathematical formula:
[0193] (1) Transformer self-attention mechanism:
[0194] Input sequence: ;
[0195] Attention weights: ;
[0196] Query vector: ;
[0197] Key vector: ;
[0198] Value vector: ;
[0199] Output features: ;
[0200] (2) Transformer encoder:
[0201] Input sequence: ;
[0202] Self-attention output: ;
[0203] Feedforward neural network output: ;
[0204] Encoder output: ;
[0205] (3) Transformer decoder:
[0206] Input sequence: ;
[0207] Self-attention output: ;
[0208] Encoder-Decoder Attention Output: ;
[0209] Feedforward neural network output:
[0210] ;
[0211] Decoder output:
[0212]
[0213] (4) Transformer model:
[0214] Encoder input:
[0215] ;
[0216] Decoder input:
[0217] ;
[0218] Encoder output:
[0219] ;
[0220] Decoder output:
[0221]
[0222] The training process of the Transformer model:
[0223] (1) Input data: The historical scheduling actual data is divided into a training set and a validation set. Each sample contains the actual scheduling data of the first period and the corresponding actual scheduling data of the second period. The first period is earlier than the second period.
[0224] (2) Loss function: The mean squared error (MSE) is used as the loss function to measure the difference between the predicted data for the second period and the actual data for the second period.
[0225] (3) Optimization algorithm: Use evolutionary algorithms (such as evolutionary fuzzy logic optimization algorithm) to update model parameters and minimize the loss function.
[0226] In some embodiments, the data input into the Transformer model may also include historical load demand actual data, historical equipment status actual data, and historical energy value actual data of the electrical automation equipment. The corresponding prediction results include load demand prediction data, equipment status prediction data, and energy value prediction data, which are used to assist decision-making, reduce costs, improve efficiency, and carry out maintenance and repairs.
[0227] In one embodiment, the evolutionary algorithm is an evolutionary fuzzy logic optimization algorithm.
[0228] The structure of the evolutionary fuzzy logic optimization algorithm is as follows Figure 5 As shown in the figure, the algorithm is an optimization method based on fuzzy logic and evolutionary algorithm, which can be used to optimize the scheduling problem of automated equipment.
[0229] The parameter settings of the evolutionary fuzzy logic optimization algorithm include the following aspects:
[0230] (1) Initialization of the rule base: According to the characteristics and requirements of the problem, the rule base of the fuzzy logic system is set up, including the definition of fuzzy sets and the setting of fuzzy rules.
[0231] (2) Parameters of the evolutionary algorithm: According to the complexity of the problem and the limitations of computing resources, set the parameters of the evolutionary algorithm, such as population size, crossover and mutation probabilities, etc.
[0232] The mathematical formula of the evolutionary fuzzy logic optimization algorithm is as follows:
[0233] Define the problem:
[0234] Equipment Collection: ,in Indicates Electrical automation equipment.
[0235] Time period collection: ,in Indicates time period.
[0236] Demand forecast value: ,in Indicates the time period Medium Equipment The electrical demand forecast.
[0237] Device state variables: ,in Indicates the time period Medium Equipment status, Indicates the device In time period Start in Indicates the device In time period Stop in the middle.
[0238] Objective function: , which represents minimizing the total electrical demand forecast.
[0239] Constraints: Equipment start and stop constraints: , indicating the device In time period Start and stop status in the equipment; Electrical automation scheduling constraints: determined according to specific circumstances, such as equipment start and stop times limit, equipment start and stop time interval limit, etc.
[0240] Optimize the process:
[0241] Step 1, the problem is defined as finding the real numbers associated with the extreme values of the function Dimensional vector , ;
[0242] Step 2, randomly select an initial population of parent vectors from each possible range, and the distribution of the initial trial has typical consistency;
[0243] Step 3, Parent Vector By adding a Gaussian random variable with zero mean square error and preselecting The standard deviation of ;
[0244] Step 4: By comparing the error Sort to select and decide which vectors to keep. Which ones have the smallest error The vector becomes the new parent of the next generation;
[0245] Step 5, the process of generating new test data and selecting the minimum error vector will continue until a qualified answer is found or all calculations have been completed;
[0246] Step 6: Use the selected new vector to update the distribution parameters.
[0247] Evolutionary strategies do not require coding and operate directly on the solution space, emphasizing the adaptability and diversity of behavior from parents to offspring during the evolution process. From the perspective of search space, the strategy emphasized by evolutionary strategies is to operate directly on the solution space, emphasizing the adaptive adjustment of search direction and step size during the evolution process.
[0248] In one embodiment, when the scheduling prediction model is a Transformer model and the evolutionary algorithm is an evolutionary fuzzy logic optimization algorithm, the following contents can be obtained according to the electrical automation equipment scheduling method provided in this application:
[0249] (1) Scheduling plan for electrical automation equipment: This includes information such as the start time, stop time, and running time of electrical automation equipment. Scheduling plan can help optimize the utilization rate and production efficiency of electrical automation equipment.
[0250] (2) Fault prediction of electrical automation equipment: By using the Transformer model for sequence prediction, the historical equipment status data of electrical automation equipment can be analyzed to predict possible equipment failures. This helps to take maintenance measures in advance and reduce equipment downtime and production losses.
[0251] (3) Energy consumption prediction of electrical automation equipment: Using the Transformer model, the system can predict the energy consumption of equipment. This helps optimize energy use, reduce energy costs, and provide a sustainable production environment.
[0252] (4) Performance optimization of electrical automation equipment: By using evolutionary fuzzy logic for optimization, the system can automatically adjust the parameters and operation strategies of the equipment according to the performance indicators and constraints of the equipment to achieve the best performance and effect.
[0253] (5) Condition monitoring of electrical automation equipment: The condition of the equipment can be monitored in real time, including parameters such as temperature, pressure, and current. This helps to detect abnormal conditions of the equipment in a timely manner and take corresponding measures to ensure the safe and reliable operation of the equipment.
[0254] (6) Data visualization and reporting: Equipment scheduling and performance data can be presented in a visual manner, such as charts, dashboards, etc. In addition, the system can also generate detailed reports to provide analysis and evaluation of equipment scheduling and performance.
[0255] In one embodiment, the evaluation indicators and methods may include the following aspects:
[0256] (1) Scheduling demand forecast accuracy: Indicators such as accuracy, recall, and F1 score can be used to evaluate the accuracy of the forecast model.
[0257] (2) Degree of optimization of scheduling decisions: The effectiveness of the optimization algorithm can be evaluated using indicators such as the efficiency of scheduling decisions, resource utilization, and the degree to which constraints are satisfied.
[0258] (3) Dispatch cost savings: Indicators such as cost savings ratio and equipment utilization rate improvement can be used to evaluate the dispatch cost savings.
[0259] These evaluation indicators and methods can be customized and adjusted according to specific scheduling scenarios and requirements to evaluate the effectiveness of Transformer and evolutionary fuzzy logic optimization algorithms in electrical automation equipment scheduling.
[0260] The method provided by this application has the following technical effects:
[0261] (1) Accuracy of dispatch demand prediction: By using Transformer and evolutionary fuzzy logic optimization algorithm, the dispatch demand of electrical automation equipment can be more accurately predicted, and the failure of electrical automation equipment can be effectively detected and predicted. By using evolutionary fuzzy logic optimization algorithm, fuzzy reasoning and judgment can be performed on the operating status of electrical automation equipment, so as to detect potential fault signs in advance and take corresponding maintenance measures to avoid the impact of equipment failure on the power system. The Transformer model can learn and capture the complex relationships and patterns of equipment dispatch, and the evolutionary fuzzy logic optimization algorithm can perform fuzzy reasoning and optimization on historical data, thereby improving the accuracy of future dispatch demand.
[0262] (2) Optimization of scheduling decisions: Combining Transformer and evolutionary fuzzy logic optimization algorithms can optimize scheduling decisions and maintenance plans for electrical automation equipment. The Transformer model can learn and understand the complex characteristics and constraints of equipment scheduling, and evolutionary fuzzy logic can perform fuzzy reasoning and optimization on scheduling decisions through optimization algorithms, thereby formulating more reasonable and efficient equipment scheduling and maintenance plans and improving equipment reliability and operating efficiency.
[0263] (3) Savings in dispatching costs: By combining Transformer and evolutionary fuzzy logic optimization algorithms, the operating efficiency and energy utilization of electrical automation equipment can be optimized, and the dispatching costs of electrical automation equipment can be saved. By accurately predicting dispatching needs and optimizing dispatching decisions, unnecessary equipment idleness and excessive maintenance can be avoided, and intelligent control and regulation of equipment can be achieved, thereby improving the operating efficiency and energy utilization efficiency of equipment and reducing energy consumption and operating costs.
[0264] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0265] Based on the same inventive concept, the embodiment of the present application also provides an electrical automation equipment scheduling device for implementing the electrical automation equipment scheduling method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more electrical automation equipment scheduling device embodiments provided below can refer to the limitations of the electrical automation equipment scheduling method above, and will not be repeated here.
[0266] In one embodiment, Figure 6 As shown, a scheduling device for electrical automation equipment is provided, comprising:
[0267] The historical data acquisition module 601 is used to acquire the actual historical scheduling data of the electrical automation equipment;
[0268] Prediction module 602, used for inputting the historical scheduling actual data into a pre-built scheduling prediction model to obtain current scheduling prediction data;
[0269] The optimization module 603 is used to optimize the current scheduling prediction data according to the evolutionary algorithm and the scheduling constraints of the power scheduling system to obtain the current scheduling target data.
[0270] In one embodiment, the device also includes a model training module, which is used to: obtain actual data samples for scheduling in the first time period and actual data samples for scheduling in the second time period; the first time period is earlier than the second time period; perform model training based on the actual data samples for scheduling in the first time period, the actual data samples for scheduling in the second time period and the evolutionary algorithm to obtain the scheduling prediction model.
[0271] In one embodiment, the model training module is also used to: input the actual data samples of the first time period scheduling into the neural network to obtain the prediction data of the second time period scheduling; with the goal of minimizing the difference between the prediction data of the second time period scheduling and the actual data samples of the second time period scheduling, update the parameters of the neural network according to the evolutionary algorithm to obtain the scheduling prediction model.
[0272] In one embodiment, the loss function for measuring the difference between the second time period scheduling prediction data and the second time period scheduling actual data samples is a mean square error loss function.
[0273] In one embodiment, the scheduling prediction model is a Transformer model.
[0274] In one embodiment, the evolutionary algorithm is an evolutionary fuzzy logic optimization algorithm.
[0275] Each module in the above-mentioned electrical automation equipment dispatching device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0276] In an exemplary embodiment, a computer device is provided, the internal structure of which can be shown as follows: Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data involved in the above method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for scheduling electrical automation equipment is implemented.
[0277] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0278] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above-mentioned various method embodiments when executing the computer program.
[0279] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0280] In one embodiment, a computer program product is provided, on which a computer program is stored, and the computer program is used by a processor to execute the steps in the above-mentioned various method embodiments.
[0281] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0282] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0283] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0284] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for dispatching electrical automation equipment, characterized in that: The method comprises: Obtain actual historical dispatch data for electrical automation equipment; Inputting the historical scheduling actual data into a pre-built scheduling prediction model to obtain current scheduling prediction data; According to the evolutionary algorithm and the dispatching constraints of the electric power dispatching system, the current dispatching prediction data is optimized to obtain the current dispatching target data.
2. The method according to claim 1, characterized in that The method further comprises: Obtaining a first time period scheduling actual data sample and a second time period scheduling actual data sample; the first time period is earlier than the second time period; The scheduling prediction model is obtained by performing model training based on the actual data samples for scheduling in the first time period, the actual data samples for scheduling in the second time period, and the evolutionary algorithm.
3. The method according to claim 2, characterized in that The scheduling prediction model is obtained by performing model training according to the actual data samples of the first time period scheduling, the actual data samples of the second time period scheduling, and the evolutionary algorithm, including: Input the actual data samples of the first time period scheduling into the neural network to obtain the second time period scheduling prediction data; With the goal of minimizing the difference between the second time period scheduling prediction data and the second time period scheduling actual data samples, the parameters of the neural network are updated according to the evolutionary algorithm to obtain the scheduling prediction model.
4. The method according to claim 3, characterized in that The loss function for measuring the difference between the second time period scheduling prediction data and the second time period scheduling actual data samples is a mean square error loss function.
5. The method according to any one of claims 1 to 4, characterized in that: The scheduling prediction model is a Transformer model.
6. The method according to any one of claims 1 to 4, characterized in that: The evolutionary algorithm is an evolutionary fuzzy logic optimization algorithm.
7. An electrical automation equipment dispatching device, characterized in that: The device comprises: A historical data acquisition module is used to obtain actual historical dispatch data for electrical automation equipment; A prediction module, used for inputting the historical scheduling actual data into a pre-built scheduling prediction model to obtain current scheduling prediction data; The optimization module is used to optimize the current dispatch prediction data according to the evolutionary algorithm and the dispatch constraint conditions of the power dispatch system to obtain the current dispatch target data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Resource detection method and device of power equipment, electronic equipment and medium
CN119760596A
Resource detection method and device of power equipment, electronic equipment and medium
CN119760596B
