Voltage adjustment method, apparatus, device, storage medium and computer program product
By adjusting the DC bus voltage of the photovoltaic-storage-DC-flexible building, the power adjustment process of the equipment in the building is simplified, and the effect of automatic power adjustment of the equipment is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-19
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, adjusting the power of equipment in photovoltaic-storage-direct-drive-flexible buildings is complex, requiring separate operation of each device, resulting in a cumbersome adjustment process.
The power consumption can be adjusted by changing the DC bus voltage of the photovoltaic-storage-DC-flexible building, simplifying the adjustment process.
It enables automatic power adjustment of various devices in photovoltaic-storage-flexible buildings, simplifying the adjustment process and reducing the complexity of equipment operation.
Smart Images

Figure CN115456425B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of grid flexible interaction, and in particular to a voltage adjustment method and device, equipment, a storage medium and a computer program product. BACKGROUND
[0002] With the gradual increase of the proportion of renewable energy generation and traditional power generation and the promotion of building microgrids, the definition of the peak and valley of the power grid also changes. In order to better realize the load-grid interaction, the real-time power of the building load can automatically change and adjust according to the requirements of the power grid. Through the flexible interaction between the building and the power, the flexible control of building power consumption can be better realized, and a larger proportion of unstable and uncontrollable photovoltaic power generation can be accommodated.
[0003] In the related art, the devices with load regulation capability in the light-storage-direct-flexible building are analyzed to determine the power relationship of each device in the light-storage-direct-flexible building, and based on the preset load regulation rule and the power relationship, the charging and discharging states of each device in the light-storage-direct-flexible building are adjusted. Since the power of each device in the light-storage-direct-flexible building needs to be adjusted separately, the adjustment process is complex. SUMMARY
[0004] Therefore, it is necessary to provide a voltage adjustment method, device, equipment, storage medium and computer program product capable of adjusting the power consumption of the light-storage-direct-flexible building by adjusting the voltage value of the direct current bus in the light-storage-direct-flexible building to reduce the complexity of adjustment.
[0005] In a first aspect, the present application provides a voltage adjustment method. The method comprises:
[0006] obtaining a target power of a light-storage-direct-flexible building in a preset time period closest to the current time;
[0007] obtaining an actual power of the light-storage-direct-flexible building every first preset time interval;
[0008] if the actual power obtained in the current time interval satisfies a preset adjustment condition, determining a first difference value between the target power and the actual power in the current time interval;
[0009] determining a target voltage value in the current time interval according to a first preset number of first difference values;
[0010] adjusting the voltage of the direct current bus of the light-storage-direct-flexible building according to the target voltage value in the current time interval.
[0011] In one embodiment, if the actual power obtained in the current time interval satisfies the preset adjustment condition, the first difference value between the target power and the actual power in the current time interval is determined, comprising:
[0012] If a first ratio between the target power and an actual power obtained in a current time is greater than a first preset ratio or less than a second preset ratio, a first difference between the target power and the actual power in the current time is determined.
[0013] The first preset ratio is greater than the second preset ratio.
[0014] In one of the embodiments, the target voltage value in the current time is determined according to the first difference of the first preset number, including:
[0015] An average value of the first difference of the first preset number is determined.
[0016] A first voltage value is determined according to the average value of the latest second preset number.
[0017] The target voltage value in the current time is determined according to the first voltage value and a target voltage value determined in a last time.
[0018] In one of the embodiments, the first voltage value is determined according to the average value of the latest second preset number, including:
[0019] A product result of each average value in the average value of the latest second preset number and a corresponding preset coefficient is determined.
[0020] The first voltage value is determined according to the product result of each average value in the average value of the latest second preset number and a corresponding first preset coefficient.
[0021] In one of the embodiments, the target voltage value in the current time is determined according to the first voltage value and the target voltage value determined in the last time, including:
[0022] A product result of the first voltage value and a preset coefficient is determined.
[0023] A sum result between the target voltage value determined in the last time and the product result is taken as the target voltage value in the current time.
[0024] In one of the embodiments, the voltage of the direct-current bus of the light storage direct-current flexible building is adjusted according to the target voltage value in the current time, including:
[0025] If the target voltage value in the current time is greater than or equal to a first voltage threshold and less than or equal to a second voltage threshold, the voltage of the direct-current bus of the light storage direct-current flexible building is adjusted to the target voltage value in the current time.
[0026] If the target voltage value in the current time is less than the first voltage threshold, the voltage of the direct-current bus of the light storage direct-current flexible building is adjusted to the first voltage threshold.
[0027] If the target voltage value of the current time is greater than the second voltage threshold, the voltage of the DC bus of the light storage direct flexible building is adjusted to the second voltage threshold.
[0028] In a second aspect, the present application provides a voltage adjustment device. The device comprises:
[0029] The first obtaining module is configured to obtain the target power of the light storage direct flexible building in a preset time period closest to the current time.
[0030] The second obtaining module is configured to obtain the actual power of the light storage direct flexible building every first preset time length.
[0031] The first determining module is configured to determine a first difference between the target power and the actual power of the current time if the actual power obtained at the current time meets a preset adjustment condition.
[0032] The second determining module is configured to determine the target voltage value of the current time according to the first differences of the first preset number.
[0033] The adjusting module is configured to adjust the voltage of the DC bus of the light storage direct flexible building according to the target voltage value of the current time.
[0034] In a third aspect, the present application provides a computer device. The computer device comprises a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are realized:
[0035] The target power of the light storage direct flexible building in a preset time period closest to the current time is obtained.
[0036] The actual power of the light storage direct flexible building is obtained every first preset time length.
[0037] A first difference between the target power and the actual power of the current time is determined if the actual power obtained at the current time meets a preset adjustment condition.
[0038] The target voltage value of the current time is determined according to the first differences of the first preset number.
[0039] The voltage of the DC bus of the light storage direct flexible building is adjusted according to the target voltage value of the current time.
[0040] In a fourth aspect, the present application provides a computer readable storage medium. The computer readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are realized:
[0041] The target power of the light storage direct flexible building in a preset time period closest to the current time is obtained.
[0042] The actual power of the light storage direct flexible building is obtained every first preset time length.
[0043] If the actual power obtained in the current time meets the preset adjustment condition, a first difference between the target power and the actual power obtained in the current time is determined;
[0044] A target voltage value in the current time is determined according to the first differences in the first preset number;
[0045] The voltage of the DC bus of the light-storage direct-current flexible building is adjusted according to the target voltage value in the current time.
[0046] In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program, and the computer program is executed by a processor to implement the following steps:
[0047] A target power of a light-storage direct-current flexible building in a preset time period closest to a current time is obtained;
[0048] An actual power of the light-storage direct-current flexible building is obtained every first preset time length;
[0049] If the actual power obtained in the current time meets the preset adjustment condition, a first difference between the target power and the actual power obtained in the current time is determined;
[0050] A target voltage value in the current time is determined according to the first differences in the first preset number;
[0051] The voltage of the DC bus of the light-storage direct-current flexible building is adjusted according to the target voltage value in the current time.
[0052] The voltage adjustment method, device, equipment, storage medium and computer program product provided above, by obtaining a target power of a light-storage direct-current flexible building in a preset time period closest to a current time, obtaining an actual power of the light-storage direct-current flexible building every first preset time length, if the actual power obtained in the current time meets the preset adjustment condition, determining a first difference between the target power and the actual power obtained in the current time, determining a target voltage value in the current time according to the first differences in the first preset number, and adjusting the voltage of the DC bus of the light-storage direct-current flexible building according to the target voltage value in the current time. In the traditional technology, the charging and discharging states of each source and load are adjusted respectively to realize the stable constant-power flexible operation of the power distribution system, and the adjustment process is complex. However, the present application only needs to adjust the voltage value of the DC bus of the light-storage direct-current flexible building, and then the power of each device of the light-storage direct-current flexible building is automatically adjusted according to the voltage value of the adjusted DC bus, without the need to adjust the power of each device in the light-storage direct-current flexible building respectively, so as to simplify the adjustment process. BRIEF DESCRIPTION OF DRAWINGS
[0053] Figure 1 It is a power distribution system diagram of a voltage adjustment method provided by the present application;
[0054] Figure 2 is a flowchart of a voltage adjustment method provided by an embodiment of the present application;
[0055] Figure 3 is a flowchart of a current target voltage value determination method provided by an embodiment of the present application;
[0056] Figure 4 is a flowchart of a first voltage value determination method provided by an embodiment of the present application;
[0057] Figure 5 is a flowchart of a current target voltage value determination method provided by an embodiment of the present application;
[0058] Figure 6 is a flowchart of a current target voltage value determination method provided by an embodiment of the present application;
[0059] Figure 7 is a structural block diagram of a voltage adjustment device provided by an embodiment of the present application;
[0060] Figure 8 is an internal structure diagram of a computer device as a terminal provided by an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0062] Figure 1 is a power distribution system diagram of a voltage adjustment method provided by an embodiment of the present application, the power distribution system includes a power grid 101 and a light storage direct flexible building 102, the light storage direct flexible building 102 includes a photovoltaic device, an energy storage device, other loads, an alternating current / direct current (AC / DC) converter and a direct current / direct current (DC / DC) converter, wherein the AC / DC converter is a device for converting alternating current into direct current, and the DC / DC converter is a voltage converter that converts input voltage and effectively outputs a fixed voltage. In the conventional technology, the devices with load regulation capability in the light storage direct flexible building 102 are analyzed, the power relationship of each device in the light storage direct flexible building 102 is determined, and based on the preset load adjustment rule and the power relationship, the charging and discharging state of each device is adjusted to realize stable constant power flexible operation of the power distribution system. Since the power of each device in the power distribution system needs to be adjusted respectively, the adjustment process is complex.
[0063] To solve the above technical problems, the voltage adjustment method provided by the embodiments of the present application is as follows Figure 2 Figure 2 is a flowchart of a voltage adjustment method provided by the embodiments of the present application, and the method comprises the following steps:
[0064] S201, obtaining a target power of a light-storage straight-flexible building in a preset time period closest to the current time.
[0065] The preset time period is 15 minutes, and the target power of the light-storage straight-flexible building is the target power of the light-storage straight-flexible building sent by the power grid in the previous day in the preset time period closest to the current time, and the obtained target power is denoted as P set .
[0066] Specifically, the power grid determines a target power curve of the light-storage straight-flexible building in the current day according to historical power consumption data of the light-storage straight-flexible building, and can send the target power curve in the current day to the light-storage straight-flexible building in the previous day. The light-storage straight-flexible building obtains the target power in the preset time period closest to the current time through the target power curve sent by the power grid.
[0067] S202, obtaining an actual power of the light-storage straight-flexible building every first preset time length.
[0068] The actual power of the light-storage straight-flexible building represents the power generated by the electric energy consumed by the building itself, for example, the first preset time length is set to 30 seconds, and the computer obtains an actual power of the light-storage straight-flexible building every 30 seconds, denoted as P in .
[0069] S203, if the actual power obtained at the current time meets a preset adjustment condition, determining a first difference value between the target power and the actual power at the current time.
[0070] The preset adjustment condition is a difference range between the actual power at the current time and the target power given in the current time period, and specifically, if the actual power at the current time plus 3% of the actual power is less than the target power at the current time, or the difference between the actual power at the current time minus 3% of the actual power is greater than the target power at the current time, the first difference value between the target power and the actual power at the current time is calculated.
[0071] S204, determining a target voltage value at the current time according to the first difference value of the first preset number.
[0072] The target voltage value of the current time represents a target voltage value that needs to be adjusted by the DC bus, specifically, the first preset number is determined according to actual conditions, for example, the first preset number is denoted as 6, the average value of the first preset number is determined according to the first difference value, and then the target voltage value of the current time is determined according to the average value of the first preset number and the target voltage value of the last time.
[0073] S205, adjusting the voltage of the DC bus of the photovoltaic energy storage and flexible building according to the target voltage value of the current time.
[0074] The DC bus is connected together in the form of a busbar of copper in the frequency converter to form a DC common bus frequency conversion driving system.
[0075] Specifically, according to the calculated target voltage value, the target voltage value on the DC bus is adjusted according to a preset rule through a voltage power adjusting device, and each device of the photovoltaic energy storage and flexible building automatically adjusts the power according to the voltage value of the adjusted DC bus to realize the adjustment of the load power.
[0076] The voltage adjustment method adjusts the voltage of the DC bus of the photovoltaic energy storage and flexible building according to the target voltage value of the current time. Each device of the photovoltaic energy storage and flexible building automatically adjusts the power according to the voltage value of the adjusted DC bus to realize the adjustment of the load power.
[0077] In one embodiment, if the actual power obtained in the current time meets the preset adjustment condition, the first difference value between the target power and the actual power of the current time is determined, which can also be achieved by the following method:
[0078] If the first ratio between the target power and the actual power obtained in the current time is greater than the first preset ratio or less than the second preset ratio, the first difference value between the target power and the actual power of the current time is determined.
[0079] Specifically, the above P in and P set are taken as examples for illustration:
[0080] or
[0081] Wherein, the first preset ratio and the second preset ratio are determined according to actual conditions, for example, the first preset ratio is 1.03, and the second preset ratio is 0.97, at this time, the first target difference is calculated: ΔP = |P set -P in |.
[0082] In the embodiment, the first difference between the target power and the actual power obtained in the current time is determined by comparing the first ratio between the target power and the actual power obtained in the current time with the first preset ratio or the second preset ratio. Since the first preset ratio and the second preset ratio are introduced, the first difference between the target power and the actual power obtained in the current time is determined when the first ratio between the target power and the actual power obtained in the current time is greater than the first preset ratio or less than the second preset ratio. Then, the target voltage value in the current time is determined according to the first difference of the first preset number, and the voltage of the direct-current bus of the light storage direct-flexible building is adjusted according to the target voltage value in the current time. From the control result, since the voltage of the direct-current bus of the light storage direct-flexible building can be adjusted according to the target voltage value in the current time, the actual power can be adjusted by adjusting the voltage of the direct-current bus of the light storage direct-flexible building, so that the error between the actual power taken from the power grid and the given target power of the power grid can be controlled within a small interval range, and various renewable energy power generations from the power grid can be better absorbed.
[0083] When the first ratio between the target power and the actual power obtained in the current time is greater than or equal to the second preset ratio and less than or equal to the first preset ratio, it means that the voltage of the direct-current bus does not need to be adjusted, and in this case, the first difference does not need to be calculated, thereby avoiding waste of calculation resources.
[0084] Figure 3 is a flowchart of a current time target voltage value determination method provided by the embodiment of the present application, and the embodiment relates to a possible implementation manner for determining the target voltage value in the current time according to the first difference of the first preset number. Based on the above embodiment, as shown in Figure 3 , the above S204 includes:
[0085] S301, determining an average value of the first difference of the first preset number.
[0086] Specifically, for example, an actual power in the current time is collected every 30 seconds, and a first difference is calculated and recorded as ΔP i (i=1, 2, 3, …, 6), if the first preset number is 6, six first differences are continuously collected, and an average value of the first difference is calculated.
[0087]
[0088] Wherein, ΔP n(n = 1, 2, 3, …, n) represents the average value of the first preset number of first differences, ΔP i represents the first difference.
[0089] S302, determining the first voltage value according to the average value of the latest second preset number of first differences.
[0090] Specifically, the second preset number is determined according to actual conditions, for example, the second preset number is set to 3, and the average value of the latest first difference is set to ΔP n , the average values of the latest three first differences from the current time are ΔP n , ΔP n-1 , and ΔP n-2 , and the first voltage value ΔV is determined according to the above three average values of the first difference.
[0091] S303, determining the target voltage value of the current time according to the first voltage value and the target voltage value determined last time.
[0092] Specifically, the target voltage value determined last time is set to V a , and the target voltage value of the current time is V a+1 , and the target voltage value V a+1 of the current time is determined according to the first voltage value ΔV and the target voltage value V a determined last time, and it should be noted that the initial target voltage value V1 represents the target voltage value of the light storage direct flexible building in the target power state.
[0093] In the embodiment, the average value of the first preset number of first differences is determined, the first voltage value is determined according to the average value of the latest second preset number of first differences, and the target voltage value of the current time is determined according to the first voltage value and the target voltage value determined last time. Since the first difference is the power difference, the first voltage value is determined according to the average value of the latest second preset number of first differences, and the target voltage value of the current time is determined according to the first voltage value and the target voltage value determined last time, and then the voltage of the direct current bus of the light storage direct flexible building is adjusted according to the target voltage value of the current time, the power is adjusted only by changing the size of the voltage of the direct current bus, and only one parameter of the voltage of the direct current bus needs to be determined, the number of sensors is small, and the system is simple.
[0094] Figure 4 is a flowchart of a first voltage value determination method provided by the embodiment of the application, and the embodiment relates to a possible implementation manner of how to determine the first voltage value according to the average value of the latest second preset number. On the basis of the above embodiment, as shown in Figure 4 , the above S204 includes:
[0095] S401, determine the product of each average value in the latest second preset number of average values and the corresponding first preset coefficient.
[0096] Specifically, the first preset coefficient is determined according to actual conditions, for example, ΔP n The corresponding first preset coefficient is k1, ΔP n-1 The corresponding first preset coefficient is k2, ΔP n-2 The corresponding first preset coefficient is k3, ΔP n , ΔP n-1 , ΔP n-2 , respectively.
[0097] S402, determine the first voltage value according to the product of each average value in the latest second preset number of average values and the corresponding first preset coefficient.
[0098] Specifically, determine the product of ΔP n , ΔP n-1 , ΔP n-2 and the corresponding first preset coefficient, and then determine the first voltage value ΔV according to the product, which can be represented by the following relationship:
[0099] ΔV=k1×ΔP n -k2×ΔP n-1 +k3×ΔP n-2
[0100] In this embodiment, by determining the product of each average value in the latest second preset number of average values and the corresponding first preset coefficient, and determining the first voltage value according to the product of each average value in the latest second preset number of average values and the corresponding first preset coefficient, since the average value of the second preset number represents the power and the first voltage value represents the voltage, the first voltage value is determined according to the product of each average value in the latest second preset number of average values and the corresponding first preset coefficient, which realizes that only the voltage of the DC bus needs to be determined, the number of sensors is small, and the system is simple.
[0101] Figure 5 is a flowchart of a method for determining a target voltage value of the current time provided by the embodiment of the application. The embodiment relates to a possible implementation manner for determining a target voltage value of the current time according to a first voltage value and a target voltage value determined last time. On the basis of the above embodiment, as shown in Figure 5 , the above S402 includes:
[0102] S501, determine the product of the first voltage value and the second preset coefficient.
[0103] The second preset coefficient can be set according to actual conditions, for example, the second preset coefficient is set as k, and the product of the first voltage value and the second preset coefficient can be represented as ΔV x k.
[0104] S502, the sum result between the last determined target voltage value and the product result is taken as the target voltage value of the current time.
[0105] Specifically, the last determined target voltage value is V a , and the target voltage value of the current time is V a+1 The relationship between the last determined target voltage value and the target voltage value of the current time can be represented by the following relationship:
[0106] V a+1 = V a + ΔV x k
[0107] In the embodiment, by determining the product of the first voltage value and the second preset coefficient, the sum result between the last determined target voltage value and the product result is taken as the target voltage value of the current time, and the sum result between the last target voltage value and the product result is taken as the target voltage value of the current time, which realizes the conversion from the last determined target voltage value to the target voltage value of the current time.
[0108] Figure 6 is a flowchart of a target voltage value determination method provided by the embodiment of the application. The embodiment relates to a possible implementation manner for determining the target voltage value of the current time according to the first voltage value and the last determined target voltage value. Based on the above embodiment, as shown in Figure 6 , the S303 includes:
[0109] S601, if the target voltage value of the current time is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, the voltage of the direct-current bus of the light storage direct-flexible building is adjusted to the target voltage value of the current time.
[0110] The first voltage threshold and the second voltage threshold represent the adjustable voltage range.
[0111] The first voltage threshold and the second voltage threshold can be determined according to actual conditions, for example, the first voltage threshold is set as 300V, the second voltage threshold is set as 400V, and if 300V≤V a+1 ≤400V, the voltage of the direct-current bus of the light storage direct-flexible building is adjusted to the target voltage value V a+1Only the real-time amount of grid input power needs to be detected, and the load power can be adjusted by changing the DC bus voltage value. For example, the cutoff voltage of the photovoltaic device is set to 390V, and when the voltage of the DC bus is greater than 390V, the photovoltaic device stops discharging to the photovoltaic storage flexible building. When the voltage of the DC bus is greater than or equal to 370V and less than or equal to 380V, the energy storage device does not charge or discharge. This voltage interval represents the non-working voltage interval of the energy storage device.
[0112] In S602, if the target voltage value of the current time is less than the first voltage threshold, the voltage of the DC bus of the photovoltaic storage flexible building is adjusted to the first voltage threshold.
[0113] Specifically, if V a+1 <300V, the voltage of the DC bus of the photovoltaic storage flexible building is adjusted to the first voltage threshold 300V.
[0114] In S603, if the target voltage value of the current time is greater than the second voltage threshold, the voltage of the DC bus of the photovoltaic storage flexible building is adjusted to the second voltage threshold.
[0115] Specifically, if V a+1 >400V, the voltage of the DC bus of the photovoltaic storage flexible building is adjusted to the second voltage threshold 400V.
[0116] In the embodiment, by setting the first voltage threshold and the second voltage threshold, if the target voltage value of the current time is less than the first voltage threshold, the voltage of the DC bus of the photovoltaic storage flexible building is adjusted to the first voltage threshold, and if the target voltage value of the current time is greater than the second voltage threshold, the voltage of the DC bus of the photovoltaic storage flexible building is adjusted to the second voltage threshold. For the voltage value not in the above range, no adjustment is made, which avoids the waste of adjustment resources, and the energy storage device sets a non-working voltage interval. At this time, more relies on the load of the photovoltaic storage flexible building itself to realize power adjustment, which reduces the investment cost of the energy storage device.
[0117] It should be understood that, although each step in the flowchart involved in each of the above embodiments is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each of the above embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0118] Based on the same inventive concept, the embodiments of the present application also provide a voltage adjustment device for implementing the above-mentioned voltage adjustment method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more voltage adjustment device embodiments provided below can refer to the limitations of the voltage adjustment method in the foregoing, which will not be described here again.
[0119] In one embodiment, as shown in Figure 7 A voltage adjustment device 700 is provided, comprising: a first acquisition module 701, a second acquisition module 702, a first determination module 703, a second determination module 704, and an adjustment module 705, wherein:
[0120] The first acquisition module 701 is configured to acquire the target power of the light-storage-direct-flexible building in a preset time period closest to the current time.
[0121] The second acquisition module 702 is configured to acquire the actual power of the light-storage-direct-flexible building every first preset time length.
[0122] The first determination module 703 is configured to determine a first difference value between the target power and the actual power of the current time if the actual power of the current time acquisition meets a preset adjustment condition.
[0123] The second determination module 704 is configured to determine a target voltage value of the current time according to the first difference values of the first preset number.
[0124] The adjustment module 705 is configured to adjust the voltage of the direct-current bus of the light-storage-direct-flexible building according to the target voltage value of the current time.
[0125] In one embodiment, the first determination module 703 comprises:
[0126] The first determination unit is configured to determine the first difference value between the target power and the actual power of the current time if a first ratio between the target power and the actual power of the current time acquisition is greater than a first preset ratio or less than a second preset ratio.
[0127] In one embodiment, the second determination module 704 comprises:
[0128] The second determination unit is configured to determine the average value of the first difference values of the first preset number.
[0129] The third determination unit is configured to determine a first voltage value according to the average value of the latest second preset number of first difference values.
[0130] The fourth determination unit is configured to determine the target voltage value of the current time according to the first voltage value and the target voltage value determined last time.
[0131] In one of the embodiments, the third determining unit is specifically configured to determine a multiplication result of each of the latest second preset number of averages and a corresponding first preset coefficient; and determine the first voltage value according to the multiplication result of each of the latest second preset number of averages and the corresponding first preset coefficient.
[0132] In one of the embodiments, the fourth determining unit is specifically configured to determine a multiplication result of the first voltage value and a second preset coefficient; and determine a sum result between the last determined target voltage value and the multiplication result as the target voltage value of the current time.
[0133] In one of the embodiments, the adjusting module 705 includes:
[0134] The first comparing unit is configured to, if the target voltage value of the current time is greater than or equal to the first voltage threshold value and less than or equal to the second voltage threshold value, adjust the voltage of the DC bus of the light storage direct-current flexible building to the target voltage value of the current time.
[0135] The second comparing unit is configured to, if the target voltage value of the current time is less than the first voltage threshold value, adjust the voltage of the DC bus of the light storage direct-current flexible building to the first voltage threshold value.
[0136] The third comparing unit is configured to, if the target voltage value of the current time is greater than the second voltage threshold value, adjust the voltage of the DC bus of the light storage direct-current flexible building to the second voltage threshold value.
[0137] Each of the above-mentioned voltage adjusting devices can be realized by software, hardware and a combination thereof in whole or in part. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in a hardware form, or can be stored in a memory in a computer device in a software form, so as to be called and executed by a processor to perform the operations corresponding to each of the above-mentioned modules.
[0138] In one of the embodiments, a computer device is provided, which can be a terminal, and an internal structure diagram of the computer device can be as shown in Figure 8As shown in the figure. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capability. The memory of the computer device includes a non-volatile storage medium, an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The communication interface of the computer device is used for wired or wireless communication with external terminals. Wireless mode can be achieved through WIFI, mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to implement a voltage method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0139] Those skilled in the art can understand that, Figure 8 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0140] In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the following steps:
[0141] Obtaining the target power of the light-storage-directly-flexible building in the preset time period closest to the current time;
[0142] Obtaining the actual power of the light-storage-directly-flexible building every interval of a first preset duration;
[0143] If the actual power obtained in the current time meets the preset adjustment condition, determining a first difference value between the target power and the actual power in the current time;
[0144] Determining the target voltage value in the current time according to the first difference value of the first preset number;
[0145] Adjusting the voltage of the direct current bus of the light-storage-directly-flexible building according to the target voltage value in the current time.
[0146] In one embodiment, the processor executing the computer program further implements the following steps:
[0147] If the first ratio between the target power and the actual power obtained in the current time is greater than a first preset ratio or less than a second preset ratio, determining a first difference value between the target power and the actual power in the current time;
[0148] wherein the first preset ratio is greater than the second preset ratio.
[0149] In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0150] determining an average value of the first preset number of first difference values;
[0151] determining the first voltage value according to the average value of the most recent second preset number of first difference values;
[0152] determining the target voltage value of the current time according to the first voltage value and the target voltage value determined last time. In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0153] determining a product result of each average value in the average values of the most recent second preset number and a corresponding first preset coefficient;
[0154] determining the first voltage value according to the product result of each average value in the average values of the most recent second preset number and a corresponding first preset coefficient.
[0155] In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0156] determining a product result of the first voltage value and a second preset coefficient;
[0157] taking a summation result between the target voltage value determined last time and the product result as the target voltage value of the current time.
[0158] In one embodiment, the processor, when executing the computer program, further implements the following steps:
[0159] if the target voltage value of the current time is greater than or equal to the first voltage threshold value and less than or equal to the second voltage threshold value, adjusting the voltage of the DC bus of the light storage direct flexible building to the target voltage value of the current time;
[0160] if the target voltage value of the current time is less than the first voltage threshold value, adjusting the voltage of the DC bus of the light storage direct flexible building to the first voltage threshold value;
[0161] if the target voltage value of the current time is greater than the second voltage threshold value, adjusting the voltage of the DC bus of the light storage direct flexible building to the second voltage threshold value.
[0162] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium has stored thereon a computer program, and the computer program, when executed by a processor, implements the following steps:
[0163] obtaining a target power of the light storage direct flexible building in a preset time period closest to the current time;
[0164] The actual power of the light-storage-direct-flexible building is obtained at each first preset time interval;
[0165] If the actual power obtained in the current iteration meets the preset adjustment conditions, then the first difference between the target power and the actual power obtained in the current iteration is determined;
[0166] The target voltage value for the current iteration is determined based on the first difference of the first preset number.
[0167] Adjust the voltage of the DC bus of the photovoltaic-storage-DC-flexible building according to the current target voltage value.
[0168] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0169] If the first ratio between the target power and the current actual power is greater than a first preset ratio or less than a second preset ratio, then the first difference between the target power and the current actual power is determined.
[0170] The first preset ratio is greater than the second preset ratio.
[0171] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0172] Determine the average of the first difference of the first preset number;
[0173] The first voltage value is determined based on the average of the first differences of the most recent second preset number;
[0174] The target voltage value for the current voltage cycle is determined based on the first voltage value and the previously determined target voltage value.
[0175] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0176] Determine the product of the average of each of the most recent second preset number of averages and the corresponding first preset coefficient;
[0177] The first voltage value is determined by multiplying the average value of the most recent second preset number of values with the corresponding first preset coefficient.
[0178] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0179] Determine the product of the first voltage value and the second preset coefficient;
[0180] The sum of the previously determined target voltage value and the product result is used as the current target voltage value.
[0181] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0182] If the current target voltage value is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, then the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the current target voltage value.
[0183] If the target voltage value is less than the first voltage threshold, the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the first voltage threshold.
[0184] If the target voltage value is greater than the second voltage threshold, the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the second voltage threshold.
[0185] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0186] Obtain the target power of a light-storage-flexible building within the preset time period closest to the current time;
[0187] The actual power of the light-storage-direct-flexible building is obtained at each first preset time interval;
[0188] If the actual power obtained in the current iteration meets the preset adjustment conditions, then the first difference between the target power and the actual power obtained in the current iteration is determined;
[0189] The target voltage value for the current iteration is determined based on the first difference of the first preset number.
[0190] Adjust the voltage of the DC bus of the photovoltaic-storage-DC-flexible building according to the current target voltage value.
[0191] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0192] If the first ratio between the target power and the current actual power is greater than a first preset ratio or less than a second preset ratio, then the first difference between the target power and the current actual power is determined.
[0193] The first preset ratio is greater than the second preset ratio.
[0194] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0195] Determine the average of the first difference of the first preset number;
[0196] The first voltage value is determined based on the average of the first differences of the most recent second preset number;
[0197] The target voltage value for the current voltage cycle is determined based on the first voltage value and the previously determined target voltage value.
[0198] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0199] Determine the product of the average of each of the most recent second preset number of averages and the corresponding first preset coefficient;
[0200] The first voltage value is determined by multiplying the average value of the most recent second preset number of values with the corresponding first preset coefficient.
[0201] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0202] Determine the product of the first voltage value and the second preset coefficient;
[0203] The sum of the previously determined target voltage value and the product result is used as the current target voltage value.
[0204] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0205] If the current target voltage value is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, then the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the current target voltage value.
[0206] If the target voltage value is less than the first voltage threshold, the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the first voltage threshold.
[0207] If the target voltage value is greater than the second voltage threshold, the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the second voltage threshold.
[0208] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0209] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0210] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0211] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A voltage adjustment method, characterized in that, The method is applied to a power distribution system, which includes a power grid and a photovoltaic-storage-DC-flexible building (PV-SHU-CHU-Flexible Building). The power grid is connected to the PV-SHU-CHU-Flexible Building, which includes photovoltaic equipment, energy storage equipment, other loads, AC / DC converters, and DC / DC converters. The method includes: Obtain the target power of the photovoltaic-storage-direct-drive-flexible building for the most recent preset time period; the target power is determined based on the target power curve sent by the power grid, the target power curve is the target power curve of the current day sent by the power grid to the photovoltaic-storage-direct-drive-flexible building on the previous day, and the target power curve is the power curve determined by the power grid based on the historical electricity consumption data of the photovoltaic-storage-direct-drive-flexible building; The actual power of the light-storage-flexible building is obtained at each first preset time interval; If the actual power obtained in the current iteration meets the preset adjustment conditions, then the first difference between the target power and the actual power obtained in the current iteration is determined; The target voltage value for the current iteration is determined based on the first difference of the first preset number. Adjust the voltage of the DC bus of the photovoltaic-storage-flexible building according to the current target voltage value; The step of determining the target voltage value for the current time based on the first difference of the first preset number includes: Determine the average value of the first difference of the first preset number; The first voltage value is determined based on the average of the first differences of the most recent second preset number; The target voltage value for the current time is determined based on the first voltage value and the previously determined target voltage value. The step of determining the first voltage value based on the average of the most recent second preset number includes: Determine the product of each average value among the most recent second preset number of average values and the corresponding first preset coefficient; The first voltage value is determined by multiplying the average value of the most recent second preset number of values with the corresponding first preset coefficient.
2. The method according to claim 1, characterized in that, If the actual power obtained in the current iteration meets the preset adjustment conditions, then determining the first difference between the target power and the actual power obtained in the current iteration includes: If the first ratio between the target power and the current actual power is greater than a first preset ratio or less than a second preset ratio, then the first difference between the target power and the current actual power is determined. Wherein, the first preset ratio is greater than the second preset ratio.
3. The method according to claim 1, characterized in that, Determining the current target voltage value based on the first voltage value and the previously determined target voltage value includes: Determine the product of the first voltage value and the second preset coefficient; The summation of the previously determined target voltage value and the product result is taken as the current target voltage value.
4. The method according to any one of claims 1 to 3, characterized in that, The step of adjusting the DC bus voltage of the photovoltaic-storage-DC-flexible building according to the current target voltage value includes: If the current target voltage value is greater than or equal to the first voltage threshold and less than or equal to the second voltage threshold, then the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the current target voltage value. If the current target voltage value is less than the first voltage threshold, then the voltage of the DC bus of the photovoltaic-storage-DC-flexible building is adjusted to the first voltage threshold. If the target voltage value of the current time is greater than the second voltage threshold, then the voltage of the DC bus of the photovoltaic-storage-DC-flexible building will be adjusted to the second voltage threshold.
5. A voltage regulating device, characterized in that, The device includes: The first acquisition module is used to acquire the target power of the photovoltaic-storage-DC-flexible building for the most recent preset time period. The target power is determined based on the target power curve sent by the power grid. The target power curve is the target power curve for the current day sent by the power grid to the photovoltaic-storage-DC-flexible building on the previous day. The target power curve is a power curve determined by the power grid based on the historical electricity consumption data of the photovoltaic-storage-DC-flexible building. The power grid is connected to the photovoltaic-storage-DC-flexible building, which includes photovoltaic equipment, energy storage equipment, other loads, AC / DC converters, and DC / DC converters. The second acquisition module is used to acquire the actual power of the optical-storage-flexible building at intervals of a first preset time period; The first determining module is used to determine a first difference between the target power and the current actual power if the actual power obtained in the current time meets the preset adjustment conditions. The second determining module is used to determine the target voltage value for the current time based on the first difference of the first preset number; The adjustment module adjusts the voltage of the DC bus of the photovoltaic-storage-DC-flexible building according to the current target voltage value; The step of determining the target voltage value for the current time based on the first difference of the first preset number includes: Determine the average value of the first difference of the first preset number; The first voltage value is determined based on the average of the first differences of the most recent second preset number; The target voltage value for the current time is determined based on the first voltage value and the previously determined target voltage value. The step of determining the first voltage value based on the average of the most recent second preset number includes: Determine the product of each average value among the most recent second preset number of average values and the corresponding first preset coefficient; The first voltage value is determined by multiplying the average value of the most recent second preset number of values with the corresponding first preset coefficient.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Output power adjusting method and device and socket
CN114461003A