Load control method based on model prediction and multi-time scale robustness
By establishing a dynamic system model and load prediction model, combined with LSTM for load prediction and control, the problem of inaccurate load prediction in the existing technology is solved, energy allocation and system stability are optimized, and precise adjustment of loads on multiple time scales is achieved. and energy management.
Patent Information
- Application Number
- CN202411513954.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-10-29
AI Technical Summary
The existing predictive load control methods are difficult to accurately predict loads on multiple time scales of each load device, resulting in unoptimized energy allocation, energy waste and insufficient system stability.
Using a robust load control method based on model prediction and multi-time scale, by establishing a dynamic system model and load prediction model, the minimization cost function is constructed, the load control input is determined, and the system load demand is adjusted. It is preferred to use a long short-term memory network (LSTM) Conduct load prediction and diagnose communication and load control equipment to ensure the normal operation of the equipment.
Multi-time-scale load prediction for each load device is achieved, energy allocation is optimized, energy waste is reduced, energy utilization efficiency and system stability are improved, and energy demand uncertainty and dynamic changes are addressed.
Smart Images

Figure CN119024705A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of load control, and in particular relates to a load control method based on model prediction and multi-time scale robustness. Background Art
[0002] Load control methods play a key role in power system management, especially in improving energy efficiency, optimizing grid operation and achieving demand-side management. They can be roughly divided into direct load control, indirect load control, demand response and predictive load control. Predictive load control uses historical and real-time data to predict power demand, collects and analyzes a large amount of historical and real-time data, including power consumption data, weather conditions, user behavior, etc. Through these data, machine learning and statistical models can be used to accurately predict power demand.
[0003] Existing predictive load control can more accurately predict and manage electricity demand, but it is not convenient to accurately perform multi-time scale load forecasts for each load device to adjust the load demand in the system, thereby optimizing energy distribution and reducing energy waste. Summary of the invention
[0004] In view of the deficiencies of the prior art, the present invention provides a load control method based on model prediction and multi-time scale robustness, which can effectively solve the load fluctuation problem in energy management and improve energy utilization efficiency and system stability.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: The load control method based on model prediction and multi-time scale robustness includes the following steps: Based on the multi-time scale load prediction model stored in the database, load prediction is performed on each load device in the control system to obtain the total load prediction result; Establish the system dynamic model of the control system to be controlled; Based on the system dynamic model and load forecasting results, a minimization cost function is constructed to determine the load control input, which is the load adjustment required for the control system to be controlled.
[0006] Preferably, the expression of the multi-time scale load forecasting model is: ; in, is the load forecast result of the i-th load device at time t, i=1, 2, …, n, n is the number of load devices, is the total load forecast result at time t, is the historical load data of the i-th load device, which is used to capture the time series characteristics of the load. is the environmental condition of the i-th load device, is the market condition of the ith load device, is the error term of the i-th load device, It is the long short-term memory network LSTM; The calculation method of the confidence interval of the load forecast results of each load device is as follows: ; in, is the quantile of the standard normal distribution of the i-th load device corresponding to the selected confidence level, is the standard deviation of the load forecast result of the i-th load device.
[0007] Preferably, the system dynamic model is used to describe the dynamic change relationship between the load and the system state, and the expression is: ; in, , They represent the load states of the control system at time t+1 and time t respectively. ;in, , They represent the load status of the i-th load device at time t+1 and time t respectively; is the load control input at time t+1, ;in, represents the load control input of the i-th load device at time t+1; is the deviation of the control system when it performs load control at time t+1, ;in, It represents the deviation of the load control of the i-th load device at time t+1.
[0008] Preferably, the expression for minimizing the cost function J is: ; Among them, pC and pH are both transit functions, is the total load forecast result at time t+1, is the control cost corresponding to the load control input at time t+1, is the weight factor of the control cost set in the database, is the adjustment smoothness weight factor set in the database, T is the total number of time stages, is the load control input at time t; The constraints are: ; in, is the load control input of the i-th load device at time t, is the minimum allowable load control input of the ith load device at time t, is the maximum allowable load control input of the i-th load device at time t.
[0009] Preferably, the method for obtaining the control cost corresponding to the load control input is as follows: Compare the load control input with each parameter load control input stored in the database, and search the database for the parameter load control input that is closest to the load control input; After determining the closest parameterized load control input, the control cost corresponding to the closest parameterized load control input and stored in the database is obtained.
[0010] Preferably, the closest parameter load control input is determined as follows: Determine the similarity between the load control input and each parameter load control input stored in the database based on the Euclidean distance: ; in, is the similarity between the load control input and the a-th parameter load control input, is the parameterized load control input of the i-th load device in the a-th parameterized load control input; The parameterized load control input corresponding to the smallest similarity is determined as the closest parameterized load control input.
[0011] Preferably, before performing load forecasting on each load device in the control system based on the multi-time scale load forecasting model to obtain a total load forecasting result, the method further includes: Diagnose the communication device to determine whether it is operating normally: If the operation is abnormal, the alarm device will send an abnormal alarm of the communication equipment to the data processing center for manual troubleshooting; If it is operating normally, diagnose the load control device to determine whether it is operating normally: If the operation is abnormal, the alarm device will send an abnormal alarm of the communication equipment to the data processing center for manual troubleshooting; If the operation is normal, load control is performed on each load device in the control system based on the determined load control input.
[0012] Preferably, determining whether the communication device is operating normally comprises the following steps: Acquire the communication operation data of the communication device based on direct connection, the communication operation data includes instruction packet loss rate, synchronization accuracy, CRC error rate and action response time, CRC stands for cyclic redundancy check; Obtaining the communication operation reference data stored in the database, the communication operation definition data includes defining the instruction packet loss rate, defining the synchronization accuracy, defining the CRC error rate and defining the action response time; Acquire communication operation deviation data, the communication operation deviation data includes an allowable deviation value of instruction packet loss rate, an allowable deviation value of synchronization accuracy and an allowable deviation value of CRC error rate; Determine a communication device operation state value based on the communication operation data, the communication operation reference data, and the communication operation deviation data, and compare the communication device operation state value with a communication device operation state threshold stored in a database: If the communication device operation status value is greater than the communication device operation status threshold stored in the database, the communication device is not operating normally; If the communication device operation status value is not greater than the communication device operation status threshold stored in the database, the communication device operates normally.
[0013] Preferably, determining whether the load control device is operating normally comprises the following steps: Obtaining equipment operation data of load control equipment based on direct connection, the equipment operation data including load adjustment execution delay, output power accuracy and equipment startup time; Obtaining equipment operation reference data stored in a database, where the equipment operation definition data includes a reference delay for load adjustment execution, a reference accuracy for output power, and a reference duration for equipment startup; Obtaining equipment operation deviation data, the equipment operation deviation data including load adjustment execution delay allowable deviation value and output power accuracy allowable deviation value; Determine the load control device operation state value based on the device operation data, the device operation reference data and the device operation deviation data, and compare the load control device operation state value with the load control device operation state threshold value stored in the database: If the load control device operation state value is greater than the load control device operation state threshold stored in the database, the load control device is not operating normally; If the load control device operating status value is not greater than the load control device operating status threshold stored in the database, the load control device operates normally.
[0014] Preferably, whether the communication device is operating normally is determined based on the operating status value of the communication device, and whether the load control device is operating normally is determined based on the operating status value of the load control device; When it is determined that the communication device is operating normally and the load control device is operating normally, a comprehensive stability index of the hardware device is determined based on the operation status value of the communication device and the operation status value of the load control device; If the comprehensive stability index of the hardware device is greater than the comprehensive stability threshold of the hardware device stored in the database, a hardware stability early warning prompt will be issued.
[0015] The present invention has the following beneficial effects: The present invention performs multi-time-scale load forecasting on each load device and constructs a minimization cost function in combination with a system dynamic model. It can accurately adjust the load demand in the system, thereby optimizing energy distribution, reducing energy waste, and coping with the uncertainty and dynamic changes in energy demand, ensuring the economy and reliability of system operation, and can effectively solve the problem of load fluctuations in energy management, and improve energy utilization efficiency and system stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of the method of the present invention; Figure 2 A flow chart of the method of the present invention for determining whether a communication device is operating normally; Figure 3 The present invention is a flow chart of the method for determining whether the load control device operates normally. DETAILED DESCRIPTION
[0017] The embodiments of the present invention are further described below in conjunction with the accompanying drawings: like Figure 1 As shown, the load control method based on model prediction and multi-time scale robustness includes the following steps: based on the multi-time scale load prediction model stored in the database, load prediction is performed on each load device in the control system to obtain a total load prediction result.
[0018] The expression of the multi-time scale load forecasting model is: ; in, is the load forecast result of the i-th load device at time t, i=1, 2, …, n, n is the number of load devices, is the total load forecast result at time t, is the historical load data of the i-th load device, which is used to capture the time series characteristics of the load. is the environmental condition of the i-th load device, is the market condition of the ith load device, is the error term of the i-th load device, It is the long short-term memory network LSTM; The calculation method of the confidence interval of the load forecast results of each load device is as follows: ; in, is the quantile of the standard normal distribution of the i-th load device corresponding to the selected confidence level, is the standard deviation of the load forecast result of the i-th load device.
[0019] Combining data from multiple time scales and comprehensively analyzing historical, environmental, and market factors can significantly improve the accuracy of forecasts and reduce bias and errors. Accurate load forecasts enable energy suppliers to better plan and deploy resources. Confidence intervals provide quantification of forecast uncertainty, helping decision makers understand the credibility of forecast results and providing a scientific basis for developing risk management strategies and emergency plans. The model takes into account environmental and market conditions, making load management more flexible and adaptable, and able to cope with rapidly changing market environments.
[0020] The multi-time scale load forecasting model stored in the database is pre-trained. It can use the long short-term memory network (LSTM) to train and forecast multi-time scale load forecasting. The following are the specific logic and steps: Step 1: Data collection and preprocessing: collect relevant historical load data, environmental condition data (such as temperature, humidity, etc.), and market condition data (such as energy prices, demand, etc.), and construct features that help model learning, such as converting timestamps into seasonal, working day / non-working day, hour and other features, and use methods such as MinMaxScaler or StandardScaler to standardize the data to reduce the impact between different dimensions.
[0021] Step 2: Data segmentation: divide the data into training set, validation set, and test set. For example, use 70% of the data as the training set, 15% as the validation set, and the remaining 15% as the test set. Organize the data into a sequence data format, where each sample contains historical data within a certain time window as input and data for a period of time in the future as output (for example, use the data from the past 24 hours to predict the load for the next hour).
[0022] Step 3: Build an LSTM model, define one or more LSTM layers, add fully connected layers as appropriate, the design of the output layer should correspond to the prediction target (for example, predict future load values using a single node with a linear activation function), select an appropriate loss function (such as mean squared error MSE), optimizer (such as Adam), and evaluation metric (such as MAE).
[0023] Step 4: Train the model. Train the model on the training set and use the validation set to monitor overfitting and adjust model parameters. Adjust parameters such as learning rate, batch size, and number of LSTM units to optimize model performance. After training, save the model and parameters so that they can be directly loaded and used later without retraining.
[0024] Step 5: Performance evaluation: Use the test set to evaluate the performance of the model, focusing on the prediction accuracy and generalization ability of the model. Analyze the errors in the model predictions and find possible patterns or systematic deviations to further optimize the model.
[0025] Before performing load forecasting on each load device in the control system based on the multi-time scale load forecasting model and obtaining the total load forecast result, check whether the communication equipment is operating normally to ensure the reliability of data transmission and reception, which is the basis for ensuring correct communication between all system components. If the communication equipment is operating abnormally, an alarm is immediately sent to the data processing center through the alarm device, and manual troubleshooting is performed, which can quickly respond to the fault and reduce system downtime. After the communication equipment is confirmed to be operating normally, further check the status of the load control equipment, which is responsible for implementing load adjustment and control strategies. If the load control equipment is operating normally, the system regulates each load device based on the preset load control input to optimize the energy efficiency and performance of the entire system.
[0026] By ensuring the normal operation of communication and control equipment in advance, the stability and reliability of the entire system can be significantly improved, and incorrect data transmission or incorrect load regulation caused by equipment failure can be prevented. Ensuring the normal operation of control equipment makes load regulation more accurate, which helps to optimize energy use, reduce energy waste, and reduce energy costs.
[0027] like Figure 2 As shown, the communication equipment is diagnosed to determine whether the communication equipment is operating normally (if it is operating normally, the equipment data collected by the data acquisition equipment can be sent normally to the data processing center, and the instructions sent by the data processing center can be received and sent to the load control equipment): Based on the direct connection method, the communication operation data of the communication equipment is obtained, and the communication operation data includes the instruction packet loss rate Db, the synchronization accuracy Tb, the CRC error rate Cb and the action response time XT. The current operation data is directly obtained from the communication equipment, including the instruction packet loss rate, the synchronization accuracy, the CRC error rate and the action response time. The direct connection method can be connected through optical fiber, and does not require WiFi or other wireless communication methods to connect, so as to avoid the inability to transmit data after the wireless device of the communication equipment is damaged; the communication operation reference data stored in the database is obtained, and the communication operation definition data includes the definition of the instruction packet loss rate dDd, the definition of the synchronization accuracy dTd, the definition of the CRC error rate dCd and the definition of the action response time cXT. These data define the baseline conditions for the normal operation of the communication equipment.
[0028] Db measures how many control commands failed to be successfully transmitted during the communication process. A high packet loss rate usually indicates poor network quality or performance problems of the communication equipment, which may cause the control commands to be unable to be accurately executed, affecting the responsiveness and reliability of the system. Tb reflects the accuracy of time synchronization between components in the system. In situations where precise coordination of multiple devices or system operations is required, low synchronization accuracy will cause disordered operations, affecting the efficiency and security of the overall system. Cb is used to detect errors in data during storage or transmission. A high CRC error rate indicates that data is often corrupted during transmission, which may be caused by physical connection problems, electromagnetic interference, or equipment failure. XT measures the time required from the issuance of a control command to the completion of the corresponding action by the communication device. Long response time may cause the system to react slowly, affecting the effect of real-time control and the overall performance of the system.
[0029] Db and Cb can be captured in real time through network monitoring tools and software, Tb can be measured using time synchronization technologies such as NTP (Network Time Protocol) or PTP (Precision Time Protocol), and XT is measured through performance testing software that can simulate the sending and receiving of control instructions and record and analyze response times.
[0030] These parameters work together to evaluate the overall performance and reliability of communication equipment. Db and Cb are directly related to the integrity and accuracy of data transmission, while Tb and XT reflect the processing efficiency and coordination of the system after receiving the data. Generally, any abnormality in these parameters may affect the normal operation of the system, and there are complex dependencies between them. For example, a high packet loss rate may lead to a decrease in synchronization accuracy, and an increase in CRC errors may require more retransmissions, thus affecting the response time.
[0031] The data of the environment in which the communication equipment is located is obtained, and the data of the environment in which the communication equipment is located includes the electromagnetic interference level, the continuous operation time of the communication equipment, the average temperature of the communication equipment and the age of use. Based on the age of use, the annualized defined data matching set of the communication equipment is obtained from the database, and the annualized defined data matching set includes a number of environmental matching data, and the environmental matching data includes the electromagnetic interference level matching value, the continuous operation time matching value of the communication equipment and the average temperature matching value of the communication equipment; based on the Euclidean distance, the similarity between the environmental data in which the communication equipment is located and each environmental matching data is calculated, and the environmental matching data corresponding to the minimum similarity is determined.
[0032] Electromagnetic interference (EMI) can seriously affect the data transmission quality of communication equipment, causing signal distortion, data packet loss and communication errors. Higher interference levels may cause frequent communication failures and errors in the equipment. In environments with high electromagnetic interference, a larger allowable deviation value needs to be set to reflect the actual impact of such environmental conditions on the performance of the equipment. Long-term continuous operation of the equipment may lead to fatigue accumulation, such as physical wear and tear such as overheating, which will reduce the stability and response speed of the equipment. For equipment that runs for a long time, a larger deviation range may need to be considered to accommodate the performance degradation caused by long-term operation. Temperature has a great impact on electronic equipment, especially communication equipment. Too high or too low temperature will affect the efficiency of the circuit, which may cause speed reduction, hardware damage or even failure.
[0033] When the equipment works under different temperature conditions, its stability and performance may vary. The allowable deviation value needs to be adjusted according to the average temperature to ensure the accuracy of the evaluation. Long service life of equipment usually means more wear and aging, which will gradually reduce the performance of the equipment. For equipment with a long service life, a larger allowable deviation may be required to take into account the actual impact of aging on performance. The comprehensive consideration of these factors ensures that the setting of the allowable deviation is both scientific and practical, and can more accurately reflect the performance status of the equipment under specific working conditions. By adjusting the allowable deviation, the maintenance and evaluation of the equipment can be more in line with the actual operating environment and equipment conditions, thereby improving the reliability and efficiency of the entire communication system.
[0034] Obtain the communication operation deviation data stored in the database corresponding to the environment matching data, the communication operation deviation data includes the instruction packet loss rate allowable deviation value , synchronization accuracy allowable deviation value and CRC error rate tolerance ; Determine the communication equipment operation state value Tz based on the communication operation data, the communication operation reference data and the communication operation deviation data, wherein the calculation formula of Tz is: ; In actual applications, communication equipment may be affected by a variety of external factors, such as temperature fluctuations, electromagnetic interference, etc., which may cause the performance of the equipment to temporarily deviate from the ideal state. The tolerance value can provide a buffer for these environmental variables to avoid misjudging the equipment status due to small performance fluctuations. As the equipment is used for a longer time, its performance may gradually decline. Setting the tolerance value can take into account the natural process of equipment aging and prevent old equipment from being frequently marked as abnormal due to failure to meet the initial performance standards. Even in the absence of external interference, the performance of the equipment may vary due to factors such as production differences and maintenance status. The tolerance value defines the normal range of performance fluctuations, helping operators distinguish between normal fluctuations and real equipment problems.
[0035] The formula ensures fairness and consistency in the evaluation by standardizing the deviation of each indicator. This means that different performance indicators can be compared on the same scale, regardless of their original dimensions and magnitudes. By monitoring the changes in the Tz value, possible performance degradation or signs of failure of the equipment can be discovered in time, allowing early intervention and maintenance to avoid greater operational failures and economic losses.
[0036] At the same time, Tz is compared with the communication equipment operation status threshold stored in the database: if Tz is greater than the communication equipment operation status threshold stored in the database, the communication equipment is not operating normally; if Tz is not greater than the communication equipment operation status threshold stored in the database, the communication equipment is operating normally. If it is not operating normally, an abnormal alarm of the communication equipment is sent to the data processing center based on the alarm device for manual troubleshooting; if it is operating normally, the load control equipment is diagnosed to determine whether the load control equipment is operating normally: like Figure 3 As shown, the equipment operation data of the load control device is obtained based on the direct connection method, and the equipment operation data includes the load adjustment execution delay Ty, the output power accuracy Cp and the equipment startup time qT; the equipment operation reference data stored in the database is obtained, and the equipment operation definition data includes the load adjustment execution reference delay dTy, the output power reference accuracy dCp and the equipment startup reference time cqT.
[0037] Ty refers to the time from receiving the load adjustment instruction to actually executing the adjustment. In a dynamically changing system, a long execution delay may result in an inability to respond to load changes in a timely manner, affecting the performance and stability of the entire system. Cp refers to the degree of match between the power output of the device and the instruction or set value. High precision ensures the efficient use of energy and the accuracy of system operation. Lack of precision may lead to energy waste or equipment overload. qT refers to the time required for the device to reach normal operating state from a completely shut down state. A long startup time may affect the system's ability to respond quickly, especially in application scenarios that require frequent starts and stops.
[0038] Ty is measured by testing the actual time it takes for the equipment to adjust from the time it receives the adjustment command to the time it completes the adjustment. This can be achieved through a real-time monitoring system or dedicated test software. Cp is evaluated by comparing the actual power output of the equipment with the preset or expected power. This comparison can be made using a power meter, a calibrated instrument, or a sensor integrated into the equipment. qT can be measured by timing the start-up process of the equipment, from the time the start-up command is issued to the time the equipment reaches normal operating conditions.
[0039] These parameters together determine the responsiveness and operating efficiency of the load control device. The load adjustment execution delay and the device startup time are directly related to the device's reaction speed; while the output power accuracy is related to the accuracy of the operation. They affect each other and work together to evaluate the overall performance of the device.
[0040] Obtain load control equipment impact data, which includes communication equipment instruction packet loss rate, communication equipment synchronization accuracy and load control equipment power supply voltage mean square deviation; obtain a number of load control equipment impact matching data stored in the database, which includes communication equipment instruction packet loss rate matching value, communication equipment synchronization accuracy matching value and load control equipment power supply voltage mean square deviation matching value.
[0041] The practice of using the communication equipment command packet loss rate, communication equipment synchronization accuracy and load control equipment power supply voltage mean square error to determine the deviation is intended to ensure that the operating performance of the load control equipment not only meets the design standards, but also can adapt to the challenges in the real working environment. These three parameters are directly related to the reliability and efficiency of the load control equipment, and thus have a profound impact on the stability and safety of the entire system.
[0042] The packet loss rate of commands is a key indicator for measuring communication quality. In a load control system, if a control command fails to reach the target device due to packet loss, it may cause operation delays, execution errors, or even safety accidents. By monitoring the packet loss rate and adjusting the deviation accordingly, the communication strategy and network configuration can be optimized to reduce command loss, thereby improving the overall responsiveness and reliability of the system. Ensure that each control command can be accurately communicated, thereby reducing operational errors caused by communication problems.
[0043] In load control systems that require multiple devices to work together, the synchronization accuracy of communication equipment determines the coordination of operations. Low synchronization accuracy of communication equipment may cause timing errors in the operation between devices, affecting system efficiency and safety. The stability of the supply voltage directly affects the performance and life of the load control equipment. Large voltage fluctuations may cause unstable operation of the equipment and even damage sensitive electronic components. By monitoring the voltage mean square error and setting a reasonable deviation range, measures can be taken to stabilize the voltage supply and protect the equipment from damage caused by excessive or low voltage. In summary, by finely controlling these key parameters and setting a reasonable deviation range, the reliability, efficiency and safety of the load control system can be significantly improved, while reducing economic losses caused by equipment failure or unstable operation.
[0044] Calculate the similarity between the load control device impact data and each load control device impact matching data based on the Euclidean distance, and determine the load control device impact matching data corresponding to the minimum similarity; obtain the device operation deviation data stored in the database corresponding to the load control device impact matching data, and the device operation deviation data includes the load adjustment execution delay allowable deviation value , Output power accuracy allowable deviation value .
[0045] The load control equipment operation state value Fz is determined based on the equipment operation data, equipment operation reference data and equipment operation deviation data. The calculation formula of Fz is: ; Introducing allowed deviations is crucial in evaluating the performance of load control equipment, because it provides a tolerance range for normal performance fluctuations of the equipment under realistic operating conditions. This method reflects the adaptability of the equipment under different environments and load conditions. By standardizing the deviation of each indicator, it ensures that the evaluation of different equipment or the same equipment under different conditions is comparable. This method makes the evaluation results more fair and helps to accurately identify the actual problems of the equipment. By monitoring the equipment status value in real time and comparing it with the allowed deviation, potential equipment failures can be predicted, and timely maintenance or replacement can be implemented, reducing system downtime and maintenance costs.
[0046] At the same time, Fz is compared with the load control device operating status threshold stored in the database: if Fz is greater than the load control device operating status threshold stored in the database, the load control device is operating abnormally; if Fz is not greater than the load control device operating status threshold stored in the database, the load control device is operating normally.
[0047] If the operation is abnormal, the abnormal alarm of the communication equipment is sent to the data processing center based on the alarm device for manual troubleshooting; if the operation is normal, the load of each load device in the control system is controlled based on the determined load control input.
[0048] When it is determined that the communication equipment and the load control equipment are operating normally, the comprehensive stability index W of the hardware equipment is determined based on Tz and Fz. , where a is the weight factor of Tz stored in the database, and b is the weight factor of Fz stored in the database. If W is greater than the comprehensive stability threshold of the hardware device stored in the database, a hardware stability warning prompt is issued.
[0049] Combine the independent performance scores of the two devices into a comprehensive score. Here a and b are the weight factors of Tz and Fz respectively. These weights are determined by the design or operation requirements of the system and reflect the importance of each performance in the overall equipment stability. Providing a comprehensive indicator W helps operators or maintenance teams quickly understand the overall equipment status and simplifies the complexity of evaluating multiple independent indicators. By integrating the performance indicators of key equipment into a comprehensive score, the operating status of the system can be more comprehensively grasped, especially when these devices are interdependent.
[0050] Establish the system dynamic model of the control system to be controlled.
[0051] The system dynamic model is used to describe the dynamic relationship between load and system state, and the expression is: ; in, , They represent the load states of the control system at time t+1 and time t respectively. ;in, , They represent the load status of the i-th load device at time t+1 and time t respectively; is the load control input at time t+1, ;in, represents the load control input of the i-th load device at time t+1; is the deviation of the control system when it performs load control at time t+1, ;in, It represents the deviation of the load control of the i-th load device at time t+1.
[0052] Based on the system dynamic model and load forecasting results, a minimization cost function J is constructed to determine the load control input, which is the load adjustment required for the control system to be controlled.
[0053] The expression of J is: ; Among them, pC and pH are both transit functions, is the total load forecast result at time t+1, is the control cost corresponding to the load control input at time t+1, is the weight factor of the control cost set in the database, is the adjustment smoothness weight factor set in the database, T is the total number of time stages, is the load control input at time t; The constraints are: ; in, is the load control input of the i-th load device at time t, is the minimum allowable load control input of the ith load device at time t, is the maximum allowable load control input of the i-th load device at time t.
[0054] for The solution can be solved by using quadratic programming (QP), defining J as the objective function of the quadratic programming problem, with the constraints unchanged, and applying mathematical optimization software or tools to find the optimal control input to minimize the objective function while satisfying all given constraints.
[0055] The method for obtaining the control cost corresponding to the load control input is as follows: compare the load control input with each parameter load control input stored in the database, and search the database for the parameter load control input that is closest to the load control input.
[0056] Determine the similarity between the load control input and each parameter load control input stored in the database based on the Euclidean distance: ; in, is the similarity between the load control input and the a-th parameter load control input, is the parameterized load control input of the i-th load device in the a-th parameterized load control input; The parameterized load control input corresponding to the smallest similarity is determined as the closest parameterized load control input.
[0057] After determining the closest parameterized load control input, the control cost corresponding to the closest parameterized load control input and stored in the database is obtained.
[0058] In a specific embodiment, load forecasting is performed based on historical load data, environmental conditions, and market conditions. At time t=5, the current environmental conditions E(5)=[temperature 34 degrees, humidity 46%], the market conditions M(5)=[electricity price 0.54 yuan / kWh, market volatility factor 0.14], and the predicted three load devices ZL(6)=[135, 175, 220]kW. Assuming τ(6) is [2, -1, 3], the current system state x(5)=[130, 170, 215]kW, setting α to 0.1 and γ to 0.05, and solving through DP to obtain u(6)=[5, 5, 6]kW, the system state is updated: x(6)=x(5)+u(6)+τ(6)=[137, 174, 224], which is close to the predicted load ZL(6).
[0059] This embodiment can be implemented based on an electronic device and a computer-readable storage medium. The electronic device includes: a processor and a memory, in which computer program instructions are stored. When the computer program instructions are executed by the processor, the processor executes the load control method based on model prediction and multi-time scale robustness as described above.
[0060] A computer-readable storage medium is used to store a program, and when the program is executed by a processor, the load control method based on model prediction and multi-time scale robustness as described above is implemented.
Claims
1. Model-based prediction and multi-time-scale robust load control methods, It is characterized in that The following steps are involved: Based on the multi-time scale load prediction model stored in the database, load prediction is performed on each load device in the control system to obtain the total load prediction result; Establish the system dynamic model of the control system to be controlled; Based on the system dynamic model and load forecasting results, a minimization cost function is constructed to determine the load control input, which is the load adjustment required for the control system to be controlled.
2. The load control method based on model prediction and multi-time scale robustness according to claim 1, It is characterized in that The expression of the multi-time scale load forecasting model is: ; in, is the load forecast result of the i-th load device at time t, i=1, 2, …, n, n is the number of load devices, is the total load forecast result at time t, is the historical load data of the i-th load device, which is used to capture the time series characteristics of the load. is the environmental condition of the i-th load device, is the market condition of the ith load device, is the error term of the i-th load device, It is the long short-term memory network LSTM; The calculation method of the confidence interval of the load forecast results of each load device is as follows: ; in, is the quantile of the standard normal distribution of the i-th load device corresponding to the selected confidence level, is the standard deviation of the load forecast result of the i-th load device.
3. The load control method based on model prediction and multi-time scale robustness according to claim 2, It is characterized in that The system dynamic model is used to describe the dynamic change relationship between load and system state, and the expression is: ; in, , They represent the load states of the control system at time t+1 and time t respectively. ;in, , They represent the load status of the i-th load device at time t+1 and time t respectively; is the load control input at time t+1, ;in, represents the load control input of the i-th load device at time t+1; is the deviation of the control system when it performs load control at time t+1, ;in, It represents the deviation of the load control of the i-th load device at time t+1.
4. The load control method based on model prediction and multi-time scale robustness according to claim 3, It is characterized in that The expression of the minimization cost function J is: ; Among them, pC and pH are both transit functions, is the total load forecast result at time t+1, is the control cost corresponding to the load control input at time t+1, is the weight factor of the control cost set in the database, is the adjustment smoothness weight factor set in the database, T is the total number of time stages, is the load control input at time t; The constraints are: ; in, is the load control input of the i-th load device at time t, is the minimum allowable load control input of the ith load device at time t, is the maximum allowable load control input of the i-th load device at time t.
5. The load control method based on model prediction and multi-time scale robustness according to claim 4, It is characterized in that The method for obtaining the control cost corresponding to the load control input is as follows: Compare the load control input with each parameter load control input stored in the database, and search the database for the parameter load control input that is closest to the load control input; After determining the closest parameterized load control input, the control cost corresponding to the closest parameterized load control input and stored in the database is obtained.
6. The load control method based on model prediction and multi-time scale robustness according to claim 5, It is characterized in that Determine the closest parameter load control input, the process is as follows: Determine the similarity between the load control input and each parameter load control input stored in the database based on the Euclidean distance: ; in, is the similarity between the load control input and the a-th parameter load control input, is the parameterized load control input of the i-th load device in the a-th parameterized load control input; The parameterized load control input corresponding to the smallest similarity is determined as the closest parameterized load control input.
7. The load control method based on model prediction and multi-time scale robustness according to claim 1, It is characterized in that Before performing load forecasting on each load device in the control system based on the multi-time scale load forecasting model and obtaining the total load forecasting result, the following steps are also included: Diagnose the communication device to determine whether it is operating normally: If the operation is abnormal, the abnormal alarm of the communication equipment will be sent to the data processing center based on the alarm device for manual troubleshooting; If it is operating normally, diagnose the load control device to determine whether it is operating normally: If the operation is abnormal, the abnormal alarm of the communication equipment will be sent to the data processing center based on the alarm device for manual troubleshooting; If the operation is normal, load control is performed on each load device in the control system based on the determined load control input.
8. The load control method based on model prediction and multi-time scale robustness according to claim 7, It is characterized in that Determining whether the communication equipment is operating normally includes the following steps: Acquire the communication operation data of the communication device based on direct connection, the communication operation data includes instruction packet loss rate, synchronization accuracy, CRC error rate and action response time, CRC stands for cyclic redundancy check; Obtaining the communication operation reference data stored in the database, the communication operation definition data includes defining the instruction packet loss rate, defining the synchronization accuracy, defining the CRC error rate and defining the action response time; Acquire communication operation deviation data, the communication operation deviation data includes an allowable deviation value of instruction packet loss rate, an allowable deviation value of synchronization accuracy and an allowable deviation value of CRC error rate; Determine a communication device operation state value based on the communication operation data, the communication operation reference data, and the communication operation deviation data, and compare the communication device operation state value with a communication device operation state threshold stored in a database: If the communication device operation status value is greater than the communication device operation status threshold stored in the database, the communication device is not operating normally; If the communication device operation status value is not greater than the communication device operation status threshold stored in the database, the communication device operates normally.
9. The load control method based on model prediction and multi-time scale robustness according to claim 7, It is characterized in that Determining whether the load control equipment is operating properly includes the following steps: Obtaining equipment operation data of load control equipment based on direct connection, the equipment operation data including load adjustment execution delay, output power accuracy and equipment startup time; Obtaining equipment operation reference data stored in a database, where the equipment operation definition data includes a reference delay for load adjustment execution, a reference accuracy for output power, and a reference duration for equipment startup; Obtaining equipment operation deviation data, the equipment operation deviation data including load adjustment execution delay allowable deviation value and output power accuracy allowable deviation value; Determine the load control device operation state value based on the device operation data, the device operation reference data and the device operation deviation data, and compare the load control device operation state value with the load control device operation state threshold value stored in the database: If the load control device operation state value is greater than the load control device operation state threshold stored in the database, the load control device is not operating normally; If the load control device operating status value is not greater than the load control device operating status threshold stored in the database, the load control device operates normally.
10. The load control method based on model prediction and multi-time scale robustness according to claim 7, It is characterized in that Determine whether the communication device is operating normally based on the operation status value of the communication device, and determine whether the load control device is operating normally based on the operation status value of the load control device; When it is determined that the communication device is operating normally and the load control device is operating normally, a comprehensive stability index of the hardware device is determined based on the operation status value of the communication device and the operation status value of the load control device; If the comprehensive stability index of the hardware device is greater than the comprehensive stability threshold of the hardware device stored in the database, a hardware stability early warning prompt will be issued.
Citation Information
Patent Citations
Model-prediction-control-based optimized dispatching method of integrated energy system of park
CN108932560A
Multi-time scale flexible load rolling scheduling method and system based on model predictive control
CN110137942A
Source network load self-optimization intelligent regulation and control system based on wide-area perception prediction and real-time control optimization technical method
CN114243727A
User side power load data processing method based on improved ARNN
CN116415732A
Multi-time scale optimization method and system for integrated energy system
CN117455076A
Cited By
Multi-time-scale CPU load stability evaluation method for testing field
CN119621518A
Temperature control method, device and equipment for water guide bearing bush of water-turbine generator set and medium
CN119739224A
Pump set electromechanical equipment electrical data acquisition method and system
CN119960359A
Smart power grid multi-time scale resource scheduling optimization method and system
CN119990716A
Intelligent Grid Multi-Time Scale Resource Scheduling Optimization Method and System
CN119990716B
