A method and system for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants

By implementing a closed-loop mechanism covering the entire lifecycle for the collaborative planning and scheduling of industrial park microgrids and virtual power plants, the problem of disconnect between static planning and actual operation has been solved, ensuring the accuracy of investment returns and power supply security, and improving economic efficiency and operational reliability.

CN123070565APending Publication Date: 2026-11-10TIANJIN CAPITAL ENVIRONMENTAL PROTECTION GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611232650.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing technologies for the collaborative planning and scheduling of industrial park microgrids and virtual power plants suffer from problems such as disconnect between static planning and actual operation, unstable load power supply, and insufficient adaptive capability of economic indicators, resulting in large deviations in investment returns and production safety risks.

Method used

Adopting a closed-loop mechanism throughout the entire life cycle, the system collects basic information about the park and real-time monitoring data to classify loads, adapt the capacity of the source, grid, load and storage, smoothly switch between grid-connected and islanded modes, manage load priorities and verify safety boundaries, adaptively switch operating modes, generate updated capacity configuration parameters, and feed them back to the planning end for iterative correction.

Benefits of technology

It has achieved accurate investment returns and power supply security, improved the economic benefits and operational reliability throughout the entire life cycle, and ensured the coordinated optimization of local autonomy of the park's microgrid and virtual power plant.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123070565A_ABST
    Figure CN123070565A_ABST
Patent Text Reader

Abstract

This invention provides a method and system for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants. The method includes the following steps: classifying loads and performing source-grid-load-storage capacity adaptation and standardized configuration of virtual power plants with the goal of minimizing the total lifecycle cost, generating planning configuration parameters, investment cost parameters, and predicted investment payback period; performing smooth switching between grid-connected and islanded modes and load priority control, generating real-time status and adjustable resource data, and recording energy usage data; performing resource aggregation, operating condition adaptation, and safety boundary verification; if the verification passes, generating scheduling execution and revenue data; calculating comprehensive economic indicators, adaptively switching operating modes based on the comprehensive economic indicators, and generating updated capacity configuration parameters based on the investment payback period assessment results. The beneficial effects of this invention are: constructing a closed-loop mechanism for the entire lifecycle of planning, operation, and feedback, improving economic efficiency and operational reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of virtual power plant resource scheduling technology, and in particular relates to a method and system for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants. Background Technology

[0002] With the development of distributed energy, industrial park microgrids and virtual power plant technologies are becoming increasingly popular, but the following problems still exist in collaborative planning and dispatch: Existing technologies typically rely on static planning based on historical data, lacking a mechanism to feed back actual revenue and energy data from the operational phase to the planning end. This makes it impossible to dynamically adjust capacity configuration based on the actual investment payback period, resulting in planning schemes that are difficult to adapt to actual operating conditions and large deviations in investment returns. Existing technologies employ crude load management strategies during grid-connected and islanded switching, making it difficult to guarantee power supply to critical loads. Meanwhile, virtual power plant dispatch often lacks real-time verification of internal safety boundaries of microgrids (such as energy storage charge status and rigid load baselines), posing a risk to the safety of industrial park production. Existing methods mostly adopt fixed operation strategies and lack the ability to adaptively switch operation modes based on comprehensive economic indicators. They are difficult to automatically adjust to the internal energy-saving priority mode when the market environment fluctuates, resulting in damage to the overall benefits of the park. Summary of the Invention

[0003] In view of this, the present invention aims to overcome the shortcomings of the above-mentioned problems in the prior art and proposes a method and system for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants.

[0004] To achieve the above objectives, the technical solution of the present invention is implemented as follows: The first aspect of this application provides a hierarchical scheduling method for collaborative planning of industrial park microgrids and virtual power plants, including the following steps: S1. Collect basic information about the park, classify loads, and adapt the capacity of source, grid, load and storage to minimize the total life cycle cost and standardize the configuration of virtual power plants to generate planning configuration parameters, investment cost parameters and predict the investment payback period. S2. Collect real-time monitoring data of the park's operation status, and based on the planning configuration parameters and real-time monitoring data, perform smooth switching between grid-connected and islanded modes and load priority control, generate real-time status and adjustable resource data, and record energy usage data; S3. Based on real-time status and adjustable resource data, perform resource aggregation, operating condition adaptation and safety boundary verification. If the verification passes, generate scheduling execution and revenue data. S4. Based on scheduling execution and revenue data, energy usage data, investment cost parameters and predicted investment payback period, calculate the comprehensive economic index, adaptively switch the operation mode according to the comprehensive economic index, and generate updated capacity configuration parameters according to the investment payback period assessment results, and feed them back to step S1.

[0005] Furthermore, in step S1, the load classification is specifically as follows: the load is divided into rigid load and flexible load according to production attributes; The specific process of adapting the source, grid, load, and storage capacity is as follows: Under constraints, with the goal of minimizing the total life cycle cost, the optimal capacity and ratio of photovoltaic (PV) and energy storage are solved. The constraints include limitations on available PV area, limitations on energy storage site, energy storage operation constraints, line current carrying capacity constraints, transformer capacity constraints, and load matching. The planning configuration parameters include load classification list, optimal capacity configuration, and virtual power plant adaptation configuration.

[0006] Furthermore, in step S2, the smooth switching between grid-connected and islanded modes specifically includes: when an external grid anomaly is detected, immediately calculate the current rigid load power and the power deficit of the real-time photovoltaic output, instruct the energy storage inverter to quickly increase the discharge power to a preset multiple of the power deficit to make up for it; then complete the grid-connected switching action, and cut off part of the flexible load according to the preset priority until the local power supply meets the rigid load demand; Real-time status and adjustable resource data include the current operating mode indicator, energy storage charge status, real-time photovoltaic output, and the upper and lower limits of dispatchable resources.

[0007] Furthermore, in step S2, load priority control specifically includes: prioritizing full and continuous stable power supply to rigid loads under any operating condition; in islanded operation mode, reserving a preset proportion of rated energy storage capacity as emergency backup, and reserving a portion of flexible loads according to preset priority. The real-time status and adjustable resource data include emergency backup resource information retained in the islanded mode.

[0008] Furthermore, in step S3, resource aggregation and operating condition adaptation specifically include: establishing a standardized resource pool based on real-time status and adjustable resource data, identifying operating conditions based on real-time load rate, querying a preset operating condition mapping table to obtain the adjustable coefficients of energy storage and flexible load, and determining the amount of externally schedulable resources.

[0009] Furthermore, in step S3, the safety boundary verification specifically includes: receiving the target power change instruction issued by the virtual power plant, verifying whether the execution of the instruction will cause the rigid load power to be lower than the preset ratio of its rated power, whether it will cause the energy storage charge state to be lower than the safety threshold, or whether it will exceed the adjustable upper limit of the flexible load; if the verification fails, the instruction is rejected and the reason is reported; if the verification passes, a scheduling instruction is generated and issued for execution, generating scheduling execution and revenue data.

[0010] Furthermore, in step S4, the calculation of comprehensive economic indicators specifically includes: calculating peak-valley arbitrage revenue, demand control savings, self-consumption savings in electricity purchase costs, virtual power plant trading revenue, and carbon asset revenue, and calculating the economic coefficient; The scheduling execution and revenue data include actual response capacity and market clearing price.

[0011] Furthermore, in step S4, the adaptive switching of the operating mode based on the comprehensive economic indicators specifically includes: when the economic coefficient is lower than the first threshold and continues for a first preset duration, generating and issuing a mode switching instruction to switch to the internal energy-saving priority operating mode and suspending external transaction response; when the economic coefficient is higher than the second threshold, restoring the grid-connected transaction mode.

[0012] Furthermore, in step S4, generating updated capacity configuration parameters based on the investment payback period assessment results specifically includes: calculating the actual investment payback period and comparing the actual investment payback period with the predicted investment payback period; when the comparison result meets the capacity correction trigger condition, calculating the deviation factor and determining the source of revenue deviation; and adjusting the energy storage ratio and / or photovoltaic ratio based on the deviation factor and the source of revenue deviation to generate updated capacity configuration parameters.

[0013] The second aspect of this application also provides a hierarchical scheduling system for collaborative planning of industrial park microgrids and virtual power plants, including: The pre-planning and configuration module of the park is used to collect basic information of the park, classify loads, and perform source-grid-load-storage capacity adaptation and virtual power plant standardization configuration with the goal of minimizing the total life cycle cost, generating planning configuration parameters, investment cost parameters and predicted investment payback period; The microgrid local autonomy module is used to acquire real-time monitoring data, and based on the planning configuration parameters and real-time monitoring data, to perform smooth switching between grid-connected and islanded modes and load priority control, generate real-time status and adjustable resource data, and record energy usage data; The virtual power plant aggregation and scheduling module is used to aggregate resources, adapt operating conditions, and verify safety boundaries based on real-time status and adjustable resource data. If the verification passes, it generates scheduling execution and revenue data. The full-cycle revenue and risk control module is used to calculate comprehensive economic indicators based on scheduling execution and revenue data, energy usage data, investment cost parameters and predicted investment payback period, adaptively switch operating modes according to comprehensive economic indicators, and generate updated capacity configuration parameters based on investment payback period assessment results, and feed them back to the park's pre-planning and configuration module.

[0014] Furthermore, the microgrid local autonomous module includes a grid-connected and islanded switching unit, which is configured to: when an external grid anomaly is detected, calculate the power deficit based on the rigid load power and the real-time photovoltaic output, instruct the energy storage inverter to quickly increase the discharge power to make up for the power deficit, and control the grid-connected switch to operate and disconnect flexible loads according to priority.

[0015] Compared with the prior art, the present invention has the following advantages: The collaborative planning and hierarchical scheduling method for industrial park microgrids and virtual power plants described in this invention constructs a closed-loop mechanism covering the entire lifecycle of planning, operation, and feedback. It feeds back the actual investment payback period assessment results during the operation phase to the planning end for iterative correction of capacity configuration parameters, effectively solving the problem of disconnect between traditional static planning and actual operation, and ensuring the accuracy of investment returns. Simultaneously, it ensures the safety of power supply in the park through smooth switching between grid-connected and islanded modes and load priority control. Based on safety boundary verification, it achieves resource aggregation and scheduling of virtual power plants, and adaptively switches operating modes according to comprehensive economic indicators during operation. This realizes the synergistic optimization of local autonomous security of the park microgrid and external transaction revenue of the virtual power plants, significantly improving the economic benefits and operational reliability throughout the entire lifecycle. Attached Figure Description

[0016] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings: Figure 1 This is a flowchart of the collaborative planning and hierarchical scheduling method for industrial park microgrids and virtual power plants according to an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the dual-mode switching between grid connection and islanding and the logic for reserving islanding resources as described in an embodiment of the present invention. Detailed Implementation

[0017] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other.

[0018] In the description of this invention, it should be understood that these descriptions are merely exemplary and not intended to limit the scope of this application. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of this application for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.

[0019] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0020] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0021] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0022] Example 1 As shown in the figure, the hierarchical scheduling method for collaborative planning of industrial park microgrids and virtual power plants includes the following steps: S1. Collect basic information about the park, classify loads, and adapt the capacity of source, grid, load and storage to minimize the total life cycle cost and standardize the configuration of virtual power plants to generate planning configuration parameters, investment cost parameters and predict the investment payback period. S2. Collect real-time monitoring data of the park's operation status, and based on the planning configuration parameters and real-time monitoring data, perform smooth switching between grid-connected and islanded modes and load priority control, generate real-time status and adjustable resource data, and record energy usage data; S3. Based on real-time status and adjustable resource data, perform resource aggregation, operating condition adaptation and safety boundary verification. If the verification passes, generate scheduling execution and revenue data. S4. Based on scheduling execution and revenue data, energy usage data, investment cost parameters and predicted investment payback period, calculate the comprehensive economic index, adaptively switch the operation mode according to the comprehensive economic index, and generate updated capacity configuration parameters according to the investment payback period assessment results, and feed them back to step S1.

[0023] In step S1, the load classification is specifically as follows: loads are divided into rigid loads and flexible loads according to production attributes. In this embodiment, a load is considered rigid if it meets any of the following conditions and cannot be interrupted: economic loss from power outage > 1 million RMB / hour; process temperature change rate > 5℃ / min, which may lead to product quality scrapping or safety accidents; it belongs to safety interlock equipment (fire protection, toxic gas emission, emergency lighting); the production process requires continuous power supply (such as furnaces, reactors, data centers). A load is considered flexible if it meets all of the following conditions and is adjustable: interruptible duration ≥ 30 minutes; adjustable power ≥ 20% of rated power; no risk of process damage or product scrapping after power restoration.

[0024] The specific process of adapting photovoltaic (PV) power generation, grid load, and energy storage capacity involves, under constraints, finding the optimal capacity and ratio of PV and energy storage with the objective function of minimizing the total lifecycle cost. The constraints include: Limited available area for photovoltaic power generation: ,in, For photovoltaic capacity; The area occupied by photovoltaic power generation; The photovoltaic capacity per unit area is taken as 0.15 kW / m². 2 ; Energy storage site limitations: ,in, For energy storage capacity; The area required for energy storage; Energy density; Energy storage operation constraints: The energy storage state of charge operation range is 10%~95%, and the charge / discharge efficiency is 92%~95%; Line current carrying capacity constraint: The current carrying capacity of the access lines for photovoltaic and energy storage must meet the maximum current requirement, which can be based on the thermal stability limit of the transformer capacity as the upper limit; Transformer capacity limit: The sum of photovoltaic power feedback and energy storage discharge power shall not exceed 80% of the transformer's rated capacity; Load matching: The sum of photovoltaic power generation and energy storage discharge is greater than or equal to the product of the annual electricity consumption of rigid load and the self-sufficiency rate, where the self-sufficiency rate is 30%~50%.

[0025] The objective function is: , Where C is the total life cycle cost, Cpv is the unit photovoltaic investment, Cess is the unit energy storage investment, Com is the unit annual operation and maintenance cost, and Rma(t) is the predicted market revenue in year t.

[0026] The photovoltaic capacity, energy storage capacity, and energy storage power can be solved using linear programming or particle swarm optimization algorithms. Since the linear programming or particle swarm optimization algorithms used are conventional techniques that can be mastered by those skilled in the art, and this application has not improved them, the specific solution process will not be described in detail here.

[0027] In step S1, the investment cost parameters include initial construction investment (such as equipment procurement and installation costs) and annual operation and maintenance costs.

[0028] The projected payback period is calculated and output simultaneously after the optimal photovoltaic capacity, energy storage capacity, and energy storage power are determined. The projected payback period is calculated using a dynamic payback period formula, taking into account the time value of money. The specific formula is as follows: , in, To predict the investment payback period, t For year serial number ( t =0 represents the initial investment year). For the predicted first t Annual cash inflow corresponds to projected revenue, including projected peak-valley arbitrage revenue, demand management savings, savings on electricity purchase costs from self-consumption, revenue from virtual power plant trading, and carbon asset revenue. For the predicted cash outflow in year t, i.e., the investment cost parameters generated in step S1, t When =0, it represents the initial construction investment. t A value greater than 0 represents the projected annual operating and maintenance cost; The discount rate is, preferably, the discount rate. Take 8%.

[0029] The planning configuration parameters include load classification list, optimal capacity configuration, and virtual power plant adaptation configuration. The virtual power plant adaptation configuration includes: communication protocol (main protocol uses MQTT, TCP / IP), data reporting cycle (real-time power, energy storage state of charge, and load power are reported every 5 seconds in grid-connected mode; state summary is reported every 60 seconds in islanded mode), control response specifications (active power command response delay (i.e., from receiving the command to executing the action) ≤ 1 second, reactive power command response delay ≤ 2 seconds, response accuracy deviation ≤ ±2%), and adjustable resource metering rules (including adjustable energy storage resource metering and flexible load adjustable resource metering. In adjustable energy storage resource metering, the adjustable power range is [-Pess_max, +Pess_max], where Pess_max is the rated power of energy storage; the adjustable capacity is SOC·Eess, where SOC is the state of charge of energy storage, and Eess is the rated capacity of energy storage. In flexible load adjustable resource metering: the adjustable power is the product of the current power and the adjustable coefficient, and the adjustable coefficient ranges from 0 to 1); the adjustable capacity is the product of the adjustable power and the maximum duration).

[0030] In step S2, the real-time monitoring data includes the external grid voltage and frequency at the grid connection point, which are used to determine the distribution network status and trigger the grid connection and islanding switching logic; at the same time, it also includes data such as the total load power, real-time photovoltaic output and energy storage charge status in the park, which are used to perform the operation of cutting off or retaining flexible loads according to the real-time power consumption status of the load and the power supply capacity when performing load priority management.

[0031] In step S2, the smooth switching between grid-connected and islanded modes specifically includes: when an external grid anomaly is detected (such as a voltage exceeding the limit by 10% for 3 consecutive cycles, or a frequency below 49.5Hz or above 50.5Hz for 1 second), the power deficit between the current rigid load power and the real-time photovoltaic output is immediately calculated (i.e., Pdef = Prig - Ppv, where Pdef is the power deficit, Prig is the rigid load power, and Ppv is the real-time photovoltaic output). If the real-time photovoltaic output is greater than the rigid load, the deficit is 0. The energy storage inverter quickly increases the discharge power to a preset multiple of the power deficit to make up for it, such as increasing it to 1.1 times the power deficit. Then, the grid connection switching action is completed (action time ≤ 20ms), and some flexible loads are cut off according to a preset priority until the local power source (i.e., the real-time photovoltaic output and the energy storage discharge power) meets the rigid load requirements.

[0032] After the switch is completed, the energy storage inverter switches from constant power mode to constant voltage-frequency ratio mode, with the voltage reference value being the rated voltage and the frequency being 50Hz.

[0033] Real-time status and adjustable resource data include the current operating mode indicator, energy storage charge status, real-time photovoltaic output, and the upper and lower limits of dispatchable resources.

[0034] In step S2, load priority control specifically includes: prioritizing the full and continuous stable power supply to rigid loads under any operating condition. The power supply capacity of rigid loads must not be lower than 95% of their rated power. If the local power supply is insufficient, all flexible loads will be unconditionally disconnected. In islanded operation mode, a preset proportion of the rated capacity of energy storage is reserved as emergency backup (e.g., 20%). This portion of capacity does not participate in any load regulation or external dispatch, and a portion of flexible loads is reserved according to preset priorities. That is to say, the remaining capacity can be used for limited regulation after ensuring the rigid loads. For example, flexible loads are divided into 5 priority levels, and only a small number of flexible loads with higher priorities (e.g., levels 1-2) are reserved, with their total adjustable capacity not exceeding 10% of the total flexible loads. The reserved adjustable capacity is only open for external dispatch under specific conditions (e.g., energy storage state of charge > 30%, photovoltaic real-time output > 120% of the rigid load power, and the virtual power plant instruction is of the emergency backup type).

[0035] The real-time status and adjustable resource data include emergency backup resource information retained in the islanded mode.

[0036] It should be understood that in step S2, the preset priority is the load importance ranking generated based on the load classification results in step S1; during the grid-connected to islanded switching process, flexible loads are cut off in order of preset priority from low to high; during islanded operation management, flexible loads are retained in order of preset priority from high to low.

[0037] like Figure 2 The diagram shown illustrates the switching logic between grid-connected and islanded modes, as well as the logic for reserving islanded resources in this application. The specific process is as follows: First, monitor the status of the external network at the grid connection point in real time (including voltage and frequency parameters). When the external grid is determined to be in normal condition, the microgrid maintains its grid-connected operation mode. In this mode, the microgrid receives dispatch instructions (target power change ΔP) issued by the virtual power plant platform and participates in market transactions while meeting local safety boundaries.

[0038] When an abnormal external network status is detected (such as voltage or frequency exceeding limits), a smooth handover process between grid-connected and islanded modes is triggered. The specific steps include: Deficit Calculation: Immediately calculate the difference between the current rigid load power and the real-time output of photovoltaic power; Energy storage replenishment: The command energy storage inverter can quickly increase the discharge power within milliseconds to replenish the rigid load deficiency and ensure uninterrupted power supply during switching. Load shedding: Flexible loads are shedding sequentially according to a preset priority order until the local power supply meets the rigid load requirements.

[0039] After the switchover is complete, the system enters islanded operation mode and implements load priority control and islanded resource reservation policies. Rigid load guarantee: Energy storage serves as the main power source to establish voltage and frequency, fully guaranteeing continuous and stable power supply to rigid loads; Resource reservation: Reserve a preset proportion (e.g., 20%) of energy storage capacity as emergency backup, and maintain the adjustability of limited flexible loads; Limited Response: In this state, only the status of schedulable resources is reported to the virtual radio station (as an emergency backup), and no actual market-based transaction scheduling is participated in until the external network returns to normal and is reconnected.

[0040] Specifically, energy usage data includes: The energy storage charging and discharging capacity is obtained by the built-in electricity meter of the energy storage converter, based on the daily cumulative charging and discharging capacity, and summarized at the end of the month. Photovoltaic power generation is obtained by direct measurement of photovoltaic grid-connected meters, accumulated daily, and summarized at the end of the month. The method for obtaining photovoltaic self-consumption electricity is the ratio of the data from the photovoltaic grid-connected meter to the data from the total incoming line meter of the park, that is, photovoltaic self-consumption electricity = photovoltaic power generation - photovoltaic power fed back to the grid; Peak demand is obtained by using the power quality monitoring terminal at the grid connection point to calculate demand in real time with a 15-minute window, and taking the maximum value from all windows in the current month.

[0041] Step S3, which involves resource aggregation and operating condition adaptation, specifically includes: A standardized resource pool is established based on real-time status and adjustable resource data. The resource pool information model includes fields such as timestamp, resource identifier, resource type, adjustable power, adjustable capacity, and response latency. According to real-time load rate ( ,in For real-time load rate, For the current total load, Identify operating conditions (for transformer capacity): (1) Peak production: Lra > 0.8 and lasts for 2 hours; (2) Normal production: 0.3 < Lra ≤ 0.8; (3) Low load or holidays: Lra≤0.3 or the calendar is marked as a holiday; The adjustable coefficients of energy storage and flexible load are obtained by querying the preset operating condition mapping table to determine the amount of externally dispatchable resources. For example, during peak production, the adjustable coefficient of energy storage is 0.2 and the flexible load is 0.1; during normal production, the energy storage is 0.6 and the flexible load is 0.5; during off-peak periods or holidays, both energy storage and flexible load are 1.0.

[0042] Step S3, specifically the safety boundary verification, includes: receiving the target power change command ΔP issued by the virtual power plant; taking the power transmission from the park to the grid as the positive direction; and verifying whether the execution of the command would result in: rigid load power falling below a preset percentage of its rated power (e.g., preset percentage of 95%), energy storage charge state falling below a safety threshold (e.g., 20%), exceeding the adjustable upper limit of flexible loads, or transformer reverse power exceeding the allowable value of the grid connection protocol. If the verification fails, the command is rejected and the reason is reported (e.g., "boundary restriction", "reverse transmission restriction", "insufficient capacity"). If the verification passes, a dispatch command is generated and issued for execution, generating dispatch execution and revenue data.

[0043] Step S4, calculating the comprehensive economic indicators specifically includes: The following are the revenue figures: (1) Peak-valley arbitrage profits: Among them, Rarb is the peak-valley arbitrage profit, Edis is the energy storage discharge capacity, Echa is the energy storage charging capacity, Pp is the peak-hour electricity price, and Pv is the valley-hour electricity price. (2) Demand control and savings: Where Rde is the penalty saved by demand control, Ppe_ori is the monthly peak demand when demand control was not implemented, Ppe_new is the actual monthly peak demand, and Pri is the basic unit price of demand. (3) Self-consumption saves on electricity purchase costs: Rself represents the electricity purchase cost saved through self-consumption, Eself represents the amount of electricity generated by the photovoltaic power generation that is consumed by the park itself, and Pgrid represents the grid purchase price of electricity, which is the price during normal periods or the weighted average price. (4) Revenue from virtual power plant transactions: Rmar is the revenue gained from participating in the electricity market (demand response, peak shaving, etc.), Qre is the actual response capacity or response volume, and Pcl is the market clearing price. (5) Carbon asset returns: Where Rcar is the revenue from carbon asset trading or emission reduction, Epv is the total photovoltaic power generation, Efgrid is the grid average carbon emission factor, and Pri is the unit price of carbon allowances or carbon credits. Calculate the economic efficiency coefficient: Where η is the economic coefficient, Rmar_exp is the expected market transaction revenue in the next hour; Cinc_om is the additional operation and maintenance cost brought about by participating in market transactions, such as communication and scheduling platform service fees. Preferably, Cinc_om is 0.02 yuan / kWh; Rbase is the benchmark revenue, which is the average daily revenue over the past week (excluding market transaction revenue).

[0044] The scheduling execution and revenue data include actual response capacity and market clearing price.

[0045] In step S4, the adaptive switching of the operating mode based on comprehensive economic indicators specifically includes: When the economic efficiency coefficient η is lower than the first threshold (e.g., 0.8) and continues for the first preset duration (e.g., 2 hours), a mode switching command is generated and issued to switch to the internal energy-saving priority operation mode, suspend external transaction response, and only perform local peak shaving and demand control. The energy storage no longer responds to external ΔP commands, the flexible load adjustable capacity is set to zero, and the communication gateway stops reporting dispatchable resources to the virtual power plant. When the economic efficiency coefficient η is higher than the second threshold (e.g., 1.2), the grid connection trading mode is restored, and the above functions are restored.

[0046] In step S4, generating updated capacity configuration parameters based on the payback period assessment results specifically includes: The actual payback period is calculated dynamically after the project has operated for a predetermined period (e.g., one full calendar year). The actual payback period uses the same dynamic payback period formula as the predicted payback period, taking into account the time value of money. The specific formula is as follows: , in, This is the actual investment payback period. t For year serial number; The first actual occurrence after the project begins operation t The annual cash inflow is determined based on the energy usage data recorded in step S2 and the scheduling execution and revenue data generated in step S3; The first actual occurrence after the project begins operation t The annual cash outflow is determined based on the investment cost parameters (including initial construction investment and annual operation and maintenance costs) generated in step S1; The discount rate; preferably, the discount rate is... Take 8%; it should be noted that the actual amount incurred after the project begins operation is [not specified]. t Annual cash inflows are determined in the following ways: peak-valley arbitrage revenue, calculated based on the energy storage charging and discharging power (energy usage data) and peak-valley electricity price recorded in step S2; demand management savings, calculated based on the peak demand (energy usage data) and demand unit price recorded in step S2; and virtual power plant transaction revenue, calculated based on the scheduling execution and revenue data (such as actual response capacity and market clearing price) generated in step S3. After calculating the actual payback period, it is compared with the predicted payback period. When the comparison result meets the capacity adjustment trigger condition, the deviation factor is calculated, and the source of revenue deviation is determined. Based on the deviation factor and the source of revenue deviation (such as energy storage arbitrage revenue and photovoltaic power generation deviation), the energy storage ratio and / or photovoltaic ratio are adjusted to generate updated capacity configuration parameters. Specifically, the actual payback period is dynamically calculated based on scheduling execution and revenue data, energy usage data, and investment cost parameters. and the projected investment payback period Compare and determine if the capacity correction trigger condition is met. When >1.3· Time-triggered capacity correction, calculation of deviation factor The capacity configuration parameters are adjusted according to the range of δ. Specifically, when 0.3 < δ ≤ 0.5, the energy storage ratio is reduced by 5% or the photovoltaic ratio is increased by 5%; when δ > 0.5, the energy storage ratio is reduced or increased by 10% or the photovoltaic ratio is increased by 10%. The adjustment direction is determined based on the source of the deviation between actual and predicted returns. If the energy storage arbitrage return is more than 30% lower than the predicted value, the energy storage ratio is reduced; if the photovoltaic power generation is more than 30% lower than the predicted value, the photovoltaic ratio is increased; if both deviations are large, both the energy storage ratio and the photovoltaic ratio are adjusted simultaneously. The corrected capacity configuration parameters are fed back to step S1 for iterative correction of capacity configuration parameters in subsequent capacity expansion and renovation or similar projects.

[0047] The second aspect of this application also provides a hierarchical scheduling system for collaborative planning of industrial park microgrids and virtual power plants, including: The pre-planning and configuration module of the park is used to collect basic information of the park, classify loads, and perform source-grid-load-storage capacity adaptation and virtual power plant standardization configuration with the goal of minimizing the total life cycle cost, generating planning configuration parameters, investment cost parameters and predicted investment payback period; The microgrid local autonomy module is used to acquire real-time monitoring data, and based on the planning configuration parameters and real-time monitoring data, to perform smooth switching between grid-connected and islanded modes and load priority control, generate real-time status and adjustable resource data, and record energy usage data; The virtual power plant aggregation and scheduling module is used to aggregate resources, adapt operating conditions, and verify safety boundaries based on real-time status and adjustable resource data. If the verification passes, it generates scheduling execution and revenue data. The full-cycle revenue and risk control module is used to calculate comprehensive economic indicators based on scheduling execution and revenue data, energy usage data, investment cost parameters and predicted investment payback period, adaptively switch operating modes according to comprehensive economic indicators, and generate updated capacity configuration parameters based on investment payback period assessment results, and feed them back to the park's pre-planning and configuration module.

[0048] The microgrid local autonomy module includes a grid-connected and islanded switching unit. The grid-connected and islanded switching unit is configured to: when an external grid anomaly is detected, calculate the power deficit based on the rigid load power and the real-time output of photovoltaic power, instruct the energy storage inverter to quickly increase the discharge power to make up for the power deficit, and control the grid-connected switch to operate and disconnect flexible loads according to priority, so as to ensure that the power supply of rigid loads is not lower than the preset ratio.

[0049] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A hierarchical scheduling method for collaborative planning of industrial park microgrids and virtual power plants, characterized in that, Includes the following steps: S1. Collect basic information about the park, classify loads, and adapt the capacity of source, grid, load and storage to minimize the total life cycle cost and standardize the configuration of virtual power plants to generate planning configuration parameters, investment cost parameters and predict the investment payback period. S2. Collect real-time monitoring data of the park's operating status, and based on the planning configuration parameters and the real-time monitoring data, perform smooth switching between grid-connected and islanded modes and load priority control, generate real-time status and adjustable resource data, and record energy usage data; S3. Based on the real-time status and adjustable resource data, perform resource aggregation, operating condition adaptation and security boundary verification. If the verification passes, generate scheduling execution and revenue data. S4. Based on the scheduling execution and revenue data, the energy usage data, the investment cost parameters, and the predicted investment payback period, calculate the comprehensive economic index, adaptively switch the operating mode according to the comprehensive economic index, generate updated capacity configuration parameters according to the investment payback period assessment results, and feed them back to step S1.

2. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 1, characterized in that, In step S1, the specific classification of the calibrated load is as follows: the load is divided into rigid load and flexible load according to the production attributes; The specific process of adapting the source, grid, load, and storage capacity is as follows: under constraints, with the goal of minimizing the total life cycle cost, the optimal capacity and ratio of photovoltaic and energy storage are solved; wherein, the constraints include photovoltaic available area limitations, energy storage site limitations, energy storage operation constraints, line current carrying capacity constraints, transformer capacity limitations, and load matching. The planning configuration parameters include load classification list, optimal capacity configuration, and virtual power plant adaptation configuration.

3. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 2, characterized in that, In step S2, the smooth switching between grid-connected and islanded modes specifically includes: when an external grid anomaly is detected, the current rigid load power and the power deficit of the real-time photovoltaic output are immediately calculated, and the energy storage inverter is instructed to quickly increase the discharge power to a preset multiple of the power deficit to make up for it; then the grid-connected switching action is completed, and some flexible loads are cut off according to preset priority until the local power supply meets the rigid load demand; Real-time status and adjustable resource data include the current operating mode indicator, energy storage charge status, real-time photovoltaic output, and the upper and lower limits of dispatchable resources.

4. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 2, characterized in that, In step S2, load priority control specifically includes: prioritizing the full guarantee of continuous and stable power supply to rigid loads under any operating condition; in islanded operation mode, reserving a preset proportion of rated energy storage capacity as emergency backup, and reserving a portion of flexible loads according to preset priority. The real-time status and adjustable resource data include emergency backup resource information retained in the islanded mode.

5. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 3, characterized in that, In step S3, resource aggregation and operating condition adaptation specifically include: establishing a standardized resource pool based on the real-time status and adjustable resource data, identifying operating conditions based on the real-time load rate, querying a preset operating condition mapping table to obtain the adjustable coefficients of energy storage and flexible loads, and determining the amount of externally schedulable resources.

6. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 5, characterized in that, In step S3, the safety boundary verification specifically includes: receiving the target power change instruction issued by the virtual power plant, verifying whether the execution of the instruction will cause the rigid load power to be lower than the preset ratio of its rated power, whether it will cause the energy storage charge state to be lower than the safety threshold, or whether it will exceed the adjustable upper limit of the flexible load; if the verification fails, the instruction is rejected and the reason is reported; if the verification passes, a scheduling instruction is generated and issued for execution, generating the scheduling execution and revenue data.

7. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 6, characterized in that, In step S4, the calculation of comprehensive economic indicators specifically includes: calculating peak-valley arbitrage revenue, demand control savings, savings in electricity purchase costs from self-consumption, virtual power plant trading revenue, and carbon asset revenue, and calculating the economic coefficient. The scheduling execution and revenue data include actual response capacity and market clearing price.

8. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 7, characterized in that, In step S4, the adaptive switching of the operating mode based on the comprehensive economic indicators specifically includes: when the economic coefficient is lower than the first threshold and continues for a first preset duration, a mode switching instruction is generated and issued to switch to the internal energy-saving priority operating mode and suspend external transaction response; when the economic coefficient is higher than the second threshold, the grid-connected transaction mode is restored.

9. The method for collaborative planning and hierarchical scheduling of industrial park microgrids and virtual power plants according to claim 7, characterized in that, In step S4, generating updated capacity configuration parameters based on the investment payback period assessment results specifically includes: calculating the actual investment payback period and comparing the actual investment payback period with the predicted investment payback period; when the comparison result meets the capacity correction trigger condition, calculating the deviation factor and determining the source of revenue deviation; and adjusting the energy storage ratio and / or photovoltaic ratio according to the deviation factor and the source of revenue deviation to generate updated capacity configuration parameters.

10. A hierarchical scheduling system for collaborative planning of industrial park microgrids and virtual power plants, used to implement the hierarchical scheduling method for collaborative planning of industrial park microgrids and virtual power plants as described in any one of claims 1-9, characterized in that, include: The pre-planning and configuration module of the park is used to collect basic information of the park, classify loads, and perform source-grid-load-storage capacity adaptation and virtual power plant standardization configuration with the goal of minimizing the total life cycle cost, generating planning configuration parameters, investment cost parameters and predicted investment payback period; The microgrid local autonomy module is used to acquire real-time monitoring data, and based on the planning configuration parameters and the real-time monitoring data, to perform smooth switching between grid-connected and islanded modes and load priority control, generate real-time status and adjustable resource data, and record energy usage data; The virtual power plant aggregation and scheduling module is used to perform resource aggregation, operating condition adaptation, and safety boundary verification based on the real-time status and adjustable resource data. If the verification passes, scheduling execution and revenue data are generated. The full-cycle revenue risk control module is used to calculate a comprehensive economic index based on the scheduling execution and revenue data, the energy usage data, the investment cost parameters, and the predicted investment payback period. It adaptively switches the operating mode according to the comprehensive economic index, generates updated capacity configuration parameters based on the investment payback period assessment results, and feeds them back to the park's pre-planning and configuration module.