Energy storage equipment control method and device based on community microgrid electric energy trading
By measuring the net load of the community microgrid and the main grid, the charge and discharge control model of the energy storage equipment is established, which solves the problem in the existing technology that the control of energy storage equipment requires a large amount of data information, and realizes the real-time optimization and operation cost of the energy storage equipment. of reduction.
Patent Information
- Application Number
- CN202110938173.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-08-16
AI Technical Summary
In the existing technology, community microgrids require a large amount of data information to control energy storage equipment in order to reduce costs, which increases the technical difficulty and expense of new or modified P2P power transactions.
By measuring the net load at the connection point between the community microgrid and the main grid, the control parameters of the energy storage equipment are determined based on the net load, and real-time communication data and energy storage equipment performance data are used to establish a charge and discharge control model to achieve instant charge and discharge of the energy storage equipment. Optimize and provide cost-optimal constraints based on total operating costs.
It reduces the amount of data interaction required for energy storage equipment control, achieves effective optimization of energy storage equipment, reduces operating costs, and avoids power disturbance to the distribution network.
Smart Images

Figure CN113659600B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power equipment control, and in particular, relates to a method and device for controlling energy storage equipment based on community microgrid electric energy trading. Background Art
[0002] In recent years, a large number of distributed power sources (such as rooftop photovoltaics, etc.) have been connected to community microgrids. Many energy consumers will have local electricity production capabilities and gradually transform into production-type consumers (prosumers), that is, they have the dual identities of electricity producers and consumers. There is a common connection point between the microgrid and the distribution network. The power interaction at this connection point reflects the sum of the net loads of multiple prosumers in the microgrid. Through the collaboration between prosumers, the excess electricity of an energy producer in the community microgrid can be used by another energy consumer, and the random fluctuations of distributed power sources and loads of prosumers in the microgrid can be balanced locally, effectively avoiding power disturbances to the distribution network, and significantly reducing energy costs.
[0003] At present, a P2P power trading optimization model suitable for smart homes can be used to centrally control all devices to reduce the energy costs of microgrid communities and individual consumers. This method regards the cloud controller as a third-party entity and requires a central processing unit to collect and process all household information. Control from the third-party entity control center to each producer and consumer requires intensive communication facilities. However, the inventors have found the following technical problems through creative work: the existing control strategies all require the establishment of two-way data communication from the producer and consumer to the network platform or third-party entity, which increases the technical difficulty and cost of building or renovating community microgrids to achieve P2P power trading. Summary of the invention
[0004] In view of this, the present invention aims to propose a method and device for controlling energy storage equipment based on community microgrid electricity trading, so as to solve the technical problem in the prior art that a large amount of data information is required for the microgrid community to control the energy storage equipment in order to reduce costs.
[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0006] On the one hand, an embodiment of the present invention provides a method for controlling an energy storage device based on community microgrid electric energy trading, comprising:
[0007] Measure the net load at the connection point between the community microgrid and the main grid;
[0008] Determining control parameters of energy storage equipment in the community microgrid according to the net load;
[0009] Sending control parameters of the energy storage device to an energy storage device controller so that the energy storage device is charged and discharged according to the control parameters;
[0010] The step of determining the control parameters of the energy storage device in the community microgrid according to the net load includes:
[0011] Determining whether the energy storage device is in a charging or discharging state according to the net load;
[0012] When in the charging state, the charging parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is charged with an amount that is linearly related to the nominal capacity of the energy storage device; when in the discharging state, the discharging parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is discharged with an amount that is linearly related to the nominal capacity of the energy storage device.
[0013] Furthermore, the charging parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, and are calculated in the following manner:
[0014]
[0015]
[0016] Among them, the Refers to the charging power of the energy storage device in time slot t; Refers to the discharge power of the energy storage device in time slot t, is the net load of prosumer i in time slot t, is the maximum discharge power of all prosumer energy storage devices in the community microgrid. is the maximum discharge power of a single prosumer i.
[0017] Furthermore, the determining of the charging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i also includes:
[0018] When the net load is positive, the charging power of the energy storage device in the community microgrid needs to meet the following conditions:
[0019]
[0020] in, is the charging power of producer and seller i in time t, ΔP BW The bandwidth of a set value for charging (or discharging) an energy storage device.
[0021] Furthermore, the discharge parameter of the energy storage device is determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, and is calculated in the following manner:
[0022]
[0023]
[0024] SOC is the state of charge of the energy storage device. and are the minimum and maximum allowed SOC.
[0025] Furthermore, the method of determining the discharge parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i also includes:
[0026] When the net load is positive, the discharge power of the energy storage device in the community microgrid needs to meet the following conditions:
[0027]
[0028] Furthermore, the method further comprises:
[0029] According to the net load at the connection point between the community microgrid and the main grid throughout the day, the actual energy storage device charging and discharging power at time slot t-24, the community microgrid P2P power trading price, and the energy storage device conditions of community microgrid users, a nonlinear programming production and sales mathematical model of community microgrid prosumers with energy storage device constraints is established;
[0030]
[0031] st
[0032]
[0033] st
[0034]
[0035]
[0036]
[0037] Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, which is obtained from historical actual measurements; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24 (excluding the energy storage device); buy,t Refers to the price of electricity purchased by the community microgrid in time slot t; sell,t Refers to the price of electricity sold by the community microgrid in time slot t;
[0038] Calculate a charge and discharge control schedule for the energy storage device according to the minimum cost model;
[0039] Accordingly, the control parameters of the energy storage device in the community microgrid are determined according to the net load, including:
[0040] The control parameters of the energy storage device in the community microgrid are determined according to the net load and the charging and discharging control schedule.
[0041] Furthermore, the method further comprises:
[0042] The average value of the charging and discharging power of the energy storage device in the previous period is taken into the calculation as one of the constraints of the optimization calculation for the next half hour.
[0043] On the other hand, an embodiment of the present invention further provides an energy storage device control device based on community microgrid electric energy trading, comprising:
[0044] A measurement module, used to measure the net load at the connection point between the community microgrid and the main grid;
[0045] A determination module, used to determine control parameters of energy storage equipment in the community microgrid according to the net load;
[0046] A sending module, used to send the control parameters of the energy storage device to the energy storage device controller, so that the energy storage device is charged and discharged according to the control parameters;
[0047] The determining module comprises:
[0048] A judging unit, configured to judge whether the energy storage device is in a charging or discharging state according to the net load;
[0049] a parameter determination unit for determining, when in a charging state, the charging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is charged with an amount that is linearly related to the nominal capacity of the energy storage device; and for determining, when in a discharging state, the discharging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is discharged with an amount that is linearly related to the nominal capacity of the energy storage device.
[0050] Furthermore, the parameter determination unit includes:
[0051] It includes: a first calculation subunit, wherein the first calculation subunit calculates in the following manner:
[0052]
[0053]
[0054] Among them, the Refers to the charging power of the energy storage device in time slot t; Refers to the discharge power of the energy storage device in time slot t, is the net load of prosumer i in time slot t, is the maximum discharge power of all prosumer energy storage devices in the community microgrid. is the maximum discharge power of a single prosumer i.
[0055] Furthermore, the parameter determination unit further includes:
[0056] The first constraint subunit is used to ensure that the charging power of the energy storage device in the community microgrid meets the following conditions when the net load is positive:
[0057]
[0058] in, is the charging power of producer and seller i in time t, ΔP BW The bandwidth of a set value for charging (or discharging) an energy storage device.
[0059] Furthermore, the parameter determination unit further includes a second calculation subunit, which determines the control parameters of the energy storage device in the community microgrid according to the net load when the net load is a negative value, and calculates in the following manner:
[0060]
[0061]
[0062] SOC is the state of charge of the energy storage device. and are the minimum and maximum allowed SOC.
[0063] Furthermore, the parameter determination unit further includes:
[0064] The second constraint subunit is used to ensure that the charging power of the energy storage device in the community microgrid meets the following conditions when the net load is a negative value:
[0065] Furthermore, the device also includes:
[0066] The module for establishing the mathematical model of production and sales volume of nonlinear planning of community microgrid prosumers is used to establish the mathematical model of production and sales volume of nonlinear planning of community microgrid prosumers with energy storage equipment constraints according to the net load at the connection point between the community microgrid and the main grid throughout the day, the actual charging and discharging power of the energy storage equipment at time slot t-24, the P2P power trading price of the community microgrid, and the energy storage equipment conditions of the community microgrid users;
[0067]
[0068] st
[0069]
[0070] st
[0071]
[0072]
[0073]
[0074] Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, which is obtained from historical actual measurements; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24 (excluding the energy storage device); buy,t Refers to the price of electricity purchased by the community microgrid in time slot t; sell,t Refers to the price of electricity sold by the community microgrid in time slot t;
[0075] A charging and discharging control schedule calculation module, used to calculate a charging and discharging control schedule for charging and discharging the energy storage device according to the minimum cost model;
[0076] Accordingly, the determination module includes:
[0077] A determination unit is used to determine the control parameters of the energy storage device in the community microgrid according to the net load and the charging and discharging control schedule.
[0078] Furthermore, the device also includes:
[0079] A calculation module is brought in to take the average value of the charging and discharging power of the energy storage device in the previous period as one of the constraint conditions for the next half-hour optimization calculation.
[0080] Compared with the prior art, the energy storage device control method and device based on community microgrid electric energy trading described in the present invention have the following advantages: the energy storage device control method and device based on community microgrid electric energy trading described in the present invention use the real-time net load of the connection point between the community microgrid and the main power grid, calculate the control parameters of the energy storage device according to the charge and discharge control model established based on the corresponding parameters of the energy storage device in the community microgrid, and use the control parameters to control the charge and discharge. Compared with the existing method, only one kind of communication data, the real-time net load of the connection point between the community microgrid and the main power grid, is needed, in conjunction with the energy storage device performance data of the community microgrid producer and consumer, to effectively optimize the instantaneous charge and discharge power of the energy storage device, so that the energy storage device can be charged and discharged with a quantity that is linearly related to the nominal capacity of the energy storage device. In addition, the cost optimal limit conditions for the instantaneous charge and discharge power can be provided according to the total operating cost, thereby reducing the operating cost while reducing the amount of data interaction required to control the energy storage device. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0082] Figure 1 A flow chart of a method for controlling an energy storage device based on community microgrid electric energy trading provided in the first embodiment of the present invention;
[0083] Figure 2 A schematic structural diagram of an energy storage device control device based on community microgrid electric energy trading provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0084] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0085] In the description of the present invention, the terms "first", "second", etc. are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "plurality" is two or more. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood by specific circumstances.
[0086] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0087] Embodiment 1
[0088] Figure 1 The flowchart of the energy storage device control method based on community microgrid electric energy trading provided in the first embodiment of the present invention is as follows. The energy storage device control method based on community microgrid electric energy trading provided in this embodiment is suitable for controlling the prosumer energy storage device in the community microgrid through less communication data for electric energy trading between the community microgrid and the external network, so as to maximize the utilization of the energy storage device performance. The energy storage device control method based on community microgrid electric energy trading can be implemented by an energy storage device control device based on community microgrid electric energy trading, which can be implemented by software and / or hardware. See Figure 1 The energy storage device control method based on community microgrid electric energy trading may include:
[0089] S110 measures the net load at the connection point between the community microgrid and the main grid.
[0090] In this embodiment, the community microgrid can exchange power with the main grid. When the community microgrid has sufficient power, it can sell power to the main grid; when the community microgrid has insufficient power, it can purchase power from the main grid. The net load at the connection point between the community microgrid and the main grid can be measured using existing current measurement tools to determine the state and corresponding power value.
[0091] S120: Determine control parameters of energy storage equipment in the community microgrid according to the net load.
[0092] According to the real-time measurement of the net load value at the connection point between the community microgrid and the main grid, the charging and discharging set values of each energy storage device are adjusted. The rule is: when the community microgrid has surplus power generation, the prosumer "charges the energy storage device in an amount that is linearly related to the nominal capacity of its energy storage device"; conversely, when the PV power generation power of the community microgrid is insufficient to meet the electricity demand, the prosumer "discharges the energy storage device in an amount that is linearly related to the nominal capacity of its energy storage device". Based on the above rules, the ratio of the charging (discharging) power of each prosumer energy storage device to the nominal capacity of its energy storage device is the same. And the controller of each prosumer energy storage device should receive the same charging (discharging) control signal. This means that the SOC of all prosumer energy storage devices should be roughly the same. In fact, due to the difference in the aging degree of energy storage devices and inverters, some energy storage devices may reach the maximum or minimum allowable value of their energy storage device state of charge (SOC) earlier, but this does not affect the control strategy because the issuance of the control signal depends on the real-time measurement value of the community microgrid and the main grid connection point. The energy storage device controller only receives control signals from the community microgrid management system, without considering the net load of the prosumer itself. For example, the energy storage device of a prosumer may discharge when the prosumer has surplus power generation, because its neighbors in the community microgrid may need and consume this part of the generated energy.
[0093] Optionally, determining the control parameters of the energy storage device in the community microgrid according to the net load may include: judging whether the energy storage device is in a charging or discharging state according to the net load; when in the charging state, determining the charging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is charged with an amount that is linearly related to the nominal capacity of the energy storage device; when in the discharging state, determining the discharging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is discharged with an amount that is linearly related to the nominal capacity of the energy storage device.
[0094] Specifically, determining the control parameters of the energy storage device in the community microgrid according to the net load includes:
[0095] The calculation is as follows:
[0096]
[0097]
[0098] Among them, the Refers to the charging power of the energy storage device in time slot t; Refers to the discharge power of the energy storage device in time slot t, is the net load of prosumer i in time slot t, is the maximum charging / discharging power of all prosumer energy storage devices in the community microgrid. is the maximum charge / discharge power of a single prosumer i.
[0099] When the net load is positive, the charging power of the energy storage device in the community microgrid needs to meet the following conditions:
[0100]
[0101] in, is the charging power of producer and seller i in time t, ΔP BW The bandwidth of a set value for charging (or discharging) an energy storage device.
[0102] Specifically, the net load at the connection between the community microgrid and the main grid can be measured in real time (i.e. ), when the total PV power generation of the community is higher than the total load (i.e. ), and when the SOC is lower than the maximum allowable SOC, the remaining PV power generation is distributed to all energy storage devices; once its SOC reaches SOC max , the remaining PV power is fed into the grid.
[0103] When the total PV power generation of the community is less than the total load (i.e. ), when the SOC is higher than the minimum allowed SOC, the load power required by the community is supplied by discharging all energy storage devices; when its SOC drops to SOC min The load power required by the community is supplied by the main grid. The charging (discharging) power is also constrained by the actual charging (discharging) power of the inverter.
[0104] Correspondingly, when the net load is a negative value, the control parameters of the energy storage device in the community microgrid determined according to the net load are calculated in the following manner:
[0105]
[0106]
[0107] SOC is the state of charge of the energy storage device. and are the minimum and maximum allowed SOC;
[0108] And the discharge power of the energy storage device in the community microgrid needs to meet the following conditions:
[0109]
[0110] The above method can be used to determine the control parameters of the energy storage equipment in the community microgrid according to the net load of electric energy between the community microgrid and the main grid, thereby avoiding power disturbance to the distribution network and significantly reducing energy costs.
[0111] In a preferred implementation of this embodiment, the method may further include the following steps: establishing a nonlinear programming production and sales mathematical model of the community microgrid prosumer with energy storage device constraints based on the net load at the connection point between the community microgrid and the main grid throughout the day, the actual energy storage device charging and discharging power at time slot t-24, the community microgrid P2P power trading price, and the energy storage device conditions of the community microgrid users;
[0112]
[0113] st
[0114]
[0115] st
[0116]
[0117]
[0118]
[0119] Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, which is obtained from historical actual measurements; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24 (excluding the energy storage device); buy,t Refers to the price of electricity purchased by the community microgrid in time slot t; sell,t Refers to the price of electricity sold by the community microgrid in time slot t;
[0120] Calculate the constraints of charging and discharging of the energy storage device according to the minimum cost model;
[0121] Accordingly, the control parameters of the energy storage device in the community microgrid determined according to the net load can be specifically optimized as follows: under the constraint condition of satisfying the charging and discharging, the control parameters of the energy storage device in the community microgrid are determined according to the net load.
[0122] Specifically, although the method provided above takes into account the real-time power interaction between the community microgrid and the main grid, as a community microgrid, it should ensure the maximum daily profit. Especially when there are certain differences in electricity prices at different times of the day. Therefore, in this embodiment, a nonlinear programming production and sales mathematical model of the community microgrid producer and consumer for 0-24 hours a day is first established. Specifically, it can be based on the net load at the connection point between the community microgrid and the main grid throughout the day, the actual charging and discharging power of the energy storage device at the time slot t-24; the community microgrid P2P power trading price, and the energy storage device conditions of the community microgrid users.
[0123]
[0124] st
[0125]
[0126] And is also subject to the following conditions:
[0127] st
[0128]
[0129]
[0130]
[0131] Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, which is obtained from historical actual measurements; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24 (excluding the energy storage device); buy,t Refers to the price of electricity purchased by the community microgrid in time slot t; sell,t Refers to the price of electricity sold by the community microgrid in time slot t.
[0132] when When , it indicates that in time slot t, the community microgrid buys electricity from the main grid and the electricity price is positive; when It indicates that in time slot t, the community microgrid sells electricity to the main grid, which is equivalent to a negative electricity price.
[0133] Assuming that the PV power generation and energy demand for the next 24 hours starting from time slot t are the same as the previous day, the optimal schedule for charging and discharging the energy storage device within the time window T is obtained. grid,tThe following constraints are met: When the community energy demand is higher than the power generation in the community, λ grid,t Equal to the price of electricity purchased from the power grid (λ buy,t ); When the community energy demand is lower than the power generation in the community, λ grid,t Equal to the electricity sales price sold to the grid (λ sell,t ). is a decision variable, which represents the optimal schedule for charging / discharging power of the energy storage device of the i-th prosumer. When When , it indicates that the energy storage device is charging. In addition, the charging / discharging power is also constrained by the actual charging / discharging power of the inverter, that is, the following constraints:
[0134] is the nominal capacity of the energy storage device. In actual operation, the SOC of the energy storage device is usually limited to a certain range, and the charging and discharging power is constrained by the inverter power size, as shown in the following formula:
[0135]
[0136]
[0137] Where: and are the minimum and maximum allowed SOC; and is the maximum charge / discharge power. In this embodiment, the energy storage device is a lithium-ion battery.
[0138] Based on this, these constraints can be expressed as:
[0139] st
[0140]
[0141]
[0142]
[0143] In addition, considering the price of buying electricity from and selling electricity to the grid, the objective function can also be expressed as:
[0144]
[0145] The above objective function can be simplified by removing the absolute value calculation and converted into the following formula:
[0146]
[0147] The constraints added to the above formula are:
[0148]
[0149] m i ·n i =0
[0150] m i ≥0,n i ≥0,i=1,...,T.
[0151] The above formula can be used through iterative calculation. Specifically, the total cost of the community microgrid can be set to 0, or the maximum possible sales revenue, and iterative calculation can be performed based on the above total cost until the constraints of the minimum cost model are met. After determining that the constraints of the minimum cost model are met, the lowest cost or the maximum benefit is determined, and the charging and discharging power range of the energy storage equipment of all producers and consumers at different times is determined and used as a calculation condition. Furthermore, the 24 hours of the day can be divided into several time periods, and the optimized energy storage device charging and discharging control schedule is calculated. The control parameters of the energy storage equipment in the community microgrid are determined based on the net load and the energy storage device charging and discharging control schedule.
[0152] In addition, the energy device charging and discharging control schedule calculated by the nonlinear production and sales mathematical model of the community microgrid prosumer can be used as a calculation condition to calculate the process of calculating the control parameters of the energy storage device in the community microgrid. At the same time, the average value of the charging and discharging power of the energy storage device in each period calculated by the calculated control parameters can be brought into the nonlinear production and sales mathematical model of the community microgrid prosumer in the next period. Specifically, the nonlinear production and sales mathematical model of the community microgrid prosumer and is the actual battery charging and discharging power at time slot t-24. Using the above method, the entire calculation process can be closer to the actual situation, and the control of the energy storage equipment of the community microgrid producer and seller can be more accurate.
[0153] S130: Sending control parameters of the energy storage device to an energy storage device controller so that the energy storage device is charged and discharged according to the control parameters.
[0154] The control parameters can be sent to the energy storage device controller of each producer and seller via a local area network or other network, and then the charge and discharge of each energy storage device can be controlled according to the above control parameters.
[0155] The embodiment of the present invention uses the real-time net load of the connection point between the community microgrid and the main power grid, calculates the control parameters of the energy storage device according to the charge and discharge control model established based on the corresponding parameters of the energy storage device in the community microgrid, and uses the control parameters to control the charge and discharge. Compared with the existing method, only one kind of communication data, the real-time net load of the connection point between the community microgrid and the main power grid, is needed, in conjunction with the performance data of the energy storage device of the community microgrid producer and consumer, to effectively optimize the instantaneous charge and discharge power of the energy storage device, and provide the cost optimal limit conditions of the instantaneous charge and discharge power according to the total operating cost, thereby reducing the operating cost while reducing the amount of data interaction required to control the energy storage device.
[0156] Embodiment 2
[0157] Figure 2 A schematic diagram of the structure of an energy storage device control device based on community microgrid electric energy trading provided by an embodiment of the present invention, Figure 2 , the energy storage device control device based on community microgrid electric energy trading includes:
[0158] The measurement module 210 is used to measure the net load of the connection point between the community microgrid and the main grid;
[0159] A determination module 220, configured to determine control parameters of an energy storage device in a community microgrid according to the net load;
[0160] A sending module 230, configured to send the control parameters of the energy storage device to the energy storage device controller, so that the energy storage device is charged and discharged according to the control parameters;
[0161] The determining module comprises:
[0162] A judging unit, configured to judge whether the energy storage device is in a charging or discharging state according to the net load;
[0163] a parameter determination unit for determining, when in a charging state, the charging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is charged with an amount that is linearly related to the nominal capacity of the energy storage device; and for determining, when in a discharging state, the discharging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is discharged with an amount that is linearly related to the nominal capacity of the energy storage device.
[0164] The energy storage device control device based on community microgrid electric energy trading provided by the embodiment of the present invention uses the real-time net load of the connection point between the community microgrid and the main power grid, calculates the control parameters of the energy storage device according to the charge and discharge control model established based on the corresponding parameters of the energy storage device in the community microgrid, and uses the control parameters to control charge and discharge. Compared with the existing method, only one kind of communication data, the real-time net load of the connection point between the community microgrid and the main power grid, is needed, in conjunction with the energy storage device performance data of the community microgrid producer and consumer, to effectively optimize the instantaneous charge and discharge power of the energy storage device, and provide the cost optimal limit conditions of the instantaneous charge and discharge power according to the total operating cost, thereby reducing the operating cost while reducing the amount of data interaction required to control the energy storage device.
[0165] Based on the above embodiment, the parameter determination unit includes:
[0166] The first calculation subunit calculates in the following manner:
[0167]
[0168]
[0169] Among them, the Refers to the charging power of the energy storage device in time slot t; Refers to the discharge power of the energy storage device in time slot t, is the net load of prosumer i in time slot t, is the maximum discharge power of all prosumer energy storage devices in the community microgrid. is the maximum discharge power of a single prosumer i.
[0170] Based on the above embodiment, the parameter determination unit further includes:
[0171] The first constraint subunit is used to ensure that the charging power of the energy storage device in the community microgrid meets the following conditions when the net load is positive:
[0172]
[0173] in, is the charging power of producer and seller i in time t, ΔP BW The bandwidth of a set value for charging (or discharging) an energy storage device.
[0174] Based on the above embodiment, the parameter determination unit further includes:
[0175] The second calculation subunit is used for determining the control parameters of the energy storage device in the community microgrid according to the net load when the net load is a negative value by using the following calculation method:
[0176]
[0177]
[0178] SOC is the state of charge of the energy storage device. and are the minimum and maximum allowed SOC.
[0179] Based on the above embodiment, the parameter determination unit further includes:
[0180] The second constraint subunit is used to ensure that the charging power of the energy storage device in the community microgrid meets the following conditions when the net load is a negative value:
[0181] Based on the above embodiment, the device further includes:
[0182] The module for establishing the mathematical model of production and sales volume of nonlinear planning of community microgrid prosumers is used to establish the mathematical model of production and sales volume of nonlinear planning of community microgrid prosumers with energy storage equipment constraints according to the net load at the connection point between the community microgrid and the main grid throughout the day, the actual charging and discharging power of the energy storage equipment at time slot t-24, the P2P power trading price of the community microgrid, and the energy storage equipment conditions of the community microgrid users;
[0183]
[0184] st
[0185]
[0186] st
[0187]
[0188]
[0189]
[0190] Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, which is obtained from historical actual measurements; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24 (excluding the energy storage device); buy,t Refers to the price of electricity purchased by the community microgrid in time slot t;sell,t Refers to the price of electricity sold by the community microgrid in time slot t;
[0191] A charging and discharging control schedule calculation module, used to calculate a charging and discharging control schedule for charging and discharging the energy storage device according to the minimum cost model;
[0192] Accordingly, the determination module includes:
[0193] A determination unit is used to determine the control parameters of the energy storage device in the community microgrid according to the net load and the charging and discharging control schedule.
[0194] Based on the above embodiment, the device further includes:
[0195] A calculation module is brought in to take the average value of the charging and discharging power of the energy storage device in the previous period as one of the constraint conditions for the next half-hour optimization calculation.
[0196] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0197] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0198] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0199] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0200] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
Claims
1. A method for controlling energy storage equipment based on community microgrid electric energy trading, characterized in that: include: Measure the net load at the connection point between the community microgrid and the main grid; Determining control parameters of energy storage equipment in the community microgrid according to the net load; Sending control parameters of the energy storage device to an energy storage device controller so that the energy storage device is charged and discharged according to the control parameters; The step of determining the control parameters of the energy storage device in the community microgrid according to the net load includes: Determining whether the energy storage device is in a charging or discharging state according to the net load; In the charging state, the charging parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is charged with an amount that is linearly related to the nominal capacity of the energy storage device; in the discharging state, the discharging parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is discharged with an amount that is linearly related to the nominal capacity of the energy storage device; The charging parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, The calculation is as follows: Among them, the Refers to the charging power of the energy storage device in time slot t; Refers to the discharge power of the energy storage device in time slot t, is the net load of prosumer i in time slot t, is the maximum discharge power of all prosumer energy storage devices in the community microgrid. is the maximum discharge power of a single prosumer i; The method of determining the charging parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i also includes: When the net load is positive, the charging power of the energy storage device in the community microgrid needs to meet the following conditions: in, is the charging power of producer and seller i in time t, △P BW The bandwidth of a set value for charging or discharging an energy storage device.
2. The method according to claim 1, characterized in that The discharge parameters of the energy storage device are determined according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, Calculate using the following method: SOC is the state of charge of the energy storage device. and are the minimum and maximum allowed SOC.
3. The method according to claim 2, characterized in that The method of determining the discharge parameters of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i also includes: When the net load is positive, the discharge power of the energy storage device in the community microgrid needs to meet the following conditions:
4. The method according to claim 1, characterized in that: The method further comprises: According to the net load at the connection point between the community microgrid and the main grid throughout the day, the actual energy storage device charging and discharging power at time slot t-24, the community microgrid P2P power trading price, and the energy storage device conditions of community microgrid users, a nonlinear programming production and sales mathematical model of community microgrid prosumers with energy storage device constraints is established; st st Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, and the net load is obtained by historical actual measurement; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24, excluding the energy storage device; λ buy,t Refers to the price of electricity purchased by the community microgrid in time slot t; sell,t Refers to the price of electricity sold by the community microgrid in time slot t; Calculate the charging and discharging control schedule of the energy storage device based on the minimum value of the nonlinear programming production and sales volume mathematical model of the community microgrid prosumer; Accordingly, the control parameters of the energy storage device in the community microgrid are determined according to the net load, including: The control parameters of the energy storage device in the community microgrid are determined according to the net load and the charging and discharging control schedule.
5. The method according to claim 4, characterized in that The method further comprises: The average value of the charging and discharging power of the energy storage device in the previous period is taken into the calculation as one of the constraints of the optimization calculation for the next half hour.
6. A control device for energy storage equipment based on community microgrid electric energy trading, characterized in that: include: A measurement module, used to measure the net load at the connection point between the community microgrid and the main grid; A determination module, used to determine control parameters of energy storage equipment in the community microgrid according to the net load; A sending module, used to send the control parameters of the energy storage device to the energy storage device controller, so that the energy storage device is charged and discharged according to the control parameters; The determining module comprises: A judging unit, configured to judge whether the energy storage device is in a charging or discharging state according to the net load; a parameter determination unit, for determining, when in a charging state, a charging parameter of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is charged with an amount that is linearly related to the nominal capacity of the energy storage device; and, when in a discharging state, determining a discharging parameter of the energy storage device according to the net load of all prosumers in time slot t, the maximum charging power of the energy storage devices of all prosumers, and the charging power of the energy storage device of a single prosumer i, so that the energy storage device is discharged with an amount that is linearly related to the nominal capacity of the energy storage device; The parameter determination unit comprises: It includes: a first calculation subunit, wherein the first calculation subunit calculates in the following manner: Among them, the Refers to the charging power of the energy storage device in time slot t; Refers to the discharge power of the energy storage device in time slot t, is the net load of prosumer i in time slot t, is the maximum discharge power of all prosumer energy storage devices in the community microgrid. is the maximum discharge power of a single prosumer i; The parameter determination unit further includes: The first constraint subunit is used to ensure that the charging power of the energy storage device in the community microgrid meets the following conditions when the net load is positive: in, is the charging power of producer and seller i in time t, △P BW The bandwidth of a set value for charging or discharging an energy storage device.
7. The device according to claim 6, characterized in that The parameter determination unit further includes: The second calculation subunit is used for determining the control parameters of the energy storage device in the community microgrid according to the net load when the net load is a negative value by using the following calculation method: SOC is the state of charge of the energy storage device. and are the minimum and maximum allowed SOC.
8. The device according to claim 7, characterized in that The parameter determination unit further includes: The second constraint subunit is used to ensure that the charging power of the energy storage device in the community microgrid meets the following conditions when the net load is a negative value:
9. The device according to claim 6, characterized in that The device also includes: The module for establishing the mathematical model of production and sales volume of nonlinear planning of community microgrid prosumers is used to establish the mathematical model of production and sales volume of nonlinear planning of community microgrid prosumers with energy storage equipment constraints according to the net load at the connection point between the community microgrid and the main grid throughout the day, the actual charging and discharging power of the energy storage equipment at time slot t-24, the P2P power trading price of the community microgrid, and the energy storage equipment conditions of the community microgrid users; st st Wherein, t-24 refers to the time slot 24 hours before time slot t; is the net load at the connection point between the community microgrid and the main grid at time slot t-24, and the net load is obtained by historical actual measurement; NB refers to the number of producers and sellers; and The actual energy storage device charging and discharging power at time slot t-24, these two parameter values are obtained by the rule-based control strategy in the second stage; is the sum of the community energy demand and PV power generation at time slot t-24, excluding the energy storage device; λ buy,t Refers to the price of electricity purchased by the community microgrid in time slot t; sell,t Refers to the price of electricity sold by the community microgrid in time slot t; A charging and discharging control schedule calculation module is used to calculate a charging and discharging control schedule according to the minimum value of the production and sales volume mathematical model of the nonlinear programming of the community microgrid prosumer; Accordingly, the determination module includes: A determination unit is used to determine the control parameters of the energy storage device in the community microgrid according to the net load and the charging and discharging control schedule.
10. The device according to claim 9, characterized in that The device also includes: A calculation module is brought in to take the average value of the charging and discharging power of the energy storage device in the previous period as one of the constraint conditions for the next half-hour optimization calculation.
