Monthly power factor regulation and control method, device and equipment and medium
By regulating the power of the energy storage system and inverter system in the optical storage and charge grid, the problems of operating performance and service life of the reactive compensation capacitor are solved, and the effect of meeting the monthly power factor requirements is achieved.
Patent Information
- Application Number
- CN202411719422.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, when using reactive compensation capacitors to increase the monthly power factor of the gate in the optical storage and charge microgrid, it will seriously affect the operating performance and service life of reactive compensation capacitors.
By regulating the active power of the energy storage system in the optical storage microgrid based on the minimum electricity cost, the inverter system and energy storage system are regulated according to the monthly power factor requirement value and the preset threshold for the reactive power maintenance threshold. The reactive power of the switch is regulated so that the monthly power factor of the switch meets the required value.
It is realized that without affecting the operating performance and service life of the reactive compensation capacitor, the monthly power factor of the checkpoint meets the required value, reduces the power loss and power adjustment of the electrical equipment, and increases the transmission capacity of the power grid.
Smart Images

Figure CN119482625A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic load storage microgrid, and in particular to a method, device, equipment and medium for regulating monthly power factor. Background Art
[0002] In order to reduce electricity costs, photovoltaic and energy storage systems are connected in many industrial and commercial parks, thus forming a small photovoltaic and energy storage microgrid. Figure 1 , Figure 1 The schematic diagram of the principle of the photovoltaic load storage microgrid. After the photovoltaic is connected to the photovoltaic load storage microgrid, the monthly power factor of the gateway will decrease and cannot meet the monthly power factor requirement of the gateway. If the monthly power factor of the gateway cannot meet the monthly power factor requirement, it will not only increase the power loss of electrical equipment and power regulation charges, but also reduce the transmission capacity of the power grid.
[0003] In the prior art, in order to improve the monthly power factor of the gateway, a reactive capacitor compensator is usually used to improve the power factor of the gateway. However, the reactive capacitor compensator will frequently cut off and put into use the reactive compensation capacitor due to the frequent conversion between the upstream and downstream active power of the gateway, and may even cause the wrong input, which seriously affects the operating performance and service life of the reactive compensation capacitor. At present, there is no more effective solution to this technical problem. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for regulating the monthly power factor, so as to solve the technical problem in the prior art that when using reactive power compensation capacitors to improve the monthly power factor of the gateway in the photovoltaic load storage microgrid, the operating performance and service life of the reactive power compensation capacitors will be seriously affected. The specific scheme is as follows:
[0005] In order to solve the above technical problems, the present invention provides a method for regulating monthly power factor, comprising:
[0006] Based on the principle of minimizing electricity cost, the active power of the energy storage system in the photovoltaic load storage microgrid is regulated according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold;
[0007] According to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold, the reactive power of the inverter system in the photovoltaic load storage microgrid and the reactive power of the energy storage system are regulated;
[0008] By regulating the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system, the monthly power factor of the gateway in the photovoltaic load-storage microgrid meets the monthly power factor requirement value.
[0009] Preferably, the active power of the energy storage system in the photovoltaic load-storage microgrid is regulated based on the principle of minimizing electricity cost and according to the electricity price of the power grid in each time period and the pre-set threshold active power maintenance threshold, including:
[0010] If the power grid is in a valley period or a deep valley period, the energy storage system is charged, and the expected active power of the energy storage system at the next moment is set as the active power setting value; wherein the active power setting value is set according to the actual operation requirements of the photovoltaic load storage microgrid;
[0011] If the power grid is in a peak period or a peak period, the expected active power of the energy storage system at the next moment is calculated according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load storage microgrid;
[0012] If the power grid is in a normal period, determining whether there is a peak period and a spike period after the normal period of the power grid;
[0013] If there is a peak period and / or a spike period after the normal period of the power grid, determining whether the active power setting value is zero;
[0014] If the active power setting value is not zero, setting the expected active power of the energy storage system at the next moment as the active power setting value;
[0015] If the active power setting value is equal to zero, the expected active power of the energy storage system at the next moment is set to zero;
[0016] The actual active power of the energy storage system at the next moment is controlled according to the expected active power of the energy storage system at the next moment.
[0017] Preferably, controlling the actual active power of the energy storage system at the next moment according to the expected active power of the energy storage system at the next moment includes:
[0018] If the expected active power of the energy storage system at the next moment is greater than or equal to zero, and the SOC of the energy storage system at the current moment is less than the minimum SOC value of the energy storage system, the actual active power of the energy storage system at the next moment is controlled to be zero;
[0019] If the expected active power of the energy storage system at the next moment is less than zero, and the SOC of the energy storage system at the current moment is greater than or equal to the maximum SOC of the energy storage system, the actual active power of the energy storage system at the next moment is controlled to be zero;
[0020] If the expected active power of the energy storage system at the next moment is equal to zero, the energy storage system is controlled to be in a standby state.
[0021] Preferably, it also includes:
[0022] Determine the absolute value of the difference between the expected active power of the energy storage system at the next moment and the actual active power of the energy storage system at the current moment, and obtain a first absolute value;
[0023] If the first absolute value is less than the first set value, the actual active power of the energy storage system at the next moment is controlled to be equal to the actual active power of the energy storage system at the current moment; wherein the first set value is set according to the actual active power of the energy storage system at the current moment.
[0024] Preferably, the calculation of the expected active power of the energy storage system at the next moment according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load-storage microgrid includes:
[0025] Determine the active power deficit of the gateway according to the gateway active power maintenance threshold and the actual active power of the gateway at the current moment, and obtain the gateway active power deficit; wherein the actual active power of the gateway at the current moment can represent the power supply requirement of the load;
[0026] If the threshold active power deficit is greater than or equal to zero, the expected active power of the energy storage system at the next moment is calculated according to the actual active power of the energy storage system at the current moment, the threshold active power deficit and the maximum power value of the energy storage system;
[0027] If the threshold active power deficit is less than zero, the expected active power of the energy storage system at the next moment is calculated according to the actual active power of the energy storage system at the current moment, the threshold active power deficit and the minimum power value of the energy storage system.
[0028] Preferably, the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load-storage microgrid are regulated according to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold, including:
[0029] Determine the power factor corresponding to the threshold at the current moment, obtain a target power factor, and determine whether the target power factor is less than the monthly power factor requirement value;
[0030] If the target power factor is greater than or equal to the monthly power factor requirement value, the actual reactive power of the inverter system at the next moment is controlled to be zero, and the actual reactive power of the energy storage system at the next moment is controlled to be zero;
[0031] If the target power factor is less than the monthly power factor requirement, the reactive power deficit of the gateway is determined to obtain the gateway reactive power deficit, and the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment are respectively regulated according to the gateway reactive maintenance threshold and the gateway reactive power deficit.
[0032] Preferably, the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment are regulated according to the threshold reactive power maintenance threshold and the threshold reactive power shortage, respectively, including:
[0033] If the threshold reactive power deficit is greater than or equal to zero, the adjustable reactive capacity of the inverter system is determined according to the maximum reactive power of the inverter system and the actual reactive power of the inverter system at the current moment, and the adjustable reactive capacity of the energy storage system is determined according to the maximum reactive power of the energy storage system and the reactive power of the energy storage system at the current moment;
[0034] If the threshold reactive power deficit is less than zero, the adjustable reactive capacity of the inverter system is determined according to the actual reactive power of the inverter system at the current moment and the minimum reactive power of the inverter system, and the adjustable reactive capacity of the energy storage system is determined according to the actual reactive power of the energy storage system at the current moment and the minimum reactive power of the energy storage system;
[0035] If the absolute value of the threshold reactive power shortage is less than the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system, the expected reactive power of the inverter system at the next moment and the expected reactive power of the energy storage system at the next moment are calculated according to the threshold reactive power shortage;
[0036] If the absolute value of the threshold reactive power shortage is greater than or equal to the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system, then determining whether the threshold reactive power shortage is less than zero;
[0037] If the threshold reactive power deficit is less than zero, the expected reactive power of the inverter system at the next moment is set to the minimum reactive power of the inverter system, and the expected reactive power of the energy storage system at the next moment is set to the minimum reactive power of the energy storage system;
[0038] If the threshold reactive power deficit is greater than or equal to zero, the expected reactive power of the inverter system at the next moment is set to the maximum reactive power of the inverter system, and the expected reactive power of the energy storage system at the next moment is set to the maximum reactive power of the energy storage system;
[0039] The actual reactive power of the inverter system at the next moment is regulated according to the expected reactive power of the inverter system at the next moment, and the actual reactive power of the energy storage system at the next moment is regulated according to the expected reactive power of the energy storage system at the next moment.
[0040] Preferably, the regulating the actual reactive power of the inverter system at the next moment according to the expected reactive power of the inverter system at the next moment, and regulating the actual reactive power of the energy storage system at the next moment according to the expected reactive power of the energy storage system at the next moment, comprises:
[0041] Determine the absolute value of the difference between the actual reactive power of the energy storage system at the current moment and the expected reactive power of the energy storage system at the next moment, and obtain a second absolute value;
[0042] If the second absolute value is less than the second set value, the actual reactive power of the energy storage system at the next moment is controlled to be equal to the actual reactive power of the energy storage system at the current moment; wherein the second set value is set according to the maximum reactive power of the energy storage system;
[0043] Determine an absolute value of a difference between a reactive power of the inverter system at a current moment and a reactive power of the inverter system at a next moment, and obtain a third absolute value;
[0044] If the third absolute value is less than the third set value, the actual reactive power of the inverter system at the next moment is controlled to be equal to the actual reactive power of the inverter system at the current moment; wherein the third set value is set according to the actual reactive power of the inverter system at the current moment.
[0045] In order to solve the above technical problems, the present invention also provides a monthly power factor control device, comprising:
[0046] The active power control module is used to control the active power of the energy storage system in the photovoltaic load storage microgrid based on the principle of minimizing electricity cost and according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold;
[0047] A reactive power control module, used to control the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load storage microgrid according to the monthly power factor requirement value and a preset threshold reactive power maintenance threshold;
[0048] The collaborative control module is used to regulate the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system so that the monthly power factor of the gateway in the photovoltaic load-storage microgrid meets the monthly power factor requirement value.
[0049] In order to solve the above technical problem, the present invention further provides an electronic device, comprising:
[0050] Memory for storing computer programs;
[0051] A processor is used to implement the steps of a monthly power factor regulation method disclosed above when executing the computer program.
[0052] Beneficial effects: It can be seen that in the monthly power factor control method provided by the present invention, the principle of minimizing electricity cost is firstly adopted, and the active power of the energy storage system in the photovoltaic-storage-load microgrid is regulated according to the electricity price of the power grid in each time period and the pre-set threshold active power maintenance threshold; at the same time, the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic-storage-load microgrid are regulated according to the monthly power factor requirement value and the pre-set threshold reactive power maintenance threshold. By regulating the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system, the monthly power factor at the gateway in the photovoltaic-storage-load microgrid can reach the monthly power factor requirement value.
[0053] Compared with the prior art, in this application, the first principle is to minimize the cost of electricity, and the active power of the energy storage system is regulated according to the electricity price of the power grid in each period and the active power maintenance threshold of the gateway. This method can reduce the user's electricity cost. At the same time, by setting the active power maintenance threshold of the gateway and the reactive power maintenance threshold of the gateway, and by coordinating the inverter system and the energy storage system, the inverter system and the energy storage system can be used to regulate the active power and reactive power of the gateway, so that the monthly power factor of the gateway meets the monthly power factor requirement. In this setting mode, the reactive power compensation capacitor can be prevented from sending and over-compensating the active power of the power grid, thereby preventing the reactive capacitor compensator from frequently switching and malfunctioning between the uplink and downlink, which can not only ensure the normal operation of the reactive compensation capacitor, but also extend the service life of the reactive capacitor compensator. That is, this method can make the monthly power factor of the gateway meet the monthly power factor requirement without affecting the operating performance and service life of the two-quadrant reactive compensation capacitor.
[0054] Correspondingly, the monthly power factor control device, equipment and medium provided by the present invention also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0056] Figure 1 This is the principle diagram of the photovoltaic load storage microgrid;
[0057] Figure 2 A flow chart of a method for controlling monthly power factor provided by an embodiment of the present invention;
[0058] Figure 3 A flow chart for regulating the active power of an energy storage system in a photovoltaic load storage microgrid provided by an embodiment of the present invention;
[0059] Figure 4 A flow chart for regulating the reactive power of an inverter system and an energy storage system in a photovoltaic load storage microgrid provided by an embodiment of the present invention;
[0060] Figure 5 A structural diagram of a monthly power factor control device provided by an embodiment of the present invention;
[0061] Figure 6 A structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0063] See also Figure 2 , Figure 2 A flowchart of a monthly power factor control method provided by an embodiment of the present invention, the method comprising:
[0064] Step S11: Based on the principle of minimizing electricity cost, the active power of the energy storage system in the photovoltaic load-storage microgrid is regulated according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold;
[0065] Step S12: regulating the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load-storage microgrid according to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold;
[0066] Step S13: By regulating the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system, the monthly power factor of the gateway in the photovoltaic load-storage microgrid meets the monthly power factor requirement value.
[0067] In this embodiment, a method for regulating the monthly power factor is provided, by which the monthly power factor of the gateway in the photovoltaic-storage-load microgrid can meet the monthly power factor requirement value. In this method, the monthly power factor of the gateway is mainly improved by the coordinated control between the inverter system and the energy storage system in the photovoltaic-storage-load microgrid. Among them, the inverter system refers to a functional module for converting photovoltaic power into AC and DC in the photovoltaic-storage-load microgrid.
[0068] In this method, the principle of minimizing electricity cost is firstly taken, and the active power of the energy storage system in the photovoltaic load storage microgrid is regulated according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold. When regulating the active power of the energy storage system, the active power of the energy storage system is mainly regulated based on the dynamic peak-valley arbitrage strategy of the power grid. This strategy can reduce the user's electricity cost by taking advantage of the difference in power grid electricity prices in different time periods.
[0069] Specifically, in this embodiment, the principle of minimizing electricity cost is adopted, and the active power of the energy storage system is adjusted according to the electricity price of the power grid in each period, so that the active power at the gateway can be maintained at the active power maintenance threshold at the gateway. It should be noted that in actual applications, the charging and discharging state of the energy storage system has no direct relationship with the active power and reactive power output by the energy storage system, that is, when the energy storage system regulates its active power and reactive power, it can be in either a charging state or a discharging state.
[0070] In order to reduce the user's electricity cost, it is necessary to charge the energy storage system in the photovoltaic load storage microgrid during the period of low electricity price (the valley period or deep valley period of the power grid), and use the energy storage system to power the load during the period of high electricity price (the peak period or peak period of the power grid). If the amount of electricity stored in the energy storage system is greater than or equal to the power consumption of the load, the energy storage system is used to power the load. If the amount of electricity stored in the energy storage system is less than the power consumption of the load, the energy storage system is used to power the load first, and then the power grid is used to supplement the power supply to the load.
[0071] After that, the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load-storage microgrid are regulated according to the monthly power factor requirement value and the pre-set reactive power maintenance threshold at the gateway. When the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load-storage microgrid are regulated according to the monthly power factor requirement value and the reactive power maintenance threshold at the gateway, the reactive power at the gateway can be maintained at the reactive power maintenance threshold at the gateway.
[0072] In this embodiment, by regulating the active power of the energy storage system, the reactive power of the inverter system, and the reactive power of the energy storage system, the active power and reactive power of the gateway can be maintained at the gateway active maintenance threshold and the active maintenance threshold, respectively. When the active power and reactive power of the gateway are maintained at the gateway active maintenance threshold and the gateway reactive maintenance threshold, respectively, the monthly power factor of the gateway can meet the monthly power factor requirement value.
[0073] Compared with the prior art, in this application, the first principle is to minimize the electricity cost, and the active power of the energy storage system is regulated according to the electricity price of the power grid in each time period and the active power maintenance threshold of the gateway. This method can reduce the user's electricity cost. At the same time, by setting the active power maintenance threshold of the gateway and the reactive power maintenance threshold of the gateway, and by coordinating the control of the inverter system and the energy storage system, the inverter system and the energy storage system can be used to regulate the active power and reactive power of the gateway, so that the monthly power factor of the gateway meets the monthly power factor requirement value. Under this setting mode, the reactive power compensation capacitor can be prevented from sending up and over-compensating the active power of the power grid, thereby preventing the reactive capacitor compensator from frequent switching and malfunctioning between the uplink and downlink, which can not only ensure the normal operation of the reactive power compensation capacitor, but also extend the service life of the reactive capacitor compensator.
[0074] In addition, in the prior art, when the monthly power factor of the gateway is regulated, the reactive power output by the inverter system and the energy storage system is sometimes adjusted in real time according to the reactive power monitoring value of the gateway, which will seriously affect the operating performance of the photovoltaic system and the energy storage system. In the present application, the reactive power of the inverter system and the reactive power of the energy storage system are regulated based on the monthly power factor requirement value. Compared with the real-time adjustment of the reactive power output by the inverter system and the energy storage system according to the reactive power monitoring value of the gateway, such a setting method can also greatly reduce the action frequency of the energy storage system and the inverter system, thereby improving the operating performance of the inverter system and the energy storage system.
[0075] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. Figure 3 , Figure 3A flow chart for regulating the active power of an energy storage system in a photovoltaic load-storage microgrid provided by an embodiment of the present invention.
[0076] As a preferred implementation, the above step 11: based on the principle of minimizing electricity cost, and according to the electricity price of the power grid in each time period and the pre-set threshold active power maintenance threshold, the active power of the energy storage system in the photovoltaic load storage microgrid is regulated, including:
[0077] Step S101: If the power grid is in a valley period or a deep valley period, the energy storage system is charged, and the expected active power of the energy storage system at the next moment is set as the active power setting value; wherein the active power setting value is set according to the actual operation requirements of the photovoltaic load-storage microgrid;
[0078] Step S102: If the power grid is in a peak period or a peak period, the expected active power of the energy storage system at the next moment is calculated according to the active power maintenance threshold at the gateway and the power supply requirement of the load in the photovoltaic load-storage microgrid;
[0079] Step S103: if the power grid is in a normal period, determine whether there is a peak period and a spike period after the normal period of the power grid;
[0080] Step S104: if there is no peak period and / or spike period after the normal period of the power grid, the expected active power of the energy storage system at the next moment is calculated according to the active power maintenance threshold of the gateway and the power supply requirement of the load in the photovoltaic load-storage microgrid;
[0081] Step S105: if there is a peak period and / or a spike period after the normal period of the power grid, determine whether the active power setting value is zero; if not, execute step S106; if yes, execute step S107;
[0082] Step S106: setting the expected active power of the energy storage system at the next moment as the active power setting value;
[0083] Step S107: setting the expected active power of the energy storage system at the next moment to zero;
[0084] Step S108: controlling the actual active power of the energy storage system at the next moment according to the expected active power of the energy storage system at the next moment.
[0085] In this embodiment, the regulation process of the active power of the energy storage system in the photovoltaic load storage microgrid is specifically described. When regulating the active power of the energy storage system, in order to reduce the user's electricity cost, it is necessary to charge the energy storage system during the valley period and deep valley period of the power grid, so as to achieve the purpose of using the energy storage system to power the load during the peak period or peak period of the power grid.
[0086] In principle, it is not allowed to use the power grid to supply power to the load during the valley period and deep valley period of the power grid. In the process of charging the energy storage system, it is necessary to set the expected active power of the energy storage system at the next moment as the active power setting value. Among them, the active power setting value is set according to the actual operation requirements of the photovoltaic load storage microgrid. In the prior art, due to the different electricity consumption conditions and electricity policies in various places, the charging power corresponding to the energy storage system during the charging process is also different. Under normal circumstances, the active power setting value is generally less than or equal to zero. It is stipulated here that the inductive reactive power absorbed by the energy storage system is negative.
[0087] If the power grid is in a peak period or a spike period, it is necessary to calculate the expected active power of the energy storage system at the next moment based on the active power maintenance threshold of the gateway and the power supply requirements of the load. That is, when the power grid is in a peak period or a spike period, it is necessary to track the real-time active power of the gateway and determine the power supply requirements of the load based on the tracking results. When the power supply requirements of the load are determined, the active power shortage corresponding to the gateway can be determined based on the active power maintenance threshold of the gateway and the power supply requirements of the load. After the active power shortage of the gateway is determined, the expected active power of the energy storage system at the next moment can be calculated.
[0088] When the grid is in a normal period, it is necessary to continue to determine whether there is a peak period and / or a peak period after the normal period of the grid. If there is no peak period and / or a peak period after the normal period of the grid, the expected active power of the energy storage system at the next moment can be directly calculated based on the active power maintenance threshold of the gateway and the power supply requirements of the load in the photovoltaic storage microgrid. At this time, the energy storage system is in a discharging state or a standby state.
[0089] If there is a peak period and / or a spike period after the normal period of the power grid, it is necessary to determine whether the energy storage system allows charging, that is, it is necessary to determine whether the active power setting value is zero. If the active power setting value is zero, it means that the energy storage system does not allow active charging. At this time, the expected active power of the energy storage system at the next moment needs to be set to zero. If the active power setting value is not zero, it means that the energy storage system allows active charging. At this time, the expected active power of the energy storage system at the next moment can be set to the active power setting value.
[0090] When the expected active power of the energy storage system at the next moment is determined, the actual active power of the energy storage system at the next moment can be controlled according to the expected active power of the energy storage system at the next moment. Specifically, the controller in the photovoltaic load storage microgrid can send control instructions to the energy storage system, adjust the active power of the energy storage system through the control instructions, and thereby achieve the purpose of regulating the actual active power of the energy storage system at the next moment according to the expected active power of the energy storage system at the next moment.
[0091] Obviously, the technical solution provided by this embodiment can reduce the user's electricity cost.
[0092] As a preferred implementation, the above step S108: controlling the actual active power of the energy storage system at the next moment according to the expected active power of the energy storage system at the next moment, includes:
[0093] Step S01: If the expected active power of the energy storage system at the next moment is greater than or equal to zero, and the SOC of the energy storage system at the current moment is less than the minimum SOC of the energy storage system, the actual active power of the energy storage system at the next moment is controlled to be zero;
[0094] Step S02: If the expected active power of the energy storage system at the next moment is less than zero, and the SOC of the energy storage system at the current moment is greater than or equal to the maximum SOC of the energy storage system, then the actual active power of the energy storage system at the next moment is controlled to be zero;
[0095] Step S03: If the expected active power of the energy storage system at the next moment is equal to zero, the energy storage system is controlled to be in a standby state.
[0096] In this embodiment, P ETC ,set,t+1 represents the expected active power and SOC of the energy storage system at the next moment ETC , t represents the SOC (State of Charge) of the energy storage system at the current moment, SOC ETC ,max represents the maximum SOC of the energy storage system, SOC ETC ,min represents the minimum SOC of the energy storage system.
[0097] If P ETC ,set,t+1≥0, and SOC ETC ,t<SOC ETC ,min, indicating that the SOC of the energy storage system at the current moment has reached the limit minimum value and cannot be discharged. At this time, it is necessary to control the actual active power of the energy storage system to zero at the next moment.
[0098] If P ETC ,set,t+1<0, and SOC ETC ,t≥SOC ETC ,max, indicating that the SOC of the energy storage system at the current moment has reached the maximum limit and cannot be charged. At this time, it is necessary to control the actual active power of the energy storage system to zero at the next moment.
[0099] If P ETC ,set,t+1=0, at this time, you only need to control the energy storage system to standby state, and no operation needs to be performed on the energy storage system.
[0100] Obviously, through the technical solution provided in this embodiment, the power control method provided in this application can be matched with the actual working conditions of the energy storage system and ensure the safe and reliable operation of the energy storage system.
[0101] As a preferred embodiment, the above-mentioned control method further comprises:
[0102] Step S04: determining the absolute value of the difference between the expected active power of the energy storage system at the next moment and the actual active power of the energy storage system at the current moment, and obtaining a first absolute value;
[0103] Step S05: If the first absolute value is less than the first set value, the actual active power of the energy storage system at the next moment is controlled to be equal to the actual active power of the energy storage system at the current moment; wherein the first set value is set according to the actual active power of the energy storage system at the current moment.
[0104] In this embodiment, in order to prevent the energy storage system from frequently performing charging and discharging operations, a dead zone interval can also be set. Assume that the actual active power of the energy storage system at the current moment is P ETC ,act,t, the actual active power of the energy storage system at the next moment is P ETC ,act,t+1, the expected active power of the energy storage system at the next moment is P ETC ,set,t+1, the first setting value is k1, then k1 can be set to 2%* P ETC ,act,t. At this time, the first absolute value is | P ETC ,set,t+1-P ETC ,act,t|. Of course, in practical applications, k1 can also be adaptively adjusted according to different actual conditions.
[0105] If |P ETC ,set,t+1-P ETC ,act,t|<2%* P ETC ,act,t, then the actual active power of the energy storage system at the next moment is controlled to be equal to the actual active power of the energy storage system at the current moment, that is, let P ETC ,act,t+1 =P ETC ,act,t. In this case, the energy storage system only needs to maintain the current state without taking any action.
[0106] Obviously, the technical solution provided in this embodiment can prevent the energy storage system from frequently performing charging and discharging operations, thereby relatively extending the service life of the energy storage system.
[0107] As a preferred implementation, the above step S102: calculating the expected active power of the energy storage system at the next moment according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load-storage microgrid includes:
[0108] Determine the active power deficit of the gateway according to the gateway active power maintenance threshold and the actual active power of the gateway at the current moment, and obtain the gateway active power deficit; wherein the actual active power of the gateway at the current moment can represent the power supply requirement of the load;
[0109] If the threshold active power deficit is greater than or equal to zero, the expected active power of the energy storage system at the next moment is calculated based on the actual active power of the energy storage system at the current moment, the threshold active power deficit and the maximum power value of the energy storage system;
[0110] If the threshold active power deficit is less than zero, the expected active power of the energy storage system at the next moment is calculated based on the actual active power of the energy storage system at the current moment, the threshold active power deficit and the minimum power value of the energy storage system.
[0111] In this embodiment, if Pr,t represents the active power shortage of the gateway, Pgrid,t represents the actual active power of the gateway at the current moment, Pgrid,wei represents the active power maintenance threshold of the gateway, and P ETC ,set,t+1 represents the expected active power of the energy storage system at the next moment, P ETC ,act,t represents the actual active power of the energy storage system at the current moment, P ETC ,max represents the maximum power value of the energy storage system, P ETC ,min represents the minimum power value of the energy storage system.
[0112] Then the expression of the checkpoint active power shortage is: Pr,t=Pgrid,t-Pgrid,wei.
[0113] If Pr,t≥0, it means Pgrid,t≥Pgrid,wei. At this time, the energy storage system needs to output the maximum power value P to the gateway. ETC ,max, or output power to the gateway according to the active power shortage Pr,t of the gateway, then P ETC ,set,t+1=min{[P ETC ,act,t+| Pr,t|],P ETC ,max};
[0114] If Pr,t<0, it means Pgrid,t<Pgrid,wei. At this time, the energy storage system needs to output the minimum power value P to the gateway. ETC ,min, or output power to the gateway according to the active power shortage of the gateway Pr,t, then P ETC,set,t+1=min{[P ETC ,act,t-| Pr,t|],P ETC ,min}.
[0115] Obviously, through the technical solution provided in this embodiment, the expected active power of the energy storage system at the next moment can be accurately calculated.
[0116] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. Figure 4 , Figure 4 A flow chart for regulating the reactive power of an inverter system and an energy storage system in a photovoltaic load-storage microgrid provided by an embodiment of the present invention.
[0117] As a preferred implementation, the above step S12: regulating the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load storage microgrid according to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold, includes:
[0118] Step S21: determine the power factor corresponding to the gate at the current moment, obtain the target power factor, and determine whether the target power factor is less than the monthly power factor requirement value;
[0119] Step S22: If the target power factor is greater than or equal to the monthly power factor requirement value, the actual reactive power of the inverter system at the next moment is controlled to be zero, and the actual reactive power of the energy storage system at the next moment is controlled to be zero;
[0120] Step S23: If the target power factor is less than the monthly power factor requirement, the reactive power deficit at the gateway is determined to obtain the reactive power deficit at the gateway;
[0121] Step S24: regulating the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment respectively according to the threshold reactive power maintenance threshold and the threshold reactive power shortage.
[0122] In this embodiment, when regulating the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load storage microgrid, it is first necessary to determine the power factor corresponding to the gateway at the current moment to obtain the target power factor. If the target power factor is greater than or equal to the monthly power factor requirement value, it means that the power factor corresponding to the gateway at the current moment meets the requirement. At this time, the inverter system and the energy storage system do not need to participate in the adjustment of the power factor. It is only necessary to control the actual reactive power of the inverter system to zero at the next moment, and control the actual reactive power of the energy storage system to zero at the next moment.
[0123] If the target power factor is less than the monthly power factor requirement, it means that the power factor corresponding to the gateway at the current moment does not meet the requirement. At this time, it is necessary to first determine the reactive power shortage of the gateway, obtain the gateway reactive power shortage, and adjust the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment according to the gateway reactive power maintenance threshold and the gateway reactive power shortage. This control method can keep the reactive power of the gateway at the reactive power maintenance threshold.
[0124] Specifically, if Qr,t is used to represent the reactive power shortage of the gateway, Qgrid,wei is used to represent the reactive power maintenance threshold of the gateway, and Qgrid,act,t is used to represent the actual reactive power of the gateway at the current moment, then the expression of the reactive power shortage of the gateway is: Qr,t=Qgrid,act,t-Qgrid,wei.
[0125] Obviously, through the technical solution provided in this embodiment, the monthly power factor of the gateway can reach the required monthly power factor value.
[0126] As a preferred implementation, the above step S24: regulating the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment according to the threshold reactive maintenance threshold and the threshold reactive shortage, respectively, includes:
[0127] Step S201: If the threshold reactive power deficit is greater than or equal to zero, the adjustable reactive capacity of the inverter system is determined according to the maximum reactive power of the inverter system and the actual reactive power of the inverter system at the current moment, and the adjustable reactive capacity of the energy storage system is determined according to the maximum reactive power of the energy storage system and the actual reactive power of the energy storage system at the current moment;
[0128] Step S202: If the threshold reactive power deficit is less than zero, the adjustable reactive capacity of the inverter system is determined according to the actual reactive power of the inverter system at the current moment and the minimum reactive power of the inverter system, and the adjustable reactive capacity of the energy storage system is determined according to the actual reactive power of the energy storage system at the current moment and the minimum reactive power of the energy storage system;
[0129] Step S203: If the absolute value of the threshold reactive power shortage is less than the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system, the expected reactive power of the inverter system at the next moment and the expected reactive power of the energy storage system at the next moment are calculated according to the threshold reactive power shortage;
[0130] Step S204: if the absolute value of the reactive power shortage at the threshold is greater than or equal to the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system, then determine whether the reactive power shortage at the threshold is less than zero; if so, execute step S205; if not, execute step S206;
[0131] Step S205: setting the expected reactive power of the inverter system at the next moment as the minimum reactive power value of the inverter system, and setting the expected reactive power of the energy storage system at the next moment as the minimum reactive power value of the energy storage system;
[0132] Step S206: setting the expected reactive power of the inverter system at the next moment as the maximum reactive power of the inverter system, and setting the expected reactive power of the energy storage system at the next moment as the maximum reactive power of the energy storage system;
[0133] Step S207: regulating the actual reactive power of the inverter system at the next moment according to the expected reactive power of the inverter system at the next moment, and regulating the actual reactive power of the energy storage system at the next moment according to the expected reactive power of the energy storage system at the next moment.
[0134] In this embodiment, for the convenience of description, Qinv,max,i is used to represent the maximum reactive power of the inverter system, Qinv,min,i is used to represent the minimum reactive power of the inverter system, Qinv,act,t is used to represent the actual reactive power of the inverter system at the current moment, Qinv,res,total,t is used to represent the adjustable reactive capacity of the inverter system, and Q ETC ,max,i represents the maximum reactive power of the energy storage system, Q ETC ,act,t represents the actual reactive power of the energy storage system at the current moment, Q ETC ,res,total,t represents the adjustable reactive capacity of the energy storage system.
[0135] Moreover, in this application, it is stipulated that the inductive reactive power emitted by the gate is positive, and the inductive reactive power sent in the reverse direction is negative. The inductive reactive power emitted by the inverter system is positive, and the inductive reactive power absorbed by the energy storage system is negative. Increasing the output of the energy storage system means adding a positive value to the current output power of the energy storage system, and reducing the output of the energy storage system means subtracting a positive value from the current output power of the energy storage system.
[0136] If Qr,t≥0, then Qinv,res,total,t=∑(Qinv,max,i-Qinv,act,t), Q ETC ,res,total,t=∑(Q ETC ,max,i-Q ETC ,act,t);
[0137] If Qr,t<0, then Qinv,res,total,t=∑(Qinv,act,t-Qinv,min,i), Q ETC ,res,total,t=∑(Q ETC,act,t-Q ETC ,min,i);
[0138] If |Qr,t|<Qinv,res,total,t+Q ETC ,res,total,t, indicating that the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system can meet the threshold reactive power shortage. At this time, the reactive power output by the energy storage system and the inverter system is adjusted according to the threshold reactive power shortage, and the sum of the expected reactive power of the energy storage system at the next moment and the expected reactive power of the inverter system at the next moment is equal to the sum of the actual reactive power of the energy storage system at the current moment, the actual reactive power of the inverter system at the current moment and the threshold reactive power shortage.
[0139] That is, let ∑Qinv,set,t+1+Q ETC ,set,t+1= ∑Qinv,act,t+Q ETC ,act,t+Qr,t。
[0140] It should be noted that, in practical applications, the inverter system may be composed of multiple inverters. In this case, the expected reactive power corresponding to each inverter can be determined according to the priority and threshold reactive power shortage corresponding to each inverter.
[0141] If |Qr,t|≥Qinv,res,total,t+Q ETC ,res,total,t, indicating that the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system cannot meet the threshold reactive power shortage. At this time, it is necessary to determine whether the threshold reactive power shortage Qr,t is less than zero. If Qr,t<0, then let Qinv,set,t+1=Qinv,min,i, Q ETC ,set,t+1=Q ETC ,min,i. If Qr,t≥0, then let Qinv,set,t+1=Qinv,max,i, Q ETC ,set,t+1=Q ETC ,max,i.
[0142] When Qinv,set,t+1 and Q are determined ETC ,set,t+1, we can use Qinv,set,t+1 and Q ETC ,set,t+1 respectively for Qinv,act,i,t+1 and Q ETC ,act,i,t+1 is adjusted so that the reactive power of the inverter system and the energy storage system can reach the ideal value, and the reactive power of the gateway is kept at the gateway reactive maintenance threshold Qgrid,wei.
[0143] Obviously, through the technical solution provided in this embodiment, when the power factor of the gateway is less than the monthly power factor requirement, the reactive power output by the energy storage system and the inverter system can be regulated, and the reactive power of the gateway can be maintained at the reactive power maintenance threshold of the gateway, so that the power factor of the gateway can meet the monthly power factor requirement.
[0144] As a preferred implementation, the above step S207: regulating the actual reactive power of the inverter system at the next moment according to the expected reactive power of the inverter system at the next moment, and regulating the actual reactive power of the energy storage system at the next moment according to the expected reactive power of the energy storage system at the next moment, includes:
[0145] Determine the absolute value of the difference between the actual reactive power of the energy storage system at the current moment and the expected reactive power of the energy storage system at the next moment, and obtain a second absolute value;
[0146] If the second absolute value is less than the second set value, the actual reactive power of the energy storage system at the next moment is controlled to be equal to the actual reactive power of the energy storage system at the current moment; wherein the second set value is set according to the maximum reactive power of the energy storage system;
[0147] Determine the absolute value of the difference between the reactive power of the inverter system at the current moment and the reactive power of the inverter system at the next moment, and obtain a third absolute value;
[0148] If the third absolute value is less than the third set value, the actual reactive power of the inverter system at the next moment is controlled to be equal to the actual reactive power of the inverter system at the current moment; wherein the third set value is set according to the actual reactive power of the inverter system at the current moment.
[0149] In this embodiment, in order to avoid the energy storage system and the inverter system from frequently performing charging and discharging actions, a dead zone interval can also be set. Assuming that the second set value and the third set value are k2 and k3 respectively, k2 can be set to 5%*Q ETC ,max, and set k3 to 5%*Qinv,i,t. Of course, in practical applications, k2 and k3 can also be adaptively adjusted according to different actual conditions.
[0150] Here we assume that the actual reactive power of the energy storage system at the current moment is Q ETC ,act,t, the expected reactive power Q of the energy storage system at the next moment ETC ,set,t+1, the actual reactive power of the energy storage system at the next moment is Q ETC,act,t+1, the actual reactive power of the inverter system at the current moment is Qinv,,act,t, the expected reactive power of the inverter system at the next moment is Qinv,set,t+1, the actual reactive power of the inverter system at the next moment is Qinv,act,t+1, then the second absolute value is | Q ETC ,set,t+1-Q ETC ,act,t|, the third absolute value is |Qinv,set,t+1-Qinv,,act,t|.
[0151] If | Q ETC ,set,t+1-Q ETC ,act,t|<5%*Q ETC ,max, then the actual reactive power of the energy storage system at the next moment is controlled to be equal to the actual reactive power of the energy storage system at the current moment, that is, let Q ETC ,act,t+1= Q ETC ,act,t;
[0152] If | Qinv,set,t+1-Qinv,,act,t|<5%* Qinv,i,t, then the actual reactive power of the inverter system at the next moment is controlled to be equal to the actual reactive power of the inverter system at the current moment, that is, let Qinv,act,t+1=Qinv,,act,t.
[0153] Obviously, the technical solution provided in this embodiment can avoid frequent operations of the energy storage system and the inverter system, thereby relatively extending the service life of the energy storage system and the inverter system.
[0154] See also Figure 5 , Figure 5 A structural diagram of a monthly power factor control device provided by an embodiment of the present invention, the device comprising:
[0155] The active power control module 21 is used to control the active power of the energy storage system in the photovoltaic load storage microgrid based on the principle of minimizing electricity cost and according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold;
[0156] The reactive power control module 22 is used to control the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load storage microgrid according to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold;
[0157] The collaborative control module 23 is used to regulate the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system so that the monthly power factor of the gateway in the photovoltaic load-storage microgrid meets the monthly power factor requirement value.
[0158] Preferably, the active power control module 21 includes:
[0159] The energy storage charging submodule is used to charge the energy storage system if the power grid is in a valley period or a deep valley period, and set the expected active power of the energy storage system at the next moment as the active power setting value; wherein the active power setting value is set according to the actual operation requirements of the photovoltaic load storage microgrid;
[0160] A power calculation submodule, for calculating the expected active power of the energy storage system at the next moment according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load-storage microgrid if the power grid is in a peak period or a peak period;
[0161] A time period determination submodule, for determining whether there is a peak period and a spike period after the normal period of the power grid if the power grid is in a normal period;
[0162] A power judgment submodule, used for judging whether the active power setting value is zero when the judgment result of the time period judgment submodule is yes;
[0163] A first setting submodule, used for setting the expected active power of the energy storage system at the next moment as the active power setting value when the determination result of the power determination submodule is no;
[0164] A second setting submodule, used for setting the expected active power of the energy storage system at the next moment to zero when the determination result of the power determination submodule is yes;
[0165] The power control submodule is used to control the actual active power of the energy storage system at the next moment according to the expected active power of the energy storage system at the next moment.
[0166] Preferably, the power regulation submodule includes:
[0167] A first control unit is used to control the actual active power of the energy storage system at the next moment to be zero if the expected active power of the energy storage system at the next moment is greater than or equal to zero and the SOC of the energy storage system at the current moment is less than the minimum SOC value of the energy storage system;
[0168] A second control unit is used to control the actual active power of the energy storage system at the next moment to be zero if the expected active power of the energy storage system at the next moment is less than zero and the SOC of the energy storage system at the current moment is greater than or equal to the maximum SOC value of the energy storage system;
[0169] The third control unit is used to control the energy storage system to a standby state if the expected active power of the energy storage system at the next moment is equal to zero.
[0170] Preferably, it also includes:
[0171] an absolute value obtaining unit, used to determine the absolute value of the difference between the expected active power of the energy storage system at the next moment and the actual active power of the energy storage system at the current moment, to obtain a first absolute value;
[0172] An active power control unit is used to control the actual active power of the energy storage system at the next moment to be equal to the actual active power of the energy storage system at the current moment if the first absolute value is less than a first set value; wherein the first set value is set according to the actual active power of the energy storage system at the current moment.
[0173] Preferably, the power calculation submodule includes:
[0174] An active power shortage calculation unit, used to determine the active power shortage of the gateway according to the gateway active power maintenance threshold and the actual active power of the gateway at the current moment, so as to obtain the gateway active power shortage; wherein the actual active power of the gateway at the current moment can represent the power supply requirement of the load;
[0175] A first calculation unit is used to calculate the expected active power of the energy storage system at the next moment according to the actual active power of the energy storage system at the current moment, the threshold active power deficit and the maximum power value of the energy storage system if the threshold active power deficit is greater than or equal to zero;
[0176] The second calculation unit is used to calculate the expected active power of the energy storage system at the next moment according to the actual active power of the energy storage system at the current moment, the threshold active power deficit and the minimum power value of the energy storage system if the threshold active power deficit is less than zero.
[0177] Preferably, the reactive power control module 22 includes:
[0178] A power factor judgment submodule, used to determine the power factor corresponding to the gateway at the current moment, obtain a target power factor, and judge whether the target power factor is less than the monthly power factor requirement value;
[0179] A first control submodule, used for controlling the actual reactive power of the inverter system to be zero at the next moment, and controlling the actual reactive power of the energy storage system to be zero at the next moment, when the determination result of the power factor determination submodule is no;
[0180] The second control submodule is used to determine the reactive power shortage of the gateway when the judgment result of the power factor judgment submodule is yes, obtain the gateway reactive power shortage, and regulate the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment according to the gateway reactive maintenance threshold and the gateway reactive power shortage.
[0181] Preferably, the second control submodule includes:
[0182] A first determining unit is used to determine the adjustable reactive capacity of the inverter system according to the maximum reactive power of the inverter system and the actual reactive power of the inverter system at the current moment, and to determine the adjustable reactive capacity of the energy storage system according to the maximum reactive power of the energy storage system and the reactive power of the energy storage system at the current moment, if the threshold reactive power deficit is greater than or equal to zero;
[0183] A second determining unit is used to determine the adjustable reactive capacity of the inverter system according to the actual reactive power of the inverter system at the current moment and the minimum reactive power of the inverter system if the threshold reactive power deficit is less than zero, and to determine the adjustable reactive capacity of the energy storage system according to the actual reactive power of the energy storage system at the current moment and the minimum reactive power of the energy storage system;
[0184] A reactive power calculation unit, configured to calculate the expected reactive power of the inverter system at the next moment and the expected reactive power of the energy storage system at the next moment according to the reactive power shortage at the threshold if the absolute value of the reactive power shortage at the threshold is less than the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system;
[0185] a shortage judgment unit, configured to judge whether the threshold reactive power shortage is less than zero if the absolute value of the threshold reactive power shortage is greater than or equal to the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system;
[0186] A first setting unit is used for setting the expected reactive power of the inverter system at the next moment as the minimum reactive power value of the inverter system, and setting the expected reactive power of the energy storage system at the next moment as the minimum reactive power value of the energy storage system when the determination result of the shortage determination unit is yes;
[0187] a second setting unit, for setting the expected reactive power of the inverter system at the next moment as the maximum reactive power of the inverter system, and setting the expected reactive power of the energy storage system at the next moment as the maximum reactive power of the energy storage system, when the determination result of the shortage determination unit is no;
[0188] The reactive power control unit is used to control the actual reactive power of the inverter system at the next moment according to the expected reactive power of the inverter system at the next moment, and to control the actual reactive power of the energy storage system at the next moment according to the expected reactive power of the energy storage system at the next moment.
[0189] Preferably, the reactive power control unit comprises:
[0190] A second absolute value obtaining subunit is used to determine the absolute value of the difference between the actual reactive power of the energy storage system at the current moment and the expected reactive power of the energy storage system at the next moment, to obtain a second absolute value;
[0191] An energy storage adjustment subunit, configured to control the actual reactive power of the energy storage system at the next moment to be equal to the actual reactive power of the energy storage system at the current moment if the second absolute value is less than a second set value; wherein the second set value is set according to the maximum reactive power of the energy storage system;
[0192] a third absolute value obtaining subunit, configured to determine an absolute value of a difference between a reactive power of the inverter system at a current moment and a reactive power of the inverter system at a next moment, to obtain a third absolute value;
[0193] The inverter adjustment subunit is used to control the actual reactive power of the inverter system at the next moment to be equal to the actual reactive power of the inverter system at the current moment if the third absolute value is less than a third set value; wherein the third set value is set according to the actual reactive power of the inverter system at the current moment.
[0194] A monthly power factor control device provided in an embodiment of the present invention has the beneficial effects of the monthly power factor control method disclosed above.
[0195] See also Figure 6 , Figure 6 A structural diagram of an electronic device provided by an embodiment of the present invention, the electronic device comprising:
[0196] A memory 31, used for storing computer programs;
[0197] The processor 32 is used to implement the steps of the monthly power factor control method disclosed above when executing the computer program.
[0198] An electronic device provided by an embodiment of the present invention has the beneficial effects of the above-disclosed method for regulating monthly power factor.
[0199] Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a monthly power factor control method disclosed above are implemented.
[0200] A computer-readable storage medium provided in an embodiment of the present invention has the beneficial effects of the aforementioned monthly power factor control method.
[0201] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0202] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0203] The above is a detailed introduction to the monthly power factor control method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for controlling monthly power factor, characterized in that: include: Based on the principle of minimizing electricity cost, the active power of the energy storage system in the photovoltaic load storage microgrid is regulated according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold; According to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold, the reactive power of the inverter system in the photovoltaic load storage microgrid and the reactive power of the energy storage system are regulated; By regulating the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system, the monthly power factor of the gateway in the photovoltaic load-storage microgrid meets the monthly power factor requirement value.
2. A method for controlling monthly power factor according to claim 1, characterized in that: The principle of minimizing electricity cost is adopted, and the active power of the energy storage system in the photovoltaic load storage microgrid is regulated according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold, including: If the power grid is in a valley period or a deep valley period, the energy storage system is charged, and the expected active power of the energy storage system at the next moment is set as the active power setting value; wherein the active power setting value is set according to the actual operation requirements of the photovoltaic load storage microgrid; If the power grid is in a peak period or a peak period, the expected active power of the energy storage system at the next moment is calculated according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load storage microgrid; If the power grid is in a normal period, determining whether there is a peak period and a spike period after the normal period of the power grid; If there is no peak period and / or spike period after the normal period of the power grid, the expected active power of the energy storage system at the next moment is calculated according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load-storage microgrid; If there is a peak period and / or a spike period after the normal period of the power grid, determining whether the active power setting value is zero; If the active power setting value is not zero, setting the expected active power of the energy storage system at the next moment as the active power setting value; If the active power setting value is equal to zero, the expected active power of the energy storage system at the next moment is set to zero; The actual active power of the energy storage system at the next moment is controlled according to the expected active power of the energy storage system at the next moment.
3. A method for controlling monthly power factor according to claim 2, characterized in that: The controlling the actual active power of the energy storage system at the next moment according to the expected active power of the energy storage system at the next moment includes: If the expected active power of the energy storage system at the next moment is greater than or equal to zero, and the SOC of the energy storage system at the current moment is less than the minimum SOC value of the energy storage system, the actual active power of the energy storage system at the next moment is controlled to be zero; If the expected active power of the energy storage system at the next moment is less than zero, and the SOC of the energy storage system at the current moment is greater than or equal to the maximum SOC of the energy storage system, the actual active power of the energy storage system at the next moment is controlled to be zero; If the expected active power of the energy storage system at the next moment is equal to zero, the energy storage system is controlled to be in a standby state.
4. A method for controlling monthly power factor according to claim 3, characterized in that: Also includes: Determine the absolute value of the difference between the expected active power of the energy storage system at the next moment and the actual active power of the energy storage system at the current moment, and obtain a first absolute value; If the first absolute value is less than the first set value, the actual active power of the energy storage system at the next moment is controlled to be equal to the actual active power of the energy storage system at the current moment; wherein the first set value is set according to the actual active power of the energy storage system at the current moment.
5. The method for controlling the monthly power factor according to claim 2, characterized in that: The calculating the expected active power of the energy storage system at the next moment according to the gateway active power maintenance threshold and the power supply requirement of the load in the photovoltaic load-storage microgrid includes: Determine the active power deficit of the gateway according to the gateway active power maintenance threshold and the actual active power of the gateway at the current moment, and obtain the gateway active power deficit; wherein the actual active power of the gateway at the current moment can represent the power supply requirement of the load; If the threshold active power deficit is greater than or equal to zero, the expected active power of the energy storage system at the next moment is calculated according to the actual active power of the energy storage system at the current moment, the threshold active power deficit and the maximum power value of the energy storage system; If the threshold active power deficit is less than zero, the expected active power of the energy storage system at the next moment is calculated according to the actual active power of the energy storage system at the current moment, the threshold active power deficit and the minimum power value of the energy storage system.
6. A monthly power factor control method according to claim 1, characterized in that: The reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load storage microgrid are regulated according to the monthly power factor requirement value and the preset threshold reactive power maintenance threshold, including: Determine the power factor corresponding to the threshold at the current moment, obtain a target power factor, and determine whether the target power factor is less than the monthly power factor requirement value; If the target power factor is greater than or equal to the monthly power factor requirement value, the actual reactive power of the inverter system at the next moment is controlled to be zero, and the actual reactive power of the energy storage system at the next moment is controlled to be zero; If the target power factor is less than the monthly power factor requirement, the reactive power deficit of the gateway is determined to obtain the gateway reactive power deficit, and the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment are respectively regulated according to the gateway reactive maintenance threshold and the gateway reactive power deficit.
7. A method for controlling monthly power factor according to claim 6, characterized in that: The step of regulating the actual reactive power of the inverter system at the next moment and the actual reactive power of the energy storage system at the next moment respectively according to the threshold reactive power maintenance threshold and the threshold reactive power shortage includes: If the threshold reactive power deficit is greater than or equal to zero, the adjustable reactive capacity of the inverter system is determined according to the maximum reactive power of the inverter system and the actual reactive power of the inverter system at the current moment, and the adjustable reactive capacity of the energy storage system is determined according to the maximum reactive power of the energy storage system and the reactive power of the energy storage system at the current moment; If the threshold reactive power deficit is less than zero, the adjustable reactive capacity of the inverter system is determined according to the actual reactive power of the inverter system at the current moment and the minimum reactive power of the inverter system, and the adjustable reactive capacity of the energy storage system is determined according to the actual reactive power of the energy storage system at the current moment and the minimum reactive power of the energy storage system; If the absolute value of the threshold reactive power shortage is less than the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system, the expected reactive power of the inverter system at the next moment and the expected reactive power of the energy storage system at the next moment are calculated according to the threshold reactive power shortage; If the absolute value of the threshold reactive power shortage is greater than or equal to the sum of the adjustable reactive capacity of the inverter system and the adjustable reactive capacity of the energy storage system, then determining whether the threshold reactive power shortage is less than zero; If the threshold reactive power deficit is less than zero, the expected reactive power of the inverter system at the next moment is set to the minimum reactive power of the inverter system, and the expected reactive power of the energy storage system at the next moment is set to the minimum reactive power of the energy storage system; If the threshold reactive power deficit is greater than or equal to zero, the expected reactive power of the inverter system at the next moment is set to the maximum reactive power of the inverter system, and the expected reactive power of the energy storage system at the next moment is set to the maximum reactive power of the energy storage system; The actual reactive power of the inverter system at the next moment is regulated according to the expected reactive power of the inverter system at the next moment, and the actual reactive power of the energy storage system at the next moment is regulated according to the expected reactive power of the energy storage system at the next moment.
8. A method for controlling monthly power factor according to claim 7, characterized in that: The regulating the actual reactive power of the inverter system at the next moment according to the expected reactive power of the inverter system at the next moment, and regulating the actual reactive power of the energy storage system at the next moment according to the expected reactive power of the energy storage system at the next moment, comprises: Determine the absolute value of the difference between the actual reactive power of the energy storage system at the current moment and the expected reactive power of the energy storage system at the next moment, and obtain a second absolute value; If the second absolute value is less than the second set value, the actual reactive power of the energy storage system at the next moment is controlled to be equal to the actual reactive power of the energy storage system at the current moment; wherein the second set value is set according to the maximum reactive power of the energy storage system; Determine an absolute value of a difference between a reactive power of the inverter system at a current moment and a reactive power of the inverter system at a next moment, and obtain a third absolute value; If the third absolute value is less than the third set value, the actual reactive power of the inverter system at the next moment is controlled to be equal to the actual reactive power of the inverter system at the current moment; wherein the third set value is set according to the actual reactive power of the inverter system at the current moment.
9. A monthly power factor control device, characterized in that: include: The active power control module is used to control the active power of the energy storage system in the photovoltaic load storage microgrid based on the principle of minimizing electricity cost and according to the electricity price of the power grid in each period and the pre-set threshold active power maintenance threshold; A reactive power control module, used to control the reactive power of the inverter system and the reactive power of the energy storage system in the photovoltaic load storage microgrid according to the monthly power factor requirement value and a preset threshold reactive power maintenance threshold; The collaborative control module is used to regulate the active power of the energy storage system, the reactive power of the inverter system and the reactive power of the energy storage system so that the monthly power factor of the gateway in the photovoltaic load-storage microgrid meets the monthly power factor requirement value.
10. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of a monthly power factor control method as described in any one of claims 1 to 8 when executing the computer program.
