Method for optimally selecting a unit control strategy based on device response intervals
By constructing the equipment execution response range and the actual response uncertainty set, the control strategy of the generation and storage unit is optimized, which solves the problem of inconsistent execution effect caused by the deviation of the actual response of the equipment and improves the executability and reliability of the control strategy.
Patent Information
- Application Number
- CN202611230972.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-24
AI Technical Summary
The existing control strategy for power generation and storage units fails to fully consider the actual response deviation of the equipment, resulting in a discrepancy between the theoretical effect and the actual execution effect, which may lead to power balance deviation, node voltage exceeding the limit, or frequent repeated adjustments.
By acquiring equipment operating status, historical control commands, and actual response data, the equipment execution response interval is constructed. Combined with the equipment physical response boundary, candidate control strategies are generated and screened. The actual response uncertainty set is constructed using the equipment execution response interval, the achievable control value is calculated, the optimal strategy is selected, and the response interval is updated.
This improves the executability and operational reliability of the control strategy for the power generation and storage unit, avoids selecting strategies with better theoretical effects but insufficient reliability in actual execution, and adapts to changes in equipment operating status and adjustment capabilities.
Smart Images

Figure CN123162944A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent coordinated control technology for power systems and active distribution networks, and in particular to a method for evaluating and optimizing control strategies for multiple types of adjustable equipment in a power generation, storage and utilization unit, especially a method for optimizing control strategies for a power generation, storage and utilization unit based on the equipment's execution response range. Background Technology
[0002] With the large-scale integration of various types of resources such as distributed new energy, energy storage, and flexible loads into the distribution network, the power generation, storage, and consumption unit, composed of power generation, energy storage, and power consumption equipment, is gradually becoming an important operation and control unit for achieving power balance regulation, node voltage support, and local consumption of new energy.
[0003] Control strategies for power generation, storage, and utilization units are typically generated based on renewable energy output, load demand, energy storage state of charge (SBC), and equipment regulation capabilities. These strategies are then evaluated according to the theoretical power balance effect, voltage improvement effect, and regulation cost corresponding to the control commands. However, the actual equipment response is affected by factors such as available output, inverter capacity, SBC, continuous regulation capability, and communication latency, often resulting in discrepancies between the actual response and the control commands.
[0004] Furthermore, the execution deviation is not constant and varies with equipment type, current operating status, and control commands. Evaluating candidate control strategies solely based on theoretical control commands or single predictive responses may lead to discrepancies between the theoretical and actual performance of the strategy, resulting in power balance deviations, node voltage exceeding limits, or frequent repetitive adjustments.
[0005] Therefore, characterizing the possible range of actual device responses under different operating states and control commands, and evaluating the actual control effects that candidate control strategies can achieve based on the response range, has become an important technical problem that needs to be solved in the coordinated control of power generation, storage and utilization units. Summary of the Invention
[0006] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method for optimizing the control strategy of the storage unit based on the device's execution response range. This method addresses the technical problem that existing methods evaluate candidate control strategies according to theoretical control commands without fully considering the actual response deviation of the device, resulting in inconsistencies between the strategy evaluation results and the actual execution effects.
[0007] This invention is achieved through the following technical solution:
[0008] A method for optimizing the control strategy of a power generation and storage unit based on the device's execution response interval includes:
[0009] S1. Obtain the equipment operating status, historical control commands, and corresponding actual response data of distributed new energy equipment, energy storage equipment, and flexible load equipment within the power generation, storage, and utilization unit, and construct a sample set of equipment command execution;
[0010] S2. Divide the device instruction execution sample set into a model training set and an interval calibration set. Use the model training set to train the device actual response prediction model. Input the device response prediction input vector in the interval calibration set into the trained device actual response prediction model to obtain the device response prediction value. Based on the deviation between the device response prediction value and the corresponding device actual response value, and combined with the current physical response boundary of the device, determine the device execution response interval for each response component.
[0011] S3. Generate and screen candidate control strategies based on the current operating status of the power generation, storage and utilization units, power regulation requirements, equipment operating constraints and grid safety operating constraints; S4. Based on the device execution response interval of each response component, construct the actual response uncertainty set of each candidate control strategy;
[0012] S5. Based on the operating cost function of the generation, storage and utilization unit, calculate the most unfavorable operating cost of each candidate control strategy within the uncertainty set of the actual response, and determine the achievable control value of each candidate control strategy based on the baseline operating cost, the most unfavorable operating cost and the additional action cost;
[0013] S6. Select the candidate control strategy that can achieve the greatest control value as the target control strategy, issue control commands to the corresponding devices, and update the device command execution sample set and the device execution response range according to the actual response results of the devices after executing the control commands.
[0014] The equipment operating status includes the equipment electrical operating status, the equipment regulation capability status, and the equipment communication status; the equipment electrical operating status includes at least one of the equipment active power, reactive power, port voltage, and current; the equipment regulation capability status includes at least one of the equipment adjustable active power, adjustable reactive power, power change rate, and remaining regulation capacity; the equipment communication status includes at least one of the equipment online status, communication delay status, data loss status, and command feedback status.
[0015] The step of training the actual response prediction model of the device using the model training set includes:
[0016] With the first Using the current control state and the previous control state of each device, along with the current control command, as inputs, construct a device response prediction input vector:
[0017]
[0018] In the formula, For the first The device in the The device response prediction input vector at each control moment; The time window length for the historical operating status of the equipment, and ; For the first The operating status of each device at the corresponding control time; For the first The device in the The control commands received at each control moment.
[0019] The input components of the device response prediction input vector are standardized to obtain the standardized device response prediction input vector. , of which Each input component is calculated according to the following formula:
[0020]
[0021] In the formula, For device response prediction input vector The One input component; For the standardized first One input component; and The first The training set of the device models The mean and standard deviation of each input component; Input the feature component index.
[0022] The actual response prediction model of the equipment is trained by using a standardized equipment response prediction input vector to minimize the prediction loss between the predicted value and the actual response value of the equipment, thus obtaining the trained actual response prediction model of the equipment.
[0023] Specifically, based on the deviation between the predicted device response value and the corresponding actual device response value, and in conjunction with the current physical response boundary of the device, the device execution response interval for each response component is determined, including:
[0024] The current operating status of the centralized equipment in the interval calibration and the control command to be evaluated are used to form a standardized equipment response prediction input vector, which is then input into the trained equipment actual response prediction model to obtain the equipment response prediction value.
[0025] Calculate the non-consistency score of the target response component based on the actual response value of the target response component and the corresponding predicted device response value from the interval calibration set samples:
[0026] Based on the similarity between the standardized current response prediction input vector of the device and the response prediction input vector of the interval calibration set samples, the state similarity weight of the target interval calibration samples is determined:
[0027] Based on the inconsistency score and state similarity weight, a pre-set confidence level is determined. The weighted quantiles below, For the first The device in the Allowable coverage loss rate at each control moment:
[0028] Based on the predicted actual response value of the device and the weighted quantile, construct the initial execution response interval of the device for the response components:
[0029] The device execution response range of the response component is obtained by intersecting the device's initial execution response range with the device's current physical response boundary.
[0030] The state similarity weight is denoted as :
[0031] ;
[0032] In the formula, For the first The device in the The control time corresponds to the first... The state similarity weights of the calibration samples in each interval; For the first The first device Standardized device response prediction input vector for each interval calibration sample; For the first The device in the Standardized device response prediction input vector for each control moment; For the first The first device Standardized device response prediction input vector for each interval calibration sample; For the first The state similarity bandwidth parameter of each device, and ; For the first Number of interval calibration samples for each device; Calibrate the sample number for the target interval; Summation index for interval calibration samples; Let L be the L2 norm of the vector;
[0033] The weighted quantile is denoted as :
[0034] ;
[0035] In the formula, For the first The device in the The first control moment The weighted quantiles corresponding to each response component; Candidate thresholds used to determine weighted quantiles; This is an infimum operation; For the first The state similarity weights of the calibration samples in each interval; For the first The first interval calibration sample The non-consistency score of each response component; This is an indicator function; it takes the value 1 if the condition inside the parentheses is true, and 0 otherwise. For the first The device in the Allowable coverage loss rate at each control moment; This refers to the sequence number of the device response component;
[0036] The device initial execution response interval of the response component is denoted as... :
[0037] ;
[0038] in, Indicates the first The device in the The predicted actual response of the device at each control moment.
[0039] The step of generating and screening candidate control strategies based on the current operating status of the power generation, storage and utilization units, power regulation requirements, equipment operating constraints, and grid safety operating constraints includes:
[0040] Based on the current power balance deviation, node voltage deviation, branch current carrying status, and remaining regulation capacity of the power generation, storage, and utilization units, different combinations of regulation resource priorities and target weights are set; candidate initial control strategies for the equipment are generated based on the different combinations of regulation resource priorities and target weights.
[0041] Based on the constraints of available active power and inverter capacity of distributed new energy equipment, charging and discharging power and state of charge of energy storage equipment, and adjustable power, allowable adjustment period, continuous adjustment time and cumulative adjustment amount of flexible load equipment, the candidate initial control strategies are screened for equipment operation constraints.
[0042] The node voltage and branch current after the control strategy is applied after the equipment operation constraints are screened are calculated. Control strategies that do not meet the node voltage constraints and branch current constraints are eliminated to obtain candidate control strategies.
[0043] The process of constructing the actual response uncertainty set for each candidate control strategy based on the device execution response interval of each response component includes:
[0044] The control commands of each device in the candidate control strategy are input into the actual response prediction model of the device. Based on the device execution response interval of the response component, the device execution response interval of each device executing the control command is obtained.
[0045] The Cartesian product of the device's execution response intervals to control commands is used as the actual response uncertainty set for candidate control strategies.
[0046] Based on the operating cost function of the storage and utilization unit, calculate the most unfavorable operating cost of the candidate control strategy within the uncertainty set of the actual response:
[0047] Based on the baseline operating cost, the worst-case operating cost, and the additional action costs of the candidate control strategy, calculate the realizable control value of the candidate control strategy:
[0048] The operating cost function of the power generation and storage unit is composed of power balance cost, node voltage cost, branch current carrying cost, and equipment adjustment cost summed with different weights.
[0049] Power balancing costs ;
[0050] In the formula, For the actual active power output of distributed renewable energy, For the actual active response of energy storage, For load power, The target exchange power between the power generation, storage and utilization unit and the upper-level power grid.
[0051] Node voltage cost ;
[0052] In the formula, For the first The node voltage cost at each control moment; The number of nodes in the distribution network connected to the power generation, storage, and utilization unit; The node number; For the first The node at the th Voltage amplitude at each control moment; and The first The upper and lower voltage limits allowed for each node; It is a function for maximizing the value;
[0053] Branch current carrying cost ;
[0054] In the formula, For the first The cost of equipment adjustment at each control moment; The number of devices involved in the control; For equipment serial number; For the first Unit adjustment cost coefficient for each piece of equipment; For the first The device in the The actual response at each control moment; This is for absolute value operations;
[0055] Equipment adjustment costs , For the first Unit adjustment cost coefficient for each piece of equipment;
[0056] The computational model for realizing control value includes:
[0057] ;
[0058] In the formula, This indicates that control value can be realized. This represents the baseline operating cost without implementing a control strategy. This represents the most unfavorable operating cost. Additional operational costs incurred for equipment start-up, shutdown, and control mode switching. This is an additional cost factor for the action.
[0059] The target control strategy satisfies the node voltage safety constraint and branch current carrying safety constraint within the actual response uncertainty set, and its control value is not lower than the preset control value threshold.
[0060] The control command includes device identifier, control quantity type, active power setpoint, reactive power setpoint, command effective time, command duration, command priority, and command failure condition.
[0061] The actual response result after the device executes the control command includes the actual active power response, the actual reactive power response, and the command execution time.
[0062] The updated device instruction execution sample set and device execution response interval include:
[0063] The coverage loss indication is determined based on whether the actual response of the target device at the current control moment is within the corresponding device's execution response range: 0 if the actual response is within the device's execution response range, and 1 otherwise.
[0064] Update the allowable coverage rate of the target device at the next control moment based on the coverage loss indication;
[0065] The current equipment operating status, the current control command, and the corresponding actual response quantity are combined to form a new equipment command execution sample, which is then added to the equipment command execution sample set.
[0066] Based on the updated device instruction execution sample set, allowable coverage loss rate, and state similarity weight, the weighted quantile is recalculated to obtain the device execution response interval for the next control moment.
[0067] The calculation of the allowable coverage loss rate at the next control moment includes:
[0068] ;
[0069] In the formula, This indicates the allowable coverage loss rate at the next control time step. This indicates the allowable loss of coverage at the current control moment. Indicates the amount of coverage loss. To allow for coverage update step size, To achieve the target coverage rate, and These are the lower limit and upper limit of the allowable coverage loss rate, respectively. This is the amplitude limiting function.
[0070] This invention constructs a device execution response range based on device operating status, historical control commands, and actual response data. It can characterize the possible range of control command execution results for different types of devices under different operating states. Furthermore, by combining the device execution response range with the current physical response boundary of the device, the resulting response range conforms to the actual adjustment capability of the device and avoids the response range from exceeding the device's executable boundary.
[0071] This invention constructs an uncertain set of actual responses for candidate control strategies based on the device's execution response interval, and evaluates the candidate control strategies by assessing their realizable control value. This avoids selecting control strategies with superior theoretical performance but insufficient reliability in actual execution. By using actual response data after the execution of control commands to continuously update the device's execution response interval, it can adapt to changes in the device's operating status, adjustment capabilities, and communication status, thereby improving the executability and operational reliability of the control strategy for the power generation, storage, and utilization unit. Attached Figure Description
[0072] Figure 1 This is a flowchart of the overall process for the preferred control strategy of the energy storage unit provided by the present invention.
[0073] Figure 2 This is a tracking effect diagram of the control commands and execution response intervals of the energy storage device in this invention.
[0074] Figure 3 This is a tracking effect diagram of the reactive power control command and execution response interval of the photovoltaic inverter in this invention.
[0075] Figure 4 This is a tracking effect diagram of the flexible load adjustment command and execution response interval in this invention.
[0076] Figure 5 This is a comparative chart of the comprehensive performance of different control strategy evaluation methods in this invention.
[0077] Figure 6 This is a three-dimensional distribution diagram of the response range of the energy storage device in this invention as a function of control commands and state of charge. Detailed Implementation
[0078] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0079] In an exemplary embodiment of this application, the preferred method for the control strategy of the storage unit based on the device execution response interval is as follows: Figure 1 As shown, it includes:
[0080] S1. Obtain the equipment operating status, historical control commands, and corresponding actual response data of distributed new energy equipment, energy storage equipment, and flexible load equipment within the power generation, storage, and utilization unit, and construct a sample set of equipment command execution;
[0081] S2. Divide the device instruction execution sample set into a model training set and an interval calibration set. Use the model training set to train the device actual response prediction model. Input the device response prediction input vector in the interval calibration set into the trained device actual response prediction model to obtain the device response prediction value. Based on the deviation between the device response prediction value and the corresponding device actual response value, and combined with the current physical response boundary of the device, determine the device execution response interval for each response component.
[0082] S3. Generate and screen candidate control strategies based on the current operating status of the power generation, storage and utilization units, power regulation requirements, equipment operating constraints and grid safety operating constraints; S4. Based on the device execution response interval of each response component, construct the actual response uncertainty set of each candidate control strategy;
[0083] S5. Based on the operating cost function of the generation, storage and utilization unit, calculate the most unfavorable operating cost of each candidate control strategy within the uncertainty set of the actual response, and determine the achievable control value of each candidate control strategy based on the baseline operating cost, the most unfavorable operating cost and the additional action cost;
[0084] S6. Select the candidate control strategy that can achieve the greatest control value as the target control strategy, issue control commands to the corresponding devices, and update the device command execution sample set and the device execution response range according to the actual response results of the devices after executing the control commands.
[0085] In this application, step S1 includes the following specific steps:
[0086] S101. At each control moment, collect the electrical operating status, regulation capacity status, and communication status of each device within the power generation, storage, and utilization unit, and construct a device operating status vector. (See section...) The device in the The device operating state vector at each control moment is represented as follows: In the formula, The electrical operating status of the equipment. The status of equipment adjustment capacity. This indicates the device's communication status.
[0087] For distributed renewable energy equipment, the electrical operating status includes at least the current active power, current reactive power, port voltage, and inverter current; the regulation capability status includes at least the available active power, inverter rated capacity, and remaining reactive power regulation capability; and the communication status includes at least the equipment online status, communication delay status, data loss status, and command feedback status.
[0088] For energy storage devices, the electrical operating status includes at least the current charging / discharging power, current reactive power, and port voltage; the regulation capability status includes at least the state of charge, maximum charging power, maximum discharging power, power change rate, and remaining adjustable capacity; and the communication status includes at least the communication delay status, data loss status, and command confirmation status.
[0089] For flexible load equipment, the electrical operating status includes at least the current power consumption and port voltage; the regulation capability status includes at least the maximum adjustable power, the allowed adjustment period, the continuous adjustment time, the cumulative adjustment power, and the remaining regulation capability; and the communication status includes at least the user terminal online status, the communication delay status, and the command response confirmation status.
[0090] S102. Obtain the... The device in the Historical control commands received at each control moment And the actual response amount of the device after executing the historical control command. .
[0091] The historical control commands include at least one of the following: active power setpoint, reactive power setpoint, flexible load adjustment, command effective time, and command duration; the actual response quantity includes at least one of the following: actual active power response quantity, actual reactive power response quantity, and actual command execution time.
[0092] In this embodiment, the energy storage device is given a positive value when it releases active power to the generation, storage and utilization unit, and a negative value when it absorbs active power; the distributed new energy device is given a positive value when it injects reactive power into the system, and a negative value when it absorbs reactive power; the flexible load is given a positive value when it reduces its power consumption, and a negative value when it increases its power consumption.
[0093] S103. Combine the equipment operating state vector, historical control commands, and actual response quantities to form an equipment command execution sample. ;
[0094] S104. Collect multiple device instruction execution samples according to the control time, and form the first... Device instruction execution sample set , For the first Number of valid instruction execution samples per device.
[0095] Furthermore, when constructing the device instruction execution sample set, duplicate data, missing data, and abnormal data are preprocessed. For example, for short-term data loss caused by communication interruption, the interpolation results of the previous valid time point or adjacent valid time point data are used to supplement it. For data that exceeds the physical response boundary of the device or has obvious measurement errors, it is marked as an abnormal sample and is not used for training the actual response prediction model of the device.
[0096] Since the actual response of the equipment is not only related to the control commands received by the equipment, but also affected by the current electrical state of the equipment, the remaining regulation capacity, the recent operation process and the communication status, this application links the equipment operating status, control commands and actual response to form a sample basis that can better reflect the true command execution characteristics of the equipment.
[0097] In this application, the specific steps for establishing the actual response prediction model of the equipment in step S2 include:
[0098] S201. Divide the device instruction execution sample set into a model training set and an interval calibration set; the model training set is used to train the device actual response prediction model, and the interval calibration set is used to calculate the device actual response prediction deviation and construct the device execution response interval of the response components.
[0099] S202. With the first Using the current control state and the previous control state of each device, along with the current control command, as inputs, construct a device response prediction input vector:
[0100]
[0101] In the formula, For the first The device in the The device response prediction input vector at each control moment; The time window length for the historical operating status of the equipment, and ; For the first The operating status of each device at the corresponding control time; For the first The device in the The control commands received at each control moment.
[0102] The input components of the device response prediction input vector are standardized to obtain the standardized device response prediction input vector. , of which Each input component is calculated according to the following formula:
[0103]
[0104] In the formula, For device response prediction input vector The One input component; For the standardized first One input component; and The first The training set of the device models The mean and standard deviation of each input component; Input the feature component index.
[0105] S203. Based on the standard components, construct an extended feature matrix including control commands, current equipment operating status, actual response at the previous control moment, changes in control commands, and interaction terms between operating status and control commands. If a ridge regression model is used to establish a prediction model for the actual equipment response, the model parameters are expressed as follows:
[0106] ;
[0107] In the formula, For the first Extended input feature matrix of each device The output vector is composed of the actual response of the device. The regularization coefficient is . It is an identity matrix.
[0108] S204. Input the current operating status of the equipment and the control command to be evaluated into the trained equipment actual response prediction model to obtain the predicted value of the equipment actual response:
[0109] In the formula, For the first The actual response prediction model for each device This is the predicted value of the actual response of the equipment.
[0110] For energy storage devices, the input features of the actual response prediction model should include at least the charge / discharge control command, state of charge, actual power at the previous control moment, communication status, and control command change. For photovoltaic inverters, the input features of the actual response prediction model should include at least the reactive power control command, current active power output, remaining reactive power regulation capacity, actual reactive power response at the previous control moment, and communication status. For flexible load devices, the input features of the actual response prediction model should include at least the load regulation command, continuous regulation time, cumulative regulated power, actual response at the previous control moment, and user response status.
[0111] Using the ridge regression model is only a preferred implementation method. Support vector regression model, decision tree model, ensemble learning model, neural network model, or other predictive models that can establish a mapping relationship between equipment operating status, control commands and actual responses can also be used.
[0112] By incorporating information on the current operating status of the equipment, historical responses, and changes in control commands, the deviation caused by directly treating control commands as the actual response of the equipment is corrected, providing a center for the equipment's response range that changes with the operating status.
[0113] In this application, the device execution response interval construction step in step S2 includes:
[0114] S211. Input the samples from the interval calibration set into the actual response prediction model of the device, for the first... Each response component is used to calculate the non-consistency score between the actual and predicted response values of the device. :
[0115] ;
[0116] In the formula, For the first The first device In the calibration samples of the interval, the first The actual response value of each response component This corresponds to the predicted value of the actual response.
[0117] S212. Calculate the state similarity weights based on the distance between the standardized current device response prediction input vector and the response prediction input vectors of the calibration set samples in each interval. :
[0118] ;
[0119] In the formula, For the first The device in the The control time corresponds to the first... The state similarity weights of the calibration samples in each interval; For the first The first device Standardized device response prediction input vector for each interval calibration sample; For the first The device in the Standardized device response prediction input vector for each control moment; For the first The first device Standardized device response prediction input vector for each interval calibration sample; For the first The state similarity bandwidth parameter of each device, and ; For the first Number of interval calibration samples for each device; Calibrate the sample number for the target interval; Summation index for interval calibration samples; Let be the 2-norm of the vector.
[0120] S213. Determine the confidence level based on the inconsistency score and state similarity weight. Weighted quantiles :
[0121] ;
[0122] In the formula, For the first The device in the The first control moment The weighted quantiles corresponding to each response component; Candidate thresholds used to determine weighted quantiles; This is an infimum operation; For the first The state similarity weights of the calibration samples in each interval; For the first The first interval calibration sample The non-consistency score of each response component; This is an indicator function; it takes the value 1 if the condition inside the parentheses is true, and 0 otherwise. For the first The device in the Allowable coverage loss rate at each control moment; This is the sequence number of the device response component.
[0123] S214. Construct the initial execution response interval of the device based on the actual predicted response value of the device and the weighted quantiles. :
[0124] ;
[0125] S215. Intersect the device's initial execution response range of the response component with the device's current physical response boundary to obtain the device's execution response range of the response component. :
[0126] ;
[0127] In the formula, and These are the device's current operating state, number of... The lower limit and upper limit of the physical response of each response component.
[0128] For photovoltaic inverters, their reactive power The physical response boundary is determined based on the inverter's rated capacity and current active power output: ;
[0129] In the formula, The rated capacity of the photovoltaic inverter. This represents the current active power output.
[0130] For energy storage devices, the physical response boundary of their active power is jointly determined by the maximum charging power, maximum discharging power, power change rate, and state of charge. The state of charge of the energy storage device is updated according to the following formula:
[0131] ;
[0132] In the formula, For the rated capacity of energy storage, and These are charging efficiency and discharging efficiency, respectively. and These are the energy storage charging power and the discharging power, respectively.
[0133] For flexible load equipment, its physical response boundary is determined by the maximum adjustable power, the allowable adjustment period, the continuous adjustment time, and the cumulative adjusted power. When the continuous adjustment time or the cumulative adjusted power reaches the preset upper limit, the subsequent adjustable power of the flexible load is limited.
[0134] Unlike methods that use a fixed-width response interval, this invention weights the predicted residuals based on the similarity between the current device operating state and historical calibration samples, enabling the device execution response interval to change with the device operating state and control commands. At the same time, by finding the intersection with the device's physical response boundary, it avoids the device execution response interval from exceeding the device's current actual executable range.
[0135] In this application, step S3 specifically includes the following steps:
[0136] S301. Based on the current power balance deviation, node voltage deviation, branch current carrying status, and remaining regulation capacity of each device in the power generation, storage, and utilization unit, determine the required active power regulation and reactive power regulation.
[0137] S302. Set different combinations of adjustment resource priorities and target weights to generate multiple candidate control strategies. This forms a set of candidate control strategies. :
[0138] ;
[0139] Among them, the The candidate control strategies are represented as follows:
[0140] ;
[0141] In the formula, These are control commands for distributed new energy equipment. These are control commands for energy storage devices. For flexible load equipment control commands. This represents the number of candidate control strategies.
[0142] For example, the candidate control strategies may include: candidate control strategy C1 is a distributed renewable energy reactive power regulation priority strategy; candidate control strategy C2 is an energy storage active power regulation priority strategy; candidate control strategy C3 is a flexible load regulation priority strategy; candidate control strategy C4 is a distributed renewable energy and energy storage joint regulation strategy; candidate control strategy C5 is an energy storage and flexible load joint regulation strategy; and candidate control strategy C6 is a distributed renewable energy, energy storage and flexible load joint regulation strategy.
[0143] S303. Perform equipment operation constraint checks on candidate control strategies. Among them, distributed new energy equipment meets the constraints of available active power and inverter capacity; energy storage equipment meets the constraints of charging and discharging power, state of charge and power change rate; flexible load equipment meets the constraints of maximum adjustable power, allowable adjustment period, continuous adjustment time and cumulative adjustment amount.
[0144] S304. Calculate the node voltage and branch current after each candidate control strategy is applied, and eliminate candidate control strategies that do not meet the upper and lower limits of node voltage or the upper limit of branch current.
[0145] By constructing candidate control strategies with different equipment combinations, resource regulation priorities, and equipment regulation costs, optional schemes are provided for subsequent evaluation of control strategies based on the actual execution capabilities of the equipment. Through screening based on equipment operation constraints and power grid safety operation constraints, obviously unexecutable candidate control strategies are avoided from entering the subsequent evaluation process.
[0146] In this embodiment of the application, step S4 specifically includes the following steps:
[0147] S401. The first The control commands corresponding to each device in the candidate control strategies are input into the actual response prediction model of the device. Based on the device execution response interval of the response components, the execution of the first device is obtained. The control command corresponding to each candidate control strategy corresponds to the device execution response interval. ;
[0148] S402. The Cartesian product of the response intervals of each device involved in the control is taken as the first... The actual response uncertainty set of a candidate control strategy :
[0149] ;
[0150] In the formula, For the first The device performs the first The device execution response interval for each candidate control strategy. The number of devices involved in the control.
[0151] S403. Establish the operating cost function for the generation and storage unit:
[0152] ;
[0153] In the formula, For the cost of power balance, For the cost of node voltage, For the cost of branch line current carrying, Cost of equipment adjustment ~ These are the corresponding weighting coefficients.
[0154] The power balance cost is expressed as: ;
[0155] In the formula, For the actual active power output of distributed renewable energy, For the actual active response of energy storage, For load power, The target exchange power between the power generation, storage and utilization unit and the upper-level power grid.
[0156] Node voltage cost ;
[0157] In the formula, For the first The node voltage cost at each control moment; The number of nodes in the distribution network connected to the power generation, storage, and utilization unit; The node number; For the first The node at the th Voltage amplitude at each control moment; and For the first The upper and lower voltage limits allowed for each node; It is a function for maximizing the value.
[0158] Branch current carrying cost ;
[0159] In the formula, For the first The cost of equipment adjustment at each control moment; The number of devices involved in the control; For equipment serial number; For the first Unit adjustment cost coefficient for each piece of equipment; For the first The device in the The actual response at each control moment; This is for absolute value operations.
[0160] Equipment adjustment costs , For the first The unit adjustment cost coefficient for each piece of equipment.
[0161] S404. In the The actual response of each candidate control strategy The worst-case operating cost of computation within an uncertain set : ;
[0162] When the number of devices involved in control is small, the worst operating cost is calculated by enumerating the boundary combinations of the device execution response intervals; when the number of devices involved in control is large, the worst operating cost is calculated by robust optimization solution, boundary scene sampling, or interval internal scene sampling.
[0163] S405. Baseline operating costs when no control strategy is implemented. The most unfavorable operating cost And the additional action cost of the candidate control policy, calculate the first Realizable control value of each candidate control strategy :
[0164] ;
[0165] In the formula, Additional operational costs incurred for equipment start-up, shutdown, and control mode switching. This is an additional cost factor for the action.
[0166] Since the theoretical control effect only reflects the degree of improvement in the operating state when the equipment fully executes the control command, this invention evaluates the candidate control strategy based on the most unfavorable operating result within the equipment's execution response interval, thereby characterizing the degree of improvement in the operating state that the candidate control strategy can guarantee when there are deviations in the actual execution of the equipment.
[0167] In this application, the target control strategy in step S5 is determined according to the following formula:
[0168] ;
[0169] When the If the achievable control value of a candidate control strategy is not lower than a preset control value threshold, and the candidate control strategy satisfies the node voltage safety constraint and the branch current carrying safety constraint within the actual response uncertainty set, then it is determined as the target control strategy.
[0170] In some embodiments, when no candidate control strategy meets the above conditions, the current control state is maintained or a preset safety control strategy is executed. The preset safety control strategy includes at least one of limiting the active power output of distributed renewable energy sources, adjusting the charging and discharging power of energy storage to a safe range, and withdrawing from partial flexible load regulation.
[0171] In this application, the control command for converting the target control strategy into a control command that the device can recognize includes a device identifier, control quantity type, active power setpoint, reactive power setpoint, command effective time, command duration, command priority, and command failure condition.
[0172] In this application, control commands are issued to the corresponding equipment, and the actual active power response, actual reactive power response, and actual command execution time are obtained after the equipment executes the control commands.
[0173] In the embodiments of this application, after issuing control commands to the corresponding devices, the following is further performed:
[0174] According to the The device in the Actual response at each control moment Is it within the corresponding device's execution response range? Within, determine the amount of coverage loss indication. :
[0175] ;
[0176] Update the following formula: Permissible coverage loss rate for the next control moment of each device :
[0177] ;
[0178] In the formula, To allow for coverage update step size, To achieve the target coverage rate, and These are the lower limit and upper limit of the allowable coverage loss rate, respectively. This is the amplitude limiting function.
[0179] When the actual response of the device falls outside the device's response execution range. The allowable loss of coverage decreases, allowing a higher residual quantile to be used in the next control moment, and the device's execution response range is expanded accordingly; when the actual response of the device is continuously within the device's execution response range, the allowable loss of coverage increases slowly, allowing the device's execution response range to be appropriately tightened.
[0180] The current device operating status, control commands, and actual response quantities are combined to form a new device command execution sample, which is then added to the device command execution sample set. When the number of samples in the device command execution sample set exceeds the preset scrolling window length, the device command execution sample with the earliest time is deleted.
[0181] The device execution response interval is recalculated based on the updated device instruction execution sample set, allowable coverage loss rate, and state similarity weight. This interval is then used for evaluating candidate control strategies at the next control moment, thus forming a closed-loop control process of "device instruction execution sample construction - device execution response interval determination - candidate control strategy evaluation - control instruction issuance - actual response feedback - device execution response interval update".
[0182] The invention will be further illustrated below with specific examples:
[0183] A simulation system for a power generation, storage, and utilization unit was established, incorporating distributed photovoltaic (PV) systems, energy storage, and flexible loads. The simulation cycle was 24 hours, with a control time interval of 15 minutes, comprising a total of 96 control periods.
[0184] A sample set of equipment command execution is constructed using historical operating data, where model training data, interval calibration data, and test data are independent of each other. Actual response prediction models and equipment execution response intervals are established for energy storage devices, photovoltaic inverters, and flexible load devices, respectively. The simulation process includes operating scenarios such as high output of distributed photovoltaic power, local photovoltaic output fluctuations, increased evening peak load, energy storage state of charge approaching its boundary, decreased continuous adjustment capability of flexible loads, and local communication delays.
[0185] like Figure 2 As shown, during normal operation of the energy storage device, the actual response can track the control commands well; when the energy storage state of charge approaches the operating boundary, the actual charging and discharging capacity is limited, and the deviation between the control commands and the actual response increases; during communication delay periods, the actual response lags behind the control commands. The constructed device execution response range can be adjusted according to changes in the energy storage state of charge and communication status, and covers most of the actual response of the energy storage device.
[0186] Figure 2 The magnified area in the diagram is used to illustrate the response changes when the energy storage's state of charge approaches its boundary. During this period, control commands still require the energy storage device to continue discharging, but the actual response is limited by the remaining available power and the power boundary, causing the constructed device execution response range to shift and expand accordingly.
[0187] like Figure 3 As shown, when the photovoltaic active power output is high, the residual reactive power regulation capability is reduced due to the constraint of the rated capacity of the photovoltaic inverter, making it impossible for the actual reactive power response to fully meet the reactive power control command; during periods of communication anomalies, the actual reactive power response deviates further. The constructed equipment execution response range can reflect the impact of the current photovoltaic active power output and communication status on the execution result of the reactive power control command.
[0188] Figure 3 The magnified area in the image is used to illustrate the period when the photovoltaic inverter's reactive power regulation capacity is limited. During this period, discrepancies arise between control commands, predicted responses, and actual responses, and the equipment's response range changes as the remaining reactive power regulation capacity decreases.
[0189] like Figure 4 As shown, after the flexible load continuously participates in power regulation, its remaining adjustable capacity gradually decreases, and the deviation between the actual response and the regulation command increases. During the user response decay stage, the actual response of the flexible load further decreases, and the equipment execution response range is adjusted with the continuous regulation time and the cumulative regulation power.
[0190] Figure 4The magnified area in the image is used to demonstrate the response decay process after continuous adjustment of the flexible load, showing that the same control command corresponds to different actual response results under different continuous adjustment times and cumulative adjustment amounts.
[0191] In the embodiment, the average absolute errors of the actual response predictions for energy storage devices, photovoltaic inverters, and flexible load devices are 5.727 kW, 1.814 kvar, and 1.312 kW, respectively. These are all less than the average absolute error when the device control commands are directly used as the actual response prediction values. This indicates that the actual response prediction model can effectively describe the impact of the device operating status on the execution results of the control commands.
[0192] To verify the effectiveness of the method of this invention in the selection of control strategies, four strategy evaluation methods were set up. Method M1 is the theoretical command evaluation method, which assumes that the actual response of the equipment is equal to the equipment control command; Method M2 is the fixed reduction coefficient evaluation method, which reduces the equipment control command according to a preset fixed ratio; Method M3 is the point prediction evaluation method, which evaluates the candidate control strategy according to the point prediction results output by the actual response prediction model of the equipment; Method M4 is the equipment execution response interval evaluation method of this invention, which calculates the most unfavorable operating cost and achievable control value of the candidate control strategy within the uncertainty set of the actual response constituted by the equipment execution response interval. Figure 5 As shown, different strategy evaluation methods are compared from five aspects: power balance, voltage safety, command completion rate, operating cost, and strategy switching stability. To facilitate the display of evaluation indicators with different dimensions in the same figure, each original indicator is converted into a relative score where a larger score indicates better performance.
[0193] Simulation results show that the normalized root mean square power imbalance of the method described in this invention is 0.431, the voltage over-limit rate is 0.0329, and the actual control command completion rate is 0.939. Compared with theoretical command evaluation methods, fixed reduction coefficient evaluation methods, and point prediction evaluation methods, this invention can select a control strategy with higher execution reliability even when there are deviations in the actual response of the equipment.
[0194] like Figure 6 As shown, the actual response of an energy storage device is determined by both the control command and the state of charge (SBC). When the SBC is in the intermediate region, the actual response of the device is closer to the control command, and the execution response range is relatively concentrated. When the SBC is close to the upper or lower boundary, the energy storage charging or discharging capacity is limited, the point prediction response surface shifts, and the width and boundary shape of the device's execution response range change accordingly.
[0195] Figure 6Furthermore, it is shown that the device execution response range constructed by the present invention is not a fixed width range set around the control command, but a state-related response range that dynamically changes with the device operating state, the size of the control command, and the physical response boundary.
[0196] As can be seen from the above results, the present invention utilizes the equipment operating status, historical control commands and actual response data to construct the equipment execution response interval, and calculates the achievable control value of candidate control strategies based on the equipment execution response interval. This can reduce the inconsistency between the theoretical control effect of candidate control strategies and the actual execution effect of the equipment, and improve the executability and operational reliability of the control strategy of the power generation and storage unit.
[0197] Those skilled in the art will understand that the embodiments of the present invention can be implemented by software, hardware, or a combination of software and hardware. A computer program implementing the above methods can be stored in a computer-readable storage medium and executed by a processor to achieve device instruction execution sample construction, device execution response interval determination, candidate control strategy evaluation, target control strategy selection, and rolling update of the device execution response interval.
[0198] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. It will be apparent to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention.
[0199] Therefore, the embodiments should be regarded as exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of the equivalents of the claims be included within the invention.
[0200] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A method for optimizing the control strategy of a data storage unit based on the device's execution response interval, characterized in that, include: S1. Obtain the equipment operating status, historical control commands, and corresponding actual response data of distributed new energy equipment, energy storage equipment, and flexible load equipment within the power generation, storage, and utilization unit, and construct a sample set of equipment command execution; S2. Divide the device instruction execution sample set into a model training set and an interval calibration set. Use the model training set to train the device actual response prediction model. Input the device response prediction input vector in the interval calibration set into the trained device actual response prediction model to obtain the device response prediction value. Based on the deviation between the device response prediction value and the corresponding device actual response value, and combined with the current physical response boundary of the device, determine the device execution response interval for each response component. S3. Generate and screen candidate control strategies based on the current operating status of the power generation, storage and utilization units, power regulation requirements, equipment operating constraints and grid safety operating constraints; S4. Based on the device execution response interval of each response component, construct the actual response uncertainty set of each candidate control strategy; S5. Based on the operating cost function of the generation, storage and utilization unit, calculate the most unfavorable operating cost of each candidate control strategy within the uncertainty set of the actual response, and determine the achievable control value of each candidate control strategy based on the baseline operating cost, the most unfavorable operating cost and the additional action cost; S6. Select the candidate control strategy that can achieve the greatest control value as the target control strategy, issue control commands to the corresponding devices, and update the device command execution sample set and the device execution response range according to the actual response results of the devices after executing the control commands.
2. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The equipment operating status includes the equipment electrical operating status, the equipment regulation capability status, and the equipment communication status; the equipment electrical operating status includes at least one of the equipment active power, reactive power, port voltage, and current; the equipment regulation capability status includes at least one of the equipment adjustable active power, adjustable reactive power, power change rate, and remaining regulation capacity; the equipment communication status includes at least one of the equipment online status, communication delay status, data loss status, and command feedback status.
3. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The process of training the device's actual response prediction model using the model training set includes: With the first Using the current control state and the previous control state of each device, along with the current control command, as inputs, construct a device response prediction input vector: ; In the formula, For the first The device in the The device response prediction input vector at each control moment; The time window length for the historical operating status of the equipment, and ; For the first The operating status of each device at the corresponding control time; For the first The device in the The control commands received at each control moment. The input components of the device response prediction input vector are standardized to obtain the standardized device response prediction input vector. , of which Each input component is calculated according to the following formula: ; In the formula, For device response prediction input vector The One input component; For the standardized first One input component; and The first The training set of the device models The mean and standard deviation of each input component; Input the feature component index. The actual response prediction model of the equipment is trained by using a standardized equipment response prediction input vector to minimize the prediction loss between the predicted value and the actual response value of the equipment, thus obtaining the trained actual response prediction model of the equipment.
4. The preferred method for the control strategy of the energy storage unit according to claim 3, characterized in that, The step of determining the device execution response interval for each response component based on the deviation between the predicted device response value and the corresponding actual device response value, combined with the current physical response boundary of the device, includes: The current operating status of the centralized equipment in the interval calibration and the control command to be evaluated are used to form a standardized equipment response prediction input vector, which is then input into the trained equipment actual response prediction model to obtain the equipment response prediction value. Calculate the non-consistency score of the target response component based on the actual response value of the target response component and the corresponding predicted device response value from the interval calibration set samples: Based on the similarity between the standardized current response prediction input vector of the device and the response prediction input vector of the interval calibration set samples, the state similarity weight of the target interval calibration samples is determined: Based on the inconsistency score and state similarity weight, a pre-set confidence level is determined. The weighted quantiles below, For the first The device in the Allowable coverage loss rate at each control moment; Based on the predicted actual response value of the device and the weighted quantile, construct the initial execution response interval of the device for the response components: The device execution response range of the response component is obtained by intersecting the device's initial execution response range with the device's current physical response boundary. The state similarity weight is denoted as : ; In the formula, For the first The device in the The control time corresponds to the first... The state similarity weights of the calibration samples in each interval; For the first The first device Standardized device response prediction input vector for each interval calibration sample; For the first The device in the Standardized device response prediction input vector for each control moment; For the first The first device Standardized device response prediction input vector for each interval calibration sample; For the first The state similarity bandwidth parameter of each device, and ; For the first Number of interval calibration samples for each device; Calibrate the sample number for the target interval; Summation index for interval calibration samples; Let L be the L2 norm of the vector; The weighted quantile is denoted as : ; In the formula, For the first The device in the The first control moment The weighted quantiles corresponding to each response component; Candidate thresholds used to determine weighted quantiles; This is an infimum operation; For the first The state similarity weights of the calibration samples in each interval; For the first The first interval calibration sample The non-consistency score of each response component; This is an indicator function; it takes the value 1 if the condition inside the parentheses is true, and 0 otherwise. For the first The device in the Allowable coverage loss rate at each control moment; This refers to the sequence number of the device response component; The device's initial execution response interval for the response component is denoted as... : ; in, Indicates the first The device in the The predicted actual response of the device at each control moment.
5. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The process of generating and screening candidate control strategies based on the current operating status of the power generation, storage, and utilization units, power regulation requirements, equipment operating constraints, and grid safety operating constraints includes: Based on the current power balance deviation, node voltage deviation, branch current carrying status, and remaining regulation capacity of the power generation, storage, and utilization units, different combinations of regulation resource priorities and target weights are set; candidate initial control strategies for the equipment are generated based on the different combinations of regulation resource priorities and target weights. Based on the constraints of available active power and inverter capacity of distributed new energy equipment, charging and discharging power and state of charge of energy storage equipment, and adjustable power, allowable adjustment period, continuous adjustment time and cumulative adjustment amount of flexible load equipment, the candidate initial control strategies are screened for equipment operation constraints. The node voltage and branch current after the control strategy is applied after the equipment operation constraints are screened are calculated. Control strategies that do not meet the node voltage constraints and branch current constraints are eliminated to obtain candidate control strategies.
6. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The device executes response intervals based on each response component, constructing the actual response uncertainty set for each candidate control strategy, including: The control commands of each device in the candidate control strategy are input into the actual response prediction model of the device. Based on the device execution response interval of the response component, the device execution response interval of each device executing the control command is obtained. The Cartesian product of the device's execution response intervals to control commands is used as the actual response uncertainty set for candidate control strategies. Based on the operating cost function of the generation and storage unit, calculate the most unfavorable operating cost of the candidate control strategy within the uncertainty set of the actual response: Based on the baseline operating cost, the worst-case operating cost, and the additional action costs of the candidate control strategy, calculate the realizable control value of the candidate control strategy: The operating cost function of the power generation and storage unit is composed of power balance cost, node voltage cost, branch current carrying cost, and equipment adjustment cost summed with different weights. Power balancing costs ; In the formula, For the actual active power output of distributed renewable energy, For the actual active response of energy storage, For load power, The target exchange power between the power generation, storage and utilization unit and the upper-level power grid. Node voltage cost ; In the formula, For the first The node voltage cost at each control moment; The number of nodes in the distribution network connected to the power generation, storage, and utilization unit; The node number; For the first The node at the th Voltage amplitude at each control moment; and For the first The upper and lower voltage limits allowed for each node; It is a function for maximizing the value; Branch current carrying cost ; In the formula, For the first The cost of equipment adjustment at each control moment; The number of devices involved in the control; For equipment serial number; For the first Unit adjustment cost coefficient for each piece of equipment; For the first The device in the The actual response at each control moment; This is for absolute value operations; Equipment adjustment costs , For the first Unit adjustment cost coefficient for each piece of equipment; The computational model for realizing control value includes: ; In the formula, This indicates that control value can be realized. This represents the baseline operating cost without implementing a control strategy. This represents the most unfavorable operating cost. Additional operational costs incurred for equipment start-up, shutdown, and control mode switching. This is an additional cost factor for the action.
7. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The target control strategy satisfies the node voltage safety constraint and branch current carrying safety constraint within the actual response uncertainty set, and its control value is not lower than the preset control value threshold.
8. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The control command includes device identifier, control quantity type, active power setpoint, reactive power setpoint, command effective time, command duration, command priority, and command failure condition.
9. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The actual response result after the device executes the control command includes the actual active power response, the actual reactive power response, and the command execution time.
10. The preferred method for the control strategy of the energy storage unit according to claim 1, characterized in that, The updated device instruction execution sample set and device execution response interval include: The coverage loss indication is determined based on whether the actual response of the target device at the current control moment is within the corresponding device's execution response range: 0 if the actual response is within the device's execution response range, and 1 otherwise. Update the allowable coverage rate of the target device at the next control moment based on the coverage loss indication; The current equipment operating status, the current control command, and the corresponding actual response quantity are combined to form a new equipment command execution sample, which is then added to the equipment command execution sample set. Based on the updated device instruction execution sample set, allowable coverage loss rate, and state similarity weight, the weighted quantile is recalculated to obtain the device execution response interval for the next control moment. The calculation of the allowable coverage loss rate at the next control moment includes: ; In the formula, This indicates the allowable coverage loss rate at the next control time step. This indicates the allowable loss of coverage at the current control moment. Indicates the amount of coverage loss. To allow for coverage update step size, To achieve the target coverage rate, and These are the lower limit and upper limit of the allowable coverage loss rate, respectively. This is the amplitude limiting function.
