Power transaction method and system of virtual power plant, terminal and storage medium

By executing smart contracts and transaction data processing on the blockchain, virtual power plants achieve efficient negotiation of power transactions, solving the problem of low electricity price negotiation efficiency in transactions between virtual power plants and users, and improving transaction efficiency and data security.

CN119205337APending Publication Date: 2024-12-27SHANDONG LUNENG SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411308673.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Virtual power plants and users need to negotiate prices multiple times in power transactions, occupy data transmission resources, and lack an efficient electricity price negotiation mechanism, which affects transaction efficiency and data security.

Method used

By uploading the transaction-related data of the user to the blockchain, performing a smart contract to generate the user's transaction unit price, and generating the target transaction power based on the predicted power generation, predicted power consumption and current transaction demand, sending transaction requests to the blockchain nodes, filtering Deliver target user ends that meet the needs and realize electricity price negotiation and transaction processes.

Benefits of technology

There is no need for virtual power plants to negotiate electricity prices directly with users, which improves power transaction efficiency and data security, simplifies transaction processes, and reduces trust costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119205337A_ABST
    Figure CN119205337A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of virtual power plants, and particularly provides a power transaction method and system for a virtual power plant, a terminal and a storage medium, and the method comprises the steps: uploading transaction associated data of a user side to a block chain, the transaction associated data comprising to-be-transacted power, predicted power generation, predicted power consumption and expected electricity price; executing the intelligent contract, and generating a user transaction unit price based on the transaction associated data; obtaining the predicted generating capacity, the predicted power consumption and the current transaction demand of the virtual power plant, and generating target transaction power based on the predicted generating capacity, the predicted power consumption and the current transaction demand; and sending a transaction request to a block chain node based on the target transaction electric quantity, screening out a target user side of which the user transaction unit price meets the demand, and initiating a transaction process to the target user side. According to the method, the virtual power plant does not need to directly negotiate the electricity price with the user, but negotiates the electricity price on the block chain in a unified manner, so that the electricity transaction efficiency and the data security degree are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of virtual power plants, and specifically relates to a power trading method, system, terminal and storage medium of a virtual power plant. Background Art

[0002] A virtual power plant is a power coordination management system that uses advanced information and communication technologies and software systems to achieve aggregation and coordinated optimization of DERs such as DG, energy storage systems, controllable loads, and electric vehicles, so that it can participate in the electricity market and power grid operation as a special power plant. The core of the concept of a virtual power plant can be summarized as "communication" and "aggregation". The key technologies of virtual power plants mainly include coordinated control technology, smart metering technology, and information and communication technology. The most attractive function of a virtual power plant is that it can aggregate DERs to participate in the operation of the electricity market and ancillary service market, and provide management and ancillary services for distribution and transmission networks.

[0003] Electricity transactions between virtual power plants and users usually require virtual power plants to negotiate prices with users. Price negotiation requires multiple data interactions, which occupies data transmission resources. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides an electricity trading method, system, terminal and storage medium for a virtual power plant to solve the above-mentioned technical problems.

[0005] In a first aspect, the present invention provides a power trading method of a virtual power plant, comprising: Upload the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted power consumption, and the expected electricity price; Execute smart contracts and generate user transaction unit prices based on transaction-related data; Obtain the predicted power generation, predicted power consumption and current trading demand of the virtual power plant, and generate the target trading power based on the predicted power generation, predicted power consumption and current trading demand; Based on the target transaction power, a transaction request is sent to the blockchain node, a target user terminal whose user transaction unit price meets the requirements is screened out, and a transaction process is initiated to the target user terminal.

[0006] In an optional implementation, executing a smart contract to generate a user transaction unit price based on transaction-related data includes: Normalize the power to be traded at all user terminals to obtain the power coefficient; Calculating the difference between the predicted power generation and the predicted power consumption, and converting the difference into a predicted power coefficient; Calculate the user transaction unit price. The formula for calculating the user transaction unit price includes: User transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient).

[0007] In an optional implementation, the predicted power generation, predicted power consumption, and current transaction demand of the virtual power plant are obtained, and the target transaction power is generated based on the predicted power generation, predicted power consumption, and current transaction demand, including: Analyze the current transaction demand, with positive numbers indicating purchased electricity and negative numbers indicating sold electricity; Calculate the sum of the current trading demand of the virtual power plant and the predicted electricity consumption minus the predicted power generation to obtain the target trading electricity.

[0008] In an optional implementation, a transaction request is sent to a blockchain node based on the target transaction power, a target user terminal with the lowest user transaction unit price is screened out, and a transaction process is initiated to the target user terminal, including: If the target transaction power is a positive number, the target user end whose power to be traded is in the selling state and whose user transaction unit price is the lowest is selected; If the target transaction power is a negative number, the target user end whose power to be traded is in the purchased state and whose user transaction unit price is the highest is selected.

[0009] In a second aspect, the present invention provides an electric power trading system for a virtual power plant, comprising: A data upload module is used to upload the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted power consumption, and the expected electricity price; The unit price generation module is used to execute smart contracts and generate user transaction unit prices based on transaction-related data; A transaction calculation module is used to obtain the predicted power generation, predicted power consumption and current transaction demand of the virtual power plant, and generate a target transaction power based on the predicted power generation, predicted power consumption and current transaction demand; The transaction initiation module is used to send a transaction request to the blockchain node based on the target transaction power, screen out the target user end whose user transaction unit price meets the requirements, and initiate a transaction process to the target user end.

[0010] In an optional implementation, the unit price generating module includes: The first calculation unit is used to normalize the power to be traded of all user terminals to obtain a power coefficient; A second calculation unit is used to calculate the difference between the predicted power generation and the predicted power consumption, and convert the difference into a predicted power coefficient; The third calculation unit is used to calculate the user transaction unit price. The formula for calculating the user transaction unit price includes: User transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient).

[0011] In an optional implementation, the transaction calculation module includes: The demand analysis unit is used to analyze the current transaction demand, with positive numbers representing the amount of electricity purchased and negative numbers representing the amount of electricity sold; The target calculation unit is used to calculate the sum of the current trading demand of the virtual power plant and the predicted power consumption minus the predicted power generation to obtain the target trading power.

[0012] In an optional implementation, the transaction initiation module includes: The first screening unit is used to screen out the target user end whose to-be-traded electricity quantity is in a sold state and whose user transaction unit price is the lowest if the target transaction electricity quantity is a positive number; The second screening unit is used to screen out the target user end whose to-be-traded electricity quantity is in a purchased state and whose user transaction unit price is the highest if the target transaction electricity quantity is a negative number.

[0013] In a third aspect, a terminal is provided, including: processor, memory, wherein: The memory is used to store computer programs. The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0014] According to a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the methods described in the above aspects.

[0015] The beneficial effect of the present invention is that the power trading method, system, terminal and storage medium of the virtual power plant provided by the present invention do not require the virtual power plant to negotiate the electricity price directly with the user, but instead negotiate the electricity price uniformly on the blockchain, thereby improving the power trading efficiency and data security.

[0016] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0019] Figure 2is a schematic block diagram of a system according to an embodiment of the present invention.

[0020] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0023] The power trading method of the virtual power plant provided in the embodiment of the present invention is executed by a computer device, and accordingly, the power trading system of the virtual power plant runs in the computer device.

[0024] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution subject may be a power trading system of a virtual power plant. According to different requirements, the order of the steps in the flowchart may be changed, and some may be omitted.

[0025] like Figure 1 As shown, the method includes: Step 110, uploading the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted power consumption, and the expected electricity price; Step 120, executing the smart contract to generate a user transaction unit price based on the transaction-related data; Step 130, obtaining the predicted power generation, predicted power consumption and current transaction demand of the virtual power plant, and generating a target transaction power based on the predicted power generation, predicted power consumption and current transaction demand; Step 140, based on the target transaction power, a transaction request is sent to the blockchain node, a target user terminal whose user transaction unit price meets the requirements is screened out, and a transaction process is initiated to the target user terminal.

[0026] To facilitate understanding of the present invention, the power trading method of the virtual power plant provided by the present invention is further described below based on the principle of the power trading method of the virtual power plant of the present invention and in combination with the process of managing power trading of the virtual power plant in the embodiment.

[0027] Specifically, the power trading methods of virtual power plants include: S1. Upload the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted electricity consumption, and the expected electricity price.

[0028] The transaction-related data of the user side (including electricity consumers and electricity producers) is uploaded to the blockchain network in a secure and encrypted manner to ensure the data is tamper-proof and transparent. These transaction-related data record in detail the amount of electricity to be traded by each user, the power generation predicted based on historical data and algorithms, the predicted electricity consumption, and the expected electricity price set by the user according to his or her own needs. The application of blockchain technology not only ensures the authenticity of the data, but also promotes the fairness and efficiency of electricity transactions.

[0029] S2. Execute smart contracts and generate user transaction unit prices based on transaction-related data.

[0030] The electricity to be traded at all user ends is normalized to obtain an electricity coefficient; the difference between the predicted power generation and the predicted electricity consumption is calculated, and the difference is converted into a predicted electricity coefficient; the user transaction unit price is calculated, and the formula for calculating the user transaction unit price includes: user transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient).

[0031] Once the transaction-related data is successfully uploaded, the system will automatically trigger the execution of the smart contract. According to the preset algorithm and logic, the smart contract normalizes the electricity to be traded of all users, generates an electricity coefficient, and compares them in a unified dimension. Subsequently, the difference between the predicted power generation and the predicted electricity consumption is calculated and converted into a predicted electricity coefficient to reflect the supply and demand balance of the electricity market. Finally, according to the calculation formula of the user's transaction unit price (that is, user transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient)), the smart contract dynamically generates the transaction unit price for each user. This mechanism takes into account both the user's expectations and the market supply and demand situation.

[0032] S3. Obtain the predicted power generation, predicted power consumption and current trading demand of the virtual power plant, and generate the target trading power based on the predicted power generation, predicted power consumption and current trading demand.

[0033] Analyze the current trading demand, with positive numbers representing purchased electricity and negative numbers representing sold electricity; calculate the sum of the virtual power plant's current trading demand and predicted electricity consumption minus the predicted power generation to obtain the target trading electricity.

[0034] Obtain forecasted power generation, forecasted power consumption, and current trading demand for a virtual power plant (a system that integrates multiple distributed energy resources) in real time. By deeply analyzing this data, the system is able to predict and adjust the supply and demand relationship in the electricity market. Specifically, when parsing the current trading demand, a positive number means that the virtual power plant needs to purchase electricity to meet additional demand, and a negative number means that the virtual power plant has surplus electricity to sell. Based on this analysis, the system calculates the target trading power of the virtual power plant, which is the sum of the virtual power plant's current trading demand and forecasted power consumption minus the forecasted power generation. This step is crucial to achieving a dynamic balance in the electricity market.

[0035] S4. Send a transaction request to the blockchain node based on the target transaction power, screen out the target user end whose user transaction unit price meets the requirements, and initiate a transaction process to the target user end.

[0036] If the target transaction volume is a positive number, the target user end whose volume to be traded is in the selling state and whose user transaction unit price is the lowest is selected; if the target transaction volume is a negative number, the target user end whose volume to be traded is in the purchasing state and whose user transaction unit price is the highest is selected.

[0037] According to the calculated target transaction power, the system uses the decentralized characteristics of blockchain to broadcast transaction requests in the blockchain network. Through the automatic screening function of smart contracts, the system can quickly locate the target user end that meets the transaction requirements. If the target transaction power is positive (that is, the virtual power plant needs to purchase power), the system will screen out the user end with the lowest transaction price for the power to be traded and the lowest transaction price to reduce costs; conversely, if the target transaction power is negative (that is, the virtual power plant has power to sell), the user end with the highest transaction price for the power to be traded and the highest transaction price will be screened out to maximize profits. Once the match is successful, the system will automatically initiate the transaction process through the blockchain, including transaction confirmation, fund transfer and power delivery. The whole process is efficient and transparent, reducing the cumbersome links and trust costs in traditional power transactions.

[0038] In some embodiments, the power trading system of the virtual power plant may include a plurality of functional modules composed of computer program segments. The computer programs of the various program segments in the power trading system of the virtual power plant may be stored in a memory of a computer device and executed by at least one processor to perform (see Figure 1 Description) The function of electricity trading of virtual power plants.

[0039] In this embodiment, the power trading system of the virtual power plant can be divided into multiple functional modules according to the functions it performs, such as Figure 2As shown. The functional modules of the system 200 may include: a data upload module 210, a unit price generation module 220, a transaction calculation module 230 and a transaction initiation module 240. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0040] A data upload module is used to upload the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted power consumption, and the expected electricity price; The unit price generation module is used to execute smart contracts and generate user transaction unit prices based on transaction-related data; A transaction calculation module is used to obtain the predicted power generation, predicted power consumption and current transaction demand of the virtual power plant, and generate a target transaction power based on the predicted power generation, predicted power consumption and current transaction demand; The transaction initiation module is used to send a transaction request to the blockchain node based on the target transaction power, screen out the target user end whose user transaction unit price meets the requirements, and initiate a transaction process to the target user end.

[0041] Optionally, as an embodiment of the present invention, the unit price generating module includes: The first calculation unit is used to normalize the power to be traded of all user terminals to obtain a power coefficient; A second calculation unit is used to calculate the difference between the predicted power generation and the predicted power consumption, and convert the difference into a predicted power coefficient; The third calculation unit is used to calculate the user transaction unit price. The formula for calculating the user transaction unit price includes: User transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient).

[0042] Optionally, as an embodiment of the present invention, the transaction calculation module includes: The demand analysis unit is used to analyze the current transaction demand, with positive numbers representing the amount of electricity purchased and negative numbers representing the amount of electricity sold; The target calculation unit is used to calculate the sum of the current trading demand of the virtual power plant and the predicted power consumption minus the predicted power generation to obtain the target trading power.

[0043] Optionally, as an embodiment of the present invention, the transaction initiation module includes: The first screening unit is used to screen out the target user end whose to-be-traded electricity quantity is in a sold state and whose user transaction unit price is the lowest if the target transaction electricity quantity is a positive number; The second screening unit is used to screen out the target user end whose to-be-traded electricity quantity is in a purchased state and whose user transaction unit price is the highest if the target transaction electricity quantity is a negative number.

[0044] Figure 3 A schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention. The terminal 300 can be used to execute the power trading method of the virtual power plant provided in an embodiment of the present invention.

[0045] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0046] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0047] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0048] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0049] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0050] Therefore, the present invention does not require the virtual power plant to negotiate electricity prices directly with users, but instead negotiates electricity prices uniformly on the blockchain, thereby improving electricity trading efficiency and data security. The technical effects that can be achieved by this embodiment can be found in the description above and will not be repeated here.

[0051] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.

[0052] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0053] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or modules, which can be electrical, mechanical or other forms.

[0054] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0055] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0056] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A method for power trading of a virtual power plant, characterized in that: include: Upload the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted power consumption, and the expected electricity price; Execute smart contracts and generate user transaction unit prices based on transaction-related data; Obtain the predicted power generation, predicted power consumption and current trading demand of the virtual power plant, and generate the target trading power based on the predicted power generation, predicted power consumption and current trading demand; Based on the target transaction power, a transaction request is sent to the blockchain node, a target user terminal whose user transaction unit price meets the requirements is screened out, and a transaction process is initiated to the target user terminal.

2. The method according to claim 1, characterized in that Execute smart contracts and generate user transaction unit prices based on transaction-related data, including: Normalize the power to be traded at all user terminals to obtain the power coefficient; Calculating the difference between the predicted power generation and the predicted power consumption, and converting the difference into a predicted power coefficient; Calculate the user transaction unit price. The formula for calculating the user transaction unit price includes: User transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient).

3. The method according to claim 1, characterized in that Obtain the predicted power generation, predicted power consumption and current trading demand of the virtual power plant, and generate the target trading power based on the predicted power generation, predicted power consumption and current trading demand, including: Analyze the current transaction demand, with positive numbers indicating purchased electricity and negative numbers indicating sold electricity; Calculate the sum of the current trading demand of the virtual power plant and the predicted electricity consumption minus the predicted power generation to obtain the target trading electricity.

4. The method according to claim 3, characterized in that Based on the target transaction power, a transaction request is sent to the blockchain node, the target user terminal with the lowest user transaction unit price is screened out, and a transaction process is initiated to the target user terminal, including: If the target transaction power is a positive number, the target user end whose power to be traded is in the selling state and whose user transaction unit price is the lowest is selected; If the target transaction power is a negative number, the target user end whose power to be traded is in the purchased state and whose user transaction unit price is the highest is selected.

5. A power trading system for a virtual power plant, characterized in that: include: A data upload module is used to upload the transaction-related data of the user end to the blockchain, wherein the transaction-related data includes the amount of electricity to be traded, the predicted power generation, the predicted power consumption, and the expected electricity price; The unit price generation module is used to execute smart contracts and generate user transaction unit prices based on transaction-related data; A transaction calculation module is used to obtain the predicted power generation, predicted power consumption and current transaction demand of the virtual power plant, and generate a target transaction power based on the predicted power generation, predicted power consumption and current transaction demand; The transaction initiation module is used to send a transaction request to the blockchain node based on the target transaction power, screen out the target user end whose user transaction unit price meets the requirements, and initiate a transaction process to the target user end.

6. The system according to claim 5, characterized in that The unit price generating module comprises: The first calculation unit is used to normalize the power to be traded of all user terminals to obtain a power coefficient; A second calculation unit is used to calculate the difference between the predicted power generation and the predicted power consumption, and convert the difference into a predicted power coefficient; The third calculation unit is used to calculate the user transaction unit price. The formula for calculating the user transaction unit price includes: User transaction unit price = expected electricity price + expected electricity price × (electricity coefficient + predicted electricity coefficient).

7. The system according to claim 5, characterized in that The transaction calculation module includes: The demand analysis unit is used to analyze the current transaction demand, with positive numbers representing the amount of electricity purchased and negative numbers representing the amount of electricity sold; The target calculation unit is used to calculate the sum of the current trading demand of the virtual power plant and the predicted power consumption minus the predicted power generation to obtain the target trading power.

8. The system according to claim 7, characterized in that The transaction initiation module includes: The first screening unit is used to screen out the target user end whose to-be-traded electricity quantity is in a sold state and whose user transaction unit price is the lowest if the target transaction electricity quantity is a positive number; The second screening unit is used to screen out the target user end whose to-be-traded electricity quantity is in a purchased state and whose user transaction unit price is the highest if the target transaction electricity quantity is a negative number.

9. A terminal, characterized in that: include: A memory, used for storing a power trading program of a virtual power plant; A processor is used to implement the steps of the power trading method of the virtual power plant as described in any one of claims 1-4 when executing the power trading program of the virtual power plant.

10. A computer-readable storage medium storing a computer program, characterized in that: The readable storage medium stores a power trading program of a virtual power plant, and when the power trading program of the virtual power plant is executed by a processor, the steps of the power trading method of the virtual power plant as described in any one of claims 1-4 are implemented.