Photovoltaic green electricity distribution method, device, equipment and storage medium
By detecting changes in photovoltaic green electricity consumption on the load side and calculating the ratio to determine the allocation of photovoltaic green electricity, the problem of low real-time performance in photovoltaic green electricity allocation is solved, and more efficient load-side management and resource utilization are achieved.
Patent Information
- Application Number
- CN202510589434.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2045-05-08
AI Technical Summary
Current technologies for allocating photovoltaic green electricity have low real-time performance, requiring the availability of photovoltaic power generation data before power allocation can proceed, leading to delays and resource waste.
By detecting changes in photovoltaic green electricity consumption on the load side and calculating the ratio to determine whether to continue allocating photovoltaic green electricity, communication with photovoltaic power plants is reduced, and computer equipment is placed close together to improve real-time performance and flexibility.
It improves the real-time and rationality of photovoltaic green electricity distribution, reduces communication time with photovoltaic power stations, reduces equipment layout limitations, and reduces resource waste.
Smart Images

Figure CN120497943B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of photovoltaic, and particularly relates to a photovoltaic green power distribution method and device, equipment and a storage medium. BACKGROUND
[0002] With the gradual increase of the demand for photovoltaic power generation, power distribution has become crucial.
[0003] In the related art, photovoltaic power generation data is collected by a photovoltaic power station, and then the photovoltaic power generation situation is determined based on the power generation data. For the case of multiple branch loads, the power distribution situation of each branch load is determined according to the photovoltaic power generation situation, and then the photovoltaic green power is distributed to each branch load based on the power distribution situation.
[0004] However, in the above related art, the photovoltaic green power distribution needs to be performed on each branch load after the photovoltaic power generation situation is obtained, and the real-time performance of the photovoltaic green power distribution is low. SUMMARY
[0005] The embodiments of the present application distribute a photovoltaic green power distribution method, device, equipment and storage medium, which can improve the real-time performance of photovoltaic green power distribution. The technical solution is as follows:
[0006] On the one hand, the embodiments of the present application distribute a photovoltaic green power distribution detection method, which comprises:
[0007] In response to a power supply request for a first load, the photovoltaic green power is distributed to the first load;
[0008] A first distribution amount is obtained, which refers to the power consumption of the first load for photovoltaic green power;
[0009] A first distribution change amount is obtained, which refers to the change in power consumption of a second load for photovoltaic green power after the first load uses photovoltaic green power, and the second load refers to a load that uses photovoltaic green power before the first load;
[0010] If the ratio between the first distribution change amount and the first distribution amount is greater than a first threshold value, the distribution of photovoltaic green power to the first load is stopped.
[0011] On the other hand, the embodiments of the present application distribute a photovoltaic green power distribution device, which comprises:
[0012] A green power supply module is configured to distribute photovoltaic green power to a first load in response to a power supply request for the first load;
[0013] A distribution obtaining module is configured to obtain a first distribution amount, which refers to the power consumption of the first load for photovoltaic green power;
[0014] a change obtaining module, configured to obtain a first allocation change amount, wherein the first allocation change amount refers to a change in electricity consumption of the second load with respect to the photovoltaic green electricity after the first load uses the photovoltaic green electricity, and the second load refers to a load that uses the photovoltaic green electricity before the first load;
[0015] a green electricity power-off module, configured to stop allocating the photovoltaic green electricity to the first load if a ratio between the first allocation change amount and the first allocation amount is greater than a first threshold.
[0016] In still another aspect, an embodiment of the present application allocates a computer device, which comprises a processor and a memory, and the memory stores a computer program, which is loaded and executed by the processor to implement the above-mentioned photovoltaic green electricity allocation method.
[0017] In yet another aspect, an embodiment of the present application allocates a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the above-mentioned photovoltaic green electricity allocation method.
[0018] In still another aspect, an embodiment of the present application allocates a computer program product, which, when executed, causes a computer device to perform the above-mentioned photovoltaic green electricity allocation method.
[0019] Compared with the prior art, the technical solution allocated by the embodiment of the present application can bring the following beneficial effects:
[0020] (1) By obtaining the first allocation change amount after the photovoltaic green electricity is allocated to the first load, and the first allocation change amount can represent the influence of the first load using the photovoltaic green electricity on the green electricity consumption of the second load, and then stopping allocating the photovoltaic green electricity to the first load if the ratio between the first allocation change amount and the first allocation amount is greater than the first threshold, and the first allocation amount refers to the electricity consumption of the first load with respect to the photovoltaic green electricity, based on the green electricity consumption and the green electricity consumption change that can be detected by the load side, it is determined whether to add a new load for the photovoltaic green electricity, without obtaining the power generation of the photovoltaic power station, the photovoltaic green electricity can be allocated to the new load while meeting the green electricity consumption of the old load, time waste caused by communication with the photovoltaic power station is reduced, and the real-time performance of the photovoltaic green electricity allocation is improved;
[0021] (2) Since the computer device and the photovoltaic power station do not need to communicate, the computer device can be set at a position close to the load, which reduces the layout limitation of the computer device, improves the layout flexibility of the computer device, and near-distance data transmission facilitates further improvement of the real-time performance of the photovoltaic green electricity allocation. BRIEF DESCRIPTION OF DRAWINGS
[0022] The application will be further described below in conjunction with the accompanying drawings and embodiments:
[0023] Figure 1 is a schematic diagram of a photovoltaic green power distribution system provided by an embodiment of the application;
[0024] Figure 2 is a flowchart of a photovoltaic green power distribution method provided by an embodiment of the application;
[0025] Figure 3 is a flowchart of a photovoltaic green power distribution method provided by another embodiment of the application;
[0026] Figure 4 is a flowchart of a photovoltaic green power distribution method provided by still another embodiment of the application;
[0027] Figure 5 exemplarily shows a schematic diagram of a photovoltaic green power distribution method;
[0028] Figure 6 is a block diagram of a photovoltaic green power distribution apparatus provided by an embodiment of the application;
[0029] Figure 7 is a block diagram of a photovoltaic green power distribution apparatus provided by another embodiment of the application. DETAILED DESCRIPTION
[0030] Reference should be made to Figure 1 which shows a schematic diagram of a photovoltaic green power distribution system provided by an embodiment of the application. The photovoltaic green power distribution system can include a photovoltaic assembly 10, a computer device 20 and a load 30.
[0031] The photovoltaic assembly 10 is configured to directly convert sunlight into direct current. Optionally, the photovoltaic assembly can be a single-crystal silicon assembly, a multi-crystal silicon assembly, a thin-film assembly, etc., and the embodiments of the application do not limit this. In the embodiments of the application, the electricity generated by the photovoltaic assembly 10 can be referred to as photovoltaic green electricity.
[0032] The computer device 20 is configured to control photovoltaic green electricity distribution on the load side. Optionally, the computer device 20 can be an electronic device such as a mobile phone, a tablet computer, a wearable device, a background server, a server cluster or a PC (Personal Computer), and the embodiments of the application do not limit this.
[0033] The load 30 is an electrical device. Optionally, the load 30 can be a single device or can be composed of multiple devices, and the embodiments of the application do not limit this. Exemplarily, in a household circuit, all electrical devices in the household circuit form a load 30.
[0034] Optionally, in the embodiment of the present application, the photovoltaic green power distribution system includes n loads 30, and the computer device 20 controls the photovoltaic green power distribution of the multi-way load 30 to distribute the photovoltaic green power generated by the photovoltaic module 10 to the multi-way load 30. Wherein, n is any positive integer greater than 1, and the value of n can be flexibly set and adjusted according to actual conditions, which is not limited in the embodiment of the present application.
[0035] Optionally, the photovoltaic green power distribution system further includes an inverter 40 and a power grid 50.
[0036] The inverter 40 is used to convert direct current into alternating current. Optionally, after the photovoltaic module 10 converts sunlight into direct current, the inverter 40 converts the direct current into alternating current to facilitate the subsequent load 30 to use the photovoltaic green power.
[0037] The power grid 50 is used to provide non-photovoltaic green power for the load 30. Optionally, when the photovoltaic green power cannot bear all the electricity of the load 30, the power grid 50 is used to provide non-photovoltaic green power for the load 30, so that the load 30 can work normally. Optionally, when the photovoltaic module 10 generates enough electricity, the alternating current converted by the inverter 40 can also be directly integrated into the power grid 50.
[0038] Please refer to Figure 2 which shows the flow chart of the photovoltaic green power distribution method provided by an embodiment of the present application. The method is applied to the computer device 20 in the photovoltaic green power distribution system shown in Figure 1 The method can include the following steps (201-204):
[0039] Step 201, in response to the power supply request for the first load, the photovoltaic green power is distributed to the first load.
[0040] The power supply request is used to request the photovoltaic green power to be distributed to the load. Optionally, the power supply request can be triggered by the user to generate, or it can be automatically generated by the computer device, which is not limited in the embodiment of the present application.
[0041] In one possible implementation, the power supply request is triggered by the user to generate. Optionally, the computer device generates the power supply request for the first load based on the power supply operation after detecting the power supply operation for the first load.
[0042] In another possible implementation, the power supply request is automatically generated by the computer device. Optionally, the computer device automatically generates the power supply request when it is determined that the photovoltaic green power can stably supply power to the second load. Wherein, the second load refers to the load that uses the photovoltaic green power before the first load, that is, the second load has been using the photovoltaic green power before the power supply request is generated. Optionally, the number of the second load can be any value, which is not limited in the embodiment of the present application.
[0043] The first load refers to the electrical equipment in the distribution system of the photovoltaic green electricity. In a possible implementation, the first load is any load, and the computer device determines any load not using the photovoltaic green electricity as the first load from the photovoltaic green electricity system after detecting the power supply request, and then determines that the power supply request is a power supply request for the first load. In another possible implementation, the loads correspond to priorities, and the first load is the load with the highest priority among the loads not using the photovoltaic green electricity, and the computer device determines the load with the highest priority not using the photovoltaic green electricity as the first load from the photovoltaic green electricity system after detecting the power supply request, and then determines that the power supply request is a power supply request for the first load.
[0044] Optionally, different loads correspond to different priorities. The priority is positively correlated with the power supply sequence of the photovoltaic green electricity. For example, the higher the priority of the load, the earlier the power supply sequence of the photovoltaic green electricity for the load; conversely, the lower the priority of the load, the later the power supply sequence of the photovoltaic green electricity for the load. In the embodiment of the present application, the priority of the second load is higher than the priority of the first load.
[0045] Optionally, the influencing factors of the priority include, but are not limited to, at least one of the following: load power consumption, load power unit price, and load importance. The load power consumption refers to the power consumption of the load in a unit of time, which can be any value, such as 10 minutes, 1 hour, 1 day, etc., which is not limited in the embodiment of the present application; the load power unit price refers to the price of a unit of power when the user corresponding to the load purchases power.
[0046] In a possible implementation, the computer device determines the priority of the load based on the load power consumption. Optionally, the load power consumption is positively correlated with the priority. For example, the greater the load power consumption, the higher the priority of the load; conversely, the smaller the load power consumption, the lower the priority of the load.
[0047] In another possible implementation, the computer device determines the priority of the load based on the load power unit price. Optionally, the load power unit price is positively correlated with the priority. For example, the higher the load power unit price, the higher the priority of the load; conversely, the lower the load power unit price, the lower the priority of the load.
[0048] In another possible implementation, the computer device determines the priority of the load based on the load importance. Optionally, the load importance is positively correlated with the priority. For example, the higher the load importance, the higher the priority of the load; conversely, the lower the load importance, the lower the priority of the load.
[0049] Of course, in other possible implementation manners, the computer device can also determine the priority based on the load power consumption and the load power price. Optionally, the product of the load power consumption and the load power price is positively correlated with the priority. Illustratively, the greater the product of the load power consumption and the load power price, the higher the priority of the load; conversely, the smaller the product of the load power consumption and the load power price, the lower the priority of the load.
[0050] It should be noted that the above introduction of the priority is only illustrative and explanatory, and in actual application, the determination manner of the priority can be flexibly set and adjusted according to actual conditions, and the embodiments of the present application do not limit this. Illustratively, in a household power consumption scenario, the computer device determines the priority based on the load power consumption and the load power price; in an industrial power consumption scenario, the computer device determines the priority of the load based on the important program of the load; and the like.
[0051] In the embodiments of the present application, after detecting the power supply request for the first load, the computer device allocates photovoltaic green power to the first load in response to the power supply request for the first load. Optionally, the computer device controls the power supply and power-off of the first load through a switch. Different loads correspond to different switches, or different loads correspond to different parameters of the same switch.
[0052] In one possible implementation manner, different loads correspond to different switches, and after detecting the power supply request for the first load, the computer device controls the switch corresponding to the first load to open, so that the circuit between the photovoltaic module and the first load forms a path, and then the photovoltaic green power is allocated to the first load.
[0053] In another possible implementation manner, in order to reduce the resource waste caused by arranging multiple switches, different loads correspond to different switch parameters of the same switch, and after detecting the power supply request for the first load, the computer device controls the circuit between the photovoltaic module and the first load to form a path based on the switch parameter corresponding to the first load, and then the photovoltaic green power is allocated to the first load.
[0054] Step 202, obtaining a first allocation amount.
[0055] The first allocation amount is used to indicate the photovoltaic green power allocation of the new load. In the embodiments of the present application, the first allocation amount refers to the power consumption of the first load for the photovoltaic green power, and after the photovoltaic green power is allocated to the first load, the computer device obtains the first allocation amount. Optionally, the computer device obtains the first allocation amount through a power meter. Different loads correspond to different power meters, or different loads correspond to different display areas of the same power meter.
[0056] In a possible implementation, different loads correspond to different electric meters. Optionally, after the photovoltaic green electricity is allocated to the first load, the computer device obtains the power consumption data of the first load via the electric meter corresponding to the first load, and then obtains the first allocation amount based on the power consumption data of the first load.
[0057] In another possible implementation, in order to reduce resource waste caused by arranging multiple electric meters, different loads correspond to different display areas of the same electric meter. Optionally, after the photovoltaic green electricity is allocated to the first load, the computer device obtains the power consumption data of the first load from the display area corresponding to the first load in the electric meter, and then obtains the first allocation amount based on the power consumption data of the first load.
[0058] Optionally, the power consumption data includes power consumption.
[0059] Step 203: Obtain the first allocation change amount.
[0060] The first allocation change amount is used to indicate the green electricity consumption influence of the new load on the old load when the photovoltaic green electricity is used. Optionally, the first allocation change amount can be understood as the green electricity consumption influence of the first load on the second load after the photovoltaic green electricity is used. In the embodiment of the present application, after the photovoltaic green electricity is allocated to the first load, the computer device obtains the first allocation change amount.
[0061] In the embodiment of the present application, the first allocation change amount refers to the change amount of the green electricity consumption of the second load after the photovoltaic green electricity is used by the first load. Optionally, the computer device obtains the green electricity consumption of the second load before and after a time point at which the photovoltaic green electricity is used by the first load, and then obtains the first allocation change amount based on the change amount of the green electricity consumption of the second load.
[0062] Step 204: If the ratio between the first allocation change amount and the first allocation amount is greater than a first threshold, stop allocating the photovoltaic green electricity to the first load.
[0063] In the embodiments of the present application, after the computer device obtains the first allocation change amount and the first allocation amount, if the ratio between the first allocation change amount and the first allocation amount is greater than the first threshold, the computer device stops allocating photovoltaic green electricity to the first load. Optionally, the computer device obtains the ratio between the first allocation change amount and the first allocation amount, and then compares the ratio with the first threshold. If the ratio is greater than the first threshold, it is determined that the first load occupies too much photovoltaic green electricity, excessively squeezes the green electricity resource of the second load, and the second load needs to use too much non-photovoltaic green electricity to maintain normal work. At this time, it is not suitable to allocate photovoltaic green electricity to the first load, and the computer device stops allocating photovoltaic green electricity to the first load. The first threshold can be any value, which can be flexibly set and adjusted according to actual conditions, such as 0.25, 50%, 75%, etc. The embodiments of the present application do not limit this.
[0064] Optionally, on the contrary, if the ratio between the first allocation change amount and the first allocation amount is less than or equal to the first threshold, it is determined that the resource occupation of the first load for photovoltaic green electricity is reasonable, and the green electricity resource of the second load is not excessively squeezed. At this time, it is determined that the photovoltaic green electricity can stably supply power to the first load and the second load, and the computer device continues to allocate photovoltaic green electricity to the first load.
[0065] Optionally, after the first load uses photovoltaic green electricity, there is a remaining load that does not use photovoltaic green electricity. The number of the remaining load is any value, which is not limited by the embodiments of the present application. In the embodiments of the present application, if the ratio between the first allocation change amount and the first allocation amount is less than or equal to the first threshold, the computer device allocates photovoltaic green electricity to a third load. The third load refers to a load that uses photovoltaic green electricity after the first load.
[0066] Optionally, the third load can be any load that does not use photovoltaic green electricity, or a load determined based on priority.
[0067] In a possible implementation, the third load is any load that does not use photovoltaic green electricity. Optionally, if it is determined that the photovoltaic green electricity can stably supply power to the first load, the computer device randomly determines a load from the remaining loads that do not use photovoltaic green electricity as the third load, and then allocates photovoltaic green electricity to the third load.
[0068] In another possible implementation, the third load is a load determined based on priority. Optionally, if it is determined that the photovoltaic green electricity can stably supply power to the first load and the second load, the computer device determines the remaining load with the highest priority from the remaining loads that do not use photovoltaic green electricity as the third load, and then allocates photovoltaic green electricity to the third load. It should be noted that the priority of the third load is lower than that of the first load and the second load.
[0069] Optionally, similar to the first load, the computer device controls the switch corresponding to the third load to open, so that the circuit between the photovoltaic module and the third load forms a path, and then the photovoltaic green electricity is distributed to the third load; or, the computer device controls the circuit between the photovoltaic module and the first load to form a path based on the switch parameter corresponding to the third load, and then the photovoltaic green electricity is distributed to the third load.
[0070] In summary, in the technical scheme provided by the embodiment of the application, after the photovoltaic green electricity is distributed to the first load, the first distribution change amount is obtained, and the first distribution change amount can represent the influence of the use of the photovoltaic green electricity by the first load on the green electricity consumption of the second load, and then in the case where the ratio between the first distribution change amount and the first distribution amount is greater than the first threshold value, the distribution of the photovoltaic green electricity to the first load is stopped, and the first distribution amount refers to the electricity consumption of the photovoltaic green electricity by the first load, and based on the green electricity consumption and the green electricity consumption change that can be detected on the load side, it is determined whether to add a new load for the photovoltaic green electricity, and without obtaining the power generation condition of the photovoltaic power station, it is determined whether to distribute the photovoltaic green electricity to the new load while meeting the green electricity consumption of the old load, thereby reducing the time waste caused by communication with the photovoltaic power station and improving the real-time performance of the photovoltaic green electricity distribution. Moreover, since the computer device does not need to communicate with the photovoltaic power station, the computer device can be arranged at a position close to the load, thereby reducing the layout limitation of the computer device and improving the layout flexibility of the computer device, and the close-range data transmission facilitates further improvement of the real-time performance of the photovoltaic green electricity distribution.
[0071] In addition, in the case where the ratio between the first distribution change amount and the first distribution amount is less than the first threshold value, it is determined that the first load can use the photovoltaic green electricity as a new load, and then the photovoltaic green electricity is continuously distributed to the third load, that is, in the case where it is determined that the photovoltaic green electricity can stably supply power to the first load and the second load, the new load is continuously added, the use rate of the photovoltaic green electricity is improved while the photovoltaic green electricity is distributed in real time, and the resource waste of the photovoltaic green electricity is reduced.
[0072] In addition, the loads are prioritized, and the priorities are positively correlated with the power supply sequence of the photovoltaic green power. The priority of the second load is higher than the priority of the first load. When it is determined whether the first load can continuously use the photovoltaic green power as a new load, it is detected whether the photovoltaic green power allocated to the second load with a higher priority is excessively reduced when the first load uses the photovoltaic green power, and then the photovoltaic green power is increased for the new load while maintaining the normal operation of the second load. On the one hand, the rationality of the photovoltaic green power allocation is improved, for example, the priorities are determined based on the importance of the loads, the important loads are ensured to operate normally, and then the photovoltaic green power is allocated to the unimportant loads; on the other hand, the energy saving, emission reduction and environmental protection are achieved, for example, the priorities are determined based on the power consumption of the loads, the loads with large power consumption are ensured to operate normally, and then the photovoltaic green power is allocated to the loads with small power consumption.
[0073] Next, the acquisition manner of the first allocation change amount is introduced.
[0074] In the example embodiment, the step 203 includes the following steps.
[0075] 1. Acquire the second allocation amount.
[0076] The second allocation amount is used to indicate the green power allocation of the old load after the new load is added. In the embodiment of the present application, the second allocation amount refers to the power consumption of the second load for the photovoltaic green power after the first load uses the photovoltaic green power. After the photovoltaic green power is allocated to the first load, the computer device acquires the second allocation amount.
[0077] Optionally, similar to the first allocation amount, the computer device acquires the second allocation amount through the electric meter corresponding to the second load; or the computer device acquires the second allocation amount through the display area corresponding to the second load in the electric meter.
[0078] Optionally, since the number of the second loads can be any value, when the second allocation amount is acquired, the computer device respectively acquires the green power consumption of at least one second load using the photovoltaic green power after the first load uses the photovoltaic green power; and then the sum of the green power consumptions of the second loads is determined as the second allocation amount.
[0079] 2. Acquire the historical allocation amount.
[0080] The historical allocation amount is used to indicate the green power allocation of the old load before the new load is added. In the embodiment of the present application, the historical allocation amount refers to the power consumption of the second load for the photovoltaic green power before the first load uses the photovoltaic green power. After the photovoltaic green power is allocated to the first load, the computer device acquires the historical allocation amount.
[0081] Optionally, similar to the second distribution amount, the computer device obtains the historical distribution amount from the electric meter corresponding to the second load; or, the computer device obtains the historical distribution amount from the display area corresponding to the second load in the electric meter.
[0082] Optionally, since the number of the second load can be any value, when obtaining the historical distribution amount, the computer device obtains the green electricity consumption of at least one second load using the photovoltaic green electricity before the first load uses the photovoltaic green electricity; and then determines the sum of the green electricity consumption of each second load before the first load uses the photovoltaic green electricity as the historical distribution amount.
[0083] Optionally, the historical distribution amount can be real-time data or pre-stored data. In a possible implementation, the historical distribution amount is real-time data, and the computer device obtains the historical distribution amount in real time after the photovoltaic green electricity is distributed to the first load. In another possible implementation, the historical distribution amount is pre-stored data. Optionally, before the photovoltaic green electricity is distributed to the first load, the computer device detects the power consumption data of the second load, obtains and stores the historical distribution amount; and then, after the photovoltaic green electricity is distributed to the first load, the computer device obtains the historical distribution amount directly from the stored data.
[0084] 3. Obtain the first distribution change amount based on the difference between the historical distribution amount and the second distribution amount.
[0085] In the embodiments of the present application, after obtaining the historical distribution amount and the second distribution amount, the computer device obtains the first distribution change amount based on the difference between the historical distribution amount and the second distribution amount. Optionally, the computer device obtains the difference by subtracting the second distribution amount from the historical distribution amount, and then determines the difference as the first distribution change amount.
[0086] Optionally, if the difference is positive, it indicates that the photovoltaic green electricity used by the second load decreases after the first load uses the photovoltaic green electricity, and the further step 204 described in the embodiments is performed; if the difference is not positive, it indicates that the green electricity consumption of the second load is not affected after the first load uses the photovoltaic green electricity, which is equivalent to the "ratio between the first distribution change amount and the first distribution amount is less than or equal to the first threshold value", and then the photovoltaic green electricity is continuously distributed to the first load, and the photovoltaic green electricity is distributed to the third load when there is a remaining load. Figure 2
[0087] Optionally, the at least one second load can be all second loads or part of the second loads. It should be noted that if the at least one second load is part of the second loads, the computer device can determine the first threshold based on the green electricity consumption of the at least one second load. For example, the at least one second load is collectively referred to as a judgment second load, and after the computer device obtains the second distribution amount, the computer device obtains a non-judgment distribution amount, which refers to the electricity consumption of the non-judgment load for the photovoltaic green electricity after the first load uses the photovoltaic green electricity. Further, the first threshold is determined based on the ratio between the second distribution amount and the non-judgment distribution amount and the candidate first threshold. For example, if the ratio between the second distribution amount and the non-judgment distribution amount is 1:3, the first threshold is [1 ÷ (3+1) x candidate first threshold].
[0088] In summary, in the technical scheme provided by the embodiment of the present application, the change value between the electricity consumption of the second load for the photovoltaic green electricity before and after the first load uses the photovoltaic green electricity is used to represent the influence of the first load using the photovoltaic green electricity on the second load, which is simple and intuitive.
[0089] In addition, the second distribution amount is determined based on the green electricity consumption of the plurality of second loads, which reduces the data deviation caused by the single load occupying a large amount of electricity, improves the accuracy of the second distribution amount, and further improves the accuracy of the photovoltaic green electricity distribution.
[0090] Please refer to Figure 3 which shows a flowchart of a photovoltaic green electricity distribution method provided by another embodiment of the present application. The method is applied to Figure 1 the computer device 20 in the photovoltaic green electricity distribution system shown in the figure. The method can include the following steps. The method can include the following steps (301-307):
[0091] Step 301, in response to a power supply request for a first load, distributing photovoltaic green electricity to the first load.
[0092] Step 302, obtaining a first distribution amount.
[0093] Step 303, obtaining a first distribution change amount.
[0094] Step 304, if the ratio between the first distribution change amount and the first distribution amount is greater than a first threshold, stopping distributing photovoltaic green electricity to the first load.
[0095] The steps 301-304 described above are similar to the steps 201-204 in the embodiment, and details are described in the Figure 2 embodiment and will not be repeated here. Figure 2
[0096] In step 305, the generation times of the power supply request for the first load in a target period are obtained.
[0097] In the embodiment of the present application, after stopping the distribution of the photovoltaic green electricity to the first load, the generation times of the power supply request for the first load in a target period are obtained. The end time of the target period is the current time, which is the time when the generation times of the power supply request for the first load in the target period are obtained. Optionally, the length of time indicated by the target period is greater than or equal to a preset length of time, which can be any value and can be flexibly set and adjusted according to actual conditions, such as 5 minutes, 10 minutes, 30 minutes, etc., which is not limited in the embodiment of the present application.
[0098] Optionally, after stopping the distribution of the photovoltaic green electricity to the first load, in order to further determine whether the distribution of the photovoltaic green electricity is reasonable, the computer device stops the distribution of the photovoltaic electricity to an adjacent second load of the first load, and then determines whether the photovoltaic green electricity can stably supply power to the adjacent second load. After it is determined that the power supply request for the first load is re-generated, the generation times of the power supply request for the first load in a target period are obtained to determine the generation time of the power supply request for the first load. The adjacent second load refers to the second load that has been recently distributed and used the photovoltaic green electricity before the first load uses the photovoltaic green electricity. Optionally, the priority of the adjacent second load is higher than that of the first load, and the priority of the adjacent second load is lower than that of the other loads in the at least one second load.
[0099] In the example embodiment, after stopping the distribution of the photovoltaic green electricity to the first load, the computer device further stops the distribution of the photovoltaic green electricity to a second load adjacent to the first load, obtains a third distribution amount and a third distribution change amount. The third distribution change amount refers to the change in the electricity consumption of the second load for the photovoltaic green electricity after the adjacent second load stops using the photovoltaic green electricity; the third distribution amount refers to the electricity consumption of the adjacent second load for the photovoltaic green electricity before the adjacent second load stops using the photovoltaic green electricity. Then, the computer device determines a second load adjacent to the adjacent second load from the other second loads when the ratio between the third distribution change amount and the third distribution amount is greater than a fifth threshold value, and stops the distribution of the photovoltaic green electricity to the second load adjacent to the adjacent second load; obtains the generation frequency of the power supply request for the first load within the target period when the ratio between the third distribution change amount and the third distribution amount is less than or equal to the fifth threshold value. The other second load corresponding to the third distribution change amount can be all the other second loads in the at least one second load or part of the other second loads in the at least one second load, which is not limited in the example embodiment; the fifth threshold value can be any value, which can be flexibly set and adjusted according to the actual situation, such as 25%, 0.5 or 0.75, which is not limited in the example embodiment.
[0100] It should be noted that the above-mentioned operations related to the adjacent second load can be understood as determining the adjacent second load as a new first load, and then performing the operations recorded in steps 402-404 described below. At this time, the "adjacent second load" is equivalent to Figure 4 the "first load" in the example embodiment, the "third distribution amount" is equivalent to Figure 4 the "first distribution amount" in the example embodiment, the "third distribution change amount" is equivalent to Figure 4 the "second distribution change amount" in the example embodiment, and the "fifth threshold value" is equivalent to Figure 4 the "second threshold value" in the example embodiment, and the "second load adjacent to the adjacent second load" is equivalent to Figure 4 the "adjacent second load" in the example embodiment.
[0101] Step 306, when the generation frequency is less than the target value, at a first time after the current time, the power supply request for the first load is regenerated.
[0102] In the embodiment of the present application, the computer device compares the generation number with the target value after obtaining the generation number, and further, in the case that the generation number is less than the target value, the computer device re-generates the power supply request for the first load at the first time point after the current time point. Then, the computer device repeats the execution from the above-mentioned "step 301, allocating photovoltaic green power to the first load in response to the power supply request for the first load" based on the re-generated power supply request until it is determined that the photovoltaic green power can stably supply power to the first load and the second load.
[0103] Optionally, the computer device determines the first time point based on a power supply interval duration, which is used to indicate the interval duration of the generation of the power supply requests for the first load that are adjacent in time within the target time period. In an exemplary embodiment, in the case that the computer device determines that the generation number is less than the target value, the computer device determines the first time point based on the power supply interval duration and the generation time point of the power supply request in the above-mentioned step 301, at this time, the duration between the current time point and the first time point is less than the power supply interval duration. Optionally, the power supply interval duration can be any value, which can be flexibly set and adjusted according to actual conditions, such as 30 seconds, 1 minute, 2 minutes, etc., which is not limited in the embodiment of the present application.
[0104] Step 307, in the case that the generation number is greater than the target value, re-generate the power supply request for the first load at the second time point after the current time point.
[0105] In the embodiment of the present application, the computer device compares the generation number with the target value after obtaining the generation number, and further, in the case that the generation number is greater than or equal to the target value, the computer device re-generates the power supply request for the first load at the second time point after the current time point. Then, the computer device repeats the execution from the above-mentioned "step 301, allocating photovoltaic green power to the first load in response to the power supply request for the first load" based on the re-generated power supply request until it is determined that the photovoltaic green power can stably supply power to the first load and the second load.
[0106] In the embodiment of the present application, the time length between the current time and the second time is greater than the time length between the current time and the first time. Taking the above power supply interval time length as an example, after stopping the distribution of photovoltaic green electricity to the first load, the computer device obtains the generation frequency of the power supply request for the first load within the target period, and in the case that the generation frequency does not reach the target value, the power supply request for the first load is continuously generated at the power supply interval time length to re-distribute photovoltaic green electricity to the first load until it is determined that the photovoltaic green electricity can stably supply power to the first load and the second load; further, if the photovoltaic green electricity cannot stably supply power to the first load all the time, as the generation frequency continuously increases, in the case that the generation frequency is greater than or equal to the target value, the power supply interval time length is extended, and the power supply request for the first load is continuously generated at the extended power supply interval time length to re-distribute photovoltaic green electricity to the first load until it is determined that the photovoltaic green electricity can stably supply power to the first load and the second load.
[0107] It should be noted that the time length between the current time and the second time, and the time length between the current time and the first time, the time length difference between the two can be any value, which can be flexibly set and adjusted according to the actual situation, such as 6 minutes, 20 minutes, 1 hour, etc., and the embodiment of the present application does not limit this. Of course, in other possible implementations, the time length between the current time and the second time is m times the time length between the current time and the first time. Wherein, m can be any integer greater than 2, which can be flexibly set and adjusted according to the actual situation, such as 2, 3, 4, etc., and the embodiment of the present application does not limit this.
[0108] It should be noted that the above target value can be any value, which can be flexibly set and adjusted according to the actual situation, such as 3, 5, 10, etc., and the embodiment of the present application does not limit this. Optionally, the above preset time length is determined based on the target value and the above power supply interval time length; for example, the preset time length = power supply interval time length x (target value-1).
[0109] In conclusion, in the technical scheme provided by the embodiment of the present application, the power supply request is regenerated at the first time after the current time to allocate photovoltaic green power to the first load, and after the allocation of photovoltaic green power to the first load is stopped, the allocation of photovoltaic green power to the first load is continuously tried again, so that the photovoltaic green power is allocated to the first load as soon as possible when the photovoltaic green power is sufficient, the real-time performance of photovoltaic green power allocation is improved, and the waste of photovoltaic green power resources caused by load idling is reduced. Moreover, based on the relationship between the generation number of the power supply request and the target value, the regeneration time of the power supply request is determined, the power supply request is regenerated at the first time when the generation number is less than the target value, and the power supply request is regenerated at the second time when the generation number is greater than the target value, and the time length between the current time and the second time is greater than the time length between the current time and the first time, that is, the power supply request is regenerated after a long waiting time after the generation number reaches the target value, the resource waste caused by the frequent allocation of photovoltaic green power to the first load is reduced, and a long waiting time, that is, the photovoltaic green power is continuously requested to be allocated to the first load after the photovoltaic power station can generate more photovoltaic green power, so that the rationality of photovoltaic green power allocation is improved.
[0110] The above is an introduction to the allocation of photovoltaic green power from the perspective of power supply. Next, the allocation of photovoltaic green power from the perspective of power failure is introduced.
[0111] Please refer to Figure 4 which shows a flowchart of a photovoltaic green power allocation method provided by another embodiment of the present application. The method is applied to Figure 1 the computer device 20 in the photovoltaic green power allocation system shown in the figure. The method can include the following steps. The method can include the following steps (401-404):
[0112] Step 401, in response to a power-off request for the first load, stop allocating photovoltaic green power to the first load.
[0113] The power-off request is used to request to stop the load from allocating photovoltaic green power. Optionally, the power-off request can be generated by a user trigger, or can be automatically generated by the computer device, and the present application does not limit this.
[0114] In one possible implementation, the power-off request is generated by a user trigger. Optionally, the computer device generates a power supply request based on the power-off operation for the first load after detecting the power-off operation for the first load.
[0115] In another possible implementation, the power-off request is automatically generated by the computer device. In a possible embodiment, in a case where a ratio between the first allocation change amount and the first allocation amount is less than or equal to the first threshold value, the photovoltaic green electricity is allocated to the third load, and then in a case where it is determined that the photovoltaic green electricity cannot stably supply power to the third load, the first load is the adjacent second load of the third load, and the computer device automatically generates the power-off request for the first load. In another possible embodiment, in a case where it is determined that the photovoltaic green electricity stably supplies power to the first load, if there is no remaining load that does not use the photovoltaic green electricity after the first load, the computer device stops allocating the photovoltaic green electricity to the first load, detects that the first load stops using the photovoltaic green electricity to affect the green electricity use of the second load, and further learns the power generation of the photovoltaic green electricity from the side. Alternatively, after it is determined that the photovoltaic green electricity stably supplies power to the first load, in a case where the first load continues to use the photovoltaic green electricity for a duration greater than a third threshold value, the computer device automatically generates the power-off request for the first load. The duration can be any value, which can be flexibly set and adjusted according to actual conditions, such as 10 minutes, 15 minutes, 30 minutes, and the like, which are not limited in the embodiments of the present application.
[0116] In the embodiments of the present application, after detecting the power-off request for the first load, the computer device stops allocating the photovoltaic green electricity to the first load in response to the power-off request for the first load. Alternatively, after detecting the power-off request, the computer device determines the load with the lowest priority as the first load based on the priorities of the loads using the photovoltaic green electricity, determines the power-off request as the power-off request for the first load, and stops allocating the photovoltaic green electricity to the first load in response to the power-off request for the first load. Different loads correspond to different switches, or different parameters of the same switch.
[0117] In a possible implementation, different loads correspond to different switches, and after detecting the power-off request for the first load, the computer device controls the switch corresponding to the first load to be turned off, so that the circuit between the photovoltaic module and the first load is formed into an open circuit, and the photovoltaic green electricity is stopped from being allocated to the first load.
[0118] In another possible implementation, different loads correspond to different switch parameters of the same switch, and after detecting the power-off request for the first load, the computer device controls the circuit between the photovoltaic module and the first load to be formed into an open circuit based on the switch parameter corresponding to the first load, and the photovoltaic green electricity is stopped from being allocated to the first load.
[0119] In step 402, a second allocation change amount is obtained.
[0120] The second distribution change amount is used to indicate the green electricity use influence of the non-outage load on the outage load when using the photovoltaic green electricity. Alternatively, the second distribution change amount is understood as the green electricity use influence of the second load after the first load stops using the photovoltaic green electricity. In the embodiment of the present application, the computer device obtains the second distribution change amount after stopping the distribution of the photovoltaic green electricity to the first load.
[0121] In the embodiment of the present application, the second distribution change amount refers to the green electricity use amount of the second load after the first load stops using the photovoltaic green electricity. Alternatively, the computer device obtains the green electricity use amount of the second load before and after a time point when the first load stops using the photovoltaic green electricity, and then obtains the second distribution change amount based on the green electricity use change amount of the second load. In the exemplary embodiment, the step 402 includes the following steps:
[0122] 1. Obtain the updated second distribution amount.
[0123] The updated second distribution amount is used to indicate the green electricity distribution of the non-outage load after the electricity load is reduced. In the embodiment of the present application, the updated second distribution amount refers to the green electricity use amount of the second load after the first load stops using the photovoltaic green electricity, and the computer device obtains the updated second distribution amount after stopping the distribution of the photovoltaic green electricity to the first load.
[0124] Alternatively, similar to the second distribution amount, the computer device obtains the updated second distribution amount through the electric meter corresponding to the second load; or the computer device obtains the updated second distribution amount through the display area corresponding to the second load in the electric meter.
[0125] Alternatively, since the number of the second loads can be any value, the computer device obtains the green electricity use amount of at least one second load using the photovoltaic green electricity after the first load stops using the photovoltaic green electricity when obtaining the updated second distribution amount; and then determines the sum of the green electricity use amount of each second load after the first load stops using the photovoltaic green electricity as the updated second distribution amount.
[0126] 2. Determine the second distribution amount as the updated historical distribution amount.
[0127] The updated historical distribution amount is used to indicate the green electricity distribution of the non-outage load when the electricity load is not reduced. In the embodiment of the present application, the updated historical distribution amount refers to the green electricity use amount of the second load before the first load stops using the photovoltaic green electricity, and the computer device determines the second distribution amount as the updated historical distribution amount after stopping the distribution of the photovoltaic green electricity to the first load.
[0128] 3. Obtain the second distribution change amount based on the difference between the updated second distribution amount and the updated historical distribution amount.
[0129] In the embodiment of the present application, after obtaining the second distribution amount after the update and the historical distribution amount after the update, the computer device obtains the second distribution change amount based on the difference between the second distribution amount after the update and the historical distribution amount after the update. Optionally, the computer device obtains the difference by subtracting the historical distribution amount after the update from the second distribution amount after the update, and then determines the difference as the second distribution change amount.
[0130] Optionally, if the difference between the second distribution amount after the update and the historical distribution amount after the update is positive, it indicates that the use of photovoltaic green electricity by the second load increases after the first load stops using the photovoltaic green electricity, and the contents recorded in steps 403 and 404 are further executed; if the difference between the second distribution amount after the update and the historical distribution amount after the update is not positive, it indicates that the use of green electricity by the second load is not affected after the first load stops using the photovoltaic green electricity, that is, the distribution of photovoltaic green electricity may be unreasonable after the first load is powered off, and the distribution of photovoltaic green electricity to the adjacent second load is further stopped to determine whether the distribution of photovoltaic green electricity is reasonable. The adjacent second load refers to the second load that is most recently distributed with photovoltaic green electricity before the first load uses photovoltaic green electricity.
[0131] Step 403, in the case where the ratio between the second distribution change amount and the first distribution amount is greater than the second threshold value, the distribution of photovoltaic green electricity to the adjacent second load is stopped.
[0132] In the embodiment of the present application, after obtaining the second distribution change amount and the first distribution amount, in the case where the ratio between the second distribution change amount and the first distribution amount is greater than the second threshold value, the computer device stops the distribution of photovoltaic green electricity to the adjacent second load. Optionally, the computer device obtains the ratio between the second distribution change amount and the first distribution amount, and then compares the ratio with the second threshold value. In the case where the ratio is greater than or equal to the second threshold value, it is determined that more photovoltaic green electricity can be distributed to the second load after the first load stops using the photovoltaic green electricity, that is, if the photovoltaic green electricity is distributed to the first load, the first load will occupy too much photovoltaic green electricity to excessively squeeze the green electricity use resources of the second load, and at this time, stopping the distribution of photovoltaic green electricity to the first load is conducive to the reasonable distribution of photovoltaic green electricity. Further, in the case where it is determined that the photovoltaic green electricity cannot be stably distributed to the first load, the distribution of photovoltaic green electricity to the first load is kept stopped, and the distribution of photovoltaic green electricity to the adjacent second load is also stopped to further determine whether the photovoltaic green electricity can be stably distributed to the adjacent second load. The second threshold value can be any value, which can be flexibly set and adjusted according to actual conditions, such as 25%, 0.5 or 0.75, and the present application is not limited in this regard.
[0133] Optionally, in a case where the ratio between the second distribution change amount and the first distribution amount is greater than or equal to the second threshold value, in order to reduce the energy consumption caused by generating unnecessary requests, the computer device determines whether to stop distributing photovoltaic green electricity to the adjacent second load based on the updated second distribution amount and the historical distribution amount. For example, in a case where it is determined that the ratio between the second distribution change amount and the first distribution amount is greater than the second threshold value, the computer device obtains an absolute value of a difference between the updated second distribution amount and the historical distribution amount; in a case where the absolute value of the difference is greater than a fourth threshold value, it can be understood that even if the photovoltaic green electricity is stopped from being distributed to the first load, the green electricity use condition of the second load cannot be restored, and the green electricity use condition of the second load fluctuates greatly, so it is not determined whether the photovoltaic green electricity can stably supply power to the second load, and the photovoltaic green electricity is stopped from being distributed to the adjacent second load to determine whether the photovoltaic green electricity can be distributed to the adjacent second load; on the contrary, in a case where the absolute value of the difference is less than or equal to the fourth threshold value, it can be understood that after the photovoltaic green electricity is stopped from being distributed to the first load, the green electricity use condition of the second load is restored, so it is determined that the photovoltaic green electricity can stably supply power to the second load, and the photovoltaic green electricity does not need to be stopped from being distributed to the adjacent second load to determine whether the photovoltaic green electricity can be distributed to the adjacent second load. The fourth threshold value can be any value, which can be flexibly set and adjusted according to actual conditions, and the embodiments of the present application do not limit this.
[0134] Optionally, the loads correspond to priorities, and different loads correspond to different priorities. The priority and the power-off sequence of the photovoltaic green electricity are in a negative correlation relationship. For example, the higher the priority of the load, the later the power-off sequence of the photovoltaic green electricity for the load; on the contrary, the lower the priority of the load, the earlier the power-off sequence of the photovoltaic green electricity for the load. In the embodiments of the present application, the priority of the adjacent second load is higher than the priority of the first load, and the priority of the adjacent second load is lower than other second loads.
[0135] It should be noted that after the computer device stops distributing the photovoltaic green electricity to the adjacent second load, the adjacent second load is determined as a new first load, and then the above step 402 is repeated.
[0136] In a case where the ratio between the second distribution change amount and the first distribution amount is less than the second threshold value, the photovoltaic green electricity is distributed to the first load.
[0137] In the embodiments of the present application, after the second distribution change amount and the first distribution amount are obtained, in a case where the ratio between the second distribution change amount and the first distribution amount is less than or equal to the second threshold value, the photovoltaic green electricity is distributed to the first load.
[0138] Optionally, the computer device obtains a ratio between the second allocation change amount and the first allocation amount, and then compares the ratio with a second threshold value, and in a case where the ratio is less than or equal to the second threshold value, it is determined that the green electricity use of the second load is not affected after the first load stops using the photovoltaic green electricity, that is, the resource occupation of the first load to the photovoltaic green electricity is reasonable, and the green electricity use resource of the second load is not excessively squeezed, and at this time the photovoltaic green electricity can stably supply power to the first load and the second load, and then the photovoltaic green electricity is allocated to the first load.
[0139] In summary, in the technical scheme provided by the embodiments of the present application, a scheme for reasonably adjusting the allocation of photovoltaic green electricity based on the power-off mechanism is provided. On the one hand, by detecting the power change amount of the load to the photovoltaic green electricity after power-off, it is determined whether the current allocation of the photovoltaic green electricity is reasonable, and then it is determined whether to stop providing photovoltaic power to some loads, thereby reducing the time waste caused by communication with the photovoltaic power station and improving the real-time performance of photovoltaic green electricity allocation. On the other hand, in the scenario where the photovoltaic green electricity has stably provided photovoltaic green electricity to multiple loads, the power-off detection can determine whether the photovoltaic green electricity is still stable for the multiple loads. When the ratio between the second allocation change amount and the first allocation amount is greater than the second threshold value, it is determined that the first load is effectively powered off, and after the first load is powered off, the photovoltaic green electricity can be more allocated to the second load. Further, the first load is kept powered off and the photovoltaic green electricity is stopped being allocated to the adjacent second load. Through the power-off detection of the adjacent second load, it is further determined whether to keep the adjacent second load powered off. Conversely, when the ratio between the second allocation change amount and the first allocation amount is less than the second threshold value, it is determined whether the power-off of the first load has no effect on the green electricity supply of the second load, and then the photovoltaic power is continued to be allocated to the first load. It can be seen that the power-off mechanism in the present application can timely and real-timely adjust the allocation of photovoltaic green electricity when a sudden situation occurs (such as sudden change of light, sudden increase of green electricity demand of a load, etc.), and further improve the rationality of photovoltaic green electricity allocation.
[0140] In the following, reference will be made to the accompanying drawings to Figure 5 The allocation method of photovoltaic green electricity in the present application will be introduced in detail.
[0141] Illustratively, the load corresponds to a priority, and after the computer device detects the power supply request, the load with the highest priority is determined as the first load from the load that has not used the photovoltaic green electricity, and then the photovoltaic green electricity is allocated to the first load in response to the power supply request.
[0142] Exemplarily, in a case where the first load exists the second load, after the photovoltaic green electricity is allocated to the first load, the computer device acquires the first allocation amount and the first allocation change amount, and judges whether the ratio between the first allocation change amount and the first allocation amount is greater than the first threshold value. In a case where the ratio between the first allocation change amount and the first allocation amount is greater than the first threshold value, it is determined that the first load occupies too much photovoltaic green electricity and excessively squeezes the green electricity power resource of the second load, and the allocation of photovoltaic green electricity to the first load is stopped; otherwise, in a case where the ratio between the first allocation change amount and the first allocation amount is less than or equal to the first threshold value, it is determined that the resource occupation of the first load for photovoltaic green electricity is reasonable and does not excessively squeeze the green electricity power resource of the second load, and the photovoltaic green electricity continues to be provided to the first load.
[0143] Exemplarily, after the allocation of photovoltaic green electricity to the first load is stopped, in order to further reasonably allocate photovoltaic green electricity, the adjacent second load is determined as a new first load based on the priority of the first load, and the subsequent steps are executed as shown in Figure 5 , and the subsequent steps are executed as shown in Figure 5 , and the subsequent steps are executed as shown in Figure 5 .
[0144] Exemplarily, after the photovoltaic green electricity continues to be provided to the first load, in a case where the first load exists the third load, the computer device determines the third load based on the priority of the first load, and allocates photovoltaic green electricity to the third load. Exemplarily, in a case where the first load does not exist the second load, after the photovoltaic green electricity is allocated to the first load, the computer device continues to provide photovoltaic green electricity to the first load, and in a case where it is subsequently determined that the third load exists, the third load is determined based on the load priority, and photovoltaic green electricity is allocated to the third load. Subsequently, the computer device takes the third load as a new first load and executes the above steps from the operation of Figure 5 judging whether the second load exists until the first load does not exist the third load.
[0145] Exemplarily, after continuing to provide the photovoltaic green electricity to the first load, in the case that the third load does not exist, in the case that the first load has a continuous use duration of the photovoltaic green electricity greater than the third threshold, the computer device stops providing the photovoltaic green electricity to the first load, acquires a second distribution change amount, and judges whether a ratio between the second distribution change amount and the first distribution amount is greater than a second threshold. In the case that the ratio between the second distribution change amount and the first distribution amount is greater than the second threshold, the stop of the distribution of the photovoltaic green electricity to the first load is maintained, and the photovoltaic green electricity is also stopped from being provided to the second adjacent load. At this time, the second adjacent load can be understood as a new first load, and the above steps are repeatedly executed from the operation of "stopping the photovoltaic green electricity from being provided to the first load" to determine whether the photovoltaic green electricity can be distributed to the second adjacent load, as shown in FIG. 6. Figure 5 In the case that the ratio between the second distribution change amount and the first distribution amount is less than or equal to the second threshold, it is determined that the resource occupation of the first load for the photovoltaic green electricity is reasonable, and the green electricity resource of the second load is not excessively squeezed, the photovoltaic green electricity is determined to be redistributed to the first load, and the photovoltaic green electricity is immediately redistributed to the first load, and then, the time counting is started from this moment, as shown in FIG. 7. In the case that the continuous use duration of the photovoltaic green electricity by the first load is greater than the third threshold, the above steps are repeatedly executed. Figure 5
[0146] The following is an apparatus embodiment of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, refer to the method embodiments of the present application.
[0147] Please refer to Figure 6 , which shows a block diagram of a photovoltaic green electricity distribution apparatus provided by an embodiment of the present application. The apparatus has the function of implementing the above photovoltaic green electricity distribution method, which can be implemented by hardware or corresponding software executed by hardware. The apparatus can be the above computer device or be arranged in the computer device. The apparatus can include a green electricity power supply module 610, a distribution acquisition module 620, a change acquisition module 630, and a green electricity power-off module 640.
[0148] The green electricity power supply module 610 is configured to distribute photovoltaic green electricity to a first load in response to a power supply request for the first load.
[0149] The distribution acquisition module 620 is configured to acquire a first distribution amount, which is the electricity consumption of the first load for the photovoltaic green electricity.
[0150] The change acquisition module 630 is configured to acquire a first distribution change amount, which is the electricity consumption change of a second load for the photovoltaic green electricity after the first load uses the photovoltaic green electricity, and the second load is a load that uses the photovoltaic green electricity before the first load.
[0151] a green electricity cut-off module 640, configured to stop distributing photovoltaic green electricity to the first load if a ratio between the first distribution change amount and the first distribution amount is greater than a first threshold.
[0152] In an example embodiment, as shown in Figure 7 the change obtaining module 630 includes a real-time obtaining unit 631, a history obtaining unit 632, and a change obtaining unit 633.
[0153] The real-time obtaining unit 631 is configured to obtain a second distribution amount, where the second distribution amount refers to an electricity consumption amount of the second load for photovoltaic green electricity after the first load uses the photovoltaic green electricity.
[0154] The history obtaining unit 632 is configured to obtain a history distribution amount, where the history distribution amount refers to an electricity consumption amount of the second load for photovoltaic green electricity before the first load uses the photovoltaic green electricity.
[0155] The change obtaining unit 633 is configured to obtain the first distribution change amount based on a difference between the history distribution amount and the second distribution amount.
[0156] In an example embodiment, the real-time obtaining unit 631 is configured to:
[0157] obtain green electricity consumption amounts of at least one second load that uses photovoltaic green electricity after the first load uses the photovoltaic green electricity, respectively;
[0158] determine a sum of the green electricity consumption amounts of the second loads as the second distribution amount.
[0159] In an example embodiment, the green electricity distribution module 610 is further configured to distribute photovoltaic green electricity to a third load if a ratio between the first distribution change amount and the first distribution amount is less than the first threshold.
[0160] In an example embodiment, as shown in Figure 7 the apparatus further includes a frequency obtaining module 650 and a request generating module 660.
[0161] The frequency obtaining module 650 is configured to obtain a generating frequency of a power supply request for the first load within a target time period, where an end time of the target time period is a current time.
[0162] The request generation module 660 is configured to, when the generation number is less than the target value, re-generate the power supply request for the first load at a first time point after the current time point, and start repeating the step of allocating the photovoltaic green power to the first load in response to the power supply request for the first load.
[0163] The request generation module 660 is further configured to, when the generation number is greater than the target value, re-generate the power supply request for the first load at a second time point after the current time point, and start repeating the step of allocating the photovoltaic green power to the first load in response to the power supply request for the first load; wherein a time length between the current time point and the second time point is greater than a time length between the current time point and the first time point.
[0164] In an example embodiment, the green power power-off module 640 is further configured to, in response to the power-off request for the first load, stop allocating the photovoltaic green power to the first load.
[0165] The change acquisition module 630 is configured to acquire a second allocation change amount, which is an electricity consumption change amount of the second load for the photovoltaic green power after the first load stops using the photovoltaic green power.
[0166] The green power power-off module 640 is further configured to, when a ratio between the second allocation change amount and the first allocation amount is greater than a second threshold value, stop allocating the photovoltaic green power to a second adjacent load; wherein the second adjacent load refers to a second load that has been allocated and used the photovoltaic green power most recently before the first load uses the photovoltaic green power.
[0167] The green power power supply module 610 is further configured to, when the ratio between the second allocation change amount and the first allocation amount is less than the second threshold value, allocate the photovoltaic green power to the first load.
[0168] In an example embodiment, the priority of the second load is higher than the priority of the first load; wherein the priority is positively correlated with the power supply sequence of the photovoltaic green power.
[0169] In the technical solution provided by the embodiments of the present application, after the photovoltaic green electricity is allocated to the first load, the first allocation change amount is obtained, and the first allocation change amount can represent the influence of the use of the photovoltaic green electricity by the first load on the green electricity consumption of the second load. Then, in the case that the ratio between the first allocation change amount and the first allocation amount is greater than the first threshold value, the allocation of the photovoltaic green electricity to the first load is stopped, and the first allocation amount refers to the electricity consumption of the photovoltaic green electricity by the first load. Based on the green electricity consumption and the green electricity consumption change that can be detected on the load side, it is determined whether the photovoltaic green electricity is increased with a new load. The power generation condition of the photovoltaic power station does not need to be obtained, and it is determined whether the photovoltaic green electricity is allocated to the new load while meeting the green electricity consumption of the old load. Time waste caused by communication with the photovoltaic power station is reduced, and the real-time performance of the photovoltaic green electricity allocation is improved. Moreover, the computer device does not need to communicate with the photovoltaic power station, and the computer device can be arranged at a position close to the load. The layout limitation of the computer device is reduced, the layout flexibility of the computer device is improved, and near-distance data transmission facilitates further improvement of the real-time performance of the photovoltaic green electricity allocation.
[0170] In the example embodiments, a computer device is also provided, which comprises a processor and a memory. The memory stores a computer program, and the computer program is loaded and executed by the processor to implement the photovoltaic green electricity allocation method described above.
[0171] In the example embodiments, a non-transitory computer readable storage medium is also provided, which stores a computer program. When the computer program is executed by a processor, the photovoltaic green electricity allocation method described above is implemented.
[0172] In the example embodiments, a computer program product is also provided, which, when executed, causes a computer device to perform the photovoltaic green electricity allocation method described above.
[0173] The above embodiments are only for illustrating the technical concept and characteristics of the present application, and the purpose is to enable those skilled in the art to understand the content of the present application and implement it, and cannot limit the protection scope of the present application. It is obvious for those skilled in the art that the present application is not limited to the details of the above example embodiments, and the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting, and the scope of the present application is defined by the appended claims rather than the above description, and all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application.
[0174] It should be understood that "multiple" mentioned herein refers to two or more than two. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone. The character " / " generally represents that the associated objects before and after it are in an "or" relationship. In addition, the step numbers described herein only exemplarily show a possible execution order between steps, and in some other embodiments, the above steps can also be executed in a non-numbered order, such as two different numbered steps being executed at the same time, or two different numbered steps being executed in an order opposite to that shown in the figure, and the embodiments of the present application are not limited in this regard.
[0175] The above only describes exemplary embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for distributing photovoltaic green electricity, characterized in that, The method includes: In response to a power supply request from a first load, photovoltaic green electricity is distributed to the first load; Obtain the first allocation amount, which refers to the electricity consumption of the first load for photovoltaic green electricity; Obtain the first allocation change; wherein, the first allocation change refers to the change in electricity consumption of the second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to the load that used photovoltaic green electricity before the first load; If the ratio between the first allocation change and the first allocation amount is greater than a first threshold, the allocation of photovoltaic green electricity to the first load is stopped.
2. The method according to claim 1, characterized in that, The process of obtaining the first allocation change includes: Obtain a second allocation amount; wherein, the second allocation amount refers to the amount of electricity consumed by the second load for photovoltaic green electricity after the first load uses photovoltaic green electricity; Obtain historical allocation amounts; wherein, the historical allocation amounts refer to the electricity consumption of the second load for photovoltaic green electricity before the first load uses photovoltaic green electricity; The first allocation change is obtained based on the difference between the historical allocation and the second allocation.
3. The method according to claim 2, characterized in that, The process of obtaining the second allocation includes: The amount of green electricity used by at least one of the second loads that uses photovoltaic green electricity after the first load uses photovoltaic green electricity is obtained. The sum of the green electricity consumption of each of the second loads is determined as the second allocation amount.
4. The method according to claim 1, characterized in that, After obtaining the first allocation change, the method further includes: If the ratio between the first allocation change and the first allocation amount is less than the first threshold, photovoltaic green electricity is allocated to the third load.
5. The method according to claim 1, characterized in that, After stopping the distribution of photovoltaic green electricity to the first load, the method further includes: Obtain the number of times the power supply request for the first load is generated within the target time period; wherein, the end time of the target time period is the current time; If the number of generation attempts is less than the target value, at the first moment after the current moment, a power supply request for the first load is regenerated, and the process is repeated from the step of allocating photovoltaic green electricity to the first load in response to the power supply request for the first load. If the number of generation times exceeds the target value, at a second time after the current time, a power supply request for the first load is regenerated, and the step of allocating photovoltaic green electricity to the first load in response to the power supply request for the first load is repeated; wherein the duration between the current time and the second time is greater than the duration between the current time and the first time.
6. The method according to claim 1, characterized in that, The method further includes: In response to the power outage request for the first load, the distribution of photovoltaic green electricity to the first load is stopped; Obtain the second allocation change amount, which refers to the change in electricity consumption of the second load relative to photovoltaic green electricity after the first load stops using photovoltaic green electricity; If the ratio between the second allocation change and the first allocation is greater than a second threshold, the allocation of photovoltaic green electricity to the adjacent second load is stopped; wherein, the adjacent second load refers to the second load that most recently used photovoltaic green electricity before the first load used photovoltaic green electricity; If the ratio between the second allocation change and the first allocation is less than the second threshold, photovoltaic green electricity is allocated to the first load.
7. The method according to any one of claims 1 to 6, characterized in that, The second load has a higher priority than the first load. The priority is positively correlated with the power supply sequence of photovoltaic green electricity.
8. A photovoltaic green electricity distribution device, characterized in that, The device includes: A green power supply module is used to distribute photovoltaic green electricity to the first load in response to a power supply request for the first load. The allocation acquisition module is used to acquire the first allocation amount, which refers to the electricity consumption of the first load for photovoltaic green electricity. The change acquisition module is used to acquire the first allocation change amount; wherein, the first allocation change amount refers to the change in electricity consumption of the second load for photovoltaic green electricity after the first load uses photovoltaic green electricity, and the second load refers to the load that used photovoltaic green electricity before the first load; The green electricity power-off module is used to stop distributing photovoltaic green electricity to the first load when the ratio between the first distribution change and the first distribution amount is greater than a first threshold.
9. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the method as claimed in any one of claims 1 to 7.
10. A non-transitory 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 method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Electric energy dispatching method, electric energy dispatching device and computer readable storage medium
CN117060502A
Intelligent photovoltaic power distribution method, system and device and storage medium
CN119813383A