User comprehensive cost calculation method considering carbon emissions
By constructing a comprehensive cost calculation model for users, the problem of clarifying users' carbon emission responsibilities has been solved, enabling a refined pricing strategy within the power park and promoting the consumption of new energy and maximizing social welfare.
Patent Information
- Application Number
- CN202410168303.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-06
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2044-02-06
AI Technical Summary
In existing technologies, users cannot distinguish whether the electricity they use comes from clean energy through pricing mechanisms, which leads to poor absorption of new energy sources and makes it difficult to clarify users' carbon emission responsibilities, thus affecting the transformation of new power systems.
A user comprehensive cost calculation method that takes carbon emissions into account is adopted. By collecting grid topology information, user willingness to pay electricity prices and the status of new energy equipment, a user comprehensive cost calculation model is constructed. Combined with objective function and constraints, the user comprehensive cost of each node is calculated.
It enables the calculation of the comprehensive energy cost for each user node in the power park, providing park agents with refined pricing strategies and improving the consumption of new energy and social welfare.
Smart Images

Figure CN118071379B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of energy and the field of potential evaluation, and specifically discloses a user comprehensive cost calculation method considering carbon emissions, and belongs to the technical field of calculation, estimation or counting. BACKGROUND
[0002] With the rise of the concept of developing a green economy, the sale of electricity by a power sales company to users in a park will necessarily take into account the new energy resources available in the park and the carbon emission responsibilities of the users. Therefore, how to price users in a power park containing new energy equipment individually and improve the social welfare of the park is a problem that needs to be studied. In existing research related to carbon rights and responsibilities, carbon emissions generated by thermal power plants are often only based on different carbon emission reduction reward and punishment factors, and this part of the carbon emission cost will be borne by the thermal power plant, and users cannot distinguish whether the electricity used comes from clean energy through the price mechanism, which is not conducive to the consumption of new energy and the transformation of new power systems.
[0003] Therefore, the present application is aimed at the consumption of new energy and the clarification of user carbon emission responsibilities, and proposes a user comprehensive cost calculation method considering carbon emissions, which comprehensively considers the environmental value of electricity, in order to calculate the comprehensive energy cost of users at each node in the power park, and provides a reference for the fine node pricing strategy of the park agent. SUMMARY
[0004] The application aims to solve the technical problem of calculating the electricity cost of each user in the park under the carbon emission responsibility, and to achieve the purpose of quantitatively calculating the comprehensive electricity cost of each user in the park for the power sales agent.
[0005] The application adopts the following technical solutions to achieve the above application purpose:
[0006] The user comprehensive cost calculation method considering carbon emissions comprises the following steps:
[0007] Step 1, collecting the power grid topology information of the park, the willingness to purchase electricity price of the users in the park, the operating state of the new energy equipment and the willingness to trade electricity price of the new energy equipment;
[0008] Step 2, based on the power grid topology information collected in step 1 and the operating state of the new energy equipment, a user comprehensive cost calculation model is constructed, the user comprehensive cost calculation model includes an objective function and constraint conditions, the objective function is to maximize the total social welfare of the park under consideration of carbon emissions, and the constraint conditions include: power balance constraint, power network flow safety constraint and new energy equipment output constraint;
[0009] Step 3, calling the user cost calculation model constructed in step 2, calculating the user comprehensive cost at each node in the power park according to the calculated sensitivity matrix and the data collected in step 1.
[0010] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, the expression of the objective function is wherein f D (p) is the total utility function of all users about the declared electricity consumption p, f G (p) is the total utility function of all new energy equipment about the declared electricity consumption p, is the carbon emission cost function about the user k's willingness to consume electricity , and ND is the number of users.
[0011] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, the power balance constraint is The power network flow safety constraint is The new energy equipment output constraint is wherein is the willingness to trade electricity of the new energy equipment j, NG is the number of new energy equipment, f L (l l ) is the flow passing through the line l, is the flow transmission limit of the line l, is the lower limit and upper limit of the output of the new energy equipment j.
[0012] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, step 3 specifically includes the following steps:
[0013] Step 3-1, fitting the willingness to purchase electricity price function of the users inside the park according to the willingness to purchase electricity price of the users inside the park collected in step 1, and solving the total utility function of all users;
[0014] Step 3-2, fitting the willingness to trade electricity price function of the new energy equipment according to the willingness to trade electricity price of the new energy equipment collected in step 1, and solving the total utility function of all new energy equipment;
[0015] Step 3-3, according to the power grid network topology information of the park collected in step 1, the influence value of the power flow of any branch when the injection power of a node in the park changes by one unit is solved and stored in the sensitivity matrix;
[0016] Step 3-4, Lagrange relaxation is performed on the objective function to construct a Lagrange function;
[0017] Step 3-5, the partial derivative of the Lagrange function constructed in step 3-4 with respect to the power of any node is solved, and the user comprehensive cost of any node in the park is obtained by simplifying the partial derivative.
[0018] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, the expression of the total utility function of all users in step 3-1 is wherein, is the willingness to buy electricity price function of user 1 to user ND with respect to the willingness to use electricity.
[0019] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, the expression of the total utility function of all new energy devices in step 3-2 is wherein, is the willingness to trade electricity price function of new energy device 1 to device NG with respect to the willingness to trade electricity.
[0020] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, the Lagrange function constructed in step 3-4 is
[0021] wherein, λ is the Lagrange multiplier corresponding to the power balance constraint, is the total load power on node i, is the total device output power on node i, and α i are the Lagrange multipliers corresponding to the upper and lower limits of the power network flow safety constraint, sf li is the sensitivity of line l to the change of injection power of node i, NL is the total number of park power grid branches, and NB is the total number of nodes in the park.
[0022] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, the partial derivative of the Lagrange function solved in step 3-5 with respect to the change of power on any node is wherein, is the user comprehensive cost on node i.
[0023] As a further optimization scheme of the user comprehensive cost calculation method considering carbon emissions, steps 3-5 simplify the partial derivative to obtain the expression of the user comprehensive cost at any node in the park
[0024]
[0025] The calculator for realizing the above-mentioned user comprehensive cost calculation method considering carbon emissions comprises a data acquisition module, a model building module and an algorithm solving module.
[0026] The data acquisition module is used to acquire the power grid topology information of the park, the willingness to purchase electricity price of the users in the park, the operating state of the new energy equipment and the willingness to trade electricity price of the new energy equipment.
[0027] The model building module is used to receive the power grid topology information of the park and the operating state of the new energy equipment acquired by the data acquisition module, and build the user comprehensive cost calculation model.
[0028] The algorithm solving module is used to receive the data acquired by the data acquisition module, call the user comprehensive cost calculation model built by the model building module, and calculate the user comprehensive cost at each node in the power park according to the calculated sensitivity matrix and the received data.
[0029] The above technical scheme of the present application has the following beneficial effects:
[0030] (1) The present application proposes a user comprehensive cost calculation method considering carbon emissions, which considers the social welfare of the new energy power park and the carbon emission of the user, can calculate the user comprehensive cost at each node in the power park, and comprehensively considers the environmental value of electric energy, thereby providing a reference for the fine node pricing strategy of the park agent.
[0031] (2) The present application builds a calculator comprising a data acquisition module, a model building module and an algorithm solving module, collects the parameters such as the operating state of the new energy equipment and the park user through the data acquisition module, inputs them into the model building module to establish a corresponding mathematical model, and then solves the established model through the algorithm solving module, thereby providing a reference basis satisfying the power network flow constraint for the pricing strategy of the park agent. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1 is the calculation process schematic diagram of the calculation method proposed by the present application.
[0033] Figure 2 is the module structure schematic diagram of the calculator proposed by the present application. DETAILED DESCRIPTION
[0034] The technical solutions of the application will be described in detail below with reference to the drawings.
[0035] As Figure 1 shown, the user comprehensive cost calculation method considering carbon emissions provided by the application comprises steps 1 to 3.
[0036] Step 1: Collecting the power grid topology information of the park, the willing purchase electricity price of the users in the park, the operating state of the new energy equipment, and the willing transaction electricity price of the new energy equipment.
[0037] Step 2: Building a user comprehensive cost calculation model according to the power grid topology information collected in step 1 and the operating state data of the new energy equipment, wherein the user comprehensive cost calculation model comprises a target function and constraint conditions.
[0038] (1) The specific formula of the target function is as follows:
[0039]
[0040] In formula (1), p is a dependent variable corresponding to a total utility function, that is, the declared electricity consumption, f D (p) is a total utility function of all users about the declared electricity consumption p, f G (p) is a total utility function of all new energy equipment about the declared electricity consumption p, is the willing electricity consumption of the user k, is a carbon emission cost function about the willing electricity consumption of the user k, and ND is the number of users.
[0041] (2) The constraint conditions comprise a power balance constraint, a new energy equipment output constraint, and a power network flow safety constraint.
[0042] (a) The specific expression of the power balance constraint is as follows:
[0043]
[0044] In formula (2), q is the willing transaction electricity of the new energy equipment j, and NG is the number of new energy equipment.
[0045] (b) The specific expression of the power network flow safety constraint is as follows:
[0046]
[0047] In the formula, f L (l l ) is the flow passing through the line l, is the flow transmission limit of the line l.
[0048] (c) The specific expression of the new energy device output constraint is:
[0049]
[0050] In formula (4): is the lower limit and the upper limit of the output of the new energy device j.
[0051] Step 3: According to the data collected in step 1 and the user comprehensive cost calculation model built, the user comprehensive cost of each node in the power park is calculated.
[0052] (a) According to the willingness to purchase electricity price of users 1 to users ND collected, the willingness to purchase electricity price function of users 1 to users ND about the willingness to use electricity quantity is obtained through a data fitting algorithm Further, the total utility function f D (p) of all users is obtained, and the specific formula is as follows:
[0053]
[0054] (b) According to the running state of the new energy device and the willingness to trade electricity price of new energy devices 1 to devices NG collected, the willingness to trade electricity price function of new energy devices 1 to devices NG about the willingness to trade electricity quantity is obtained through a data fitting algorithm Further, the total utility function f G (p) of all new energy devices is obtained, and the specific formula is as follows:
[0055]
[0056] (c) According to the grid topology information of the park collected, the influence value of the power flow of any branch when the injection power of a node in the park changes by one unit is solved and stored in the sensitivity matrix sf (NL×NB) . NL is the total number of branches of the park power grid, and NB is the total number of nodes in the park.
[0057] (d) The Lagrange relaxation is performed on the objective function in the model building module, and the specific expression is:
[0058]
[0059] In formula (7): λ is the Lagrange multiplier corresponding to the power balance constraint, is the total load power on node i, is the total device output power on node i, and α i are the Lagrange multipliers corresponding to the upper and lower limits of the power network power flow safety constraint, and sf li is the sensitivity of line l to the change of injection power of node i.
[0060] (e) For the constructed Lagrange function, the partial derivative calculation with respect to the change power on the node i is carried out, and the result is the user comprehensive cost on the node i The specific expression is as follows:
[0061]
[0062] By simplifying and solving, the following form can be obtained:
[0063]
[0064] The result is the user comprehensive cost on the node i.
[0065] In an embodiment of the present application, a user comprehensive cost calculator considering carbon emissions is also provided, as shown in the figure, the calculator comprises a data acquisition module, a model building module and an algorithm solving module. Figure 2
[0066] The data acquisition module is used to acquire the power grid topology information of the park, the willing purchase price of the park internal user, the operation state of the new energy equipment and the willing transaction price of the new energy equipment.
[0067] The model building module accepts the grid topology information of the park and the operation state information of the new energy equipment output by the data acquisition module, and is used to build a user comprehensive cost calculation model, the user comprehensive cost calculation model comprises an objective function and constraint conditions, the objective function is the maximization of the total social welfare of the park, and the constraint conditions comprise power balance constraints, new energy equipment output constraints and power network flow safety constraints.
[0068] The algorithm solving module reads the data collected by the data acquisition module, fits the total utility function of all users and the total utility function of all new energy equipment, calculates the sensitivity matrix, and calls the user comprehensive cost calculation model, carries out Lagrange relaxation on the objective function and solves the Lagrange function with respect to the partial derivative of the total load power on any node, calculates the user comprehensive cost on each node in the power park, and finally outputs the user comprehensive cost on all nodes in the park on the output interface.
[0069] The above embodiments only illustrate the technical ideas and implementation modes of the present application, and cannot limit the protection scope of the present application. It should be pointed out that for ordinary skilled persons in the technical field, without departing from the principles of the present application, a number of improvements and equivalent replacements can be made, and the technical solutions of the improved and equivalent replaced claims of the present application all fall within the protection scope of the present application.
Claims
1. A method for calculating the overall cost of a user taking into account carbon emissions, characterised in that, The method comprises the following steps: Step 1, collecting the power grid network topology information of the park, the willing purchase electricity price of the internal users of the park, the operating state of the new energy equipment and the willing transaction electricity price of the new energy equipment; Step 2, constructing a user comprehensive cost calculation model according to the power grid network topology information and the operating state of the new energy equipment collected in step 1, wherein the user comprehensive cost calculation model comprises a target function and a constraint condition, the target function is to maximize the total social welfare of the park under the consideration of carbon emission, and the constraint condition comprises a power balance constraint, a power network flow safety constraint and a new energy equipment output constraint; Step 3, calling the user cost calculation model constructed in step 2, calculating the user comprehensive cost on each node in the power park according to the calculated sensitivity matrix and the data collected in step 1, and specifically comprising the following steps: Step 3-1, fitting the willing purchase electricity price function of the internal users of the park according to the willing purchase electricity price of the internal users of the park collected in step 1, and solving the total utility function of all users, Step 3-2, fitting the willing transaction electricity price function of the new energy equipment according to the willing transaction electricity price of the new energy equipment collected in step 1, and solving the total utility function of all new energy equipment, Step 3-3, solving the influence value of the power flow of any branch when the injection power of a node in the park changes by one unit according to the power grid network topology information of the park collected in step 1, and storing the influence value in the sensitivity matrix, Step 3-4, performing Lagrange relaxation on the target function to construct a Lagrange function, Step 3-5, solving the partial derivative of the Lagrange function constructed in step 3-4 with respect to the power of any node, and simplifying the partial derivative to obtain the user comprehensive cost on any node in the park.
2. The method of claim 1, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted by the power plant. The expression for the objective function is: ,in, For all users regarding the reported electricity consumption The total utility function, For all new energy equipment regarding the declared electricity consumption The total utility function, For users Intended electricity consumption The carbon emission cost function Number of users.
3. The method of claim 2, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted during the production of the product. The power balance constraint is Power flow security constraints in power networks are The output constraint of new energy equipment is ,in, For new energy equipment The willingness to trade electricity, For the number of new energy devices, For the line The trend that has been passed For the line The limit of current transmission, , For new energy equipment The lower and upper limits of output.
4. The method of claim 1, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted from the use of the product. The expression of solving all users' total utility function in step 3-1 is wherein, , , is the willingness to buy electricity price function of user 1 to user about the willingness to use electricity amount.
5. The method of claim 4, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted during the production of the electricity. The expression for solving the total utility function of all new energy devices in step 3-2 is wherein, , , is the new energy device 1 to device The willingness to trade electricity price function of the willingness to trade electricity.
6. The method of claim 5, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted per unit of energy consumed. The Lagrange function constructed by the steps 3-4 is wherein, is the Lagrange multiplier corresponding to the power balance constraint, is the total load power on the node i, is the total device output power on the node i, and is the Lagrange multiplier corresponding to the upper and lower limits of the power network flow safety constraint, is the line is the sensitivity of the change of the power injected into the node i, is the total number of branches of the park power grid, is the total number of nodes inside the park.
7. The method of claim 6, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted per unit of energy consumed. The partial derivative of the Lagrangian function solved by the steps 3-5 with respect to the change of power at any node is where is the user's total cost at node .
8. The method of claim 7, wherein the carbon emission is calculated based on the amount of carbon dioxide emitted during the production of the product. Said step 3-5 simplifies the partial derivative to obtain the expression of the user's comprehensive cost at any node in the park as .
9. A computing device for implementing the method for calculating the user's comprehensive cost considering carbon emission according to claim 1, characterized in that, The method comprises the following steps: The data collection module collects the power grid network topology information of the park, the willing purchase electricity price of the internal users of the park, the operating state of the new energy equipment and the willing transaction electricity price of the new energy equipment; The model building module is used to receive the power grid network topology information of the park and the operating state of the new energy equipment collected by the data collection module, and construct a user comprehensive cost calculation model; and The algorithm solving module is used to receive the data collected by the data collection module, call the user comprehensive cost calculation model constructed by the model building module, and calculate the user comprehensive cost on each node in the power park according to the calculated sensitivity matrix and the received data.
Citation Information
Patent Citations
Power consumer carbon emission cost sharing method based on carbon emission power price
CN106711997A
Node electricity price pricing method considering elastic load contract
CN114493639A