CN108921448B - Electric energy transaction method, device, equipment and storage medium - Google Patents

Electric energy transaction method, device, equipment and storage medium Download PDF

Info

Publication number
CN108921448B
CN108921448B CN201810813528.9A CN201810813528A CN108921448B CN 108921448 B CN108921448 B CN 108921448B CN 201810813528 A CN201810813528 A CN 201810813528A CN 108921448 B CN108921448 B CN 108921448B
Authority
CN
China
Prior art keywords
energy
routing node
energy routing
target
electric energy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810813528.9A
Other languages
Chinese (zh)
Other versions
CN108921448A (en
Inventor
许银亮
施晓颖
孙宏斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen International Graduate School of Tsinghua University
Original Assignee
Tsinghua-Berkeley Shenzhen Institute Preparation Office
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua-Berkeley Shenzhen Institute Preparation Office filed Critical Tsinghua-Berkeley Shenzhen Institute Preparation Office
Priority to CN201810813528.9A priority Critical patent/CN108921448B/en
Publication of CN108921448A publication Critical patent/CN108921448A/en
Application granted granted Critical
Publication of CN108921448B publication Critical patent/CN108921448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The embodiment of the invention discloses an electric energy transaction method, an electric energy transaction device, electric energy transaction equipment and a storage medium. The method comprises the following steps: acquiring a power demand request, and updating the state quantity of the target energy routing node according to a demand power value in the power demand request; transmitting a power request containing the state quantity of the target energy routing node to other energy routing nodes in the direct-current microgrid, wherein the power request is used for indicating the other energy routing nodes to calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generating a transmission electric energy loss value, and feeding back the transmission electric energy loss value to the target energy routing nodes; and receiving transmission electric energy loss values fed back by other energy routing nodes, and determining a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path. The electricity cost is reduced.

Description

Electric energy transaction method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electric energy, in particular to an electric energy transaction method, device, equipment and storage medium.
Background
In recent years, with the introduction of the concept of energy internet, consumers in the power grid are gradually becoming deputys. In conventional electric power transaction, electric energy purchased by a consumer from a power plant can be transmitted to the consumer through transfer of a third party, and the consumer undertakes electric charge including electric energy lost on an electric energy line consumed by the consumer.
With the development of renewable energy technologies and end-to-end technologies, more and more producers and consumers can directly trade electric energy, and consumers can select an optimal supplier to reduce electricity cost. Although electric power trading of renewable energy has been partially studied at the energy internet level, direct electric energy trading between end-to-end producers and consumers in a distribution grid level dc micro grid has not been fully studied.
Disclosure of Invention
The embodiment of the invention provides an electric energy transaction method, an electric energy transaction device and a storage medium, wherein when a user has an electric power demand, the user can select a supplier with the minimum electric energy transmission loss among a plurality of electric energy suppliers, so that the electricity utilization cost of the user is reduced.
In a first aspect, an embodiment of the present invention provides an electric energy transaction method, where the method includes:
acquiring a power demand request, and updating the state quantity of a target energy routing node according to a demand power value in the power demand request;
transmitting a power request containing the state quantity of a target energy routing node to other energy routing nodes in the direct-current microgrid, wherein the power request is used for indicating the other energy routing nodes to calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generating a transmission electric energy loss value, and feeding back the transmission electric energy loss value to the target energy routing nodes;
and receiving transmission electric energy loss values fed back by other energy routing nodes, and determining a supply energy routing node of a target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path.
In a second aspect, an embodiment of the present invention further provides an electric energy transaction method, where the method includes:
receiving a power request which is transmitted by a target energy routing node and contains the state quantity of the target energy routing node;
calculating the electric energy loss value between the energy routing nodes connected with the target energy routing node according to the state quantity of the target energy routing node, and generating a transmission electric energy loss value;
feeding back feedback information containing the transmission electric energy loss value to the target energy routing node, wherein the feedback information is used for indicating the target energy routing node to determine a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the received transmission electric energy loss value fed back by each other energy routing node;
and carrying out electric energy transmission according to the electric energy transmission path.
In a third aspect, an embodiment of the present invention further provides an electric energy transaction apparatus, where the apparatus includes:
the request acquisition module is used for acquiring a power demand request and updating the state quantity of a target energy routing node according to a demand power value in the power demand request;
the request transmission module is used for transmitting the power demand request to other energy routing nodes in the direct-current microgrid, wherein the power demand request is used for indicating the other energy routing nodes to calculate electric energy loss values between the energy routing nodes connected with the other energy routing nodes, generating transmission electric energy loss values, and feeding back the transmission electric energy loss values to the target energy routing nodes;
and the node path determining module is used for receiving transmission electric energy loss values fed back by other energy routing nodes, and determining a supply energy routing node of a target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path.
In a third aspect, an embodiment of the present invention further provides an electric energy transaction apparatus, where the apparatus includes:
the request receiving module is used for receiving a power request which is transmitted by the target energy routing node and contains the state quantity of the target energy routing node;
the loss value generating module is used for calculating the electric energy loss value between the energy routing nodes connected with the target energy routing node according to the state quantity of the target energy routing node and generating a transmission electric energy loss value;
an information feedback module, configured to feed back feedback information including the transmission power loss value to the target energy routing node, where the feedback information is used to instruct the target energy routing node to determine, according to the received transmission power loss value fed back by each other energy routing node, a supply energy routing node of the target energy routing node and a power transmission path between the supply energy routing node and the target energy routing node;
and the electric energy transmission module is used for transmitting electric energy according to the electric energy transmission path.
In a fourth aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the power trading method of any of the first aspects or the power trading method of the second aspect.
In a fourth aspect, the present invention further provides a storage medium, on which a computer program is stored, where the program is executed by a processor to implement any of the electric energy transaction methods in the first aspect or to implement the electric energy transaction method in the second aspect.
According to the technical scheme provided by the embodiment of the invention, the target energy routing node transmits a power request comprising the state quantity of the target energy routing node in the direct-current micro-grid based on a distributed consistency algorithm, so that other energy routing nodes calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generate a transmission electric energy loss value and feed back the transmission electric energy loss value to the target energy routing node; and the target energy routing node determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electric energy loss value, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path. According to the scheme, direct electric energy transaction among the energy routing nodes is realized, and when a user has an electric power demand, the provider with the minimum electric energy transmission loss can be selected among a plurality of electric energy providers, so that the electricity utilization cost is reduced.
Drawings
Fig. 1 is a schematic diagram of a dc microgrid according to an embodiment of the present invention;
fig. 2A is a flowchart of an electric energy transaction method according to an embodiment of the present invention;
fig. 2B is a schematic diagram of an energy routing node connection relationship provided in the first embodiment of the present invention;
fig. 3 is a flowchart of an electric energy transaction method according to a second embodiment of the present invention;
fig. 4 is a flowchart of an electric energy transaction method provided in the third embodiment of the present invention;
fig. 5 is a flowchart of an electric energy transaction method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart of an electric energy transaction method according to a fifth embodiment of the present invention;
fig. 7 is a block diagram illustrating an electric energy transaction apparatus according to a sixth embodiment of the present invention;
fig. 8 is a block diagram of an electric energy transaction apparatus according to a seventh embodiment of the present invention
Fig. 9 is a schematic structural diagram of an apparatus provided in the eighth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Before describing the embodiments of the present invention, an application scenario of the embodiments of the present invention is described. Fig. 1 is a schematic diagram of a dc microgrid composed of multiple energy routers, to which an embodiment of the present invention is applied, wherein the dc microgrid uses a large amount of renewable energy sources, such as wind energy, solar energy, and the like. The energy router is a key technology for developing an energy internet, can process information flow and energy flow at the same time, and can perform a response algorithm to perform directional transmission on electric energy by using a consistency algorithm and only collecting information of the energy router in a neighbor area. For example, five energy routers (i.e., energy routing nodes) R1 to R5 in fig. 1 may perform interaction of information flow and energy flow, when energy router R4 obtains that user 4 needs electric energy, it may transmit the demand information to energy router R2, energy router R3, and energy router R5 connected thereto, and forward the demand information to energy router R1 by any one of energy router R2 or energy router R3, and if user 2 can supply power to user 4 at this time, user 2 supplies power to user 4 via energy router R2 and energy router R4.
In addition, the distributed algorithm has the advantages of protecting user privacy, reducing communication traffic with the central controller, avoiding system breakdown caused by single-point failure and the like. Common distributed algorithms include an alternative multiplier iteration method, an auxiliary problem principle, an optimality condition decomposition and consistency algorithm and the like. Where the coherency algorithm may be applied to any level of partitioning, a single node or a large area may become a partition. Therefore, the embodiment of the invention realizes the electric energy transaction in the direct current micro-grid system consisting of the multi-energy routers based on the interaction among the energy routers and the adoption of a distributed consistency algorithm.
Example one
Fig. 2A is a flowchart of an electric energy transaction method according to an embodiment of the present invention, and the present embodiment is applicable to an electric energy transaction situation in a dc microgrid including multiple energy routers. The whole set of electric energy transaction method is usually executed by the mutual cooperation of a target energy routing node and other energy routing nodes in a direct current microgrid, wherein one energy router is an energy routing node. The scheme of the embodiment of the invention is applied to the target energy routing node in the direct current microgrid, and the method can be executed by the electric energy transaction device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode. Referring to fig. 2A, the method specifically includes:
s210, acquiring the power demand request, and updating the state quantity of the target energy routing node according to the demand power value in the power demand request.
The power demand request refers to a request sent by a user needing electric energy to an energy routing node to which the user belongs, and may include a demand power value and an identifier of the user; the required power value is the required power or electric energy value; the user's identification refers to a mark for uniquely identifying the user's identity, such as may be the user's ID. When any user supported by one energy routing node has power demand, the energy routing node can be used as a target energy routing node.
The state quantity refers to a power value or a loss value of the current state of the energy routing node. For example, when the target energy routing node acquires the power demand request, the initial state value of the state quantity of the target energy routing node is the demand power value of the user, and the initial state values of the state quantities of other energy routing nodes are all 0.
Specifically, the target energy routing node receives a power demand request sent by any user supported by the target energy routing node, and updates the state quantity of the target energy routing node according to a demand power value included in the power demand request.
And S220, transmitting a power request containing the state quantity of the target energy routing node to other energy routing nodes in the direct current microgrid, wherein the power request is used for indicating the other energy routing nodes to calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generating a transmission electric energy loss value, and feeding back the transmission electric energy loss value to the target energy routing node.
Specifically, after the state quantity of the target energy routing node is updated by the target energy routing node according to the required power value included in the power demand request, a power request is generated according to the state quantity, the identification of the user and the like, the power request is transmitted to the direct current microgrid, so that other energy routing nodes in the direct current microgrid update the local state quantity according to the state quantity of the target energy routing node in the received power request, the electric energy loss value between the energy routing nodes connected with the energy routing nodes is calculated according to the updated state quantity, the transmission electric energy loss value is generated, and the transmission electric energy loss value is fed back to the target energy routing node.
In order to enable other energy routing nodes to calculate the electric energy loss value according to the state quantity of the target energy routing node, that is, the required power value of the user, for example, the target energy routing node may transmit a power request including the state quantity of the target energy routing node to the other energy routing nodes in the dc microgrid by using a discrete maximum consistency algorithm, so that the other energy routing nodes execute the discrete maximum consistency algorithm to obtain the state quantity of the target energy routing node.
The discrete maximum consistency algorithm is as follows:
Figure GDA0002848679630000051
wherein N isiThe number of neighbors of an energy routing node i in the direct-current micro-grid is set; k is the number of iterations; x is the number ofiRepresenting the ith energy routing node. x is the number ofjIs represented by the jth energy routing node, and xiAre connected.
For example, referring to fig. 2B, there are 5 energy routing nodes R1, R2, R3, R4, and R5 in the dc microgrid, and R1 is a target energy routing node, and the power demand of the user is 20 KW. Correspondingly, the initial state value x of the R1 state quantity1(0) Initial state values x of the state quantities R2, R3, R4 and R5 at 20KW2(0)、x3(0)、x4(0) And x5(0) Are all 0.
For R2, the nodes connected with it are R1, R3 and R4, and the maximum value of the state quantity is the state quantity of R1, so R2 is based on the discrete maximum consistency algorithm, namely x2(k+1)=max{x1(k),x3(k),x5(k) Obtaining the state quantity of R1; the local state quantity of R2 is updated in accordance with the state quantity of R1, so that the state quantity of R2 becomes 20 KW.
Based on the similar principle, after each energy routing node executes the discrete maximum consistency algorithm, the state quantity of each energy routing node is changed into the state quantity of the target energy routing node, namely the required power value of the user. For example, at this time, the final state value of each energy routing node in the dc microgrid may be represented as:
Xi(∞)=max{x1(0),K,xi(0),K,xN(0)}·1
wherein N is the number of energy routing nodes, and X (∞) [ X ]1(∞),K,xN(∞)]T,1=[1,K,1]TIs an N × 1 vector. x is the number of1(∞),K,xNThe final state value of the state quantity of each energy routing node is associated with each infinity.
When the state values of other energy routing nodes are updated to the state quantity of the target energy routing node, namely the required power value of the user, the other energy routing nodes synchronously adopt the updated state quantity and a preset loss model to calculate the electric energy loss value between the energy routing nodes connected with the energy routing nodes based on a distributed algorithm. The preset loss model refers to a preset basic model capable of accurately calculating the electric energy loss on the transmission line between the two energy routing nodes, that is, the state quantity value of the energy routing node is 0, and if the state quantity value is 0, the method comprises the following steps:
Figure GDA0002848679630000061
wherein, PijIs the on-line power on the transmission line from node i to node j; rijA line resistance on the transmission line from node i to node j; viThe voltage at node i. The voltage measurement on the transmission line from node i to node j is complicated due to environmental factors, and ViAnd VijApproximately equal, therefore this embodiment employs ViIn place of Vij
When the state quantity value of the energy routing node is the state quantity of the target energy routing node, namely the required power value of the user, the preset loss model can be adaptively adjusted to be as follows:
Figure GDA0002848679630000062
Pijis the on-line power on the transmission line from node i to node j; rijA line resistance on the transmission line from node i to node j; viIs the voltage at node i; delta PiIs the state quantity of the energy routing node i, and is also the required power value of the user, Δ Pij lossIs the power loss value generated on the transmission line by the power value required by the user.
Referring to fig. 2B, for R2, the updated state quantities and the preset loss model are used to calculate the power loss values between the nodes connected thereto, i.e., R1, R3 and R4, respectively, and store the values in R2; meanwhile, the R3, the R4 and the R5 respectively calculate the electric energy loss values between the nodes connected with the state quantities by using the updated state quantities and the preset loss models, and respectively store the electric energy loss values in the local places and the like.
Correspondingly, the transmission power loss value refers to power loss values between other energy routing nodes and the target energy routing node, for example, power loss values between R5 and R1, which can be obtained by sequentially recursing the energy routing nodes. In order to quickly respond to the demands of users, and to select the optimal electric energy transaction for the users so as to reduce the consumption of the users. For example, the other energy routing nodes may select a sequential recursion from the plurality of stored energy losses in the direction of the target energy routing node with the smallest loss value, such that the transmission energy loss value received by the target energy routing node is the smallest transmission energy loss value between each energy routing node and the target energy routing node.
And S230, receiving the transmission electric energy loss values fed back by the other energy routing nodes, and determining a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path.
The supply energy routing node refers to any one of other energy routing nodes, and is a node which supplies power to the target energy routing node, and can be determined in the following manner: after receiving the transmission electric energy loss values fed back by the other energy routing nodes, the target energy routing node sends power supply determining information to the other energy routing nodes in the direct-current microgrid, the other energy routing nodes feed back yes or no information to the target energy routing node, and the target energy routing node removes the energy routing nodes which do not conduct the electric energy transaction from the other energy routing nodes according to the feedback information; and selecting the energy routing node with the minimum transmission electric energy loss value from the residual energy routing nodes as a supply energy routing node. For example, determining the supply energy routing node of the target energy routing node according to the transmission power loss values may include: eliminating energy routing nodes which do not carry out the electric energy transaction from other energy routing nodes; and determining the residual energy routing node corresponding to the minimum transmission electric energy loss value as a supply energy routing node.
In order to respond to the demand of the user quickly, the following steps can be also included: each other energy routing node adds yes or no feedback information in the feedback transmission electric energy loss value to the target energy routing node, so that the target energy routing node can quickly eliminate energy routing nodes which do not carry out the electric energy transaction from other energy routing nodes according to the feedback information; and selecting the energy routing node with the minimum transmission power loss value from the residual energy routing nodes as a supply energy routing node.
Specifically, after the supply energy routing node of the target energy routing node is determined, the electric energy transmission path between the supply energy routing node and the target energy routing node may be determined in a manner that the target energy routing node recursively searches for the supply energy routing node. For example, as shown in fig. 2B, the target energy routing node is R1, the supply energy routing node is R4, and R1 may determine to recur in the direction of R2 according to the minimum transmission power loss value, so that R2 informs R4 of the transmission path, so that R4 obtains how to transmit power to R1, and performs power transmission according to the determined power transmission path.
After determining the supply energy routing node of the target energy routing node according to each transmission power loss value, the method may further include: and transmitting the transmission electric energy loss values corresponding to the supply energy routing nodes to other energy routing nodes in the direct current microgrid based on a discrete minimum consistency algorithm, so that the other energy routing nodes in the direct current microgrid update local state quantities according to the transmission electric energy loss values sent by the target energy routing nodes.
The discrete minimum consistency algorithm corresponds to the discrete maximum consistency algorithm, and can be represented as:
Figure GDA0002848679630000071
wherein N isiThe number of neighbors of an energy routing node i in the direct-current micro-grid is set; k is the number of iterations; x is the number ofiRepresenting the ith energy routing node. x is the number ofjRepresents the jth energy routing node, and xiAre connected.
After each energy routing node executes the minimum consistency algorithm, the state quantity of each energy routing node is changed into a transmission electric energy loss value corresponding to the energy supply routing node. For example, at this time, the final state value of each energy routing node in the dc microgrid may be represented as:
Xi(∞)=min{x1(0),K,xi(0),K,xN(0)}·1
wherein N is the number of energy routing nodes, and X (∞) [ X ]1(∞),K,xN(∞)]T,1=[1,K,1]TIs an N × 1 vector. x is the number of1(∞),K,xNThe final state value of the state quantity of each energy routing node, that is, the transmission power loss value corresponding to the supply energy routing node, is associated with each infinity.
According to the technical scheme provided by the embodiment of the invention, the target energy routing node transmits a power request comprising the state quantity of the target energy routing node in the direct-current micro-grid based on a distributed consistency algorithm, so that other energy routing nodes calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generate a transmission electric energy loss value and feed back the transmission electric energy loss value to the target energy routing node; and the target energy routing node determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electric energy loss value, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path. According to the scheme, direct electric energy transaction among the energy routing nodes is realized, and when a user has an electric power demand, the provider with the minimum electric energy transmission loss can be selected among a plurality of electric energy providers, so that the electricity utilization cost is reduced.
Example two
Fig. 3 is a flowchart of an electric energy trading method according to a second embodiment of the present invention, which is further optimized based on the first embodiment. Referring to fig. 3, the method specifically includes:
s310, acquiring the power demand request, and updating the state quantity of the target energy routing node according to the demand power value in the power demand request.
And S320, transmitting a power request containing the state quantity of the target energy routing node to other energy routing nodes in the direct current microgrid, wherein the power request is used for indicating the other energy routing nodes to calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generating a transmission electric energy loss value, and feeding back the transmission electric energy loss value to the target energy routing node.
And S330, receiving the transmission electric energy loss values fed back by the other energy routing nodes, and determining a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values.
S340, determining whether the local residual energy value of the supply energy routing node satisfies the demand power value in the power demand request.
The local remaining energy value of the supply energy routing node refers to the current available electric energy or power value of the supply energy routing node.
Specifically, after the energy supply routing node is determined, the target energy routing node sends information for acquiring the current available electric energy to the energy supply routing node, and the target energy routing node judges whether a required power value in the power demand request is met or not according to a local residual energy value fed back by the energy supply routing node; and if the local residual energy value is greater than or equal to the required power value in the power requirement request of the user, the local residual energy value is satisfied, so that the supply energy routing node transmits the electric energy according to the determined electric energy transmission path.
And S350, if the local residual energy value does not meet the requirement, determining a power shortage value according to the local residual energy value of the supply energy routing node and the required power value in the power requirement request.
The power shortage value may be a difference between the required power value and the local residual energy value, or may be an original required power value.
And S360, updating the state quantity of the target energy routing node according to the power shortage value, and determining a new energy supply routing node of the target energy routing node and a new electric energy transmission path between the new energy supply routing node and the target energy routing node according to the state quantity of the target energy routing node, so that the energy supply routing node supplies power to the target energy routing node according to the electric energy transmission path corresponding to the energy supply routing node and the new energy supply routing node according to the new electric energy transmission path corresponding to the new energy supply routing node.
Wherein the newly-supplied energy routing node is any one of the other energy routing nodes except the supplied energy routing node. The determination process of the new energy routing node and the new power transmission path between the new energy routing node and the target energy routing node may be implemented through steps S320 and S330, or implemented in other manners.
Specifically, if the local residual energy value is smaller than the required power value in the power demand request of the user, the power shortage value is determined according to the local residual energy value of the supply energy routing node and the required power value in the power demand request, the state quantity of the target energy routing node is updated according to the power shortage value, and the steps S320 and S330 are returned to be executed, so that a new supply energy routing node and a new electric energy transmission path between the new supply energy routing node and the target energy routing node are determined, and the supply energy routing node supplies power to the power demand user supported by the target energy routing node simultaneously according to the electric energy transmission path corresponding to the supply energy routing node and the new electric energy transmission path corresponding to the new supply energy routing node.
For example, if the local remaining energy value is smaller than the required power value in the power requirement request of the user, the target energy routing node may also directly use the required power value as the power shortage value, and re-execute steps S320 and S330, to determine a newly-supplied energy routing node of the target energy routing node and a new electric energy transmission path between the newly-supplied energy routing node and the target energy routing node, so that the newly-supplied energy routing node supplies power to the power requirement user supported by the target energy routing node according to the new electric energy transmission path corresponding to the newly-supplied energy routing node.
According to the technical scheme provided by the embodiment of the invention, when a user has a power demand, if the local residual energy value of the energy supply routing node determined by the target energy routing node is smaller than the demand power value of the user, a new energy supply routing node can be selected, so that the new energy supply routing node and the energy supply routing node can simultaneously supply power to the user, and the flexibility of electric energy transaction is improved.
EXAMPLE III
Fig. 4 is a flowchart of an electric energy transaction method according to a third embodiment of the present invention, where the whole set of electric energy transaction method is usually executed by a target energy routing node and other energy routing nodes in a dc microgrid in a cooperative manner, where one energy router is an energy routing node. The scheme of the embodiment of the invention is applied to other energy routing nodes in the direct current microgrid, and the method can be executed by the electric energy transaction device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode. Referring to fig. 4, the method specifically includes:
and S410, receiving a power request which is transmitted by the target energy routing node and contains the state quantity of the target energy routing node.
The power request is a request generated by the target energy routing node according to the state quantity, the identification of the user and the like.
Specifically, the other energy routing nodes receive a power request of the state quantity of the target energy routing node, which is sent by the target energy routing node based on the discrete maximum consistency algorithm.
And S420, calculating the electric energy loss value between the energy routing nodes connected with the target energy routing node according to the state quantity of the target energy routing node, and generating a transmission electric energy loss value.
The transmission electric energy loss value refers to electric energy loss values between other energy routing nodes and the target energy routing node, and can be obtained through sequential recursion of the energy routing nodes.
For example, calculating the power loss value between the energy routing nodes connected to the target energy routing node according to the state quantity of the target energy routing node may include: updating the local state quantity according to the state quantity of the target energy routing node;
and determining the electric energy loss value between the energy routing nodes connected with the local state quantity according to the updated local state quantity and a preset loss model.
Specifically, the other energy routing nodes execute a discrete maximum consistency algorithm to obtain the state quantity of the target energy routing node, and when the state quantity of each energy routing node becomes the state quantity of the target energy routing node, that is, the required power value of the user, each other energy routing node synchronously calculates the electric energy loss value between the energy routing nodes connected with the other energy routing node by using the updated state quantity and a preset loss model based on a distributed algorithm. The preset loss model refers to a preset basic model capable of accurately calculating the electric energy loss on the transmission line between the two energy routing nodes, that is, the state quantity value of the energy routing node is 0, and if the state quantity value is 0, the method comprises the following steps:
Figure GDA0002848679630000101
wherein, PijIs the on-line power on the transmission line from node i to node j; rijA line resistance on the transmission line from node i to node j; viIs the voltage at node i. The voltage measurement on the transmission line from node i to node j is complicated due to environmental factors, and ViAnd VijApproximately equal, therefore this embodiment employs ViIn place of Vij
When the state quantity value of the energy routing node is the state quantity of the target energy routing node, namely the required power value of the user, the preset loss model can be adaptively adjusted to be as follows:
Figure GDA0002848679630000111
Pijis the on-line power on the transmission line from node i to node j; rijA line resistance on the transmission line from node i to node j; viIs the voltage at node i; delta PiIs the state quantity of the energy routing node and the required power value of the user, delta Pij lossIs the power loss value generated on the transmission line by the power value required by the user.
When other energy routing nodes respectively adopt the updated state quantity and the preset loss model to respectively calculate the electric energy loss values between the nodes connected with the energy routing nodes, and after the electric energy loss values are respectively stored locally, the electric energy loss values can recurse towards the direction of the target energy routing node in sequence according to the stored electric energy loss values, so that the transmission electric energy loss values between the other energy routing nodes and the target energy routing node are obtained.
And S430, feeding back feedback information containing transmission electric energy loss values to the target energy routing node, wherein the feedback information is used for indicating the target energy routing node to determine a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the received transmission electric energy loss values fed back by the other energy routing nodes.
The supply energy routing node refers to any one of the other energy routing nodes and is a node which supplies power to the target energy routing node.
Specifically, other energy routing nodes feed back feedback information including a transmission power loss value to the target energy routing node; after receiving feedback information including transmission electric energy loss values fed back by other energy routing nodes, the target energy routing node sends power supply determining information to other energy routing nodes in the direct-current microgrid, the other energy routing nodes feed back yes or no information to the target energy routing node, and the target energy routing node removes energy routing nodes which do not conduct electric energy transaction from the other energy routing nodes according to the feedback information; and selecting the energy routing node with the minimum transmission electric energy loss value from the residual energy routing nodes as a supply energy routing node based on a discrete minimum consistency algorithm. After the target energy routing node determines the supply energy routing node of the target energy routing node, the target energy routing node may determine the electric energy transmission path between the supply energy routing node and the target energy routing node in a manner that the target energy routing node recursively searches for the supply energy routing node.
S440, electric energy transmission is carried out according to the electric energy transmission path.
Specifically, the supply energy routing node supplies power to the target energy routing node according to the determined electric energy transmission path.
And if the local residual electric energy value of the supply energy routing node cannot meet the required power value of the user, the target energy routing node initiates the operation of determining a new supply energy routing node and a corresponding new electric energy transmission path again. Correspondingly, the power transmission according to the power transmission path may further include: and supplying power to the target energy routing node according to the electric energy transmission path corresponding to the energy supply routing node and the new electric energy transmission path corresponding to the new energy supply routing node.
According to the technical scheme provided by the embodiment of the invention, other energy routing nodes calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to a power request which is sent by the target energy routing node based on a distributed consistency algorithm and comprises the state quantity of the target energy routing node, generate a transmission electric energy loss value, and feed back the transmission electric energy loss value to the target energy routing node, so that the target energy routing node determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electric energy loss value; and the supply energy routing node transmits the electric energy according to the determined electric energy transmission path. According to the scheme, direct electric energy transaction among the energy routing nodes is realized, and when a user has an electric power demand, the provider with the minimum electric energy transmission loss can be selected among a plurality of electric energy providers, so that the electricity utilization cost is reduced.
Example four
Fig. 5 is a flowchart of an electric energy trading method according to a fourth embodiment of the present invention, which is further optimized based on the third embodiment. Referring to fig. 5, the method specifically includes:
and S510, receiving a power request which is transmitted by the target energy routing node and contains the state quantity of the target energy routing node.
And S520, determining the minimum electric energy loss value on the transmission line between the energy routing nodes connected with the minimum electric energy loss value based on the discrete offset minimum consistency algorithm.
The offset is a loss value generated by the power value required by the user on the transmission line. Correspondingly, the discrete offset minimum consistency algorithm is used to select the minimum transmission power loss value between each other energy routing node and the target energy routing node, and may be represented as:
Figure GDA0002848679630000121
wherein N isiThe number of neighbor nodes of a node i in the power grid, S1Is a set of points of the leader node, i.e. a set of target energy routing nodes, S2The node set is a point set of following nodes, namely other energy routing node sets, and the state quantity of the leading node is not influenced by the state quantities of other nodes; the state quantity of the following node is determined by the state quantity of the leader nodeAnd (4) determining. Pij lossThe power loss value generated on the transmission line from the node i to the node j is the required power value. x is the number of1i *Routing an initial power loss value of node i for a target energy having a power demand; x is the number of2i *Routing the final power loss value of the node i for the target energy; x is the number ofj *Representing the power loss value inside the jth energy routing node.
Optionally, xj *Specifically, each of the other energy routing nodes selects the lowest loss value from the plurality of stored energy losses based on the offset minimum consistency algorithm, that is, determines the lowest loss value on the transmission line between the energy routing nodes connected to the energy routing node, so as to determine the lowest transmission energy loss value between each of the other energy routing nodes and the target energy routing node.
S530, generating a transmission power loss value between the local energy routing node and the target energy routing node in a recursive manner based on the minimum power loss value.
Specifically, the other energy routing nodes select the lowest loss value from the plurality of stored energy losses and recurse in sequence towards the target energy routing node, so that the transmission energy loss value received by the target energy routing node is the lowest transmission energy loss value between each energy routing node and the target energy routing node. The demand speed of responding to the user is increased, the optimal electric energy transaction is provided for the user to select, and the consumption of the user is reduced.
And S540, feeding back feedback information containing transmission electric energy loss values to the target energy routing node, wherein the feedback information is used for indicating the target energy routing node to determine an energy supply routing node of the target energy routing node and an electric energy transmission path between the energy supply routing node and the target energy routing node according to the received transmission electric energy loss values fed back by the other energy routing nodes.
And S550, carrying out electric energy transmission according to the electric energy transmission path.
According to the technical scheme provided by the embodiment of the invention, other energy routing nodes select the lowest loss value from the plurality of stored energy losses based on a discrete offset minimum consistency algorithm to recur in the direction of the target energy routing node in sequence, so that the transmission energy loss value received by the target energy routing node is the minimum transmission energy loss value between each energy routing node and the target energy routing node. The method and the device accelerate the speed of responding to the demands of the users, provide the optimal electric energy transaction for the users to select, and reduce the electricity consumption cost of the users.
EXAMPLE five
Fig. 6 is a flowchart of an electric energy transaction method according to a fifth embodiment of the present invention, and the present embodiment provides a preferred example that a target energy routing node interacts with other energy routing nodes in a dc microgrid on the basis of the foregoing embodiment. Referring to fig. 6, the method specifically includes:
s601, the target energy routing node acquires the power demand request and updates the state quantity of the target energy routing node according to the demand power value in the power demand request.
S602, the target energy routing node transmits a power request containing the state quantity of the target energy routing node to other energy routing nodes in the direct current micro-grid.
S603, the other energy routing nodes receive the power request which is transmitted by the target energy routing node and contains the state quantity of the target energy routing node.
And S604, updating the local state quantity by other energy routing nodes according to the state quantity of the target energy routing node.
And S605, determining the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the updated local state quantity and the preset loss model by the other energy routing nodes.
And S606, determining the minimum electric energy loss value on the transmission line between the other energy routing nodes connected with the other energy routing nodes based on the discrete offset minimum consistency algorithm.
S607, the other energy routing nodes recursively generate transmission power loss values between the local energy routing node and the target energy routing node based on the minimum power loss value.
And S608, feeding back feedback information containing the transmission electric energy loss value to the target energy routing node by other energy routing nodes.
And S609, the target energy routing node receives the transmission electric energy loss values fed back by other energy routing nodes, and determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values.
S610, the supply energy routing node transmits electric energy according to the electric energy transmission path.
According to the technical scheme provided by the embodiment of the invention, the target energy routing node transmits a power request comprising the state quantity of the target energy routing node in the direct-current micro-grid based on a distributed consistency algorithm; the other energy routing nodes calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generate a transmission electric energy loss value, and feed back the transmission electric energy loss value to the target energy routing node; the target energy routing node determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electric energy loss value; and the supply energy routing node transmits the electric energy according to the determined electric energy transmission path. According to the scheme, direct electric energy transaction among the energy routing nodes is realized, and when a user has an electric power demand, the provider with the minimum electric energy transmission loss can be selected among a plurality of electric energy providers, so that the electricity utilization cost is reduced.
EXAMPLE six
Fig. 7 is a block diagram of an electric energy transaction apparatus according to a sixth embodiment of the present invention, which is capable of executing the electric energy transaction methods according to the first and second embodiments of the present invention, and has corresponding functional modules and beneficial effects. As shown in fig. 7, the apparatus may include:
a request obtaining module 710, configured to obtain a power demand request, and update a state quantity of a target energy routing node according to a demand power value in the power demand request;
a request transmission module 720, configured to transmit a power demand request to other energy routing nodes in the dc micro-grid, where the power demand request is used to instruct the other energy routing nodes to calculate an electric energy loss value between energy routing nodes connected to the other energy routing nodes, generate a transmission electric energy loss value, and feed back the transmission electric energy loss value to a target energy routing node;
the node path determining module 730 is configured to receive the transmission power loss values fed back by the other energy routing nodes, and determine a supply energy routing node of the target energy routing node and a power transmission path between the supply energy routing node and the target energy routing node according to the transmission power loss values, so that the supply energy routing node performs power transmission according to the determined power transmission path.
According to the technical scheme provided by the embodiment of the invention, the target energy routing node transmits a power request comprising the state quantity of the target energy routing node in the direct-current micro-grid based on a distributed consistency algorithm, so that other energy routing nodes calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to the state quantity, generate a transmission electric energy loss value and feed back the transmission electric energy loss value to the target energy routing node; and the target energy routing node determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electric energy loss value, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path. According to the scheme, direct electric energy transaction among the energy routing nodes is realized, and when a user has an electric power demand, the provider with the minimum electric energy transmission loss can be selected among a plurality of electric energy providers, so that the electricity utilization cost is reduced.
Illustratively, the node path determining module 730 is specifically configured to:
energy routing nodes which do not perform electric energy transaction are removed from other energy routing nodes; and determining the residual energy routing node corresponding to the minimum transmission electric energy loss value as a supply energy routing node.
Illustratively, the apparatus may further include:
and the loss value transmission module is used for transmitting the transmission electric energy loss values corresponding to the supply energy routing nodes to other energy routing nodes in the direct-current microgrid based on a discrete minimum consistency algorithm after determining the supply energy routing nodes of the target energy routing nodes according to the transmission electric energy loss values, so that the other energy routing nodes in the direct-current microgrid update the local state quantity according to the transmission electric energy loss values sent by the target energy routing nodes.
EXAMPLE seven
Fig. 8 is a block diagram of an electric energy transaction apparatus according to a seventh embodiment of the present invention, which is capable of executing the electric energy transaction methods according to the third and fourth embodiments of the present invention, and has corresponding functional modules and beneficial effects of the execution methods. As shown in fig. 8, the apparatus may include:
a request receiving module 810, configured to receive a power request transmitted by a target energy routing node and containing a state quantity of the target energy routing node;
a loss value generating module 820, configured to calculate, according to the state quantity of the target energy routing node, an electric energy loss value between energy routing nodes connected to the target energy routing node, and generate a transmission electric energy loss value;
the information feedback module 830 is configured to feed back feedback information including a transmission power loss value to the target energy routing node, where the feedback information is used to instruct the target energy routing node to determine a supply energy routing node of the target energy routing node and a power transmission path between the supply energy routing node and the target energy routing node according to the received transmission power loss value fed back by each other energy routing node;
the power transmission module 840 is configured to transmit power according to a power transmission path.
According to the technical scheme provided by the embodiment of the invention, other energy routing nodes calculate the electric energy loss value between the energy routing nodes connected with the other energy routing nodes according to a power request which is sent by the target energy routing node based on a distributed consistency algorithm and comprises the state quantity of the target energy routing node, generate a transmission electric energy loss value, and feed back the transmission electric energy loss value to the target energy routing node, so that the target energy routing node determines a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electric energy loss value; and the supply energy routing node transmits the electric energy according to the determined electric energy transmission path. According to the scheme, direct electric energy transaction among the energy routing nodes is realized, and when a user has an electric power demand, the provider with the minimum electric energy transmission loss can be selected among a plurality of electric energy providers, so that the electricity utilization cost is reduced.
Illustratively, the loss value generating module 820 is specifically configured to:
updating the local state quantity according to the state quantity of the target energy routing node; and determining the electric energy loss value between the energy routing nodes connected with the local state quantity according to the updated local state quantity and a preset loss model.
Illustratively, the loss value generating module 820 is further specifically configured to:
determining a minimum electric energy loss value on a transmission line between energy routing nodes connected with the minimum consistency algorithm based on discrete offset; a transmission power loss value between the local energy routing node and the target energy routing node is generated in a recursive manner based on the minimum power loss value.
It should be noted that the discrete offset minimum consistency algorithm in this embodiment is:
Figure GDA0002848679630000161
wherein N isiThe number of neighbor nodes of a node i in the power grid, S1Is a set of points of the leader node, S2Is a set of points following a node, Pij lossThe power loss value generated on the transmission line from the node i to the node j is the required power value. x is the number of1i *Routing an initial power loss value of node i for a target energy having a power demand; x is the number of2i *Routing the final power loss value of the node i for the target energy; x is the number ofj *Representing the power loss value inside the jth energy routing node.
Illustratively, the power transfer module 840 is specifically configured to:
and supplying power to the target energy routing node according to the electric energy transmission path corresponding to the energy supply routing node and the new electric energy transmission path corresponding to the new energy supply routing node.
Example eight
Fig. 9 is a schematic structural diagram of an apparatus according to an eighth embodiment of the present invention, and fig. 9 shows a block diagram of an exemplary apparatus suitable for implementing the embodiment of the present invention. The device 12 shown in fig. 9 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 9, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, such as implementing the electric energy transaction method provided by the embodiment of the present invention, by executing the program stored in the system memory 28.
Example nine
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program, when executed by a processor, can implement the electric energy transaction method according to any of the above embodiments.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. An electric energy transaction method, characterized in that the method comprises:
acquiring a power demand request, and updating the state quantity of a target energy routing node according to a demand power value in the power demand request;
transmitting a power request containing state quantity of a target energy routing node to other energy routing nodes in the direct-current microgrid, wherein the power request is used for indicating the other energy routing nodes to calculate a minimum electric energy loss value between the other energy routing nodes and the energy routing nodes connected with the other energy routing nodes according to the state quantity, generating a transmission electric energy loss value, and feeding back the transmission electric energy loss value to the target energy routing nodes;
receiving transmission electric energy loss values fed back by other energy routing nodes, and determining a supply energy routing node of a target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path;
the other energy routing nodes determine the minimum electric energy loss value on the transmission line between the other energy routing nodes and the energy routing nodes connected with the other energy routing nodes based on a discrete offset minimum consistency algorithm;
generating transmission power loss values between other energy routing nodes and the target energy routing node in a recursive manner based on the minimum power loss value;
wherein the discrete offset minimum consistency algorithm is:
Figure FDA0002881695470000011
wherein N isiThe number of neighbors of an energy routing node i in the direct current microgrid, S1Is a set of points, S, of target energy routing nodes2Is a set of points, P, of other energy routing nodesij lossThe value of the power loss, x, generated on the transmission line for the value of the power demand from node i to node j1i *Is an initial power loss value; x is the number of2i *For transmission between an energy routing node i and an energy routing node connected theretoA minimum power loss value on the transmission line; x is the number ofj *Representing the power loss value inside the jth energy routing node.
2. The method of claim 1, wherein determining a supply energy routing node for a target energy routing node based on each transmission power loss value comprises:
eliminating energy routing nodes which do not carry out the electric energy transaction from other energy routing nodes;
and selecting the energy routing node with the minimum transmission power loss value from the residual energy routing nodes, and determining the energy routing node as a supply energy routing node.
3. The method of claim 1, wherein after determining the supply energy routing node for the target energy routing node based on each transmission power loss value, further comprising:
and transmitting the transmission electric energy loss value corresponding to the supply energy routing node to other energy routing nodes in the direct current microgrid based on a discrete minimum consistency algorithm, so that the other energy routing nodes in the direct current microgrid update the local state quantity according to the transmission electric energy loss value sent by the target energy routing node.
4. The method of claim 1, wherein after determining a supply energy routing node of a target energy routing node and an electrical energy transmission path between the supply energy routing node and the target energy routing node according to each transmission electrical energy loss value, further comprising:
determining whether a local residual energy value of the supply energy routing node satisfies a demand power value in the power demand request;
if not, determining a power shortage value according to the local residual energy value of the supply energy routing node and the required power value in the power requirement request;
and updating the state quantity of the target energy routing node according to the power shortage value, and determining a new energy supply routing node of the target energy routing node and a new electric energy transmission path between the new energy supply routing node and the target energy routing node according to the state quantity of the target energy routing node.
5. An electric energy transaction method, characterized in that the method comprises:
receiving a power request which is transmitted by a target energy routing node and contains a state quantity of the target energy routing node, wherein the state quantity of the target energy routing node is a required power value;
calculating a minimum electric energy loss value between a local energy routing node and an energy routing node connected with the local energy routing node according to the state quantity of the target energy routing node to generate a transmission electric energy loss value, wherein the local energy routing node is other energy routing nodes except the target energy routing node in the direct current microgrid;
feeding back feedback information containing the transmission electric energy loss value to the target energy routing node, wherein the feedback information is used for indicating the target energy routing node to determine a supply energy routing node of the target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the received transmission electric energy loss value;
when the local energy routing node is determined to be a supply energy routing node, performing electric energy transmission according to the electric energy transmission path;
the method comprises the steps that a minimum electric energy loss value on a transmission line between a local energy routing node and an energy routing node connected with the local energy routing node is determined based on a discrete offset minimum consistency algorithm;
generating a transmission power loss value between a local energy routing node and the target energy routing node in a recursive manner based on the minimum power loss value;
wherein the discrete offset minimum consistency algorithm is:
Figure FDA0002881695470000031
wherein N isiThe number of neighbors of an energy routing node i in the direct current microgrid, S1Is a set of points, S, of target energy routing nodes2Is a set of points, P, of other energy routing nodesij lossThe value of the power loss, x, generated on the transmission line for the value of the power demand from node i to node j1i *Is an initial power loss value; x is the number of2i *The minimum electric energy loss value on a transmission line between the energy routing node i and the energy routing node connected with the energy routing node i is obtained; x is the number ofj *Representing the power loss value inside the jth energy routing node.
6. An electrical energy transaction apparatus for a target energy routing node, comprising:
the request acquisition module is used for acquiring a power demand request and updating the state quantity of a target energy routing node according to a demand power value in the power demand request;
the request transmission module is used for transmitting the power demand request to other energy routing nodes in the direct-current microgrid, wherein the power demand request is used for indicating the other energy routing nodes to calculate the minimum electric energy loss value between the other energy routing nodes and the energy routing nodes connected with the other energy routing nodes, generating a transmission electric energy loss value, and feeding back the transmission electric energy loss value to the target energy routing node;
the node path determining module is used for receiving transmission electric energy loss values fed back by other energy routing nodes, and determining a supply energy routing node of a target energy routing node and an electric energy transmission path between the supply energy routing node and the target energy routing node according to the transmission electric energy loss values, so that the supply energy routing node performs electric energy transmission according to the determined electric energy transmission path;
the other energy routing nodes determine the minimum electric energy loss value on the transmission line between the other energy routing nodes and the energy routing nodes connected with the other energy routing nodes based on a discrete offset minimum consistency algorithm;
generating transmission power loss values between other energy routing nodes and the target energy routing node in a recursive manner based on the minimum power loss value;
wherein the discrete offset minimum consistency algorithm is:
Figure FDA0002881695470000032
wherein N isiThe number of neighbors of an energy routing node i in the direct current microgrid, S1Is a set of points, S, of target energy routing nodes2Is a set of points, P, of other energy routing nodesij lossThe value of the power loss, x, generated on the transmission line for the value of the power demand from node i to node j1i *Is an initial power loss value; x is the number of2i *The minimum electric energy loss value on a transmission line between the energy routing node i and the energy routing node connected with the energy routing node i is obtained; x is the number ofj *Representing the power loss value inside the jth energy routing node.
7. An electrical energy transaction apparatus for a local energy routing node, comprising:
a request receiving module, configured to receive a power request that includes a state quantity of a target energy routing node and is transmitted by the target energy routing node, where the state quantity of the target energy routing node is a required power value;
the loss value generation module is used for calculating a minimum electric energy loss value between a local energy routing node and an energy routing node connected with the local energy routing node according to the state quantity of the target energy routing node to generate a transmission electric energy loss value, wherein the local energy routing node is other energy routing nodes except the target energy routing node in the direct-current micro-grid;
an information feedback module, configured to feed back feedback information including the transmission power loss value to the target energy routing node, where the feedback information is used to instruct the target energy routing node to determine, according to the received transmission power loss value, a supply energy routing node of the target energy routing node and a power transmission path between the supply energy routing node and the target energy routing node;
an electric energy transmission module, configured to transmit electric energy according to the electric energy transmission path when the local energy routing node is determined as a supply energy routing node;
the method comprises the steps that a minimum electric energy loss value on a transmission line between a local energy routing node and an energy routing node connected with the local energy routing node is determined based on a discrete offset minimum consistency algorithm;
generating a transmission power loss value between a local energy routing node and the target energy routing node in a recursive manner based on the minimum power loss value;
wherein the discrete offset minimum consistency algorithm is:
Figure FDA0002881695470000041
wherein N isiThe number of neighbors of an energy routing node i in the direct current microgrid, S1Is a set of points, S, of target energy routing nodes2Is a set of points, P, of other energy routing nodesij lossThe value of the power loss, x, generated on the transmission line for the value of the power demand from node i to node j1i *Is an initial power loss value; x is the number of2i *The minimum electric energy loss value on a transmission line between the energy routing node i and the energy routing node connected with the energy routing node i is obtained; x is the number ofj *Representing the power loss value inside the jth energy routing node.
8. An electric energy transaction apparatus, characterized in that the apparatus comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the electrical energy trading method of any one of claims 1-4 or the electrical energy trading method of claim 5.
9. A storage medium on which a computer program is stored, which program, when executed by a processor, carries out the method of electric energy trading according to any one of claims 1 to 4 or carries out the method of electric energy trading according to claim 5.
CN201810813528.9A 2018-07-23 2018-07-23 Electric energy transaction method, device, equipment and storage medium Active CN108921448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813528.9A CN108921448B (en) 2018-07-23 2018-07-23 Electric energy transaction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813528.9A CN108921448B (en) 2018-07-23 2018-07-23 Electric energy transaction method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108921448A CN108921448A (en) 2018-11-30
CN108921448B true CN108921448B (en) 2021-06-29

Family

ID=64415754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813528.9A Active CN108921448B (en) 2018-07-23 2018-07-23 Electric energy transaction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108921448B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109916211A (en) * 2019-01-09 2019-06-21 青岛海尔空调器有限总公司 The energy sharing method at energy stores station
CN110390598B (en) * 2019-09-05 2024-04-26 珠海格力电器股份有限公司 Energy transaction system, control method and storage medium
CN110890971B (en) * 2019-12-09 2021-04-27 珠海格力电器股份有限公司 Energy interaction method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192473A (en) * 2002-12-12 2004-07-08 Tokyo Electric Power Co Inc:The System and server for trading electric power resources
CN105552940A (en) * 2015-12-22 2016-05-04 广东顺德中山大学卡内基梅隆大学国际联合研究院 Distributed global optimum energy management system based on an alternating direction method of multipliers
CN106451415A (en) * 2016-09-07 2017-02-22 广东顺德中山大学卡内基梅隆大学国际联合研究院 Microgrid power transaction system based on distributed coordination method
CN106910105A (en) * 2017-01-13 2017-06-30 上海交通大学 Distribution type electric energy method of commerce based on compound auction in intelligent grid
CN107067190A (en) * 2017-05-18 2017-08-18 厦门大学 The micro-capacitance sensor power trade method learnt based on deeply
WO2018117529A1 (en) * 2016-12-21 2018-06-28 재단법인 녹색에너지연구원 Industrial complex microgrid system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004192473A (en) * 2002-12-12 2004-07-08 Tokyo Electric Power Co Inc:The System and server for trading electric power resources
CN105552940A (en) * 2015-12-22 2016-05-04 广东顺德中山大学卡内基梅隆大学国际联合研究院 Distributed global optimum energy management system based on an alternating direction method of multipliers
CN106451415A (en) * 2016-09-07 2017-02-22 广东顺德中山大学卡内基梅隆大学国际联合研究院 Microgrid power transaction system based on distributed coordination method
WO2018117529A1 (en) * 2016-12-21 2018-06-28 재단법인 녹색에너지연구원 Industrial complex microgrid system
CN106910105A (en) * 2017-01-13 2017-06-30 上海交通大学 Distribution type electric energy method of commerce based on compound auction in intelligent grid
CN107067190A (en) * 2017-05-18 2017-08-18 厦门大学 The micro-capacitance sensor power trade method learnt based on deeply

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Graph Theory Based Energy Routing Algorithm in Energy Local Area Network;Ruichi Wang等;《IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS》;20171231;第13卷(第6期);第II-III节 *
Enabling Localized Peer-to-Peer Electricity Trading Among Plug-in Hybrid Electric Vehicles Using Consortium Blockchains;Jiawen Kang等;《IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS》;20171231;第13卷(第6期);全文 *
能源互联网中基于区块链的电力交易和阻塞管理方法;邰雪等;《电网技术》;20161231;第40卷(第12期);全文 *

Also Published As

Publication number Publication date
CN108921448A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
US11669085B2 (en) Method and system for determining system settings for an industrial system
CN108921448B (en) Electric energy transaction method, device, equipment and storage medium
Jogunola et al. Prosumers matching and least-cost energy path optimisation for peer-to-peer energy trading
Lezama et al. Agent-based microgrid scheduling: An ICT perspective
CN111586146B (en) Wireless internet of things resource allocation method based on probability transfer deep reinforcement learning
US11210751B2 (en) Targeting energy units in a blockchain
Dong et al. Effective method to determine time‐delay stability margin and its application to power systems
JP6966395B2 (en) Optimization system and optimization method
Lin et al. Optimal ESS allocation in distribution network using accelerated generalised Benders decomposition
CN111509706A (en) Power supply topology information correction method, system, device and storage medium
Bovo et al. Review of the Mathematic Models to Calculate the Network Indicators to Define the Bidding Zones
JP6833040B2 (en) Management of combined electrical energy
Cao et al. Mapping strategy for virtual networks in one stage
Toersche et al. Energy management with TRIANA on FPAI
CN106843971A (en) BIOS method for refreshing, server, BMC, medium and storage control
CN111211998A (en) Resource allocation method and device capable of elastically expanding capacity and electronic equipment
CN110689137A (en) Parameter determination method, system, medium, and electronic device
CN110912203B (en) Multi-microgrid cooperative control and system, computer equipment and readable storage medium
Mathur et al. Capacity planning of wind farm to simultaneously optimize hosting capacity and losses in distribution system with electric vehicles
CN110504689B (en) Power system load flow calculation method based on cloud calculation technology
KR101860598B1 (en) Apparatus for data integration of heterogeneous system
Yehia et al. A heuristic algorithm for electric distribution networks optimal feeder configuration using geographic information system
Yang et al. Privacy-preserving energy scheduling for smart grid with renewables
Zhang et al. Dynamic energy storage control for reducing electricity cost in data centers
CN114208122A (en) Autonomous semantic data discovery for distributed networked systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221121

Address after: 518000 2nd floor, building a, Tsinghua campus, Shenzhen University Town, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Tsinghua Shenzhen International Graduate School

Address before: 518055 Nanshan Zhiyuan 1001, Xue Yuan Avenue, Nanshan District, Shenzhen, Guangdong.

Patentee before: TSINGHUA-BERKELEY SHENZHEN INSTITUTE