Methods and systems for joint planning and optimization of photovoltaic energy storage
By establishing a joint planning and optimization model for photovoltaic energy storage, introducing capacity, operation, and financial constraints, and using the Dinkelbach algorithm for iterative solution, the problem of difficulty in balancing the financial bottom lines of multiple participants in existing technologies is solved, thereby improving the feasibility and efficiency of photovoltaic energy storage project planning.
Patent Information
- Application Number
- CN202611269179.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-17
AI Technical Summary
Existing photovoltaic energy storage planning methods are mainly optimized based on a single objective, which makes it difficult to take into account the financial bottom-line requirements of multiple participants, resulting in poor feasibility of planning schemes and low adjustment efficiency.
By establishing a joint planning and optimization model for photovoltaic energy storage, capacity planning variables, operation variables, and revenue variables are introduced, and physical constraints, operation constraints, and financial constraints are constructed to limit the solution space. The Dinkelbach algorithm is used for iterative solution, and the planning decision results, hourly operation results, and financial results are output.
It achieves optimization within the scope of meeting the basic financial requirements of multiple parties, avoids multiple rounds of manual negotiation, and improves the feasibility and efficiency of the planning scheme.
Smart Images

Figure CN123117627A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of photovoltaic energy storage planning and optimization technology, specifically to a photovoltaic energy storage joint planning and optimization method, a photovoltaic energy storage joint planning and optimization system, an electronic device, and a readable storage medium. Background Technology
[0002] With the development of new energy technologies, distributed photovoltaic (PV) and user-side energy storage systems have been widely applied in various industrial parks and areas with concentrated industrial loads. The construction and operation of PV-energy storage systems often involve multiple stakeholders, including energy-consuming entities, project investors, and park management. Because these stakeholders have different priorities in project decision-making—for example, energy-consuming entities want to reduce daily electricity expenses, investors focus on the project's rate of return and payback period, and park management emphasizes green energy consumption and carbon performance—the interests of these different stakeholders must be considered simultaneously during the planning stage.
[0003] However, most existing planning methods are based on a single objective for model building and solving, such as minimizing electricity purchase costs or maximizing renewable energy utilization as optimization objectives. When dealing with scenarios involving multiple stakeholders, these methods tend to generate solutions that favor one party's interests while failing to meet the basic financial requirements of other participants. For example, focusing solely on reducing user electricity costs may result in lower-than-expected returns for investors, or focusing solely on green energy consumption may lead to excessively high construction costs. This necessitates multiple rounds of manual negotiation and scheme adjustments in actual projects to find a balance, resulting in low planning efficiency and difficulty in obtaining feasible solutions that accommodate the bottom-line demands of all parties. Summary of the Invention
[0004] The purpose of this application is to provide a photovoltaic energy storage joint planning and optimization method, a photovoltaic energy storage joint planning and optimization system, an electronic device, and a readable storage medium, which can solve the problem that the existing photovoltaic energy storage planning methods are mainly based on a single objective for optimization, making it difficult to take into account the financial bottom-line requirements of multiple participants, resulting in poor feasibility of the planning scheme and low adjustment efficiency.
[0005] To solve the above-mentioned technical problems, this application is implemented as follows: In a first aspect, embodiments of this application provide a photovoltaic energy storage joint planning and optimization method, the method comprising: Obtain the input data corresponding to the target scene; A photovoltaic energy storage joint planning and optimization model is established based on the input data. The photovoltaic energy storage joint planning and optimization model includes capacity planning variables, operation variables, and revenue variables. The constraints of the photovoltaic energy storage joint planning and optimization model are constructed, including physical constraints, operational constraints and financial constraints. The solution space of the photovoltaic energy storage joint planning and optimization model is limited according to the financial constraints, and the feasible region of the target optimization is determined. Based on the objective optimization mode, the photovoltaic energy storage joint planning optimization model is solved within the feasible domain of the objective optimization to obtain the planning results; Based on the planning results, output planning decision results, hourly operation results, financial results, and green indicators.
[0006] Optionally, establishing a joint planning and optimization model for photovoltaic energy storage based on the input data includes: Establish capacity planning variables, which include photovoltaic installed capacity, energy storage capacity, and energy storage power; Establish operating variables, including photovoltaic output, energy storage charging power, energy storage discharging power, purchased power, and energy storage state of charge; Establish revenue variables, which include photovoltaic direct charging energy storage power and grid-purchased electricity charging energy storage power.
[0007] Optionally, the constraints for constructing the photovoltaic energy storage joint planning and optimization model, and the determination of the feasible region for the target optimization, include: Construct physical constraints, which include power balance constraints and device boundary constraints; Construct operational constraints, which include energy storage charge and discharge constraints, energy storage state of charge constraints, and energy storage energy recursion constraints. Construct financial constraints, which include annual savings constraints, net present value constraints, and internal rate of return constraints. Based on the financial constraints, the solution space of the photovoltaic energy storage joint planning and optimization model is limited, and the target optimization feasible region that satisfies the financial constraints is determined.
[0008] Optionally, constructing the operational constraints includes: Construct mutual exclusion constraints for energy storage charging and discharging, as well as start-stop power constraints, to limit the operating state of energy storage and the corresponding power range; Construct upper and lower limits of energy storage state of charge constraints and recursive constraints of energy storage energy; Construct constraints on the daily cycle count and annual throughput of energy storage; A constraint is constructed to split the charging source, which divides the energy storage charging power into photovoltaic charging power and grid charging power.
[0009] Optionally, the step of solving the photovoltaic-energy storage joint planning optimization model within the feasible region of the target optimization according to the target optimization mode includes: In response to the target optimization mode being either a cost-saving target mode or a net present value target mode, a single optimization solution is performed on the photovoltaic energy storage joint planning optimization model. In response to the target optimization mode being the green electricity target mode, the fractional target corresponding to the green electricity consumption rate is converted into a linear sub-problem; Based on the Dinkelbach algorithm, the iteration parameters are updated according to the solution results of the linear subproblem, and the linear subproblem is reconstructed and solved according to the updated iteration parameters until the preset convergence condition is met.
[0010] Optionally, the step of solving the photovoltaic-energy storage joint planning optimization model within the feasible region of the target optimization according to the target optimization mode includes: In response to enabling the fast solution mode, historical solution results are loaded as the initial solution for a warm start. Determine whether a feasible solution has been obtained in the solution process, and in response to obtaining a feasible solution, load the current optimal feasible solution into the photovoltaic energy storage joint planning and optimization model; In response to the completion of the solution, the current solution result is cached for use in subsequent solution processes.
[0011] Optionally, the step of outputting financial results based on the planning results includes: Based on the planning results, the electricity purchase cost corresponding to the agency revenue indicator is recalculated in conjunction with the basic electricity fee settlement rules to obtain the benchmark electricity purchase cost and the planned electricity purchase cost. Calculate new energy settlement fees based on new energy settlement data; The target financial indicators are calculated based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost, and the financial results are obtained and output.
[0012] Secondly, embodiments of this application provide a photovoltaic energy storage joint planning and optimization system, the system comprising: The input data acquisition module is used to acquire input data corresponding to the target scene; The optimization model building module is used to build a photovoltaic energy storage joint planning optimization model based on the input data. The photovoltaic energy storage joint planning optimization model includes capacity planning variables, operation variables, and revenue variables. The feasible region determination module is used to construct the constraints of the photovoltaic energy storage joint planning and optimization model. The constraints include physical constraints, operational constraints and financial constraints. Based on the financial constraints, the solution space of the photovoltaic energy storage joint planning and optimization model is limited, and the feasible region of the target optimization is determined. The planning result determination module is used to solve the photovoltaic energy storage joint planning optimization model within the target optimization feasible domain according to the target optimization mode, and obtain the planning result; The planning results output module is used to output planning decision results, hourly operation results, financial results, and green indicators based on the planning results.
[0013] Optionally, the optimization model building module includes: The capacity planning variable establishment module is used to establish capacity planning variables, which include photovoltaic installed capacity, energy storage capacity, and energy storage power. The runtime variable establishment module is used to establish runtime variables, which include photovoltaic output, energy storage charging power, energy storage discharging power, purchased power, and energy storage state of charge. The revenue variable establishment module is used to establish revenue variables, which include photovoltaic direct charging energy storage power and grid-purchased electricity charging energy storage power.
[0014] Optionally, the feasible region determination module includes: A physical constraint construction module is used to construct physical constraints, including power balance constraints and device boundary constraints. The operational constraint construction module is used to construct operational constraints, which include energy storage charge and discharge constraints, energy storage state of charge constraints, and energy storage energy recursion constraints. The financial constraint construction module is used to construct financial constraints, which include annual savings constraint, net present value constraint, and internal rate of return constraint. The solution space constraint module is used to constrain the solution space of the photovoltaic energy storage joint planning and optimization model according to the financial constraints, and to determine the target optimization feasible region that satisfies the financial constraints.
[0015] Optionally, the operation constraint construction module is used to construct mutual exclusion constraints for energy storage charging and discharging and start-stop power constraints to limit the energy storage operation state and the corresponding power range; construct upper and lower limit constraints for energy storage state of charge and energy storage recursion constraints; construct constraints for the number of daily energy storage cycles and constraints for the annual energy storage throughput; and construct constraints for splitting charging sources to split the energy storage charging power into photovoltaic charging power and grid charging power.
[0016] Optionally, the planning result determination module includes: The single-step optimization solution module is used to perform a single-step optimization solution on the photovoltaic energy storage joint planning optimization model in response to the target optimization mode being either a cost-saving target mode or a net present value target mode. The linear problem conversion module is used to convert the fractional objective corresponding to the green electricity consumption rate into a linear sub-problem in response to the target optimization mode being the green electricity target mode. The iterative update module is used to update the iterative parameters based on the solution results of the linear subproblem using the Dinkelbach algorithm, and to reconstruct the linear subproblem based on the updated iterative parameters for solution, until the preset convergence condition is met.
[0017] Optionally, the planning result determination module includes: The solution result loading module is used to load historical solution results as the initial solution for a hot start in response to the activation of the fast solution mode; The feasible solution loading module is used to determine whether a feasible solution has been obtained in the solution process, and in response to obtaining a feasible solution, loads the current optimal feasible solution into the photovoltaic energy storage joint planning and optimization model; The solution result caching module is used to cache the current solution result in response to the completion of the solution process, for use in subsequent solution processes.
[0018] Optionally, the planning result output module includes: The electricity purchase cost recalculation module is used to recalculate the electricity purchase cost corresponding to the agency revenue indicator based on the planning results and the basic electricity fee settlement rules, so as to obtain the benchmark electricity purchase cost and the planned electricity purchase cost. The settlement fee calculation module is used to calculate the new energy settlement fee based on the new energy settlement data; The financial indicator calculation module is used to calculate the target financial indicators based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost, obtain the financial results, and output them.
[0019] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0020] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0021] In this embodiment, by introducing financial constraints when constructing the model constraints and defining the feasible region of the objective optimization based on these financial constraints, the optimization process can be performed within the range that satisfies the basic financial requirements of multiple parties. This avoids the problem of traditional methods focusing only on a single objective, which makes it difficult for the planning scheme to take into account the demands of multiple parties. It eliminates the need for multiple rounds of manual negotiation and repeated modifications in subsequent stages, ensuring the feasibility of the planning scheme in meeting the bottom-line requirements of all participants and improving the efficiency and practical value of photovoltaic energy storage project planning. Attached Figure Description
[0022] Figure 1 This is a flowchart illustrating the steps of a photovoltaic energy storage joint planning and optimization method according to an embodiment of this application; Figure 2 This is a schematic diagram of the balancing mechanism of a photovoltaic energy storage joint planning and optimization method for third-party investment scenarios according to an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a photovoltaic energy storage joint planning and optimization system according to an embodiment of this application; Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0025] This application provides a photovoltaic energy storage joint planning optimization scheme. By acquiring input data corresponding to the target scenario, a photovoltaic energy storage joint planning optimization model is established, including capacity planning variables, operation variables, and revenue variables. Based on the construction of physical constraints, operation constraints, and financial constraints, the solution space of the model is limited by financial constraints, and the feasible region of target optimization is determined. According to the selected target optimization mode such as cost saving, net present value, or green electricity consumption, a single solution is performed within the feasible region, or iterative solution is performed by transforming the fractional objective based on the Dinkelbach algorithm (a nonlinear optimization algorithm specifically used to solve single ratio fractional programming problems). The solution process supports historical heat dissipation start-up and feasible solution loading. After the solution is completed, the cost corresponding to the agency revenue indicator is recalculated in combination with the basic electricity bill settlement rules. Finally, a joint planning scheme covering planning decision results, hourly operation results, financial results, and green indicators is output.
[0026] The following description, in conjunction with the accompanying drawings, details a photovoltaic energy storage joint planning and optimization scheme provided in this application through specific embodiments and application scenarios.
[0027] Reference Figure 1 The diagram illustrates a flowchart of the steps of a photovoltaic energy storage joint planning and optimization method according to an embodiment of this application.
[0028] Step 101: Obtain the input data corresponding to the target scene.
[0029] In this step, the input data mainly covers parameter information in six dimensions: The first category is load and time-series data, including hourly load power curves, time series indexes, and weekday or holiday identifiers; The second category is electricity price and settlement parameters, including time-of-use electricity price, demand-based electricity price, capacity-based electricity price, discount threshold, discount factor, and transformer capacity; The third category is photovoltaic parameters, including photovoltaic unit output curve, installed capacity boundary and photovoltaic settlement unit price; The fourth category is energy storage parameters, including capacity and power boundaries, charge and discharge efficiency, upper and lower limits of state of charge, maximum charge and discharge duration, and daily cycle limit; The fifth category is financial parameters, including the unit investment cost of photovoltaics, energy storage and converters, other cost ratios, project life, discount rate, minimum rate of return threshold and operation and maintenance replacement parameters; The sixth category consists of solution parameters, including target mode, fast mode switch, solution time limit, relative gap tolerance, and feasibility tolerance.
[0030] In addition, in order to improve the efficiency of subsequent calculations while ensuring the statistical characteristics of the whole year, the obtained input data can be clustered according to typical days to construct a typical day dataset with annualized weights.
[0031] Step 102: Establish a photovoltaic energy storage joint planning and optimization model based on the input data. The photovoltaic energy storage joint planning and optimization model includes capacity planning variables, operation variables, and revenue variables.
[0032] In this step, the model includes three types of variables: Establish capacity planning variables to determine the scale of physical equipment configuration, specifically including photovoltaic installed capacity, energy storage capacity, and energy storage power.
[0033] Establish operating variables to describe the system's operating status and energy transfer at various time points, specifically including photovoltaic output, energy storage charging power, energy storage discharging power, purchased power, and energy storage state of charge.
[0034] Establish revenue variables to characterize revenue indicators in the target optimization process. Specifically, this includes breaking down energy storage charging power into photovoltaic direct charging energy storage power and grid-purchased electricity charging energy storage power.
[0035] By establishing the aforementioned capacity planning variables, operational variables, and revenue variables, the model can not only express the impact of equipment investment scale on economics, but also describe the real-time flow of energy between equipment, providing a foundation for the subsequent introduction of physical laws, operational logic, and financial settlement rules.
[0036] Step 103: Construct the constraints of the photovoltaic energy storage joint planning and optimization model. The constraints include physical constraints, operational constraints and financial constraints. Based on the financial constraints, limit the solution space of the photovoltaic energy storage joint planning and optimization model and determine the feasible region of the target optimization.
[0037] In this step, the constraints of the model include three types: Physical constraints are used to ensure the energy balance and equipment limits of the system at any time. Specifically, they include power balance constraints and equipment boundary constraints, such as the upper limit constraint of photovoltaic power output and the upper limit constraint of transformer capacity.
[0038] Operational constraints are used to ensure the operational feasibility and safety of energy storage systems. Specifically, they include mutual exclusion constraints for energy storage charging and discharging, start-up and shutdown power constraints, upper and lower limits of state of charge constraints and energy recursion constraints, daily cycle count constraints and annual throughput constraints.
[0039] Financial constraints are used to guarantee the minimum return requirements of different participants, specifically including annual savings fee constraints, net present value constraints, and internal rate of return constraints.
[0040] By limiting the solution space of the model based on financial constraints, the optimization process is carried out within the range that meets the set revenue threshold, thereby determining the feasible domain of the target optimization and avoiding the phenomenon that the planning scheme can meet the physical boundary but cannot be implemented due to non-compliance with economic indicators.
[0041] Step 104: Based on the objective optimization mode, solve the photovoltaic energy storage joint planning optimization model within the feasible domain of objective optimization to obtain the planning results.
[0042] In this step, the target optimization mode can be selected according to the needs of the scenario, specifically including the cost-saving target mode, the net present value target mode, and the green electricity target mode.
[0043] Execute corresponding solution strategies for different objective optimization modes: When the target optimization mode is a cost-saving target mode or a net present value target mode, a single optimization solution is performed on the model.
[0044] When the target optimization mode is the green electricity target mode, since the green electricity consumption rate is a fractional target, the fractional target is converted into a linear subproblem. Based on the Dinkelbach algorithm, the iteration parameters are updated according to the solution results of the linear subproblem and the solution is repeated until the preset convergence condition is met.
[0045] Furthermore, a feasible solution priority loading and cached hot-start mechanism is adopted in the solution process. When the fast solution mode is enabled, the historical solution results are loaded as the initial solution for hot start; during the solution process, it is determined whether a feasible solution has been obtained and the optimal feasible solution is loaded. After the solution is completed, the current solution result is cached to ensure solution efficiency and robustness.
[0046] Step 105: Output the planning decision results, hourly operation results, financial results, and green indicators based on the planning results.
[0047] In this step, since proxy revenue indicators are typically used to reduce optimization complexity during the model solving phase, the electricity purchase cost corresponding to the proxy revenue indicator is recalculated in the post-processing stage after the solution is obtained, based on the basic electricity billing rules, to obtain the benchmark electricity purchase cost and the planned electricity purchase cost. Simultaneously, the new energy settlement cost is calculated based on the new energy settlement data. Then, the target financial indicator is calculated based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost to obtain the financial results.
[0048] Finally, based on the compiled data, the following outputs are provided: planning and decision-making results (such as photovoltaic installed capacity, energy storage capacity and energy storage power), hourly operation results (such as photovoltaic output, energy storage charging and discharging power, purchased power and energy storage state of charge), financial results (such as annual electricity cost savings, net present value and internal rate of return), and green indicators (such as green electricity consumption and green electricity consumption rate).
[0049] In this embodiment, by introducing financial constraints when constructing the model constraints and defining the feasible region of the objective optimization based on these financial constraints, the optimization process can be performed within the range that satisfies the basic financial requirements of multiple parties. This avoids the problem of traditional methods focusing only on a single objective, which makes it difficult for the planning scheme to take into account the demands of multiple parties. It eliminates the need for multiple rounds of manual negotiation and repeated modifications in subsequent stages, ensuring the feasibility of the planning scheme in meeting the bottom-line requirements of all participants and improving the efficiency and practical value of photovoltaic energy storage project planning.
[0050] In one exemplary embodiment of this application, one implementation method for establishing a photovoltaic energy storage joint planning and optimization model based on input data is as follows: establishing capacity planning variables, including photovoltaic installed capacity, energy storage capacity, and energy storage power; establishing operation variables, including photovoltaic output, energy storage charging power, energy storage discharging power, purchased electricity power, and energy storage state of charge; and establishing revenue variables, including photovoltaic direct charging energy storage power and grid-purchased electricity charging energy storage power.
[0051] When establishing a joint planning and optimization model for photovoltaic energy storage, capacity planning variables, operation variables, and revenue variables are set up under a unified mixed-integer linear programming framework to achieve joint decision-making on physical equipment configuration and time-series operation scheduling.
[0052] Among them, capacity planning variables are used to determine the equipment configuration scale of the system in the initial stage of construction, specifically including photovoltaic installed capacity. Rated energy storage capacity and rated power of energy storage Operating variables are used to describe the system's operating state and power flow at various consecutive time points, specifically including time periods. Actual photovoltaic power output Energy storage charging power Energy storage and discharge power Power purchased from outside the power grid and real-time energy storage status The payoff variable is used to refine the charging and discharging behavior of different energy sources, specifically including time periods. Photovoltaic direct charging energy storage power This refers to the power that the energy storage system directly absorbs from photovoltaic power generation for charging, and the time period. Power grid purchase for charging and energy storage This refers to the power that the energy storage system purchases from the grid for charging.
[0053] This application embodiment constructs a three-dimensional variable system covering capacity configuration, time-series operation, and revenue sharing, which closely integrates static equipment investment decisions with dynamic daily scheduling behavior and clearly defines the source and destination of electricity, providing a complete decision-making space for accurate financial accounting and multi-objective collaborative planning in scenarios involving multiple stakeholders.
[0054] In one exemplary embodiment of this application, one implementation method for constructing the constraints of the photovoltaic energy storage joint planning and optimization model and determining the feasible region of the target optimization is as follows: constructing physical constraints, including power balance constraints and equipment boundary constraints; constructing operational constraints, including energy storage charge and discharge constraints, energy storage state of charge constraints, and energy storage recursion constraints; constructing financial constraints, including annual cost savings constraints, net present value constraints, and internal rate of return constraints; and determining the feasible region of the target optimization that satisfies the financial constraints by limiting the solution space of the photovoltaic energy storage joint planning and optimization model according to the financial constraints.
[0055] The constraints of the photovoltaic energy storage joint planning optimization model are constructed, and the feasible region of the objective optimization in the solution space is determined based on financial constraints.
[0056] First, physical constraints are constructed to limit the system's energy conservation and the inherent boundaries of the devices. Power balance constraints require that, in any given time period... The system maintains a real-time balance between energy supply and consumption, expressed by the formula: ,in For time period Photovoltaic power output For energy storage discharge power, Purchase power from external grids For time period The load power, Power for charging energy storage.
[0057] Equipment boundary constraints limit the physical upper limits of photovoltaic power output, purchased power, and energy storage configuration, expressed by the formula: , In the formula For time period The photovoltaic unit output coefficient, For photovoltaic installed capacity, This represents the maximum allowable external power limit for transformers. This is the rated power of the energy storage. For the rated capacity of energy storage, This refers to the maximum allowable charge and discharge duration for the energy storage system.
[0058] Secondly, financial constraints are established to guarantee the minimum economic benefits for energy-consuming units and project investors. The minimum annual cost-saving constraint is expressed as follows: In the formula The model calculates the agent's annual electricity savings. The minimum annual savings threshold is preset; the net present value (NPV) bottom line constraint is expressed as... In the formula The project's net present value over its entire lifecycle. The minimum effective net present value threshold preset for investors; the internal rate of return floor constraint is expressed as... In the formula Set the discount rate as the minimum internal rate of return threshold. The net present value (NPV) of the project calculated at that time is equivalent to the project's internal rate of return (IRR) being not less than 0 when the NPV is greater than or equal to 0. Requirements.
[0059] This application's embodiment directly introduces the financial return floor of the user side and the investment side as a hard constraint within the optimization model, achieving precise locking of the area where the interests of multiple parties intersect under the premise of satisfying the laws of physical operation. This ensures that the generated planning scheme is financially feasible in practice and avoids the situation of repeated negotiations and withdrawal of the scheme in the future.
[0060] In one exemplary embodiment of this application, one implementation of constructing operational constraints is as follows: constructing mutual exclusion constraints for energy storage charging and discharging and start-stop power constraints to limit the energy storage operating state and the corresponding power range; constructing upper and lower limits constraints for energy storage state of charge and recursive constraints for energy storage energy; constructing constraints for the number of daily energy storage cycles and constraints for the annual energy storage throughput; and constructing constraints for splitting charging sources, splitting the energy storage charging power into photovoltaic charging power and grid charging power.
[0061] Detailed energy storage operation constraints are established to ensure that the calculated scheduling scheme is feasible and safe on the engineering site.
[0062] First, mutual exclusion for charging and discharging, and start-stop power constraints are established. Then, binary state variables are introduced to control the energy storage's operational state, expressed by the following formula: , In the formula and These are binary variables of 0 and 1, representing time periods respectively. The charging and discharging status markers of the energy storage system For a sufficiently large constant, It is a very small positive threshold used to limit the minimum operating power when energy storage is turned on, so as to avoid meaningless operating conditions that are marked as running but have power close to zero.
[0063] Next, we construct the upper and lower limits of the charge state and the recursive constraints, expressed by the formula as follows: as well as In the formula For time period Real-time energy storage capacity and These are the minimum and maximum ratio limits for the energy storage state of charge, respectively. and These represent charging and discharging efficiencies, respectively. The time interval is the duration of a single period. In the typical daily clustering mode, a closed-loop constraint is set for each representative day, that is, the power status at the end of each representative day is forced to be restored to the power status at the beginning of that representative day.
[0064] Reconstruct the constraints on daily cycle count and annual throughput, expressed by the formula: as well as In the formula For the first Number of charge / discharge cycles per day To initiate the discharge action, a flag variable is set. For time period The corresponding annualized weight.
[0065] Finally, the charging source decomposition constraint is constructed, expressed by the formula as follows: In the formula For photovoltaic direct charging energy storage power, Purchase electricity from the power grid to charge energy storage capacity.
[0066] This application embodiment effectively eliminates common engineering anomalies such as SOC cross-day drift, excessive frequency cycling, and low-power invalid actions by comprehensively constraining the mutual exclusion state, start-up and shutdown power, SOC energy closed loop, daily cycle count, and throughput of the energy storage system. This ensures the safety and reliability of the planning scheme when it is directly mapped to the actual on-site operating rules.
[0067] In one exemplary embodiment of this application, one method for solving the photovoltaic energy storage joint planning optimization model within the feasible domain of the target optimization mode is as follows: in response to the target optimization mode being a cost-saving target mode or a net present value target mode, a single optimization solution is performed on the photovoltaic energy storage joint planning optimization model; in response to the target optimization mode being a green electricity target mode, the fractional target corresponding to the green electricity consumption rate is converted into a linear subproblem; based on the Dinkelbach algorithm, the iteration parameters are updated according to the solution results of the linear subproblem, and the linear subproblem is reconstructed and solved according to the updated iteration parameters until the preset convergence condition is met.
[0068] Based on the objective optimization model, the joint planning optimization model of photovoltaic energy storage is solved within the feasible region of the objective optimization. Different solution strategies are adopted for different objective optimization models.
[0069] When the response to the target optimization mode is a cost-saving target mode, construct an objective function that balances cost-saving incentives and investment penalties. The electricity saving revenue indicator for agents is expressed as follows: In the formula To generate revenue for the agency's electricity saving, The project's net present value. For initial investment costs, As the net present value incentive weight, For investment penalty weighting, Based on the annual electricity bill, In order to plan for electricity bills in the coming years, Settlement fees for new energy sources.
[0070] When the target optimization mode is the net present value target mode, the objective function is expressed as follows: For both of the above modes, a single-step mixed-integer linear programming solution can be directly performed.
[0071] When the target optimization mode is the green electricity target mode, the optimization objective is expressed as maximizing the green electricity consumption rate of the park. In the formula This refers to the actual amount of photovoltaic power consumed annually. This represents the total annual available photovoltaic power generation. This model employs an external iteration mechanism based on the Dinkelbach algorithm to solve the problem, first given the initial iteration parameters. Transform the fractional objective into a linear subproblem. The solution is performed, and then the iteration parameters are updated based on the corresponding energy obtained from the solution. And repeatedly construct and solve linear subproblems until the parameter update amount satisfies The preset convergence conditions, where This is the minimum convergence threshold.
[0072] This application's embodiments introduce the Dinkelbach algorithm to transform the nonlinear fractional objective into a sequential linear subproblem, thus avoiding the local optima and convergence difficulties that are prone to occur when directly solving nonlinear fractional programming. This achieves high-quality solutions for complex objectives while ensuring computational stability.
[0073] In one exemplary embodiment of this application, one implementation method for solving the photovoltaic energy storage joint planning optimization model within the feasible domain of the target optimization according to the target optimization mode is as follows: in response to starting the fast solution mode, historical solution results are loaded as the initial solution for hot start; it is determined whether a feasible solution is obtained in the solution process, and in response to obtaining a feasible solution, the current optimal feasible solution is loaded into the photovoltaic energy storage joint planning optimization model; in response to completing the solution, the current solution result is cached for use in subsequent solution processes.
[0074] The solver's operating parameters are mapped and controlled, and a feasible solution priority and cross-operation hot start mechanism are adopted.
[0075] First, the engineering control parameters are mapped to the parameters of the underlying mixed integer programming solver. The maximum CPU time limit parameter max_cpu_time is mapped to the solver's limits / time configuration item. The relative optimal gap tolerance parameter mip_gap is mapped to the solver's limits / gap configuration item. The constraint feasibility tolerance parameter feasibility_tol is mapped to the solver's numerics / feastol configuration item.
[0076] Secondly, when the fast solution mode is enabled, the system attempts to retrieve historical solution results consistent with the current target mode and scenario from the local cache. If such results exist, they are loaded as the initial solution for a warm start. During the solution process, if the solver stops due to reaching the time limit or tolerance limit, it determines whether a feasible solution has been obtained. If a feasible solution has been obtained, the current optimal feasible solution is loaded into the photovoltaic energy storage joint planning and optimization model.
[0077] Finally, in response to the completion of the solution, the current solution result is updated and stored in the local hot-start cache for subsequent similar solution processes to be called.
[0078] The embodiments of this application improve the robustness and response speed of the model in complex engineering environments by prioritizing the loading of feasible solutions and the cross-run hot start mechanism, ensuring that high-quality and usable planning solutions can still be stably output even when computation time or computing power is limited.
[0079] In one exemplary embodiment of this application, one implementation method for outputting financial results based on planning results is as follows: based on the planning results and in conjunction with the basic electricity fee settlement rules, the electricity purchase cost corresponding to the agency revenue indicator is recalculated to obtain the benchmark electricity purchase cost and the planned electricity purchase cost; the new energy settlement cost is calculated based on the new energy settlement data; the target financial indicator is calculated based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost to obtain and output the financial results.
[0080] A two-stage calculation mechanism of "in-model proxy revenue + post-processing precise recalculation" is adopted to obtain the final financial output.
[0081] In the post-processing stage after the solution is completed, the electricity purchase cost corresponding to the agency revenue indicator is recalculated in accordance with the basic electricity fee settlement rules. The formula for calculating the monthly basic electricity fee is as follows: The formula for calculating demand is as follows: According to the capacity calculation formula: Discount factor Based on monthly electricity consumption per kilovolt-ampere Sure, In the formula To meet maximum demand, and These are the demand and capacity electricity prices, respectively. For transformer capacity, As a discount threshold, This is the discount factor.
[0082] Next, calculate the benchmark electricity purchase cost. Electricity purchase cost after planning And calculate the new energy settlement fee based on the new energy settlement data. In the formula This is for electricity supplied directly by photovoltaic power. The unit price for direct photovoltaic power supply, This represents the total amount of energy stored and discharged. This is the unit price for energy storage discharge.
[0083] Finally, the annual electricity savings are calculated based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost. It combines life cycle parameters to calculate target financial indicators such as net present value and internal rate of return, obtains financial results, and outputs them.
[0084] This application's embodiments employ a two-stage calculation strategy to remove complex electricity bill calculations involving non-smooth discount rules from the core optimization model. While ensuring the model's linearity and high solution efficiency, this approach guarantees that the financial indicators output in the post-processing stage are completely consistent with the actual power grid bills, thereby improving the accuracy of business reviews and investment decisions.
[0085] Based on the above description of an embodiment of a photovoltaic energy storage joint planning and optimization method, the following introduces a photovoltaic energy storage joint planning and optimization method for third-party investment scenarios.
[0086] Reference Figure 2 The diagram illustrates a balancing mechanism of a photovoltaic energy storage joint planning and optimization method for third-party investment scenarios, according to an embodiment of this application.
[0087] This method integrates the target layer, constraint layer, and adjustment layer to collaboratively construct a tripartite equilibrium solution space, thereby achieving a balance of interests among energy users, park management, and project investors.
[0088] The optimization process consists of three layers: the target layer (Savings) aims for optimal annual electricity cost savings, the green energy consumption rate (Green) maximizes, and the investment-side return (NPV) maximizes, supporting different optimization priorities in various scenarios; the constraint layer includes physical and equipment boundary constraints, operational feasibility constraints, and financial constraints, ensuring the feasibility of the solution in terms of physical laws, engineering operation, and economic returns; and the adjustment layer includes enhancing investment returns, curbing excessive investment, and ensuring green energy consumption, used for dynamic adjustment of the optimization direction. The target, constraint, and adjustment layers work together to form a tripartite equilibrium solution space. Solving within this space yields a planning scheme that balances user-side (electricity cost savings), park-side (green energy consumption), and investment-side (NPV / Internal Rate of Return, IRR).
[0089] It should be noted that the photovoltaic energy storage joint planning and optimization method provided in this application embodiment can be executed by a photovoltaic energy storage joint planning and optimization system, or by a control module within that system for executing the photovoltaic energy storage joint planning and optimization method. This application embodiment uses the execution of the photovoltaic energy storage joint planning and optimization method by a photovoltaic energy storage joint planning and optimization system as an example to illustrate the photovoltaic energy storage joint planning and optimization method provided in this application embodiment.
[0090] Reference Figure 3 This document illustrates a schematic diagram of a photovoltaic energy storage joint planning and optimization system according to an embodiment of this application. The system may specifically include the following modules: The input data acquisition module 31 is used to acquire input data corresponding to the target scene; The optimization model building module 32 is used to build a photovoltaic energy storage joint planning optimization model based on the input data. The photovoltaic energy storage joint planning optimization model includes capacity planning variables, operation variables, and revenue variables. The feasible region determination module 33 is used to construct the constraints of the photovoltaic energy storage joint planning and optimization model. The constraints include physical constraints, operational constraints and financial constraints. Based on the financial constraints, the solution space of the photovoltaic energy storage joint planning and optimization model is limited, and the feasible region of the target optimization is determined. The planning result determination module 34 is used to solve the photovoltaic energy storage joint planning optimization model within the target optimization feasible domain according to the target optimization mode, and obtain the planning result; The planning result output module 35 is used to output planning decision results, hourly operation results, financial results and green indicators based on the planning results.
[0091] In one exemplary embodiment of this application, the optimization model building module 32 includes: The capacity planning variable establishment module is used to establish capacity planning variables, which include photovoltaic installed capacity, energy storage capacity, and energy storage power. The runtime variable establishment module is used to establish runtime variables, which include photovoltaic output, energy storage charging power, energy storage discharging power, purchased power, and energy storage state of charge. The revenue variable establishment module is used to establish revenue variables, which include photovoltaic direct charging energy storage power and grid-purchased electricity charging energy storage power.
[0092] In one exemplary embodiment of this application, the feasible region determination module 33 includes: A physical constraint construction module is used to construct physical constraints, including power balance constraints and device boundary constraints. The operational constraint construction module is used to construct operational constraints, which include energy storage charge and discharge constraints, energy storage state of charge constraints, and energy storage energy recursion constraints. The financial constraint construction module is used to construct financial constraints, which include annual savings constraint, net present value constraint, and internal rate of return constraint. The solution space constraint module is used to constrain the solution space of the photovoltaic energy storage joint planning and optimization model according to the financial constraints, and to determine the target optimization feasible region that satisfies the financial constraints.
[0093] In one exemplary embodiment of this application, the operation constraint construction module is used to construct mutual exclusion constraints for energy storage charging and discharging and start-stop power constraints to limit the energy storage operation state and the corresponding power range; construct upper and lower limit constraints for energy storage state of charge and energy storage recursion constraints; construct constraints for the number of daily energy storage cycles and constraints for the annual energy storage throughput; and construct constraints for splitting charging sources to split the energy storage charging power into photovoltaic charging power and grid charging power.
[0094] In one exemplary embodiment of this application, the planning result determination module 34 includes: The single-step optimization solution module is used to perform a single-step optimization solution on the photovoltaic energy storage joint planning optimization model in response to the target optimization mode being either a cost-saving target mode or a net present value target mode. The linear problem conversion module is used to convert the fractional objective corresponding to the green electricity consumption rate into a linear sub-problem in response to the target optimization mode being the green electricity target mode. The iterative update module is used to update the iterative parameters based on the solution results of the linear subproblem using the Dinkelbach algorithm, and to reconstruct the linear subproblem based on the updated iterative parameters for solution, until the preset convergence condition is met.
[0095] In one exemplary embodiment of this application, the planning result determination module 34 includes: The solution result loading module is used to load historical solution results as the initial solution for a hot start in response to the activation of the fast solution mode; The feasible solution loading module is used to determine whether a feasible solution has been obtained in the solution process, and in response to obtaining a feasible solution, loads the current optimal feasible solution into the photovoltaic energy storage joint planning and optimization model; The solution result caching module is used to cache the current solution result in response to the completion of the solution process, for use in subsequent solution processes.
[0096] In one exemplary embodiment of this application, the planning result output module 35 includes: The electricity purchase cost recalculation module is used to recalculate the electricity purchase cost corresponding to the agency revenue indicator based on the planning results and the basic electricity fee settlement rules, so as to obtain the benchmark electricity purchase cost and the planned electricity purchase cost. The settlement fee calculation module is used to calculate the new energy settlement fee based on the new energy settlement data; The financial indicator calculation module is used to calculate the target financial indicators based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost, obtain the financial results, and output them.
[0097] The photovoltaic energy storage joint planning and optimization system in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PCs), televisions (TeleVision), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0098] The photovoltaic energy storage joint planning and optimization system in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0099] The photovoltaic energy storage joint planning and optimization system provided in this application embodiment can achieve... Figure 1 The method embodiments include various processes implemented by the photovoltaic energy storage joint planning and optimization system, which will not be described again here to avoid repetition.
[0100] Optionally, embodiments of this application also provide an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the various processes of the above-described photovoltaic energy storage joint planning and optimization method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0101] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0102] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0103] The electronic device 1000 includes, but is not limited to, components such as: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010. The input unit 1004 may include a graphics processor 10041 and a microphone 10042. The display unit 1006 may include a display panel 10061. The user input unit 1007 may include a touch panel 10071 and other input devices 10072. The memory 1009 may include applications and an operating system.
[0104] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0105] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described photovoltaic energy storage joint planning and optimization method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0106] The processor mentioned above is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0107] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and systems in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0108] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0109] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for photovoltaic energy storage combined planning optimization, characterized in that, The method includes: Obtain the input data corresponding to the target scene; A photovoltaic energy storage joint planning and optimization model is established based on the input data. The photovoltaic energy storage joint planning and optimization model includes capacity planning variables, operation variables, and revenue variables. The constraints of the photovoltaic energy storage joint planning and optimization model are constructed, including physical constraints, operational constraints and financial constraints. The solution space of the photovoltaic energy storage joint planning and optimization model is limited according to the financial constraints, and the feasible region of the target optimization is determined. According to the objective optimization mode, the photovoltaic energy storage joint planning optimization model is solved within the feasible domain of the objective optimization to obtain the planning results; Based on the planning results, output planning decision results, hourly operation results, financial results, and green indicators.
2. The method of claim 1, wherein, The step of establishing a joint planning and optimization model for photovoltaic energy storage based on the input data includes: Establish capacity planning variables, which include photovoltaic installed capacity, energy storage capacity, and energy storage power; Establish operating variables, including photovoltaic output, energy storage charging power, energy storage discharging power, purchased power, and energy storage state of charge; Establish revenue variables, which include photovoltaic direct charging energy storage power and grid-purchased electricity charging energy storage power.
3. The method of claim 1, wherein, The constraints for constructing the photovoltaic energy storage joint planning and optimization model, and the determination of the feasible region for the target optimization, include: Construct physical constraints, which include power balance constraints and device boundary constraints; Construct operational constraints, which include energy storage charge and discharge constraints, energy storage state of charge constraints, and energy storage energy recursion constraints. Construct financial constraints, which include annual savings constraints, net present value constraints, and internal rate of return constraints. Based on the financial constraints, the solution space of the photovoltaic energy storage joint planning and optimization model is limited, and the target optimization feasible region that satisfies the financial constraints is determined.
4. The method of claim 3, wherein, The construction of the operational constraints includes: Construct mutual exclusion constraints for energy storage charging and discharging, as well as start-stop power constraints, to limit the operating state of energy storage and the corresponding power range; Construct upper and lower limits of energy storage state of charge constraints and recursive constraints of energy storage energy; Construct constraints on the daily cycle count and annual throughput of energy storage; A constraint is constructed to split the charging source, which divides the energy storage charging power into photovoltaic charging power and grid charging power.
5. The method of claim 1, wherein, The step of solving the photovoltaic-energy storage joint planning optimization model within the feasible region of the target optimization mode, according to the target optimization mode, includes: In response to the target optimization mode being either a cost-saving target mode or a net present value target mode, a single optimization solution is performed on the photovoltaic energy storage joint planning optimization model. In response to the target optimization mode being the green electricity target mode, the fractional target corresponding to the green electricity consumption rate is converted into a linear sub-problem; Based on the Dinkelbach algorithm, the iteration parameters are updated according to the solution results of the linear subproblem, and the linear subproblem is reconstructed and solved according to the updated iteration parameters until the preset convergence condition is met.
6. The method of claim 1, wherein, The step of solving the photovoltaic-energy storage joint planning optimization model within the feasible region of the target optimization mode, according to the target optimization mode, includes: In response to enabling the fast solution mode, historical solution results are loaded as the initial solution for a warm start. Determine whether a feasible solution has been obtained in the solution process, and in response to obtaining a feasible solution, load the current optimal feasible solution into the photovoltaic energy storage joint planning and optimization model; In response to the completion of the solution, the current solution result is cached for use in subsequent solution processes.
7. The method of claim 1, wherein, The step of outputting financial results based on the planning results includes: Based on the planning results, the electricity purchase cost corresponding to the agency revenue indicator is recalculated in conjunction with the basic electricity fee settlement rules to obtain the benchmark electricity purchase cost and the planned electricity purchase cost. Calculate new energy settlement fees based on new energy settlement data; The target financial indicators are calculated based on the benchmark electricity purchase cost, the planned electricity purchase cost, and the new energy settlement cost, and the financial results are obtained and output.
8. A photovoltaic energy storage combined planning optimization system, characterized in that, The system includes: The input data acquisition module is used to acquire input data corresponding to the target scene; The optimization model building module is used to build a photovoltaic energy storage joint planning optimization model based on the input data. The photovoltaic energy storage joint planning optimization model includes capacity planning variables, operation variables, and revenue variables. The feasible region determination module is used to construct the constraints of the photovoltaic energy storage joint planning and optimization model. The constraints include physical constraints, operational constraints and financial constraints. Based on the financial constraints, the solution space of the photovoltaic energy storage joint planning and optimization model is limited, and the feasible region of the target optimization is determined. The planning result determination module is used to solve the photovoltaic energy storage joint planning optimization model within the target optimization feasible domain according to the target optimization mode, and obtain the planning result; The planning results output module is used to output planning decision results, hourly operation results, financial results, and green indicators based on the planning results.
9. An electronic device, comprising: It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein when the program or instructions are executed by the processor, they implement the steps of the photovoltaic energy storage joint planning and optimization method as described in any one of claims 1-7.
10. A readable storage medium, characterized by, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the photovoltaic energy storage joint planning and optimization method as described in any one of claims 1-7.
