Retail user electric quantity income calculation method and device, electronic equipment and storage medium
By obtaining the basic data of retail users and power sales companies, calculating medium- and long-term, spot and adjusting electricity costs for retail users, the problem of low accuracy in calculation of electricity returns for retail users is solved, and accurate calculation and operational optimization of electricity returns for retail users is achieved.
Patent Information
- Application Number
- CN202510684710.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-08-15
AI Technical Summary
In the prior art, the power income calculation method of retail users cannot accurately distinguish the electricity consumption curves and benefits of different retail users, resulting in low calculation accuracy.
By obtaining the basic data of retail users and power sales companies, we calculate the medium and long-term electricity costs, spot electricity costs and adjust the electricity sharing costs of the retail users, and calculate the total electricity costs of retail users based on the total electricity costs and settled electricity bills.
It realizes accurate calculation of the electricity revenue of retail users, helping power sales companies measure the actual value of individual users and optimize their operating strategies.
Smart Images

Figure CN120494913A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for calculating the electricity revenue of retail users. Background Art
[0002] Currently, in the electricity market, most power sales companies calculate the wholesale-retail price difference revenue for any retail customer simply by multiplying the company's total average revenue per kWh during the current settlement period by the retail customer's settled electricity volume. This yields the customer's wholesale-retail price difference revenue (referred to as "electricity revenue") for that customer. However, different retail customers have varying electricity consumption characteristics and energy levels. This revenue calculation method cannot truly distinguish the value of different retail customers' different electricity consumption profiles, nor can it differentiate between the company's earnings in the medium- and long-term markets and in the spot market. Therefore, the existing calculation method for determining the electricity revenue for any retail customer is inaccurate. Summary of the Invention
[0003] The present invention provides a method, device, electronic device and storage medium for calculating the electricity revenue of a retail user, which are used to solve the problem of low accuracy of the electricity revenue of any retail user obtained by the revenue calculation method in the prior art.
[0004] The present invention provides a method for calculating the electricity revenue of retail users, comprising: Obtain basic data on retail users and wholesale side data of electricity sales companies within the settlement period; For any retail user, based on the wholesale-side basic data and the retail user basic data, calculate the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost, and the retail user's adjusted electricity allocation cost, wherein the retail user's medium- and long-term electricity cost and the retail user's spot electricity cost are used to distinguish the user's electricity cost corresponding to the electricity consumption curves of different retail users, and the retail user's adjusted electricity allocation cost is used to reflect the increase or decrease in cost caused by the grid metering error when the retail user actually settles the electricity; Calculate the total electricity cost for retail users based on the medium- and long-term electricity cost for retail users, the spot electricity cost for retail users, and the adjusted electricity allocation cost for retail users; The retail user electricity revenue of any retail user within the settlement period is calculated based on the total cost of the retail user electricity and the retail user settlement electricity charges in the retail user basic data.
[0005] According to a method for calculating the electricity revenue of retail users provided by the present invention, the basic data on the wholesale side include: the total net position of the power sales company's medium- and long-term contracts, the real-time market clearing electricity volume of the power sales company, and the weighted average price of the power sales company's medium- and long-term contracts; The basic data of retail users include: the total amount of electricity consumed by retail users every day; For any retail user, the medium- and long-term electricity cost of the retail user is calculated based on the wholesale side basic data and the retail user basic data, including: Based on the proportion of the retail user's daily time-of-use total electricity consumption to the electricity sales company's market-clearing daily electricity consumption and the total net position of the electricity sales company's medium- and long-term contracts, a virtual medium- and long-term electricity consumption curve for the retail user is constructed, wherein the electricity sales company's market-clearing daily electricity consumption is obtained by summing the real-time market-clearing electricity consumption of the electricity sales company on a daily basis; The medium- and long-term electricity cost of the retail user is calculated based on the weighted average price of the medium- and long-term contracts of the power sales company at different times and the virtual medium- and long-term electricity curve of the retail user.
[0006] According to a method for calculating the electricity revenue of retail users provided by the present invention, the wholesale-side basic data also includes: the day-ahead deviation electricity quantity of the power sales company, the day-ahead market-clearing electricity price on the electricity consumption side, and the real-time market-clearing electricity price on the electricity consumption side. The day-ahead deviation electricity quantity of the power sales company represents the difference between the day-ahead market-clearing electricity quantity of the power sales company and the total net position of the power sales company in medium- and long-term contracts; The basic data of retail users also includes: daily time-sharing electricity consumption of retail users; For any retail user, the spot electricity cost of the retail user is calculated based on the wholesale side basic data and the retail user basic data, including: Calculate the virtual day-ahead deviation electricity quantity of the retail user based on the ratio of the day-ahead deviation electricity quantity of the power sales company to the deviation between the real-time market-cleared electricity quantity of the power sales company and the total net position of the medium- and long-term contracts of the power sales company, the daily time-of-use electricity quantity of the retail user and the virtual medium- and long-term electricity quantity curve of the retail user; Calculate the virtual real-time deviation electricity quantity of the retail user based on the retail user's daily time-of-use electricity quantity, the retail user's virtual medium- and long-term electricity quantity curve, and the retail user's virtual day-ahead deviation electricity quantity; The spot electricity cost of the retail user is calculated based on the day-ahead market-clearing electricity price on the electricity consumption side, the real-time market-clearing electricity price on the electricity consumption side, the virtual day-ahead deviation electricity quantity of the retail user, and the virtual real-time deviation electricity quantity of the retail user.
[0007] According to a method for calculating the electricity revenue of retail users provided by the present invention, the wholesale-side basic data includes: the electricity volume adjusted by the electricity sales company and the average wholesale-side settlement price of the electricity volume adjusted by the electricity sales company; The basic data of retail users include: the amount of electricity adjusted by retail users; For any retail user, based on the wholesale side basic data and the retail user basic data, the retail user's adjusted electricity consumption allocation cost is calculated, including: The shared cost of the retail user's adjusted electricity volume is calculated based on the ratio of the retail user's adjusted electricity volume to the electricity sales company's adjusted electricity volume and the average wholesale settlement price of the electricity sales company's adjusted electricity volume.
[0008] A method for calculating the electricity revenue of a retail user provided by the present invention further includes: for any retail user, calculating the additional shared cost of the retail user based on the wholesale side basic data and the retail user basic data; The calculation of the total electricity cost for retail users based on the medium- and long-term electricity cost for retail users, the spot electricity cost for retail users, and the adjusted electricity shared cost for retail users includes: The total electricity cost for retail users is calculated based on the medium- and long-term electricity costs for retail users, the spot electricity costs for retail users, the adjusted electricity sharing costs for retail users and the additional sharing costs for retail users.
[0009] According to a method for calculating the electricity revenue of retail users provided by the present invention, the basic data on the wholesale side includes: the actual total electricity volume settled by the electricity sales company and the additional total cost borne by the wholesale side of the electricity sales company; The basic data of retail users include: the actual amount of electricity settled by retail users; For any retail user, the additional shared costs of the retail user are calculated based on the wholesale side basic data and the retail user basic data, including: The additional shared cost of the retail user is calculated based on the proportion of the actual settled electricity volume of the retail user to the actual total settled electricity volume of the power sales company and the total additional shared costs borne by the wholesale side of the power sales company.
[0010] According to a method for calculating a retail user's electricity revenue provided by the present invention, the retail user electricity revenue of any retail user within the settlement period is calculated based on the retail user's total electricity cost and the retail user's settlement electricity fee in the retail user basic data, including: For any retail user, the retail user electricity revenue of any retail user in the settlement period is obtained by subtracting the retail user's total electricity cost from the retail user's electricity settlement fee.
[0011] The present invention also provides a device for calculating the electricity revenue of retail users, comprising: Basic data acquisition module, used to obtain basic data of retail users and wholesale side basic data of power sales companies within the settlement period; a sub-cost calculation module for calculating, for any retail user, the medium- and long-term electricity cost of the retail user, the spot electricity cost of the retail user, and the adjusted electricity allocation cost of the retail user based on the wholesale-side basic data and the retail user basic data, wherein the medium- and long-term electricity cost of the retail user and the spot electricity cost of the retail user are both used to distinguish the user electricity costs corresponding to the electricity consumption curves of different retail users, and the adjusted electricity allocation cost of the retail user is used to reflect the cost increase or decrease caused by the grid metering error when the retail user actually settles the electricity; A total cost calculation module is used to calculate the total electricity cost of the retail user based on the medium- and long-term electricity cost of the retail user, the spot electricity cost of the retail user and the adjusted electricity allocation cost of the retail user; The revenue calculation module is used to calculate the retail user electricity revenue of any retail user within the settlement period based on the total cost of the retail user electricity and the retail user settlement electricity fee in the retail user basic data.
[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for calculating the electricity revenue of retail users as described in any one of the above is implemented.
[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for calculating the electricity revenue of retail users as described in any one of the above is implemented.
[0014] The method, device, electronic device, and storage medium for calculating the electricity revenue of retail users provided by the present invention calculate the electricity cost of any retail user from three parts: the retail user's medium- and long-term electricity consumption, the retail user's spot electricity consumption, and the retail user's adjusted electricity consumption. This method can comprehensively and accurately calculate the electricity costs of different retail users for different electricity consumption parts, thereby accurately calculating the retail user electricity revenue obtained by the power sales company from any retail user during the settlement period. Accurate retail user electricity revenue helps the power sales company to measure the actual value of individual retail users after the fact, and helps the power sales company to conduct targeted and accurate analysis of the operational results of both wholesale and retail sides. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 It is a flow chart of the method for calculating the electricity revenue of retail users provided by the present invention.
[0017] Figure 2 It is a structural diagram of the device for calculating the electricity revenue of retail users provided by the present invention.
[0018] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0019] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0020] The method for calculating the electricity revenue of retail users in the embodiment of the present invention is as follows: Figure 1 As shown, it includes steps S110 to S140.
[0021] Step S110: Obtain basic data on retail users and wholesale users of the power sales company within the settlement period. Specifically, basic data on retail users can be obtained from the retail side of the power sales company's power sales management system, and basic data on the wholesale side of the power sales company can be obtained from the wholesale side of the power sales management system. The settlement period can be, for example, one month, two months, or one quarter.
[0022] Step S120: For any retail user, based on the wholesale-side basic data and the retail user basic data, calculate the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost and the retail user's adjusted electricity sharing cost, wherein the retail user's medium- and long-term electricity cost and the retail user's spot electricity cost are used to distinguish the user's electricity cost corresponding to the electricity consumption curves of different retail users, and the retail user's adjusted electricity sharing cost is used to reflect the cost increase or decrease caused by the grid metering error when the retail user actually settles the electricity.
[0023] In this step, for any retail user, the electricity cost of the retail user is calculated separately from three parts: the retail user's medium- and long-term electricity consumption, the retail user's spot electricity consumption, and the retail user's adjusted electricity consumption. This can comprehensively and accurately calculate the electricity cost of each retail user in different electricity consumption parts.
[0024] Step S130: Calculate the total electricity cost for the retail user based on the medium- and long-term electricity cost for the retail user, the spot electricity cost for the retail user, and the adjusted electricity shared cost for the retail user.
[0025] Specifically, for any retail user, the total retail user electricity cost is calculated by summing the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost, and the retail user's adjusted electricity allocation cost. The total retail user electricity cost calculation formula for any retail user is as follows: .
[0026] in, Retail users i The total electricity cost for retail users, represents the medium- and long-term electricity cost for retail users, represents the spot electricity cost of retail users, Indicates that retail users adjust their electricity consumption sharing costs.
[0027] The medium- and long-term electricity costs and spot electricity costs of retail users can differentiate the user electricity costs (yuan / MWh) corresponding to the electricity consumption curves of different retail users. For example, commercial office buildings use electricity most during the day, public lighting uses electricity most at night and in the early morning, and charging piles use electricity mostly during the grid's off-peak hours. Combined with the different prices in the spot market at different hours of the month, different retail users will have different electricity costs. The adjusted electricity sharing costs of retail users can reflect the increase or decrease in costs caused by grid metering errors (which affect the settled electricity) when the retail user actually settles electricity. The different electricity costs of different retail users and the increase or decrease in costs are directly related to the retail user's energy consumption level. Therefore, the total electricity cost of retail users, and thus the retail user's electricity revenue, can be accurately calculated by using the medium- and long-term electricity costs of retail users, the spot electricity costs of retail users, and the adjusted electricity sharing costs of retail users.
[0028] Step S140: Calculate the retail user electricity revenue for any retail user during the settlement period based on the total retail user electricity cost and the retail user settlement electricity fee in the retail user basic data. The retail user electricity revenue here represents the revenue that the power sales company obtains from the electricity consumption of any retail user, which is also known as the wholesale-retail price difference revenue.
[0029] Specifically, for any retail user, the retail user electricity bill is deducted from the total cost of the retail user electricity to obtain the retail user electricity revenue of any retail user in the settlement period. The calculation formula for the retail user electricity revenue of any retail user is as follows: in, Indicates that the electricity sales company receives payment from retail users during the settlement period. i The electricity revenue obtained from retail users, Indicates retail users during the billing cycle i The electricity charges settled by retail users are the electricity charges settled under the revenue scope of the electricity sales company.
[0030] In the method for calculating the electricity revenue of retail users in this embodiment, the electricity cost of any retail user is calculated separately from three parts: the retail user's medium- and long-term electricity consumption, the retail user's spot electricity consumption, and the retail user's adjusted electricity consumption. This method can comprehensively and accurately calculate the electricity costs of different retail users for different electricity consumption parts, thereby accurately calculating the retail user electricity revenue that the power sales company obtains from any retail user during the settlement period. Accurate retail user electricity revenue helps the power sales company measure the actual value of individual retail users after the fact and helps the power sales company conduct targeted and accurate analysis of the operational results of both wholesale and retail sides.
[0031] It should be noted that wholesale-side basic data may include but is not limited to the following data: Total net positions of medium- and long-term contracts of power sales companies , indicating that the electricity sales company d day t The total net position of medium and long-term contracts at the moment.
[0032] Real-time market clearing of electricity by electricity sales companies , indicating that the electricity sales company d day t Real-time market clearing electricity at each moment.
[0033] Weighted average price of medium- and long-term contracts of power sales companies , indicating that the electricity sales company d day t The average price of medium and long-term contracts at the moment.
[0034] The electricity sales company's market cleared electricity volume , indicating that the electricity sales company d day t The day-ahead market clearing electricity quantity at time.
[0035] Day-ahead deviation in electricity consumption of power sales companies , indicating that the electricity sales company has cleared the market electricity volume a day ago Total net positions in medium- and long-term contracts with the aforementioned power sales companies The difference is: .
[0036] The market cleared the electricity price on the electricity consumption side .
[0037] Real-time market clearing electricity prices on the user side .
[0038] Power sales companies adjust power consumption , .
[0039] Power sales companies adjust the average wholesale settlement price of electricity .
[0040] The actual total electricity consumption of the power sales company .
[0041] The additional total cost borne by the wholesale side of the electricity sales company .
[0042] Retail user basic data may include but is not limited to the following data: Daily total electricity consumption of retail users by time of use , indicating retail users i exist d The total electricity consumption of the day by time.
[0043] Daily time-of-use electricity consumption of retail users , indicating retail users i exist d day t Time-sharing electricity consumption at the moment, where .
[0044] Retail users adjust their electricity consumption , indicating retail users i Adjust the power, .
[0045] Actual electricity consumption settled by retail users , indicating retail users i The actual settlement electricity volume.
[0046] Electricity bill settlement for retail users , indicating retail users i The electricity charges settled under the revenue scope of the power sales company.
[0047] In step S120, the above basic data may be selected to calculate the medium- and long-term electricity cost of any retail user, the spot electricity cost of the retail user, and the adjusted electricity allocation cost of the retail user.
[0048] In some embodiments, the wholesale side basic data includes: the total net position of the power sales company in the medium and long term contracts , Real-time market clearing of electricity by electricity sales companies The weighted average price of medium- and long-term contracts with power sales companies The basic data of retail users include: the total amount of electricity consumed by retail users every day .
[0049] Based on this, in step S120, the calculation of the medium- and long-term electricity cost of retail users based on the wholesale side basic data and the retail user basic data specifically includes: Based on the total daily time-sharing electricity consumption of the retail user The proportion of daily electricity consumption of the power sales company and the total net position of the power sales company in medium and long-term contracts , build a virtual medium- and long-term electricity consumption curve for retail users , where the daily market clearing electricity quantity of the power sales company is based on the real-time market clearing electricity quantity of the power sales company Sum up by day. The formula is as follows: (1).
[0050] Weighted average price of medium- and long-term contracts of power sales companies at different times and the virtual medium- and long-term electricity consumption curve of retail users , calculate the medium and long-term electricity costs for retail users The specific calculation formula is as follows: (2).
[0051] The above formulas (1) and (2) are used to calculate the medium- and long-term electricity costs of retail users, and the medium- and long-term contract electricity curve of the power sales company on that day is distributed to each retail user while maintaining the shape. It is easy for power sales companies to purchase the typical curve recommended by the market in the wholesale market. It is relatively difficult and unrealistic for power sales companies to adjust the daily medium- and long-term net contract electricity curve to be close to the total electricity consumption curve of the power sales company through various transactions. Therefore, the above formulas (1) and (2) allow retail users to obtain virtual medium- and long-term electricity curves that are close to the curve shape that is easy to purchase in the market (such as the typical curve recommended by the market), rather than the curve shape that is different for each user (which is not available and impractical). It can be understood that if the power sales company newly becomes the agent of this electricity user, it only needs to go to the market to purchase the medium- and long-term contract corresponding to the typical curve of the corresponding electricity, rather than buying 90% of the user's hourly electricity consumption on an hourly basis to make up the user's daily curve.
[0052] In some embodiments, the wholesale side basic data also includes: the day-ahead deviation of the electricity sales company , the electricity price on the electricity side of the market clearing the day before and real-time market clearing electricity prices , the electricity sales company's day-ahead deviation in electricity consumption Indicates the electricity sales company's market clearing of electricity Total net positions in medium- and long-term contracts with the aforementioned power sales companies The basic data of retail users also includes: daily time-sharing electricity consumption of retail users .
[0053] Based on this, in step S120, calculating the retail user's spot electricity cost based on the wholesale side basic data and the retail user basic data specifically includes: Based on the day-ahead deviation of electricity consumption of the power sales company Accounting for the real-time market clearing electricity volume of power sales companies Total net positions in medium- and long-term contracts with power sales companies Deviation ratio, daily time-of-use electricity consumption of retail users and the virtual medium- and long-term electricity consumption curve of retail users , calculate the retail user's virtual day-ahead deviation electricity , the specific calculation formula is as follows: (3).
[0054] Based on retail users' daily time-of-use electricity consumption , virtual medium- and long-term electricity consumption curve for retail users and retail users' virtual day-ahead deviation electricity , calculate the virtual real-time deviation power of retail users , the specific calculation formula is as follows: (4).
[0055] Based on the electricity price of the day-ahead market clearing , Real-time market clearing electricity prices on the electricity consumption side , Retail users' virtual day-ahead deviation electricity and retail users' virtual real-time deviation power , calculate the spot electricity cost of the retail user , the specific calculation formula is as follows: (5).
[0056] The calculation of the spot electricity cost of retail users by using the above formulas (3) to (5) can reflect the effect (which may be profit or loss) of the declaration strategy of the electricity sales company in the day-ahead market. For example, if the electricity sales company believes that the real-time price at time t tomorrow is greater than the day-ahead price, it may make an excess declaration at this time to make a profit. Therefore, it can reflect the effect of the day-ahead declaration strategy of the electricity sales company and pass the profit or loss at that time to the user, making the calculated spot electricity cost of retail users closer to the actual situation.
[0057] In some embodiments, the wholesale side basic data includes: the electricity sales company adjusts the electricity Adjust the average wholesale settlement price of electricity with power sales companies The basic data of retail users include: ; Based on this, in step S120, based on the wholesale side basic data and the retail user basic data, calculating the retail user's adjusted electricity consumption allocation cost specifically includes: Adjusting power consumption based on retail users Adjustment of electricity consumption by electricity sales companies The ratio and the electricity sales company adjust the average settlement price of electricity wholesale side , calculate the retail user's adjusted electricity sharing cost , the specific calculation formula is as follows: (6).
[0058] The above formula (6) can be used to identify the retail users who generate adjusted electricity and the amount of adjusted electricity, so as to characterize the contribution of these retail users to the electricity sales company's adjusted electricity cost, and then relatively reasonably calculate the retail users' adjusted electricity sharing cost.
[0059] In some embodiments, the method for calculating the revenue of retail user electricity consumption further includes: for any retail user, calculating the additional shared cost of the retail user based on the wholesale-side basic data and the retail user basic data. Based on this, step S130 specifically includes: calculating the total cost of the retail user electricity consumption based on the medium- and long-term electricity consumption cost of the retail user, the spot electricity consumption cost of the retail user, the adjusted electricity consumption shared cost of the retail user, and the additional shared cost of the retail user.
[0060] In this embodiment, for any retail user, the additional costs (e.g., electricity market operating expenses and the electricity sales company's management costs for each retail user) are taken into account. These additional costs reflect the additional costs borne by the electricity sales company for participating in the market purchase and need to be passed on to the retail user proportionally. This makes the final calculated total electricity cost for the retail user more accurate and more consistent with actual operating conditions.
[0061] It should be noted that when the additional shared cost is positive (shared), the total electricity cost of the retail user will increase, but when the additional shared cost is negative (shared), the total electricity cost of the retail user will decrease.
[0062] In some embodiments, the wholesale side basic data includes: the actual total electricity consumption of the electricity sales company and the additional total cost borne by the wholesale side of the electricity sales company The basic data of retail users include: the actual amount of electricity settled by retail users .
[0063] Based on this, for any retail user, based on the wholesale side basic data and the retail user basic data, the calculation of the retail user's additional shared cost specifically includes: based on the actual settlement power of the retail user The actual total electricity consumption of the power sales company The proportion of the total additional costs borne by the wholesale side of the power sales company , calculate the additional cost shared by the retail user , specifically, the calculation formula is as follows: (7).
[0064] The following describes a device for calculating the electricity revenue of retail users provided by the present invention. The device for calculating the electricity revenue of retail users described below and the method for calculating the electricity revenue of retail users described above can be used for reference in correspondence with each other.
[0065] The retail user electricity revenue calculation device of the embodiment of the present invention is as follows: Figure 2 Shown, including: The basic data acquisition module 210 is used to obtain basic data of retail users and basic data of wholesale side of power sales companies within a settlement period.
[0066] The sub-cost calculation module 220 is used to calculate the medium- and long-term electricity cost, the spot electricity cost and the adjusted electricity sharing cost of the retail user for any retail user based on the wholesale-side basic data and the retail user basic data. The medium- and long-term electricity cost and the spot electricity cost of the retail user are used to distinguish the user electricity costs corresponding to the electricity consumption curves of different retail users. The adjusted electricity sharing cost of the retail user is used to reflect the cost increase or decrease caused by the grid metering error when the retail user actually settles the electricity.
[0067] The total cost calculation module 230 is used to calculate the total electricity cost of the retail users based on the medium- and long-term electricity costs of the retail users, the spot electricity costs of the retail users and the adjusted electricity sharing costs of the retail users.
[0068] The revenue calculation module 240 is configured to calculate the retail user electricity revenue of any retail user within the settlement period based on the total cost of the retail user electricity and the retail user settlement electricity fee in the retail user basic data.
[0069] In the retail user electricity revenue calculation device of this embodiment, the retail user's electricity cost is calculated for each retail user based on three parts: the retail user's medium- and long-term electricity consumption, the retail user's spot electricity consumption, and the retail user's adjusted electricity consumption. This can comprehensively and accurately calculate the electricity costs of different retail users for different electricity consumption parts, thereby accurately calculating the retail user electricity revenue that the power sales company obtains from each retail user during the settlement period. Accurate retail user electricity revenue helps the power sales company to measure the actual value of individual retail users after the fact and helps the power sales company to conduct targeted and accurate analysis of the operational results of both wholesale and retail sides.
[0070] In some embodiments, the basic data on the wholesale side include: the total net position of the power sales company's medium- and long-term contracts, the real-time market clearing electricity volume of the power sales company, and the weighted average price of the power sales company's medium- and long-term contracts.
[0071] The basic data of retail users include: the total daily electricity consumption of retail users by time.
[0072] The sub-cost calculation module 220 is specifically used for: Based on the proportion of the retail user's daily time-sharing total electricity consumption to the power sales company's market-clearing daily electricity consumption and the total net position of the power sales company's medium- and long-term contracts, a virtual medium- and long-term electricity consumption curve for the retail user is constructed, wherein the power sales company's market-clearing daily electricity consumption is obtained by summing up the power sales company's real-time market-clearing daily electricity consumption on a daily basis.
[0073] The medium- and long-term electricity cost of the retail user is calculated based on the weighted average price of the medium- and long-term contracts of the power sales company at different times and the virtual medium- and long-term electricity curve of the retail user.
[0074] In some embodiments, the basic data on the wholesale side also includes: the day-ahead deviation electricity quantity of the power sales company, the day-ahead market-clearing electricity price on the electricity consumption side and the real-time market-clearing electricity price on the electricity consumption side. The day-ahead deviation electricity quantity of the power sales company represents the difference between the day-ahead market-clearing electricity quantity of the power sales company and the total net position of the power sales company in medium- and long-term contracts.
[0075] The basic data of retail users also includes: daily time-sharing electricity consumption of retail users.
[0076] The sub-cost calculation module 220 is specifically used for: The virtual day-ahead deviation electricity quantity of the retail user is calculated based on the ratio of the day-ahead deviation electricity quantity of the power sales company to the deviation between the real-time market clearing electricity quantity of the power sales company and the total net position of the medium- and long-term contracts of the power sales company, the daily time-of-use electricity quantity of the retail user and the virtual medium- and long-term electricity quantity curve of the retail user.
[0077] Based on the retail user's daily time-of-use electricity consumption, the retail user's virtual medium- and long-term electricity consumption curve and the retail user's virtual day-ahead deviation electricity consumption, the retail user's virtual real-time deviation electricity consumption is calculated.
[0078] The spot electricity cost of the retail user is calculated based on the day-ahead market-clearing electricity price on the electricity consumption side, the real-time market-clearing electricity price on the electricity consumption side, the virtual day-ahead deviation electricity quantity of the retail user, and the virtual real-time deviation electricity quantity of the retail user.
[0079] In some embodiments, the basic data on the wholesale side include: the electricity quantity adjusted by the power sales company and the average wholesale settlement price of the electricity quantity adjusted by the power sales company.
[0080] The basic data of retail users includes: the amount of electricity adjusted by retail users.
[0081] The sub-cost calculation module 220 is specifically used to calculate the retail user's adjusted electricity consumption shared cost based on the ratio of the retail user's adjusted electricity consumption to the electricity sales company's adjusted electricity consumption and the average wholesale settlement price of the electricity sales company's adjusted electricity consumption.
[0082] In some embodiments, the retail user electricity revenue calculation device further includes: an additional shared cost calculation module, which is used to calculate the retail user's additional shared cost for any retail user based on the wholesale side basic data and the retail user basic data.
[0083] The total cost calculation module 230 is specifically used to calculate the total electricity cost of the retail user based on the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost, the retail user's adjusted electricity sharing cost and the retail user's additional sharing cost.
[0084] In some embodiments, the basic data on the wholesale side includes: the actual total electricity volume settled by the power sales company and the total additional shared costs borne by the wholesale side of the power sales company.
[0085] The basic data of retail users include: the actual settled electricity volume of retail users.
[0086] The additional shared cost calculation module is specifically used to calculate the additional shared costs of the retail users based on the proportion of the actual settled electricity volume of the retail users to the actual total settled electricity volume of the power sales company and the total additional shared costs borne by the wholesale side of the power sales company.
[0087] In some embodiments, the revenue calculation module 240 is specifically used to obtain the retail user electricity revenue of any retail user in the settlement period by subtracting the retail user's total electricity cost from the retail user's settled electricity fee.
[0088] Figure 3 An example of a physical structure diagram of an electronic device is shown below. Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the method for calculating the revenue of retail user electricity consumption, which includes: Obtain basic data on retail users and wholesale side basic data on power sales companies within the settlement period.
[0089] For any retail user, based on the wholesale side basic data and the retail user basic data, the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost and the retail user's adjusted electricity sharing cost are calculated.
[0090] The total electricity cost for retail users is calculated based on the medium- and long-term electricity costs for retail users, the spot electricity costs for retail users, and the adjusted electricity sharing costs for retail users.
[0091] The retail user electricity revenue of any retail user within the settlement period is calculated based on the total cost of the retail user electricity and the retail user settlement electricity charges in the retail user basic data.
[0092] Furthermore, the logic instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0093] On the other hand, the present invention further provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the retail user electricity revenue calculation method provided by the above methods, which includes: Obtain basic data on retail users and wholesale side basic data on power sales companies within the settlement period.
[0094] For any retail user, based on the wholesale side basic data and the retail user basic data, the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost and the retail user's adjusted electricity sharing cost are calculated.
[0095] The total electricity cost for retail users is calculated based on the medium- and long-term electricity costs for retail users, the spot electricity costs for retail users, and the adjusted electricity sharing costs for retail users.
[0096] The retail user electricity revenue of any retail user within the settlement period is calculated based on the total cost of the retail user electricity and the retail user settlement electricity charges in the retail user basic data.
[0097] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for calculating the retail user electricity revenue provided by the above methods is implemented, and the method includes: Obtain basic data on retail users and wholesale side basic data on power sales companies within the settlement period.
[0098] For any retail user, based on the wholesale side basic data and the retail user basic data, the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost and the retail user's adjusted electricity sharing cost are calculated.
[0099] The total electricity cost for retail users is calculated based on the medium- and long-term electricity costs for retail users, the spot electricity costs for retail users, and the adjusted electricity sharing costs for retail users.
[0100] The retail user electricity revenue of any retail user within the settlement period is calculated based on the total cost of the retail user electricity and the retail user settlement electricity charges in the retail user basic data.
[0101] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0102] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for calculating the electricity revenue of retail users, characterized in that: include: Obtain basic data on retail users and wholesale side data of electricity sales companies within the settlement period; For any retail user, based on the wholesale-side basic data and the retail user basic data, calculate the retail user's medium- and long-term electricity cost, the retail user's spot electricity cost, and the retail user's adjusted electricity allocation cost, wherein the retail user's medium- and long-term electricity cost and the retail user's spot electricity cost are used to distinguish the user's electricity cost corresponding to the electricity consumption curves of different retail users, and the retail user's adjusted electricity allocation cost is used to reflect the increase or decrease in cost caused by the grid metering error when the retail user actually settles the electricity; Calculate the total electricity cost for retail users based on the medium- and long-term electricity cost for retail users, the spot electricity cost for retail users, and the adjusted electricity allocation cost for retail users; Based on the total cost of the retail user electricity and the retail user settlement electricity charges in the retail user basic data, the retail user electricity revenue of any retail user in the settlement period is calculated.
2. The method for calculating the electricity revenue of retail users according to claim 1, characterized in that: The basic data on the wholesale side include: the total net position of the power sales company's medium- and long-term contracts, the real-time market clearing volume of the power sales company, and the weighted average price of the power sales company's medium- and long-term contracts; The basic data of retail users include: the total amount of electricity consumed by retail users every day; For any retail user, the medium- and long-term electricity cost of the retail user is calculated based on the wholesale side basic data and the retail user basic data, including: Based on the proportion of the retail user's daily time-of-use total electricity consumption to the electricity sales company's market-clearing daily electricity consumption and the total net position of the electricity sales company's medium- and long-term contracts, a virtual medium- and long-term electricity consumption curve for the retail user is constructed, wherein the electricity sales company's market-clearing daily electricity consumption is obtained by summing the real-time market-clearing electricity consumption of the electricity sales company on a daily basis; The medium- and long-term electricity cost of the retail user is calculated based on the weighted average price of the medium- and long-term contracts of the power sales company at different times and the virtual medium- and long-term electricity curve of the retail user.
3. The method for calculating the electricity revenue of retail users according to claim 2, characterized in that: The wholesale side basic data also includes: the day-ahead deviation of the power sales company's electricity consumption, the day-ahead market-clearing electricity price for electricity users, and the real-time market-clearing electricity price for electricity users. The day-ahead deviation of the power sales company's electricity consumption represents the difference between the day-ahead market-clearing electricity consumption of the power sales company and the total net position of the power sales company's medium- and long-term contracts; The basic data of retail users also includes: daily time-sharing electricity consumption of retail users; For any retail user, the spot electricity cost of the retail user is calculated based on the wholesale side basic data and the retail user basic data, including: Calculate the virtual day-ahead deviation electricity quantity of the retail user based on the ratio of the day-ahead deviation electricity quantity of the power sales company to the deviation between the real-time market-cleared electricity quantity of the power sales company and the total net position of the medium- and long-term contracts of the power sales company, the daily time-of-use electricity quantity of the retail user and the virtual medium- and long-term electricity quantity curve of the retail user; Calculate the virtual real-time deviation electricity quantity of the retail user based on the retail user's daily time-of-use electricity quantity, the retail user's virtual medium- and long-term electricity quantity curve, and the retail user's virtual day-ahead deviation electricity quantity; The spot electricity cost of the retail user is calculated based on the day-ahead market-clearing electricity price on the electricity consumption side, the real-time market-clearing electricity price on the electricity consumption side, the virtual day-ahead deviation electricity quantity of the retail user, and the virtual real-time deviation electricity quantity of the retail user.
4. The method for calculating the electricity revenue of retail users according to claim 1, characterized in that: The basic data on the wholesale side include: the electricity sales company's adjusted electricity volume and the average wholesale settlement price of the electricity sales company's adjusted electricity volume; The basic data of retail users include: the amount of electricity adjusted by retail users; For any retail user, based on the wholesale side basic data and the retail user basic data, the retail user's adjusted electricity consumption allocation cost is calculated, including: The shared cost of the retail user's adjusted electricity volume is calculated based on the ratio of the retail user's adjusted electricity volume to the electricity sales company's adjusted electricity volume and the average wholesale settlement price of the electricity sales company's adjusted electricity volume.
5. The method for calculating the electricity revenue of retail users according to claim 1, characterized in that: The method further includes: for any retail user, calculating the additional shared cost of the retail user based on the wholesale side basic data and the retail user basic data; The calculation of the total electricity cost for retail users based on the medium- and long-term electricity cost for retail users, the spot electricity cost for retail users, and the adjusted electricity allocation cost for retail users includes: The total electricity cost for retail users is calculated based on the medium- and long-term electricity costs for retail users, the spot electricity costs for retail users, the adjusted electricity sharing costs for retail users and the additional sharing costs for retail users.
6. The method for calculating the electricity revenue of retail users according to claim 5, characterized in that: The basic data on the wholesale side include: the actual total electricity volume settled by the power sales company and the total additional shared costs borne by the power sales company on the wholesale side; The basic data of retail users include: the actual amount of electricity settled by retail users; For any retail user, the additional shared costs of the retail user are calculated based on the wholesale side basic data and the retail user basic data, including: The additional shared cost of the retail user is calculated based on the proportion of the actual settled electricity volume of the retail user to the actual total settled electricity volume of the power sales company and the total additional shared costs borne by the wholesale side of the power sales company.
7. The method for calculating the electricity revenue of retail users according to any one of claims 1 to 6, characterized in that: Calculating the retail user electricity revenue of any retail user in the settlement period based on the total retail user electricity cost and the retail user settlement electricity fee in the retail user basic data includes: For any retail user, the retail user electricity revenue of any retail user in the settlement period is obtained by subtracting the retail user's total electricity cost from the retail user's electricity settlement fee.
8. A device for calculating the electricity revenue of retail users, characterized in that: include: Basic data acquisition module, used to obtain basic data of retail users and wholesale side basic data of power sales companies within the settlement period; a sub-cost calculation module for calculating, for any retail user, the medium- and long-term electricity cost of the retail user, the spot electricity cost of the retail user, and the adjusted electricity allocation cost of the retail user based on the wholesale-side basic data and the retail user basic data, wherein the medium- and long-term electricity cost of the retail user and the spot electricity cost of the retail user are both used to distinguish the user electricity costs corresponding to the electricity consumption curves of different retail users, and the adjusted electricity allocation cost of the retail user is used to reflect the cost increase or decrease caused by the grid metering error when the retail user actually settles the electricity; A total cost calculation module is used to calculate the total electricity cost of the retail user based on the medium- and long-term electricity cost of the retail user, the spot electricity cost of the retail user and the adjusted electricity allocation cost of the retail user; The revenue calculation module is used to calculate the retail user electricity revenue of any retail user within the settlement period based on the total cost of the retail user electricity and the retail user settlement electricity fee in the retail user basic data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method for calculating the electricity revenue of retail users according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for calculating the electricity revenue of retail users according to any one of claims 1 to 7 is implemented.