Wind farm grid-connected control method based on neural network multi-source power prediction

CN123163086APending Publication Date: 2026-11-24INNER MONGOLIA NORTH LONGYUAN WIND POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611670769.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

During periods of continuous power rationing orders, the measured output of wind turbines is limited for an extended period and cannot be directly used as an observation of the available power under the current wind conditions. This results in inaccurate adjustment of energy storage compensation, causing prediction and control deviations.

Method used

By using a multi-source power prediction method based on neural networks, combined with meteorological data and unit operation data, the target units to be released from dispatch restrictions are determined. The release trajectory of the restricted power generation and the reverse compensation trajectory of energy storage are solved together. The prediction is updated using measured power output, and the energy storage compensation is corrected to ensure that the control process meets the operating constraints.

Benefits of technology

It effectively corrected the problem of insufficient available power data during periods of power curtailment, reduced control deviations, and improved the accuracy and stability of wind farm grid connection control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163086A_ABST
    Figure CN123163086A_ABST
Patent Text Reader

Abstract

This invention relates to the field of power system grid-connected operation and power coordination control technology, and discloses a wind farm grid-connected control method based on multi-source power prediction using neural networks. Meteorological data and unit operation data are input into the neural network. The target unit is determined based on the differences in the feasibility of energy storage compensation directions or constraints corresponding to predictions from different sources. Under the constraints of the grid connection plan and energy storage operation boundaries, the rationing release trajectory of the target unit and the reverse compensation trajectory of energy storage are jointly solved and executed. Energy storage compensation is corrected based on the power deviation at the grid connection point. After the target unit exits the rationing and its speed recovers, the effective measured output is used as a sample of available power to update the neural network. Power commands for the unit and energy storage are rolled out based on the updated predictions. This invention obtains non-rationing observations through wind and energy storage coordination, supplements available power correction data during periods of continuous rationing, reduces power allocation deviations caused by prediction errors, and maintains grid connection plan tracking within operational constraints.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system grid-connected operation and power coordination control technology, and discloses a wind farm grid-connected control method based on neural network multi-source power prediction. Background Technology

[0002] After a wind farm is connected to the grid, the output at the grid connection point needs to be adjusted according to the active power plan issued by the dispatch center. Wind farms equipped with battery energy storage typically incorporate both the output of the wind turbines and the charging and discharging power of the energy storage into the station control, utilizing the energy storage to absorb surplus wind power or compensate for output gaps. The control system receives the wind power prediction sequence, collects the actual output of the turbines and the state of charge of the energy storage, and calculates future charging and discharging demands based on the grid power balance relationship and the energy storage state evolution relationship. During the rolling optimization process, the plan tracking deviation and the energy storage operating status are incorporated into the solution, and constraints on charging and discharging power, energy storage energy, and power change are set to obtain the turbine and energy storage control sequence. After the controller executes the instructions for the current period, it recalculates subsequent actions based on the latest measurements, continuously correcting the deviation between the prediction and the actual operation.

[0003] Wind power forecasting can utilize neural networks to process weather forecasts, on-site wind measurements, and turbine operation data. By learning the correlation between meteorological conditions and turbine output, it generates power forecasts for future periods. For turbines subject to power rationing, actual output is constrained by power commands, and the forecasting system needs to distinguish between available power and actual delivered power. Existing implementations use unrestricted operating data to train available power forecasting models, or filter out records affected by power rationing based on operating status, before sending the forecast results to the wind-storage controller. The controller calculates energy storage compensation based on the difference between the forecasted output and the grid connection plan, and updates and adjusts commands as measurements are measured. In implementations where the forecast results are used as independent input, model correction mainly relies on naturally generated operating data, while energy storage performs charging and discharging according to plan deviations. New training samples typically come from changes in the normal operating status of the turbines.

[0004] When wind farms continuously implement power curtailment orders, the measured power output of the turbines is subject to long-term restrictions and cannot be directly used as the observed value of available power under the current wind conditions. Screening out curtailment records can avoid directly using the restricted output as a training target, but it also reduces the sample available for correction and prediction under current operating conditions. Relying solely on existing samples and meteorological input may still fail to promptly distinguish between actual wind energy changes and output changes caused by curtailment. Energy storage can compensate for grid connection deviations based on prediction results, changing the net output at the grid connection point, but it cannot obtain the available power of turbines blocked by curtailment. When prediction deviations persist due to a lack of corresponding observations, it may lead to discrepancies between the determined charging / discharging direction or adjustable capability and the actual situation. Therefore, it is necessary to address the problem of insufficient available power correction data during periods of continuous curtailment, while obtaining non-curtailment observations is constrained by the requirement of continuous execution of the grid connection plan. Summary of the Invention

[0005] The purpose of this invention is to provide a wind farm grid-connected control method based on neural network multi-source power prediction, which can effectively solve the problems in the background art mentioned above.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0007] A wind farm grid-connected control method based on neural network multi-source power prediction includes: inputting meteorological data and unit operation data into a neural network to obtain available power predictions from different sources; and determining the target unit to be released from dispatch restrictions based on the differences in the energy storage compensation direction or constraint feasibility corresponding to the available power predictions.

[0008] Under the constraints of grid connection plan and energy storage operation boundary, the limited power release trajectory and energy storage reverse compensation trajectory of the target unit are jointly solved, the trajectory that satisfies the unit operation constraints is executed, and the energy storage compensation is corrected according to the power deviation at the grid connection point.

[0009] After the target unit exits the power restriction and the speed recovery ends, the effective measured output is used as a sample of available power to update the neural network. The updated prediction is then used to calculate and issue power commands for the unit and energy storage.

[0010] Preferably, the available power predictions from different sources are substituted into the power balance calculation using the same grid connection plan and initial energy storage state to obtain the corresponding charging and discharging requirements and constraint feasibility determination.

[0011] For forecast periods where the compensation direction is opposite or the feasibility judgment is inconsistent, the output sequence of the restricted units in the forecasts from different sources is replaced one by one, the charging and discharging demand and the constraint feasibility judgment are recalculated, and the restricted units whose judgment changes after replacement are included in the target unit candidate set.

[0012] Preferably, units with equipment protection limited-fire instructions are excluded from the target unit candidate set, and candidate control sequences including limited-fire release, non-limited-fire observation, and limited-fire recovery are established for the remaining units;

[0013] The candidate control sequences are combined with available power predictions from different sources to recursively deduce the corresponding energy storage state and calculate the charge and discharge power.

[0014] Candidate control sequences that satisfy the energy storage operation boundary and can complete the limited power generation recovery are determined as the limited power generation release trajectory, and paired to generate the energy storage reverse compensation trajectory.

[0015] Preferably, based on the operating mode and speed recovery status returned by the target unit, the record under maximum power point tracking mode after the speed recovery is completed is extracted from the non-limited power generation observation phase;

[0016] The available power sample is constructed by correlating the records with meteorological data from the same period.

[0017] For the records during the limited power release or limited power recovery period, the pairing relationship between the corresponding power command and the measured output is retained, and the records are excluded from the available power samples.

[0018] Preferably, the neural network includes an available power prediction branch and an execution response branch distinguished by data source, wherein the execution response branch receives the available power prediction and the unit power command, and outputs the deliverable power;

[0019] During training, the available power prediction branch is corrected using available power samples, the execution response branch is corrected using power commands and measured output from the limited firing records, and the training error corresponding to the limited firing records is blocked from propagating to the available power prediction branch.

[0020] The outputs of each corrected available power prediction branch are used to determine the charging and discharging demand and constraint feasibility.

[0021] Preferably, with power supply to the grid as the positive power direction, the total output when executing the candidate control sequence and maintaining the original limited power supply command are predicted respectively, and the negative of the net output increment after line loss correction is determined as the energy storage compensation increment.

[0022] The energy storage compensation increment is superimposed to maintain the original energy storage power trajectory when the limited command is issued, and the energy storage energy is recursively calculated according to the charging and discharging direction using the corresponding efficiency.

[0023] The superimposed power trajectory and energy trajectory are used together for constraint checks of all combinations.

[0024] Preferably, the available power sample is bound to the operating status and power command of the upstream unit in the same period, and the upstream unit is determined by the wind direction;

[0025] Update the target unit forecast according to the binding conditions, and exclude the total field available power monitoring value formed by summing the measured values ​​of units under different binding conditions.

[0026] Preferably, with power delivery to the grid connection point as the positive power direction, during the non-limited power generation observation phase after the power command switching of each unit is completed, the measured power at the grid connection point is subtracted from the measured power on the AC side of the energy storage, and the line loss within the same electrical boundary is added to reconstruct the actual output of the wind farm.

[0027] For units with stable power generation restrictions, the smaller value between the power command and the predicted available power is taken; for units without power generation restrictions, the predicted available power is taken. The values ​​are combined to form the predicted output for the entire field. The wind-side prediction residual is obtained by subtracting the actual output from the predicted output.

[0028] The energy storage execution residual is determined by the difference between the measured energy storage power and the commanded energy storage power. The energy storage compensation is corrected by using the energy storage execution residual. The wind-side prediction residual and the available power sample are used together for neural network update, and the energy storage execution residual is excluded from the error term of the neural network update.

[0029] Preferably, the energy storage power trajectory is decomposed into the baseline power when the original limited power issuance command is maintained and the energy storage compensation increment. Before each power command of the unit is issued, the upper and lower limits of the current achievable power range of energy storage are respectively subtracted from the baseline power to obtain the reverse compensation achievable range.

[0030] The net power output increment corresponding to the candidate control sequence is limited to the reverse mapping range of the reverse compensation reachable interval;

[0031] If the current increment does not meet the limit, select a release command that meets the limit or enter the limited power recovery phase, and exclude records that have not completed non-limited power observation from the available power sample.

[0032] Preferably, the available power samples obtained from the same limited release and recovery process are grouped into an event sample group, and the update data and verification data are divided according to the event sample group. The candidate neural network is trained using the update data, and the neural network before the update is retained.

[0033] Two neural networks are used to reconstruct the full-field predicted output of the verification event, and the grid-connected power is reconstructed by combining the same measured energy storage power and line loss.

[0034] The sum of the absolute errors of the available power of the target unit and the sum of the absolute errors of the power reconstruction at the grid connection point are calculated separately. The neural network is replaced only when the sum of the absolute errors of the available power of the target unit and the sum of the absolute errors of the power reconstruction at the grid connection point are not greater than the two errors before the update. Otherwise, the neural network before the update is retained and rolling control is performed.

[0035] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0036] 1. By comparing the feasibility of energy storage compensation directions and constraints predicted from different sources, the observation targets can be limited to restricted units that would alter wind and energy storage control decisions. Joint calculations are performed for power rationing release and reverse energy storage compensation, and the post-release observation and recovery process is incorporated into operational boundary checks, ensuring that there are corresponding energy storage compensation arrangements when units increase output. During execution, compensation is further corrected based on grid connection point deviations, maintaining planned tracking while meeting operational constraints. The measured output obtained after a unit exits power rationing and completes speed recovery can serve as the basis for correcting available power under current operating conditions, supplementing the monitoring data missing during periods of continuous power rationing. The correction results are re-integrated into unit and energy storage power allocation, reducing control deviations caused by confusion between restricted output and available power, forming a closed loop where observations are obtained from control actions, and subsequent control decisions are corrected based on these observations.

[0037] 2. By limiting the training error of the power rationing records to the execution response branch and binding non-rationing samples with the status and power commands of upstream units during the same period, it is possible to distinguish between the output changes caused by the power rationing command and the changes in available power under the corresponding operating conditions. Reconstructing the actual output of the wind farm using measured power from energy storage, and then processing the wind-side prediction residual and energy storage execution residual separately, avoids directly attributing grid connection deviations caused by energy storage not acting according to commands to wind power prediction errors. During updates, training and validation data are divided according to the power rationing release event to avoid related records of the same event being scattered into the two types of data; candidate models only replace the original model when the prediction error of the target unit and the grid connection point reconstruction error do not increase, and updates that do not meet the validation conditions retain the original prediction. The above processing ensures that the data used for model correction corresponds to the actual execution state and restricts model updates that do not conform to the event validation results from entering rolling control. Attached Figure Description

[0038] Figure 1 This is a flowchart of the wind-storage collaborative observation and predictive control process of the present invention;

[0039] Figure 2 This is a diagram showing the available energy storage capacity under the two-source prediction method of the present invention.

[0040] Figure 3 This is a diagram showing the incremental relationship between limited release and reverse compensation of energy storage in this invention.

[0041] Figure 4 This is a power residual decomposition diagram of the qualified observation records of the present invention. Detailed Implementation

[0042] Please refer to Figure 1In one embodiment, a wind farm grid-connected control method based on neural network multi-source power prediction is provided, comprising: inputting meteorological data and unit operation data into a neural network to obtain available power predictions from different sources; determining the target unit to be released from dispatch restrictions based on the differences in the energy storage compensation direction or constraint feasibility corresponding to the available power predictions; under the grid connection plan and energy storage operation boundary constraints, jointly solving the release trajectory of the restricted power generation of the target unit and the reverse compensation trajectory of energy storage, executing the trajectory that satisfies the unit operation constraints, and correcting the energy storage compensation according to the power deviation at the grid connection point; after the target unit exits the restricted power generation and ends the speed recovery, updating the neural network with the effective measured output as an available power sample, and using the updated prediction to calculate and issue unit and energy storage power commands.

[0043] In this embodiment, the wind turbine is connected to the power collection point of the station through the on-site collection line, and the energy storage system is connected to the station's electrical system through the existing bidirectional converter equipment. The station controller receives the grid connection plan issued by the power grid and sends active power instructions to the unit controller and the energy storage controller. The grid connection plan represents the active power time sequence that the grid connection point should execute. Available power represents the continuous active power that the unit can deliver after the dispatch limit is lifted under given incoming flow conditions and other unit control states. The short-term additional power formed by the release of temporary kinetic energy by the rotor is not considered as continuous active power. The adjustable range corresponding to the unit being subject to equipment protection restrictions is determined by the local controller. The station controller does not lift the equipment protection restrictions through observation operations.

[0044] Specifically, the station controller obtains the unit's operating mode, actual active power, and current power command through the existing monitoring and communication link, and acquires local control information that can determine the speed recovery status. The energy storage side provides the actual AC power, current energy storage capacity, and allowable charge and discharge boundaries. The boundaries are directly adopted from the allowable values ​​given by the energy storage management system based on the current operating status, without rewriting the equipment's rated capacity or protection configuration during the observation process. Grid connection point measurements and station aggregated measurements are used to calculate plan deviations and verify power flow. The control program establishes corresponding execution records for each change in dispatch command, unit power release limitation, and energy storage compensation, and saves the command issuance time and the equipment confirmation execution time separately.

[0045] Meteorological data includes weather forecasts with release time and forecast validity period, as well as actual wind condition records generated by the on-site wind measurement module. Unit operation data includes the unit's measured output and corresponding operating status. When organizing the neural network input, the forecast validity period is mapped to the control time slice, and the on-site measurements are mapped to the historical time slice according to the actual sampling time. The same input record only uses data that has been obtained before the prediction initiation time. For records that arrive later than the prediction initiation time, their true arrival time is retained, and they are not backfilled as inputs that were already available at that time, so that the information conditions during offline training correspond to the information conditions that can be obtained during on-site operation.

[0046] During data preprocessing, measurements explicitly marked as invalid by the equipment are stored separately from normal measurements. For missing measurements caused by communication interruptions, the most recent valid value is used as a placeholder input for network computation, along with a missing measurement identifier and data duration. Placeholder inputs do not generate new supervision labels or replace actual output records. When consecutive missing measurements cover the candidate observation interval, the generation of new limited power release tasks is stopped. For power or speed records that exceed the existing physical operating range of the unit, the original values ​​and quality labels are retained, but they are not used for available power regression. Data normalization uses statistics from the training data, and the same set of statistics is saved together with the corresponding model version.

[0047] In a preferred embodiment, the neural network has a meteorological source prediction branch and an operational source prediction branch. The meteorological source prediction branch receives weather forecasts and on-site wind measurement information, while the operational source prediction branch receives historical operational measurements and operational status information. Each branch outputs the available power sequence of the unit in the future time slice. Each source branch processes the historical sequence using a gated loop structure and then generates predicted values ​​through a continuous power output layer. The outputs of the source branches retain their respective source identifiers and are fused together to form a combined prediction for normal rolling control. The selection of the observation object retains the differences between the predictions of each source, and does not use the single value of the combined prediction.

[0048] Specifically, in one software implementation, each source branch adopts a two-layer gated loop structure, with each layer containing 32 hidden states. The input is taken from the historical records of the most recent 12 control time slices, and the output corresponds to the unit power for the next 6 control time slices. The wind condition input corresponding to the future time slice in the weather forecast and the encoded results of the historical sequence are jointly entered into the output layer. The operating status is accessed as the unit condition input through category coding and validity identification. The network input dimension is determined according to the actual data fields accessed. The missing measurement identification is paired with the corresponding value. After the output is processed by non-negative mapping, it is constrained according to the upper limit of the unit's allowed operating power at that time. The network structure is a model implementation in the control software and does not change the hardware configuration of the field equipment.

[0049] During model initialization, records in normal grid-connected state, which have exited the scheduling restriction and are not in the speed recovery process are selected from historical operation records, and the corresponding measured power is used as the available power monitoring value. Data is divided according to continuous operation events. The same restriction release process and its adjacent recovery process are not split into data sets for different purposes. During model training, the source identifier of the unit to which each sample belongs and the wind condition is saved. For units that have been in the restriction state for a long time and do not have enough non-restricted samples, the existing model of the same type is used to form the initial prediction, and the prediction difference between the source branches is retained. Subsequently, the correction data of the corresponding unit is obtained through the observation process that meets the wind and storage operation constraints.

[0050] In this embodiment, the available power prediction and the deliverable power prediction have different data meanings. The available power prediction describes the continuous output corresponding to the target unit after the scheduling restrictions are lifted, while the deliverable power prediction is also constrained by the candidate power command and the current dynamic state of the unit. The station controller uses the deliverable power when calculating the grid connection plan and the available power when calculating the observation conditions after the restrictions are lifted. The transition process required for the unit to switch from the restricted state to the maximum power tracking state is handled separately. When the control state of other units changes, the corresponding conditions are simultaneously entered into the prediction input. The observation values ​​obtained by the target unit under the original full-field control state are not directly interpreted as the full-field power after all units are simultaneously lifted from the restrictions.

[0051] To unify the directions of wind power output and energy storage output, in this embodiment, the active power sent to the grid through the grid connection point is taken as the positive direction, energy storage discharge is taken as positive power, and energy storage charging is taken as negative power. The wind turbine power is taken as the active power of the unit's electrical output measurement point, and the line loss is taken as the loss within the corresponding electrical boundary between these measurement points and the grid connection point. When the energy storage AC side measurement point does not coincide with the grid connection point, the corresponding connection line loss is included in the same loss item. The station controller adopts the following power balance relationship in each control time slice, and the scheduling plan, actual feedback and candidate control sequence are all converted according to the same direction and electrical measurement point boundary.

[0052] ;

[0053] in, The value represents the active power at the grid connection point. The summation term on the right represents the sum of the electrical output power of all grid-connected wind turbine units. M represents the number of units involved in the calculation, and j represents the unit index. Let represent the electrical output active power of the j-th wind turbine at time t. This represents the actual active power on the AC side of the energy storage system at time t. The total active line loss within the electrical boundary; all power quantities are uniformly expressed in kilowatts, t represents the control time slice index, plus sign indicates the superposition of power in the same power transmission direction, minus sign indicates that the line loss is deducted from the power that can be delivered to the grid connection point, the electrical output corresponding to the shut-down unit is 0, and the predicted value is not filled in to impersonate the actual measurement for units that cannot obtain reliable measurements.

[0054] For example, in the calculation record used to verify the power direction, the total output of all wind turbines is 700 kW, the energy storage discharge power is 100 kW, and the line loss within the electrical boundary is 20 kW, then the grid connection point power is 780 kW; under the condition that the wind turbine output and line loss remain at the example values, the energy storage is changed to charging at 80 kW, the energy storage power item is taken as -80 kW, and the grid connection point power is 600 kW accordingly; the value is an input example for power balance calculation and does not represent the equipment capacity configuration. The control program replaces the example input according to the actual measurement and checks whether the reverse compensation of energy storage has offset the grid connection power increased by the limited release according to the calculation results.

[0055] When not performing observation tasks, the station controller performs rolling power allocation according to the current grid connection plan, deliverable power prediction, and energy storage status. When the energy storage actions given by the prediction branches are consistent and all meet the operating boundaries, the original control process is maintained. When the branch predictions lead to inconsistencies in the direction or feasibility judgment of energy storage actions, the system enters the observation candidate calculation stage. However, before the candidate calculation is completed, the system continues to execute the verified normal control commands. The observation tasks adopt event state management of preparation, release, observation, and recovery. Each state corresponds to the unit commands and energy storage compensation actions that can be issued. State transitions are triggered by equipment execution receipts and measurement conditions, and do not replace the fact that the equipment has completed the action with the issuance of the command.

[0056] In a further embodiment, the available power predictions from different sources are substituted into the power balance calculation using the same grid connection plan and initial energy storage state to obtain the corresponding charging and discharging demand and constraint feasibility judgment. For prediction periods with opposite compensation directions or inconsistent feasibility judgments, the output sequence of the restricted units in the predictions from different sources is replaced one by one, and the charging and discharging demand and constraint feasibility judgment are recalculated. The restricted units that cause changes in the judgment after replacement are included in the target unit candidate set. The replacement operation is completed inside the controller, and the replacement result is only used to determine the observation object and is not directly used as the control trajectory issued to the unit or energy storage.

[0057] Specifically, the controller fixes the grid connection plan version, initial energy storage, and current control state of the unit used in this calculation. It takes the meteorological source prediction as one set of inputs and the operational source prediction as another set of inputs, and calculates the energy storage power required to meet power balance. The required energy storage power is positive when it corresponds to discharge, negative when it corresponds to charging, and 0 when it corresponds to no net compensation from energy storage. Results with different positive and negative signs are judged as directional divergences. If different sources all require energy storage actions in the same direction, but the power or energy process corresponding to one set of inputs exceeds the energy storage allowable boundary while the other set does not, it is judged as a feasibility divergence, and the time slice of the first divergence and the corresponding constraint name are saved.

[0058] During unit-by-unit replacement, one set of source predictions is used as an unchanged baseline. A constrained unit is selected, and its complete output prediction sequence within the divergence time period is replaced with the corresponding sequence from another set of sources. Other units and other inputs remain in the baseline state. The controller recalculates the total available output and energy storage demand, and compares the charging and discharging directions before and after replacement with the constraint judgment. If any judgment changes, the unit is marked as a candidate related to the current control divergence. Then the baseline input is restored, and the same process is performed on other constrained units. The replacement interval retains the time order of the original prediction sequence, and values ​​from different sources are not independently spliced ​​into future time slices.

[0059] For example, if the grid connection plan for a certain control time slice is 800 kW, in a diagnostic example that temporarily ignores line losses, the output of the two relevant generating units predicted by the meteorological source is 300 kW and 400 kW respectively, and the operation source prediction is 500 kW and 400 kW respectively. Then the former requires 100 kW of energy storage discharge, and the latter requires 100 kW of energy storage charging. After replacing the prediction of the first generating unit from 300 kW to 500 kW, the energy storage demand changes from discharge to charging. Replacing the prediction of the second generating unit with a source replacement does not change the result. Therefore, the first generating unit enters the candidate set. The sequence replacement in this example only reflects the response of the control decision to the input difference. The subsequent release trajectory still needs to be verified separately for full-field operation.

[0060] When the candidate set includes multiple units, the controller retains the set of time slices for each unit that causes changes in direction or constraints, and classifies candidates with the same divergence time slice into the same event to be observed. If the current divergence can be handled by observing a single unit, a single candidate control sequence is generated first. If a single unit replacement does not change the judgment but a joint replacement can change the judgment, a candidate sequence for the corresponding unit combination can continue to be generated. The observed output and energy storage compensation of the combined candidates are calculated based on the total amount of the entire field. The effective observation samples of each unit are still determined according to their own operating modes. The total power of the entire field during the combined operation is not directly allocated to the true value of the available power of each unit.

[0061] Furthermore, the candidate selection uses the forecast version available at the same time. The controller freezes the input snapshot during the diagnostic process to avoid changing the source conditions being compared due to the arrival of new meteorological data. If a new scheduling plan change occurs before the diagnostic is completed, or the energy storage allowable boundary is updated by the equipment side, the new snapshot is used for recalculation, and the feasibility conclusion formed by the old snapshot is not used. For units marked as equipment failure, protection derating, or not yet having completed the startup process, even if their forecast replacement can change the energy storage determination, only the divergence record is saved, and they are not arranged as the execution objects for obtaining observations by lifting the scheduling restrictions.

[0062] In a preferred embodiment, units with equipment protection limiting commands are excluded from the target unit candidate set. For the remaining units, candidate control sequences are established, including limiting release, non-limited observation, and limiting recovery. The candidate control sequences are combined with available power predictions from different sources to recursively deduce the corresponding energy storage state and calculate the charging and discharging power. The candidate control sequences that satisfy the energy storage operation boundary and can complete the limiting recovery are determined as limiting release trajectories and paired to generate energy storage reverse compensation trajectories. The limiting release trajectories in the data structure simultaneously include their corresponding observation stage and recovery stage.

[0063] The construction of candidate control sequences begins with the power command currently being executed by the unit. Based on the range of permissible command variations published by the unit controller, a sequence is formed that gradually removes the scheduling power limit, with maximum power point tracking mode as the target operating mode for the observation phase. After the observation phase, the power limit control is restored according to the effective scheduling requirements at that time. The restoration target is the power command that should be issued under normal rolling control, rather than the old command at the beginning of the fixed return event. The controller enumerates the release duration and observation duration that can be included in the current prediction range and adds a recovery process for each combination. Sequences that do not include a complete recovery process are not included in the subsequent feasibility comparison.

[0064] Specifically, the release phase uses the existing power command change constraints of the unit; the observation phase checks whether the unit can exit the dispatch limit; and the recovery phase checks whether the unit and energy storage can resume normal operation according to the opposite power change. If the prediction range is insufficient to cover the entire release and recovery process, the recovery phase is not terminated and the feasibility is declared. Instead, the subsequent prediction is waited for sufficient coverage, or a similar prediction model with an extended output length is used for recalculation. The duration required for the observation phase is determined by the operation mode confirmation and speed recovery criteria. The pre-calculated duration is only used as a candidate budget, and non-limited power generation monitoring samples should not be generated in advance if the actual state does not meet the requirements.

[0065] For each candidate control sequence, the controller uses the deliverable output of the meteorological source prediction and the operational source prediction computer group respectively. In each time slot, the energy storage power is calculated according to the difference between the grid connection plan and the total expected output of the field, and the energy state is recursively deduced according to the direction of the energy storage power. The other set of predictions that is different from the current source prediction cannot only check the first time slot, but must check the entire process of release, observation and recovery covered by the candidate control sequence. If the energy storage power corresponding to a certain set of predictions exceeds the limit, even if the final energy state is within the allowable range, the corresponding combination will be judged as not meeting the requirements. If the power does not exceed the limit throughout the process but the energy state exceeds the limit in the middle, the corresponding sequence will not be submitted for execution.

[0066] The energy storage state recursion uses the actual available energy as the state variable. The initial value is taken as the state of the energy storage management system in the current input snapshot. The charging and discharging power is taken as the AC side power of the energy storage. The charging efficiency and discharging efficiency adopt the existing calibration relationship or operation estimation result of the equipment. When the efficiency changes with the power direction and operating state, the efficiency value in the corresponding interval is used in each time slice. The controller does not directly equate the amount of electricity charged or sent on the AC side with the change of internal energy in the energy storage. In the implementation where the efficiency can be set according to the current calculation segment, the following recursive relationship is adopted, and after the calculation is completed in each time slice, it is checked whether the internal energy is within the allowable range given by the equipment.

[0067] ;

[0068] in, , The internal energy stored at the start of the current time slice and the next time slice are respectively the energy stored in the energy storage. , These are the energy storage charging and discharging efficiencies, respectively. For the positive part operator, take the larger value between the input and zero; To control the duration of the time slice, this formula distinguishes between charging and discharging conditions and is used to check whether the stored energy exceeds the equipment's allowable upper and lower limits. The efficiency term with a charging subscript represents the proportion of AC input power converted into internal stored energy, while the efficiency term with a discharging subscript represents the proportion of internal energy consumption converted into AC output power. Both efficiency terms are dimensionless quantities greater than 0 and not greater than 1. The positive part operation under square brackets indicates taking the larger of the value inside the brackets and 0. The time index is consistent with the aforementioned power balance relationship.

[0069] In the ideal commutation example used to verify the charge and discharge symbols, both efficiency terms are set to 1, and the time slice lasts for 1 minute, i.e., 1 / 60 of an hour is used in the calculation. When the AC power of the energy storage is -60 kW, the charging term increases by 1 kW, and the discharging term is 0. When the AC power of the energy storage is 60 kW, the charging term is 0, and the internal energy decreases by 1 kW. The actual operation calculation uses the efficiency obtained by equipment calibration or estimation. When the charging efficiency is less than 1, the internal energy increment corresponding to the same AC charging process decreases. When the discharging efficiency is less than 1, the internal energy consumption corresponding to the same AC discharging process increases. The ideal example is not used to replace the actual efficiency relationship.

[0070] When comparing candidate processes corresponding to different sources, the unit actions and energy storage actions in the current time slice use the same command. Different current actions cannot be issued for future wind conditions that have not yet occurred and cannot be identified. Energy storage compensation in future time slices can be adjusted based on the power measurements already obtained at that time, but this adjustment is simulated according to the feedback rules actually used on site. The current energy state cannot be corrected in advance using the actual future power. The controller uses the same feedback rules to check the remaining processes under each group of source predictions, and re-solves the subsequent trajectory with new measurements after actual execution, so that the differences between prediction branches are manifested as verification conditions for the same execution rule.

[0071] If a candidate control sequence cannot be recovered under any source prediction, the controller retains the prediction divergence and the corresponding candidate unit record, but does not perform a release operation; if the grid connection plan itself has exceeded the current wind and storage adjustable range, the controller continues to perform constrained normal control according to equipment protection and existing scheduling and handling rules, and records the power that cannot be completed, without changing the physical feasibility of the plan by arranging observation tasks; only after a new wind condition input, energy storage status or scheduling plan enables at least one complete candidate sequence to pass the check will the sequence be converted into an executable event, and the feasibility conclusion of the candidate event is simultaneously bound to the input snapshot and the equipment boundary version.

[0072] Please refer to Figure 2 The historical data obtained at 09:59 is used as the last available input. The meteorological branch receives 12 wind condition data points within the site and wind condition forecasts issued at 09:58, with a valid time period covering 10:00 to 10:13. The operations branch independently receives 12 data points of historical electrical output, normal grid connection / power restriction / recovery status, power commands, upstream conditions, and validity flags for the generating units, without replacing operational measurements with another set of wind speeds. Power measurements taken 8 minutes before the forecast initiation time are marked as invalid, and the most recent valid value is retained as a placeholder. The calculation input uses this most recent valid value along with the duration of the missing measurement; this placeholder value does not increase the supervisory sample. This candidate maintains an 800 kW grid connection plan and initial energy. The energy boundaries are defined as follows: 200-300 kWh and -300-200 kW AC power boundary for energy storage. The current target unit is 350 kW, and the other unit is 380 kW. Both circuits initially use a common current action; subsequent changes in unit commands are limited to no more than 100 kW per minute, with the same response coefficient of 0.8. Observations are performed from the 5th minute onwards, checking the continuous output budget, and the recovery target remains the current planned requirement of 350 kW. Future energy storage demand is calculated separately for both circuits based on the same power balance feedback rule; future execution measurements are not read. Figure 2 The horizontal axis represents the energy boundary time, in minutes; the vertical axis represents... This refers to the amount of energy that can be replenished from the upper limit of the allowed energy.

[0073] As mentioned above Recurrence relation, take Hour, , The 0th chip has a combined discharge of 84.9212 kilowatts, therefore... The available charge capacity increases to 51.54 kWh. The third weather source requires a charge of 52.15 kW, increasing the energy from 248.96 to 249.79 kWh; the operating source, based on historical output and status, has a higher projected delivery power, corresponding to a charge of 81.20 kW, increasing the energy to 250.65 kWh, hence the lower gray dashed line.

[0074] The minimum rechargeable reserves for the two circuits were 44.18 and 40.95 kWh, respectively, both occurring at the energy boundary at the 11-minute mark. The 9th cell had entered recovery mode, but the unit output was still affected by response transients, and the energy storage continued charging, so the peak value did not immediately disappear at the end of the observation period. The energy storage power ranges from meteorological and operational sources were -63.72 to 84.92 kW and -84.50 to 84.92 kW, respectively. After the 12th cell, the target power was 4.45 and 4.62 kW away from the 350 kW recovery target, respectively, both within the 5 kW allowable deviation set for this observation. Figure 2 The calculation records corresponding to the curve simultaneously archive 14 energy boundary values, the available fill margins of 13 corresponding wafers, the upper and lower power limits, and the power and energy verification results, and the endpoint is not falsely filled with the power of the next wafer.

[0075] In the embodiment associated with the candidate control sequence, with power supply to the grid as the positive power direction, the total output when executing the candidate control sequence and maintaining the original limited power supply command are predicted respectively. The negative of the net output increment after line loss correction is determined as the energy storage compensation increment. The energy storage compensation increment is superimposed on the energy storage power trajectory when maintaining the original limited power supply command, and the energy storage energy is recursively calculated according to the charging and discharging direction using the corresponding efficiency. The superimposed power trajectory and energy trajectory are used together for constraint checks of all combinations. The energy storage power trajectory when maintaining the original limited power supply command is calculated from the same grid connection plan and the same initial energy storage state.

[0076] Specifically, the controller constructs two control condition sequences for the same wind condition forecast. One sequence uses the planned release and recovery commands for limited power generation, while the other maintains the original limited power generation control conditions. The actual deliverable output of each unit is predicted separately. The two sequences use the same meteorological inputs and equipment availability status. The difference is limited to the candidate control actions and the resulting changes in operating status. The controller recalculates the overall output according to its respective conditions, and does not directly treat the increased output of the target unit as the net increase of the entire field. For the downstream output that may change after the target unit is released, the control status of other units and the operating conditions affected by the incoming flow are sent together into the conditional prediction process.

[0077] In a preferred implementation, the directional association between the unit location and the current wind direction is utilized to include units located downstream of the target unit and connected by incoming flow within the conditional prediction range. Changes in the target unit's power command serve as the associated input, and propagation delays identified in historical control events are used to predict the operation of related units. The propagation delays can be estimated by the time correspondence between upstream control change records and downstream measurement responses. When historical data is insufficient to support reliable conditional predictions, existing wake calculation results from the existing stations are used as supplementary conditions, and uncertainty markers are retained for candidate combinations lacking support. The release process is not directly approved based on the assumption of no associated impact.

[0078] Line loss correction utilizes the existing electrical topology and measurement point boundaries of the substation. When power measurements corresponding to the collection point and grid connection point can be directly obtained, the loss estimate is updated using the power difference after time alignment. When using a line model, active power loss is calculated based on the current and corresponding resistance of each branch. Then, the branch losses within the current electrical boundary are summarized, and the resistance is taken from existing equipment data or values ​​confirmed by operation identification. When the current distributions corresponding to the execution sequence and the hold sequence are different, the loss is calculated separately. Energy storage compensation is formed based on the corrected net output difference to avoid treating all the increase in unit-end output as an increase that can be delivered to the grid connection point.

[0079] For example, under the same wind conditions, if the predicted total output of all units is 900 kW when the power generation is restricted, and 940 kW when the power is released, the corresponding line losses are 20 kW and 22 kW respectively. The net output increase after the release is 38 kW. If the original planned discharge of energy storage is 50 kW when the power generation is restricted, the energy storage discharge power becomes 12 kW after the reverse compensation. If the original planned discharge power is less than 38 kW, the energy storage can switch from discharging to charging. However, whether the switch is allowed still needs to be checked based on the allowable power on the AC side and the subsequent energy process. The compensation is calculated based on the net output difference of the entire field and does not directly use the 40 kW increase at the target unit end to replace the net increment.

[0080] Please refer to Figure 3 Under the calculation conditions that the grid connection plan is 800 kW, the initial power command of the target unit is 350 kW, and the other unit maintains 380 kW, the command is arranged to increase or decrease by a maximum of 100 kW per minute; the first 1 to 3 minutes are the release process, the 4th to 8th minutes are the non-limited power generation observation phase, and the 9th to 12th minutes are the continuous restoration. Figure 3 The horizontal axis represents the number of minutes since the event began, and the vertical axis represents the power increment. The solid line represents the net power increment after line loss correction, and the dashed line represents the increment superimposed on the baseline. The incremental energy storage compensation is shown above, with the dotted line representing the sum of the two. The three series originate from the same time slice and do not represent the output from different sources or under different control conditions being spliced ​​together into a common state.

[0081] This process employs the aforementioned power balance relationship. With the power output maintained at 730 kW and line losses at 14.9212 kW during the power rationing period, the baseline energy storage discharge is 84.9212 kW. In the first minute, the predicted power output increases to 830 kW and losses increase to 19.2892 kW. Therefore, the net power output increase is (630 - 19.2892) - (730 - 14.9212) = 95.6320 kW; the opposite is the energy storage compensation increase of -95.6320 kW. After superposition... The power was converted to charging. The net increase in the third minute was 173.64 kilowatts, corresponding to an energy storage power of -88.72 kilowatts. Although the release range increased, the net increase was still determined by both available power and losses.

[0082] Between the 4th and 8th minutes, changes in input wind conditions gradually reduced the available power forecast from meteorological sources, thus decreasing the net power output increment from 173.57 kW to 120.21 kW, and the absolute value of the required reverse compensation decreased accordingly. When the command was restored to 350 kW in the 11th minute, both the net increment of candidate forecast conditions and the compensation increment returned to 0, and the baseline power allocation was restarted.

[0083] In a further embodiment, the energy storage power trajectory is decomposed into the baseline power and energy storage compensation increment when the original limited-power command is maintained. Before each unit power command is issued, the upper and lower limits of the current achievable power range of energy storage are subtracted from the baseline power to obtain the reverse compensation achievable range. The net output increment of the candidate control sequence is restricted to the reverse mapping range of the reverse compensation achievable range. When the current increment does not meet the limit, a release command that meets the limit is selected or the limited-power recovery phase is entered. Records that have not completed non-limited-power observation are excluded from the available power sample. The interval calculation is re-executed as the actual state of energy storage is updated.

[0084] The current achievable power range of energy storage takes into account the equipment's allowable power, the current actual power, and existing command change constraints, representing the AC side power range that can be reached in the next execution time slice. For example, if the achievable range of the next time slice reported by the equipment is -30 kW to 70 kW, and the baseline power is 20 kW discharge, then after subtracting the baseline power from the upper and lower limits of the achievable range, the reverse compensation achievable range is -50 kW to 50 kW, and the corresponding arable net output increment range is -50 kW to 50 kW. If the candidate release is expected to increase the net output by 60 kW, then the current candidate increment cannot be directly issued. It is necessary to select candidate actions that fall within the range of net increment, or to continue the already verified recovery process.

[0085] In practice, the unit power command and the energy storage compensation command are associated through the same event identifier. The controller receives the command confirmation and actual power feedback from the equipment respectively, and updates the current status according to the actual execution time. When the energy storage confirmation information has not yet arrived or the actual response has not yet entered the power range allowed by the current candidate process, the controller does not continue to increase the unit release, but maintains the already matched compensation state and recalculates. The energy storage command calculation uses the expected compensation as the feedforward quantity and the actual measured deviation at the grid connection point as the feedback correction quantity. The feedback correction is limited by the remaining reachable range. The controller retains a record of the limited correction quantity and does not accumulate it into an unbounded subsequent increment.

[0086] When the energy storage allowable power shrinks, the unit response is incomplete, or the grid connection plan changes during the release execution process, the controller re-evaluates whether the original candidate sequence is still executable based on the current actual state. If the requirements can still be met by reducing the release increment, the newly obtained pairing command is used. If the requirements cannot be met, the controller enters the recovery phase and withdraws the corresponding energy storage reverse compensation synchronously according to the actual reduction in the unit's output. The power change during the recovery process is still subject to the existing constraints of the unit and energy storage. The controller does not replace the complete recovery with a direct switch back to the original command. Events that do not form qualified non-limited generation observations are only saved as execution records and are not automatically generated as available power tags because a release action has already occurred.

[0087] In the embodiment of observation data formation, based on the operating mode and speed recovery status returned by the target unit, records under the maximum power tracking mode after the speed recovery is completed are extracted from the non-limited power generation observation phase; the records are associated with the meteorological data of the same period to construct a sample of available power; for records during the limited power generation release or limited power generation recovery period, the pairing relationship between the corresponding power command and the measured output is retained and excluded from the sample of available power. The sample qualification determination is completed after the operating data has arrived and its execution status has been confirmed, and the mode expected to be reached in the candidate trajectory is not used to replace the actual mode.

[0088] The maximum power point tracking mode is confirmed by the actual operating mode returned by the unit controller, and at the same time, it is checked whether the dispatch power limit has been exited and whether the equipment protection limit is still in effect; the speed recovery status can be directly read from the status information provided by the local controller, or judged based on whether the recovery channel in the local speed control still outputs additional active power and whether the speed deviation has entered the existing steady-state criterion; for the realization of the state by speed change, the controller uses the measurement window and allowable deviation consistent with the original steady-state criterion of the unit, does not change the speed control parameters, and maintains the record that cannot be confirmed to be the end of recovery as a transition record.

[0089] The speed recovery record is excluded because the unit's electrical output may contain power corresponding to the release or replenishment of rotor kinetic energy during control mode switching, and the power is not exactly the same as the power that the incoming flow can continuously provide at that time. When forming a supervisory sample, the controller retains the correspondence between speed, command and electrical output in the transition record for use in execution response prediction, but does not use the short-term electrical power peak as a label for continuous available power. For records where the operating mode has changed but speed recovery has not ended, the mode condition and recovery condition are judged by their mutual satisfaction, and the sample collection state is not entered prematurely because one of the conditions is met.

[0090] Each available power sample is associated with at least the target unit identifier, the actual observation time, and the limited-power event identifier, and is paired with the meteorological input corresponding to that time and the historical operation records that the model can obtain when initiating the prediction. The observation time is used to determine the location of the monitored target, and the prediction initiation time is used to limit the information boundaries of the input. The model training can form samples with different prediction lead times based on this, but the same observation value does not change its actual occurrence time. When the actual meteorological record arrives later than the power record, the sample is temporarily stored and waits for the corresponding record, and the subsequently obtained measured wind conditions are not mistakenly written into the future input fields that can only be used for weather forecasts.

[0091] For example, after the target unit's power rationing is lifted, its output briefly reaches a high level, but the local controller still marks it as a speed recovery process, and only the execution response data is recorded. After the recovery ends, the unit remains in maximum power point tracking mode and the data quality is marked as normal. The measured output obtained at this time is included in the available power sample. When the output changes due to a subsequent decrease in wind speed, the record continues to be made according to the meteorological conditions at the corresponding time, and the power label of the previous time is not used. If the equipment protection power rationing is reactivated during the observation period, the sample is terminated from the actual time it takes effect, and the qualified samples that have been obtained maintain a different data identity from the subsequent restricted records.

[0092] In an embodiment associated with sample usage, the neural network includes an available power prediction branch and an execution response branch distinguished by data source. The execution response branch receives available power predictions and unit power commands, and outputs deliverable power. During training, the available power prediction branch is corrected using available power samples, and the execution response branch is corrected using power commands and measured output from the limited power generation records, while preventing the propagation of training errors corresponding to the limited power generation records to the available power prediction branch. The outputs of each corrected available power prediction branch are used to determine charging and discharging demand and constraint feasibility, respectively.

[0093] Specifically, the execution response branch receives available power prediction, current power command, and operating status reflecting dynamic processes, and uses time series connections to describe changes in actual delivered power after command changes. When in a stable power-limited state, the execution response should be jointly limited by the power command and available power. When in a release or recovery process, the execution response is also constrained by the response process already identified by the unit. The training target is always the electrical measured output at the corresponding moment. The training target of the available power branch only takes supervised samples that meet the non-power-limited conditions. The two types of training data have different data masks. The limited measured output cannot be reversed as the target of the available power branch just because the execution response branch needs to use available power prediction.

[0094] In the computation graph implementation, the source encoding connection and the available power output connection are categorized into the available power parameter set, and the execution response connection is categorized into the execution response parameter set. When the limited-fire training record calculates the error through the execution response branch, gradient stopping processing is performed on the input available power prediction. If the two types of branches share a portion of the input encoding connection, the shared connection is also frozen during the limited-fire record update; otherwise, stopping only the gradient of the output connection may still change the available power prediction through the shared encoding. For training batches containing two types of valid data, the following loss calculation method can be used, and the set of connections participating in the update can be controlled according to the data category.

[0095] ;

[0096] in, Represents the set of qualified and usable power samples. This represents a set of records related to issuance restrictions and control transitions; , The predicted available power and the true monitoring value, , The predicted and measured deliverable power values ​​are shown. The loss weight coefficients are used; the error generated by the limited firing record only updates the execution response branch, blocking the gradient from propagating to the available power prediction branch. The loss function is represented by kilowatts for all power values. The coefficients represent the relative training weights of the two types of errors and are dimensionless. The minus sign indicates the difference between the predicted and supervised values. The squaring operation preserves the error magnitude and eliminates positive and negative cancellation.

[0097] When the observation set or restricted set is empty, the corresponding error term and its parameter update are omitted, and the operation of dividing by the number of records in the empty set is not performed. In one calculation example, the prediction errors of the two unrestricted samples are 10 kW and -20 kW, respectively, and the mean square error of the first term is 250 square kW. The execution response errors of the two restricted records are 5 kW and -5 kW, respectively, and the unweighted mean square error of the second term is 25 square kW. When the coefficient is 1, the total loss is 275 square kW, and when the coefficient is 2, the total loss is 300 square kW. Changing the coefficient only changes the weight of the execution response error in training and does not unfreeze the gradient of the restricted records on the available power parameter set.

[0098] Model updates employ batch gradient computation. First, the allowable error for each connection is calculated based on the sample identity. Then, gradients are accumulated for connections that are allowed to be updated, and connection values ​​are adjusted in the direction of loss reduction. In one implementation, a backtracking method is used to determine the update step size for candidate updates. If the updated batch loss is higher than the previous loss, the update step size is reduced and recalculated until a decreasing update is obtained or the current batch update ends. Update records for the execution response branch and the available power branch are saved separately. Candidate models must undergo event verification before they can replace the online model. During the training task, the station control still uses the already released online version and does not mix the outputs of different branches before and after the update in one control cycle.

[0099] To maintain the correspondence between new samples and historical operating conditions, the training data cache is organized according to generator units, meteorological conditions, and control events. Newly added observation samples and existing qualified unrestricted generator samples are included in the available power training set. Restricted generator records retain their command changes and measured responses, and are not repeatedly added to the available power set due to their large number. For highly repetitive observation records in the same event, corresponding samples can be retained according to the control time slice, or representative values ​​supported by quality markers can be taken from the records in the same time slice. The data cache also saves the normalized version used when the samples were formed. When historical samples are used to train the new model, they are transformed according to the current training version to avoid numerical scale changes being interpreted as power relationship changes.

[0100] In a further refined embodiment, the available power sample is bound to the operating status and power command of the upstream units in the same period, and the upstream units are determined by the wind direction; the target unit prediction is updated according to the binding conditions, excluding the full field available power monitoring value formed by summing the measured power of the units under different binding conditions. The binding conditions are stored together with the samples and used as inputs when predicting the conditions, rather than just as textual markers that do not participate in the calculation. The correction relationship of the target unit is jointly defined by the incoming flow and the upstream control conditions at the observation time.

[0101] The upstream units are determined based on the existing location data of the station and the wind direction during the observation period. The controller projects the position of each unit onto the direction along the wind and vertical to the wind direction, and lists the units that are located in front of the target unit along the wind direction and within the existing wake association range as relevant upstream objects. The relevant range can be based on the association results given by the existing station wake model, or it can be based on the unit inflow relationship confirmed by historical measurements. The unit position is not reset or the mechanical structure is changed through this observation. When the upstream relationship changes due to the change of wind direction, a new association identifier is saved for the corresponding record, and the entire segment of data spanning different upstream relationships is not uniformly assigned a single state condition.

[0102] In constructing the conditional input, the historical wind conditions of the target unit are co-encoded with the power commands and actual operating modes of the upstream units, and the upstream status is aligned based on the identified inflow propagation delay. For example, when the upstream command change has not yet propagated to the target unit, the current observation of the target unit still corresponds to the upstream conditions before the change. After the change is expected to arrive and the measurement response supports the conditional switch, subsequent records are then associated with the conditions after the change. Transitional records where the propagation status cannot be confirmed are retained in the execution data and used for conditional available power correction after a stable correspondence is formed, avoiding directly equating the command issuance time with the time when the inflow to the target unit has changed.

[0103] When multiple generating units complete the observation of power restriction release in sequence, the overall control state corresponding to the samples of each generating unit may be different. The controller only uses it for the single-unit relationship update under the corresponding conditions. For example, the downstream power sample obtained when the upstream unit is under power restriction and the upstream power sample obtained after the upstream unit is fully released cannot be directly added as the overall monitoring value when all units are released from power restriction at the same time. When it is necessary to predict the overall deliverable output under a certain common control state, the common state is input into the prediction of each generating unit condition, and the prediction is recursively summarized according to the unit correlation relationship. At the same time, the corresponding line loss is calculated, and the summary result is kept in the same time slot and the same overall control condition.

[0104] Furthermore, the controller saves the actual time relationship between upstream state changes, target unit mode switching, and energy storage compensation execution in the observed events, and marks late data that are inconsistent with the prediction initiation time. When retraining the available power prediction, it only uses the conditional inputs that can be clearly matched to the supervision time, and temporarily suspends the use of samples without corresponding upstream states, and does not fill in unknown conditions into known conditions by copying the most recent upstream instruction. When subsequent communication fills in the actual execution record, the eligibility of the sample can be re-evaluated, but the newly formed sample only participates in the subsequent model training and does not retrospectively change the already executed control instructions or modify the actual power record of the original event.

[0105] In another related embodiment, taking power delivery to the grid connection point as the positive power direction, during the non-limited power generation observation phase after the power command switching of each unit ends, the measured power at the grid connection point is subtracted from the measured power on the AC side of the energy storage, and the line loss within the same electrical boundary is added to reconstruct the actual output of the wind farm. For the stably limited power generation units, the smaller value between the power command and the predicted available power is taken; for the non-limited power generation units, the predicted available power is taken, and the sum is used to form the predicted output of the entire field. The wind-side prediction residual is obtained by subtracting it from the actual output. The energy storage execution residual is determined by the difference between the measured power of the energy storage and the power commanded by the energy storage. The energy storage compensation is corrected by using the energy storage execution residual. The wind-side prediction residual and the available power sample are used together for neural network update, and the energy storage execution residual is excluded from the error term of the neural network update.

[0106] The actual output reconstruction uses power measurements within the same sampling time boundary, and the energy storage power is taken as the actual delivered value on the AC side rather than the issued command value; for the case where the measurement uses the interval average value, the records of each measurement point are converted to the same interval, and the line loss also uses the corresponding value within the same interval. The instantaneous unit power cannot be directly subtracted from the average energy storage power of different intervals; the formation of the overall predicted output is limited to the records in which the unit power command switching has ended. Stable limited generating units are constrained by the current command, and non-limited generating units use the corresponding available power prediction. Records that are still in the switching process are transferred to the execution response data, and the smaller value relationship under stable conditions is not used to replace the dynamic response.

[0107] To distinguish between prediction error and energy storage execution error, the grid-connected reconstruction residual is defined as the measured power at the grid connection point minus the grid-connected reconstruction power, which consists of the predicted output of the entire wind farm, the energy storage commanded power, and the same loss value. The wind-side prediction residual is the actual output of the reconstructed wind farm minus the predicted output of the entire wind farm, and the energy storage execution residual is the measured energy storage power minus the energy storage commanded power. When the electrical measurement point boundary and loss value are consistent, the three satisfy the following decomposition relationship, and the controller separates the part caused by the incomplete execution of energy storage from the residual used for wind power model correction.

[0108] ;

[0109] in, To rebuild residuals for grid connection, For wind-side prediction residuals, For energy storage execution residuals, all residuals are uniformly expressed in kilowatts, and the time subscript follows the control time slice index; positive residuals indicate that the actual value is higher than the adopted predicted or commanded value, and negative residuals indicate that the actual value is lower than the corresponding predicted or commanded value. The plus sign indicates that the two types of deviations are combined into grid-connected reconstruction deviation according to the same power transmission direction; this relationship is reconstructed using the same line loss. When the loss estimate itself has not been measured and verified, not all reconstruction residuals are considered as confirmed wind condition changes. The relevant records can continue to be used for control feedback, but are temporarily suspended from entering the monitoring update.

[0110] For example, if the predicted total wind power output for a certain time period is 950 kW, the actual wind power output reconstructed based on electrical measurements is 930 kW, the energy storage command is to discharge 50 kW while the actual discharge is 40 kW, and the line loss used is 10 kW, then the actual grid-connected power is 960 kW. The grid-connected reconstruction power composed of the predicted output and the energy storage command is 990 kW. The grid-connected reconstruction residual is -30 kW, of which the wind side prediction residual is -20 kW and the energy storage execution residual is -10 kW. The controller uses the latter for energy storage compensation correction and combines the former with qualified single-unit available power samples for model updates, without using the entire -30 kW as wind power prediction bias for training.

[0111] Please refer to Figure 4 ,right Figure 3 The four qualified records that had exited the engine limiting and completed speed recovery between the 5th and 8th minutes of the corresponding event were calculated based on the same measurement time and the same loss value. , and The horizontal axis represents the number of minutes of observation recording, and the vertical axis represents the residual, in kilowatts. Black bars correspond to wind-side prediction residuals, light gray diagonal bars correspond to energy storage execution residuals, and dark gray horizontal bars correspond to grid-connected reconstruction residuals. Positive values ​​indicate that the actual value is higher than the prediction or command, and negative values ​​indicate that the actual value is lower than the prediction or command. Although the 4th minute has entered the observation phase, the speed recovery has not yet been confirmed to be complete, therefore it has not been added to the qualified record or available power training label in this figure.

[0112] Taking the 6th minute as an example, according to the electrical boundaries of that time slice, the actual total wind-side output is 912.40 kW, the actual energy storage power is -90.85 kW, and the loss is 23.31 kW, obtained from power balance. kilowatts. When rebuilding the wind-side output, subtract the actual energy storage power from the measured power at the grid connection point, add the same loss, and then subtract the wind-side predicted 889.83 kilowatts to obtain... kilowatts; actual energy storage power minus the command -89.09 kilowatts, yields kilowatts. The sum of the two is... Kilowatts, consistent with grid-connected reconstruction residuals; calculation records retain unrounded values, and the two decimal places in the description are for reading purposes only.

[0113] The wind-side residual changed from 23.11 kW to 21.33 kW between the 5th and 8th minutes, while the energy storage execution residual changed from -0.80 kW to -2.26 kW. Since their signs are opposite, the grid-connected reconstruction residual is smaller than the wind-side prediction residual. Therefore, the grid-connected reconstruction residual cannot be directly used as the available power regression error, nor can the energy storage execution residual be added to the single-unit output label. Entering energy storage feedback, Together with qualified single-unit samples, they enter the prediction verification process. This separation is contingent upon consistent clock boundaries, operating modes, and loss values; if these conditions are not met, execution records should be retained while monitoring updates are temporarily suspended. Subsequent condition predictions for target units still require partial updates and full residual verification, taking into account their upstream status and event identities.

[0114] In the specific processing of neural network updates, the available power samples of a single unit are used to constrain the predicted value of the target unit, and the wind-side prediction residuals are used to verify the deviation of the predictions of each unit after summarization under the same control conditions. When updating the conditional prediction of the target unit, the prediction connections of other units can remain unchanged for the time being. The local regression direction is determined by using the target unit samples, and then the relationship between the local update and the power reconstruction of the station is checked by using the whole-field residuals. When it is necessary to update the shared fusion connection, only the event data that has passed the single-unit sample qualification and electrical measurement consistency check is used, and the energy storage execution residuals are retained in the control feedback record and are not used as the error input of the shared fusion connection.

[0115] Residual processing and real-time feedback use different data entry conditions. Real-time feedback uses currently available valid grid-connected measurement correction control commands, while monitoring updates require the target unit mode, concurrent meteorological conditions, and actual energy storage execution records simultaneously. Therefore, a certain grid-connected deviation record can be used for control correction first, and will not participate in training until the paired data arrives completely. Event correction samples will be formed after the relevant data arrives. When the measurement clock deviation or line loss verification does not meet the existing data quality rules, the controller retains the original record and suspends the generation of the corresponding training data, without eliminating inconsistencies between physical measurement points by arbitrarily scaling the residuals.

[0116] In the model replacement embodiment, available power samples obtained from the same limited release and recovery process are grouped into event sample groups. Update data and verification data are divided according to the event sample groups. Candidate neural networks are trained using the update data, and the neural network before the update is retained. The full-field predicted output of the verification event is reconstructed using the two neural networks respectively. The grid connection point power is reconstructed by combining the same measured energy storage power and line loss. The sum of the absolute errors of the reconstructed available power of the target unit and the grid connection point power is calculated respectively. The neural network is replaced only when both errors of the candidate neural network are not greater than the corresponding errors before the update. Otherwise, the neural network before the update is retained and rolling control is performed.

[0117] Specifically, the event sample group is formed according to the event identifier from the start of the same release to the end of the corresponding recovery. It includes both available power samples that meet the conditions and execution records associated with interpreting their control state. Update data and verification data are separated according to complete events. The first half of the same event cannot be used for updates and the second half for verification, nor can different prediction lead samples formed by the same observation be placed into two different data categories. When there are only events that can be used for updates and no independent verification events, candidate models can be generated in the background, but the online model continues to use the version before the update. Replacement will be determined after independent events that meet the data conditions are obtained.

[0118] During validation, both models use the same historical inputs, the same weather forecast version, and the same unit control conditions from the validation event. The candidate model cannot use inputs obtained after the event has ended, while the original model cannot use inputs obtained when the event occurred. For records of the target unit in the non-limited power generation observation phase, the available power prediction is directly compared with the corresponding measured label. For other units, the deliverable power is formed based on the power command actually executed at that time. The total predicted output is combined with the same measured power on the AC side of the energy storage, and the same losses are deducted to obtain the grid connection point reconstruction power of each unit, so that the difference between the comparison objects is limited to the model prediction results.

[0119] The sum of absolute errors is calculated one by one from the qualified records in the verification set. The available power index of the target unit only uses records with non-limited power generation true values, and the grid connection point reconstruction index uses records that meet the electrical measurement and operation mode conditions. The two models use the same sample index for each type of index. For example, if the sum of absolute errors of the target unit in the original model is 40 kW and the candidate model is 30 kW, while the sum of absolute errors of the grid connection point reconstruction in the original model is 50 kW and the candidate model is 55 kW, then no replacement is implemented. If the two errors obtained by the candidate model on the same sample are 30 kW and 45 kW respectively, then the replacement condition for this event verification is met, and it is determined that the error conclusion is not extrapolated to all future wind conditions.

[0120] Model replacement employs a full version switch. The source branches, execution response connections, and normalized data of the candidate model together form the release object. Before release, the input fields, output unit identifiers, and prediction time slices are checked to ensure consistency with the online control interface. Replacement is performed at the control update boundary. The currently completed instruction calculations maintain the same model version, and the new version is used only in the next rolling calculation. The model update log records the set of events used and the verification results. If the release object fails the interface consistency check, the original model is retained, and a combined version without joint verification is formed by replacing only one of the source branches.

[0121] For candidate models that fail validation, the corresponding training data and error records are retained, but the predictions of failed candidates are not used to determine the next observation target. Subsequent control is still based on the original model and newly added measurements. When the new source prediction divergence still points to the same unit, the feasibility of the complete release and recovery process needs to be re-examined, and the previous release command is not directly repeated. If there are already enough qualified observations under the same operating conditions but the model still fails validation, the input pairing, condition binding and execution response training process are checked in the background. The original control version is maintained until the model release conditions are met to avoid continuous observation events automatically triggering unvalidated online model changes.

[0122] In a continuous operation example, the power station is executing a grid connection plan. Weather source forecasts indicate that the energy storage will need to discharge in a future segment, while operational source forecasts indicate that the energy storage will need to charge in the same segment. The controller, through unit-by-unit replacement, discovers that the discrepancy is caused by the predicted available power of a certain restricted unit. The controller saves a snapshot of the energy storage status at the same moment, generates a candidate process for the target unit to release to maximum power point tracking mode and then return to normal power limiting command, and checks the total power output, line losses, and energy storage energy under the two sets of source forecasts respectively. After checking, the controller issues associated commands to adjust the energy storage power according to the grid connection deviation in each execution segment, and continues to release the unit power according to the current available range limit of the energy storage.

[0123] In the continuous operation example, when the target unit enters maximum power point tracking mode but the speed recovery has not yet ended, the controller only records the execution response. After the recovery is completed, the measured output will be combined with the synchronous meteorological input and upstream control conditions to form an available power sample. If the energy storage fails to reach the command value during the observation period, the corresponding execution residual will be entered into the energy storage feedback separately and will not be added to the power tag of the target unit. Records that meet the sample conditions will be used to generate candidate models in the background. After the observation ends, the power generation will be limited according to the current plan, and the energy storage will withdraw the reverse compensation synchronously. After the candidate model is verified by independent events, it will enter the subsequent rolling calculation. All commands, actual states and sample identities in the event will be kept associated and saved.

[0124] In the optional scenario where the scheduling plan changes during the observation period, the controller establishes a new calculation version of the new plan and regenerates the remaining control sequences from the current actual status of the units and energy storage. If the new plan still allows for the completion of unrestricted power generation observation and recovery, the remaining process after re-verification continues. If it cannot be completed, the process switches to recovery and ends the current observation window. Records obtained before and after the plan change retain the original event associations and add plan version information. Model verification uses the actual control conditions corresponding to each record at that time and does not include grid-connected power changes caused by plan changes as natural wind power changes in available power training.

[0125] In actual deployment, source prediction, candidate diagnosis, trajectory solving, and background training exchange time-versioned records through the data interface in the station control program. Real-time power control and background model updates maintain their execution status separately. Real-time control only receives models that have been published and verified and control sequences that have passed the current status check. Background training can only read confirmed qualified supervision samples and cannot directly rewrite the current commands of the unit or energy storage. The observation events that have been recovered form a traceable data set, which includes the prediction discrepancies that caused the observation, the actual pairing compensation process, and the adopted supervision samples. Subsequent prediction correction and grid connection control continue to operate based on these clear execution and data relationships.

Claims

1. A wind farm grid-connected control method based on neural network multi-source power prediction, characterized in that, include: Meteorological data and unit operation data are input into a neural network to obtain available power predictions from different sources. Based on the differences in the feasibility of energy storage compensation directions or constraints corresponding to the available power predictions, the target units to be lifted from dispatch restrictions are determined. Under the constraints of grid connection plan and energy storage operation boundary, the limited power release trajectory and energy storage reverse compensation trajectory of the target unit are jointly solved, the trajectory that satisfies the unit operation constraints is executed, and the energy storage compensation is corrected according to the power deviation at the grid connection point. After the target unit exits the power restriction and the speed recovery ends, the effective measured output is used as a sample of available power to update the neural network. The updated prediction is then used to calculate and issue power commands for the unit and energy storage.

2. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 1, characterized in that, Substitute the available power predictions from different sources into the power balance calculation using the same grid connection plan and initial energy storage state to obtain the corresponding charging and discharging requirements and constraint feasibility determination. For forecast periods where the compensation direction is opposite or the feasibility judgment is inconsistent, the output sequence of the restricted units in the forecasts from different sources is replaced one by one, the charging and discharging demand and the constraint feasibility judgment are recalculated, and the restricted units whose judgment changes after replacement are included in the target unit candidate set.

3. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 2, characterized in that, Exclude units with equipment protection limited-fire instructions from the target unit candidate set, and establish candidate control sequences for the remaining units, including limited-fire release, non-limited-fire observation, and limited-fire recovery; The candidate control sequences are combined with available power predictions from different sources to recursively deduce the corresponding energy storage state and calculate the charge and discharge power. Candidate control sequences that satisfy the energy storage operation boundary and can complete the limited power generation recovery are determined as the limited power generation release trajectory, and paired to generate the energy storage reverse compensation trajectory.

4. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 3, characterized in that, Based on the operating mode and speed recovery status returned by the target unit, the records under maximum power point tracking mode and after the speed recovery is completed are extracted from the non-limited power generation observation phase. The available power sample is constructed by correlating the records with meteorological data from the same period. For the records during the limited power release or limited power recovery period, the pairing relationship between the corresponding power command and the measured output is retained, and the records are excluded from the available power samples.

5. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 1, characterized in that, The neural network includes an available power prediction branch and an execution response branch, which are distinguished by data source. The execution response branch receives the available power prediction and the unit power command, and outputs the deliverable power. During training, the available power prediction branch is corrected using available power samples, the execution response branch is corrected using power commands and measured output from the limited firing records, and the training error corresponding to the limited firing records is blocked from propagating to the available power prediction branch. The outputs of each corrected available power prediction branch are used to determine the charging and discharging demand and constraint feasibility.

6. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 3, characterized in that, Taking power transmission to the grid as the positive power direction, the total output when executing the candidate control sequence and maintaining the original limited power delivery command are predicted respectively. The negative of the net output increment after line loss correction is determined as the energy storage compensation increment. The energy storage compensation increment is superimposed to maintain the original energy storage power trajectory when the limited command is issued, and the energy storage energy is recursively calculated according to the charging and discharging direction using the corresponding efficiency. The superimposed power trajectory and energy trajectory are used together for constraint checks of all combinations.

7. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 1, characterized in that, The available power sample is bound to the operating status and power command of the upstream units in the same period, and the upstream units are determined by wind direction; Update the target unit forecast according to the binding conditions, and exclude the total field available power monitoring value formed by summing the measured values ​​of units under different binding conditions.

8. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 7, characterized in that, Taking the power supply to the grid connection point as the positive direction of power, during the non-limited power generation observation phase after the power command switching of each unit is completed, the measured power at the grid connection point is subtracted from the measured power on the AC side of the energy storage, and the line loss within the same electrical boundary is added to reconstruct the actual output of the wind farm. For units with stable power generation restrictions, the smaller value between the power command and the predicted available power is taken; for units without power generation restrictions, the predicted available power is taken. The values ​​are combined to form the predicted output for the entire field. The wind-side prediction residual is obtained by subtracting the actual output from the predicted output. The energy storage execution residual is determined by the difference between the measured energy storage power and the commanded energy storage power. The energy storage compensation is corrected by using the energy storage execution residual. The wind-side prediction residual and the available power sample are used together for neural network update, and the energy storage execution residual is excluded from the error term of the neural network update.

9. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 6, characterized in that, The energy storage power trajectory is decomposed into the baseline power when the original limited power issuance command is maintained and the energy storage compensation increment. Before each power command of the unit is issued, the upper and lower limits of the current achievable power range of energy storage are subtracted from the baseline power to obtain the reverse compensation achievable range. The net power output increment corresponding to the candidate control sequence is limited to the reverse mapping range of the reverse compensation reachable interval; If the current increment does not meet the limit, select a release command that meets the limit or enter the limited power recovery phase, and exclude records that have not completed non-limited power observation from the available power sample.

10. The wind farm grid-connected control method based on neural network multi-source power prediction according to claim 1, characterized in that, The available power samples obtained from the same limited release and recovery process are grouped into an event sample group. Update data and verification data are divided according to the event sample group. The candidate neural network is trained using the update data, and the neural network before the update is retained. Two neural networks are used to reconstruct the full-field predicted output of the verification event, and the grid-connected power is reconstructed by combining the same measured energy storage power and line loss. The sum of the absolute errors of the available power of the target unit and the sum of the absolute errors of the power reconstruction at the grid connection point are calculated separately. The neural network is replaced only when the sum of the absolute errors of the available power of the target unit and the sum of the absolute errors of the power reconstruction at the grid connection point are not greater than the two errors before the update. Otherwise, the neural network before the update is retained and rolling control is performed.