Photovoltaic and storage integrated machine control method and photovoltaic and storage integrated machine

By using a photovoltaic-storage integrated control method, the hybrid inverter integrates the grid, load, photovoltaic and energy storage interfaces, determines power supply priority and performs dynamic scheduling, which solves the stability problem of distributed photovoltaic and energy storage systems and achieves higher system stability and energy utilization.

CN122159244APending Publication Date: 2026-06-05SHENZHEN TOPBAND NEW ENERGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN TOPBAND NEW ENERGY CO LTD
Filing Date
2026-01-20
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

The distributed architecture of existing photovoltaic and energy storage systems leads to poor stability, difficulty in coordination, communication delays, protocol incompatibility, control logic conflicts, low energy utilization, and large system space requirements.

Method used

By adopting a photovoltaic-storage integrated control method, the grid interface, load interface, photovoltaic interface and energy storage system are integrated through a hybrid inverter to determine the power supply priority and perform dynamic scheduling based on power differences, so as to realize the coordinated power supply of photovoltaic modules, energy storage system and load.

Benefits of technology

It improves the stability of the photovoltaic energy storage system, reduces system complexity, reduces communication latency and control logic conflicts, improves energy utilization, and reduces system space occupation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122159244A_ABST
    Figure CN122159244A_ABST
Patent Text Reader

Abstract

The application relates to a photovoltaic and energy storage integrated machine control method and a photovoltaic and energy storage integrated machine. The photovoltaic and energy storage integrated machine comprises a hybrid inverter, a power grid interface, a load interface, a photovoltaic interface and an energy storage system connected with the hybrid inverter; the method comprises the following steps: acquiring photovoltaic power of a photovoltaic module connected with the photovoltaic interface and load demand power of a target load connected with the photovoltaic and energy storage integrated machine; determining a power supply priority according to a photovoltaic power supply mode of the photovoltaic and energy storage integrated machine, wherein the power supply priority comprises a priority of the target load and a priority of the energy storage system; and supplying power to the target load and the energy storage system according to the power supply priority based on a power difference between the photovoltaic power and the load demand power. The method can improve the stability of the photovoltaic and energy storage system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of photovoltaic technology, and in particular to a control method for an integrated photovoltaic and energy storage system and an integrated photovoltaic and energy storage system. Background Technology

[0002] With the urgent need for energy structure transformation, grid upgrades and user demand upgrades, photovoltaic installations have surged but are highly volatile. In order to mitigate photovoltaic fluctuations, energy storage has become a necessity, and energy storage systems (such as lithium batteries) need to be integrated with photovoltaic systems.

[0003] However, current photovoltaic (PV) and energy storage systems typically employ a distributed architecture. This involves connecting a mains transformer and a diesel generator to the main and backup power switches, respectively, while the energy storage system, PV modules, and load control unit are connected to the microgrid's AC bus. This distributed architecture, however, makes coordination between the PV modules, energy storage system, and external power supply difficult, resulting in poor overall stability of the distributed PV-energy storage system. Summary of the Invention

[0004] Therefore, it is necessary to provide a control method and an integrated photovoltaic and energy storage unit that can improve the stability of the photovoltaic and energy storage system, in order to address the above-mentioned technical problems.

[0005] In a first aspect, this application provides a control method for an integrated photovoltaic and energy storage system, the integrated photovoltaic and energy storage system including a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, and an energy storage system connected to the hybrid inverter; the method includes:

[0006] Obtain the photovoltaic power of the photovoltaic modules connected to the photovoltaic interface, and the load demand power of the target load connected to the photovoltaic-storage integrated machine;

[0007] Based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage system, the power supply priority is determined. The power supply priority includes the priority of the target load and the priority of the energy storage system.

[0008] Based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to the power supply priority.

[0009] In one embodiment, based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to power supply priority, including:

[0010] When the grid interface is connected to the power supply network, if the priority of the target load is higher than that of the energy storage system, then based on the power difference between the photovoltaic power and the load demand power, at least the target load will be supplied with power.

[0011] If the priority of the energy storage system is higher than that of the target load, then obtain the charging power of the energy storage system and determine the sum of the load demand power and the charging power.

[0012] Based on the power difference between photovoltaic power and the sum of power, power is supplied to the target load and energy storage system.

[0013] In one embodiment, based on the power difference between photovoltaic power and load demand power, power is supplied to at least the target load, including:

[0014] When the photovoltaic power exceeds the load demand, the photovoltaic modules supply power to the target load and the energy storage system.

[0015] When the photovoltaic power equals the load demand power, the target load is powered by photovoltaic modules;

[0016] Obtain the discharge power of the energy storage system when the photovoltaic power is less than the load demand power;

[0017] When the sum of photovoltaic power and discharge power is greater than or equal to the load demand power, the target load is powered by photovoltaic modules and energy storage system;

[0018] When the sum of photovoltaic power and discharge power is less than the load demand power, power is supplied to the target load through photovoltaic modules, energy storage systems and power supply networks.

[0019] In one embodiment, power is supplied to the target load and energy storage system based on the power difference between the photovoltaic power and the sum of the power, including:

[0020] When the photovoltaic power exceeds the sum of the power and the total power, the photovoltaic modules supply power to the energy storage system and the target load, and the remaining power is transmitted to the power grid.

[0021] When the photovoltaic power equals the sum of all power units, the photovoltaic modules supply power to the target load and the energy storage system.

[0022] When the photovoltaic power is less than the total power, the energy storage system and the target load are powered by photovoltaic modules and the power supply network.

[0023] In one embodiment, based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to power supply priority, and the method further includes:

[0024] If the target load has a higher priority than the energy storage system when the grid interface is not connected to the power supply network, then based on the power difference between the photovoltaic power and the load demand power, at least the target load will be supplied with power.

[0025] If the priority of the energy storage system is higher than that of the target load, then obtain the charging power of the energy storage system and determine the sum of the load demand power and the charging power.

[0026] Based on the power difference between photovoltaic power and the sum of power, power is supplied to the target load and energy storage system.

[0027] In one embodiment, the target load includes at least two designated loads; based on the power difference between the photovoltaic power and the load demand power, power is supplied to at least the target load, including:

[0028] Determine the total load power of the target load based on the load power requirements of each specified load;

[0029] When the photovoltaic power is greater than or equal to the total load power of the target load, the photovoltaic modules supply power to each specified load under the target load.

[0030] If the photovoltaic power is less than the total load power of the target load, the specified loads are removed from the target load in order of priority from low to high, until the sum of the photovoltaic power and the charging power is greater than or equal to the total load power of the target load, and then the target load is powered by the photovoltaic modules and the energy storage system.

[0031] In one embodiment, power is supplied to the target load and energy storage system based on the power difference between the photovoltaic power and the sum of the power, including:

[0032] When the photovoltaic power is greater than or equal to the sum of the power, the photovoltaic modules supply power to the energy storage system and each specified load under the target load.

[0033] When the photovoltaic power is less than the total power but greater than the charging power, the specified loads are removed from the target loads in order of priority from low to high, until the difference between the photovoltaic power and the charging power is greater than or equal to the total load power of the target loads, and then the photovoltaic modules supply power to the energy storage system and the target loads.

[0034] In one embodiment, the integrated photovoltaic and energy storage unit further includes a generator interface connected to the hybrid inverter; the method further includes:

[0035] If a fuel generator is connected to the generator interface, a start command is sent to the fuel generator to start it.

[0036] The electrical energy input from the generator interface is used to power at least one of the energy storage system and the target load.

[0037] Secondly, this application also provides a photovoltaic-storage integrated machine, which includes a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, an energy storage system and a generator interface connected to the hybrid inverter;

[0038] Grid interface, used for connecting to the power supply network;

[0039] Load interface, used to connect load;

[0040] Photovoltaic interface, used to connect photovoltaic modules;

[0041] Generator interface, used to connect a fuel-powered generator;

[0042] Hybrid inverters are used to implement the methods described above.

[0043] In one embodiment, the photovoltaic-storage integrated machine also includes a power metering interface connected to the hybrid inverter;

[0044] A current transformer is installed between the grid interface and the grid transformer of the power supply network, and the current transformer is connected to the power metering interface.

[0045] At least one of the following: a first position between the grid interface and the current transformer, and a second position between the current transformer and the grid transformer, is used to connect a load.

[0046] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0047] Obtain the photovoltaic power of the photovoltaic modules connected to the photovoltaic interface, and the load demand power of the target load connected to the photovoltaic-storage integrated machine;

[0048] Based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage system, the power supply priority is determined. The power supply priority includes the priority of the target load and the priority of the energy storage system.

[0049] Based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to the power supply priority.

[0050] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0051] Obtain the photovoltaic power of the photovoltaic modules connected to the photovoltaic interface, and the load demand power of the target load connected to the photovoltaic-storage integrated machine;

[0052] Based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage system, the power supply priority is determined. The power supply priority includes the priority of the target load and the priority of the energy storage system.

[0053] Based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to the power supply priority.

[0054] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0055] Obtain the photovoltaic power of the photovoltaic modules connected to the photovoltaic interface, and the load demand power of the target load connected to the photovoltaic-storage integrated machine;

[0056] Based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage system, the power supply priority is determined. The power supply priority includes the priority of the target load and the priority of the energy storage system.

[0057] Based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to the power supply priority.

[0058] The aforementioned integrated photovoltaic (PV) and energy storage (ESS) control method and integrated PV / ESS device comprise a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, and an energy storage system connected to the hybrid inverter. This application integrates the hybrid inverter with the grid interface, load interface, photovoltaic interface, and energy storage system, simplifying the architecture of the PV / ESS system and reducing system complexity. Compared to a distributed system with multiple independent components connected to an AC bus, it reduces communication delays, protocol differences, and control logic conflicts between independent components, effectively improving the stability of the PV / ESS system. Furthermore, based on this integrated PV / ESS device, by acquiring the photovoltaic power of the photovoltaic modules connected to the photovoltaic interface and the load demand power of the target load connected to the integrated PV / ESS device, a power supply priority is determined according to the PV power supply mode of the integrated PV / ESS device. The power supply priority includes the priority of the target load and the priority of the energy storage system. Based on the power difference between the photovoltaic power and the load demand power, power is supplied to the target load and the energy storage system according to the power supply priority. Therefore, this application utilizes priority dynamic scheduling based on power differences to achieve coordination of charging and discharging power among the grid interface, load interface, photovoltaic interface, and corresponding components of the energy storage system connected to the hybrid inverter, thus ensuring the stable operation of the photovoltaic-energy storage system. Attached Figure Description

[0059] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0060] Figure 1 A grid-connected scenario diagram of photovoltaic modules and energy storage systems;

[0061] Figure 2 This is a schematic diagram of a distributed photovoltaic energy storage system.

[0062] Figure 3 This is a flowchart illustrating the control method of the integrated photovoltaic and energy storage unit in one embodiment;

[0063] Figure 4 This is a structural diagram of the integrated photovoltaic and energy storage unit in one embodiment;

[0064] Figure 5 This is a structural diagram of the integrated photovoltaic and energy storage unit in another embodiment;

[0065] Figure 6 This is a diagram showing the interface structure in one embodiment;

[0066] Figure 7 This is a flowchart illustrating the control method for the integrated photovoltaic and energy storage unit in another embodiment;

[0067] Figure 8 This is a flowchart illustrating the control method of the integrated photovoltaic and energy storage unit in another embodiment;

[0068] Figure 9 This is a diagram illustrating the external connection scenario of the integrated photovoltaic and energy storage unit in another embodiment.

[0069] Figure 10 This is a structural diagram of the integrated photovoltaic and energy storage unit in another embodiment;

[0070] Figure 11 This is a diagram illustrating a parallel operation scenario of an integrated photovoltaic and energy storage system in one embodiment. Detailed Implementation

[0071] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0072] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0073] like Figure 1 As shown, traditional photovoltaic modules (i.e. Figure 1 Photovoltaic inverters (in distributed generation systems) can only achieve unidirectional conversion from DC to AC, making them unsuitable for integration with energy storage systems. Furthermore, they cannot coordinate power distribution between photovoltaic (PV) and energy storage, resulting in surplus PV power being wasted or fed into the grid at low cost. Traditional energy storage systems' inverters can only control the charging and discharging of stored energy, failing to adapt to the dynamic characteristics of PV (such as power surges during sudden changes in sunlight) and lacking the ability to actively support the grid (such as voltage stability under weak grid conditions). Therefore, to mitigate PV fluctuations, energy storage becomes essential, and energy storage systems (such as lithium batteries) must be integrated with PV systems. Figure 2 As shown, current photovoltaic and energy storage systems typically employ a distributed architecture, where a mains transformer and a diesel generator are connected to the main power switch and backup power switch, respectively, with the energy storage system and photovoltaic modules (i.e.,...) integrated into the system. Figure 2 In distributed photovoltaic (PV) and energy storage (ESS) systems, the control logic of PV, ESS, and load is independent. Communication delays or protocol incompatibility can lead to delayed response of the PV and ESS system, or even trigger protection shutdowns. PV, ESS, and load equipment often come from different manufacturers, resulting in incompatible interface protocols and poor parameter matching, which can easily lead to the "weakest link effect" (a failure in one device affects the whole). The system involves multi-platform switching between PV, ESS, and load, resulting in fragmented operation and maintenance. When the distributed PV and ESS system needs to optimize the energy storage charging and discharging plan in advance (such as charging during off-peak hours and discharging during peak hours) based on weather forecasts of PV output and historical load data to maximize the per-unit electricity revenue, an additional central controller needs to be deployed, and the data interaction between multiple devices is complex. When expanding the distributed PV and ESS system, modular expansion (such as adding PV modules or ESS capacity) requires re-tuning the control logic of each device, which carries high compatibility risks. Therefore, the overall stability of the distributed PV and ESS system is relatively poor. Furthermore, there are problems such as low system energy utilization (potentially resulting in photovoltaic power curtailment or idle energy storage) and large system installation space requirements (such as the separate arrangement of photovoltaic inverter cabinets, energy storage battery compartments, and load control cabinets).

[0074] In one exemplary embodiment, such as Figure 3 As shown, a control method for an integrated photovoltaic and energy storage system is provided, including the following steps S110 to S130. Wherein:

[0075] This method is applied to Figure 4 Taking the integrated photovoltaic and energy storage system as an example, for instance... Figure 4As shown, the integrated photovoltaic-storage system includes a hybrid inverter, and grid interface, load interface, photovoltaic interface, and energy storage system connected to the hybrid inverter. The grid interface is used to connect to the power supply network; the load interface is used to connect to the load; the photovoltaic interface is used to connect to the photovoltaic modules; the generator interface is used to connect to the fuel generator; and the energy storage system is used to store electrical energy. The hybrid inverter integrates the functions of the photovoltaic inverter, energy storage converter, power switching switch, and power controller in a traditional distributed photovoltaic-storage system, realizing coordinated control of the various interface connection components. For example, when the photovoltaic interface is connected to photovoltaic modules, the hybrid inverter performs a DC-to-AC conversion function, that is, converting the DC power generated by the photovoltaic modules into AC power that meets the requirements of the grid or load, to power the load or to supply power to the grid when connected to the grid. For the connected energy storage system, the hybrid inverter has bidirectional conversion capability, that is, when charging the energy storage system, the AC power converted by the photovoltaic modules through the hybrid inverter is converted back into DC power to charge the energy storage system; when the energy storage system discharges, the DC power of the energy storage system is converted back into AC power to power the load. The hybrid inverter acts as a power switching hub, connecting and disconnecting the power supply network (mains network) connected to the grid interface to enable grid-connected and off-grid operation of the photovoltaic-storage integrated unit, and connecting and disconnecting the fuel-fired generator connected to the generator interface to enable the access and disconnection of backup energy. Furthermore, the hybrid inverter acts as a power dispatch hub, enabling accurate power dispatching for loads, photovoltaic systems, and energy storage systems.

[0076] Step S110: Obtain the photovoltaic power of the photovoltaic module connected to the photovoltaic interface, and the load demand power of the target load connected to the photovoltaic-storage integrated machine;

[0077] The photovoltaic (PV) modules can include PV arrays, which convert solar energy into electrical energy. The PV power is the electrical power output by the PV modules. The target load can be connected to the integrated PV-storage unit via a load interface, or it can be connected to the location between the integrated PV-storage unit's grid interface and the grid transformer of the power supply network. It is understood that if the target load includes multiple specified loads, the higher-priority specified loads can be connected to the integrated PV-storage unit via the load interface, while the lower-priority specified loads can be connected to the location between the integrated PV-storage unit's grid interface and the grid transformer of the power supply network. This ensures power supply to the higher-priority specified loads and allows for disconnection of power to the lower-priority specified loads when necessary. The load power requirement is the electrical power required by the target load.

[0078] For example, in this embodiment, the output power of the photovoltaic module can be detected through the photovoltaic interface to obtain the photovoltaic power of the photovoltaic module. Alternatively, the load demand power of the target load can be obtained through communication with the target load connected to the integrated photovoltaic and energy storage system.

[0079] Step S120: Determine the power supply priority based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage system. The power supply priority includes the priority of the target load and the priority of the energy storage system.

[0080] Among them, photovoltaic power supply modes refer to modes in which photovoltaic modules provide power to the target load and the energy storage system with different priorities. For example, photovoltaic power supply modes may include a load priority mode and an energy storage system priority mode.

[0081] Therefore, this embodiment can determine the power supply priority based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage system. The power supply priority includes the priority of the target load and the priority of the energy storage system. This determines whether it is necessary to prioritize powering the energy storage system or the target load.

[0082] Step S130: Based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to power supply priority.

[0083] Since the photovoltaic (PV) power of the photovoltaic (PV) modules may not be sufficient to simultaneously power the target load and the energy storage system, this embodiment compares the PV power with the load's power demand to obtain the power difference between them. Then, power is supplied to the target load and the energy storage system according to their power supply priorities, ensuring that the higher-priority component receives sufficient power. For example, since the integrated PV-energy storage system may be grid-connected (i.e., the grid interface is connected to the power supply network), this embodiment can, if the target load has a higher priority than the energy storage system, supply power to at least the target load based on the power difference between the PV power and the load's power demand; if the energy storage system has a higher priority than the target load, the charging power of the energy storage system is obtained, the sum of the load's power demand and the charging power is determined, and power is supplied to both the target load and the energy storage system based on the power difference between the PV power and the sum of the power demands. Since the integrated photovoltaic and energy storage unit may also be in an off-grid state (i.e., the grid interface is not connected to the power supply network), this embodiment can, even when the grid interface is not connected to the power supply network, if the priority of the target load is higher than the priority of the energy storage system, then based on the power difference between the photovoltaic power and the load demand power, at least the target load will be supplied with power. If the priority of the energy storage system is higher than the priority of the target load, then the charging power of the energy storage system will be obtained, the sum of the load demand power and the charging power will be determined, and power will be supplied to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power.

[0084] In some embodiments, the photovoltaic-storage integrated machine further includes a generator interface connected to the hybrid inverter; the method further includes:

[0085] Step S210: If a fuel generator is connected to the generator interface, a start command is sent to the fuel generator to start the fuel generator.

[0086] Step S220: The electrical energy input from the generator interface is used to power at least one of the energy storage system and the target load.

[0087] like Figure 5 As shown, the generator interface is used to connect fuel-powered generators, such as diesel generators and gasoline generators.

[0088] This embodiment allows for the sending of a start command to a fuel-powered generator when the generator interface is connected, under predetermined generator start conditions. This starts the fuel-powered generator and supplies power to at least one of the energy storage system and the target load using the electrical energy input from the generator interface. The predetermined generator start conditions are pre-set conditions for sending the start command to the fuel-powered generator. For example, these conditions may include: the hybrid inverter detecting a power anomaly at the grid port (e.g., a power network fault or outage); receiving a control command to enable generator start, such as enabling the generator start function in the generator port settings; and the energy storage system's SOC dropping to at least one of the following: a predetermined charging start SOC.

[0089] Furthermore, it's understandable that the integrated photovoltaic (PV) and energy storage (ESS) system also includes components such as a display screen, power metering interface, and network interface connected to the hybrid inverter. The power metering interface connects to power metering sensors (such as current transformers) to monitor the power output from the PV system to the power grid and the power input from the power grid to the PV system. The network interface is used for network communication with external devices, such as data exchange with a cloud platform. It uploads operational data from the PV, energy storage, and load components of the PV system to the cloud platform and can also access a meteorological API (Application Programming Interface) through the cloud platform. The cloud platform predicts the PV power output of the PV modules based on meteorological data. The PV system can then schedule the energy of the PV modules based on the predicted PV power output and the system's historical load data, ensuring that the actual PV power output matches the load power to maximize the efficiency of PV power generation. The cloud platform connects to the real-time grid electricity price API, allowing the integrated photovoltaic-storage unit to determine energy storage and discharge periods based on the real-time grid electricity price. For example, periods when the real-time grid electricity price is below a first threshold are designated as energy storage periods, and periods when the real-time grid electricity price is above a second threshold are designated as discharge periods, where the second threshold is higher than the first. The integrated photovoltaic-storage unit can then perform energy storage operations according to the energy storage periods and discharge operations according to the discharge periods (e.g., charging during off-peak hours and discharging during peak hours) to maximize energy revenue. The display screen is used for observing the unit's status, exporting data, setting operating modes, and configuring parameters. Figure 6As shown, the integrated photovoltaic and energy storage system's display interface consists of six function icons, representing: Solar Energy Page, Grid Page, Inverter Page, Battery Page, Load Page, and System Settings Page. Each page allows users to return to the main interface via the back button. The Solar Energy Page, Grid Page, Battery Page, and Load Page display operational data for each functional module, such as voltage, current, power, power consumption, power generation, and efficiency. Users can access the chart interfaces for each functional module by using the chart keys on the corresponding pages, allowing them to observe and analyze the operating status and historical curves from different time perspectives. The System Settings Page allows users to configure the integrated photovoltaic and energy storage system's parameters. This page consists of seven parts: Battery Settings, System Operating Mode, Grid Settings, Generator Port Settings, Basic Settings, Advanced Functions, and Equipment Information. Battery Settings primarily includes battery type options, battery capacity settings, charge / discharge current settings, and charge / discharge SOC settings. The system's operating modes mainly consist of self-consumption mode (i.e., load priority), battery priority mode, and manual mode. The self-consumption mode can be set by the customer according to actual needs, including settings for charging / discharging power, charging / discharging time, and charging / discharging cutoff SOC. The grid settings mainly include: grid standard, frequency, phase sequence, voltage, grid parameters, power factor, and power supply system grounding type, which can be adjusted according to actual needs. The generator port settings mainly include: generator input power, generator start / stop SOC (State of Charge), and generator access parameter settings. Basic settings mainly include: display language selection, time setting, alarm sound setting, and display brightness. Advanced functions mainly include: parallel master / slave settings and address settings. Device information mainly includes: unit factory ID, software version, and hardware version.

[0090] In the aforementioned integrated photovoltaic-storage system control method, the integrated photovoltaic-storage system includes a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, and an energy storage system connected to the hybrid inverter. Therefore, this application integrates the hybrid inverter with the grid interface, load interface, photovoltaic interface, and energy storage system, simplifying the architecture of the photovoltaic-storage system and reducing system complexity. Compared to a distributed system where multiple independent components are connected to an AC bus, it reduces communication delays, protocol differences, and control logic conflicts between independent components, effectively improving the stability of the photovoltaic-storage system. Furthermore, based on this integrated photovoltaic-storage system, by acquiring the photovoltaic power of the photovoltaic modules connected to the photovoltaic interface and the load demand power of the target load connected to the integrated photovoltaic-storage system, a power supply priority is determined according to the photovoltaic power supply mode of the integrated photovoltaic-storage system. The power supply priority includes the priority of the target load and the priority of the energy storage system. Based on the power difference between the photovoltaic power and the load demand power, power is supplied to the target load and the energy storage system according to the power supply priority. Therefore, this application utilizes priority dynamic scheduling based on power differences to achieve coordination of charging and discharging power among the grid interface, load interface, photovoltaic interface, and corresponding components of the energy storage system connected to the hybrid inverter, thus ensuring the stable operation of the photovoltaic-energy storage system.

[0091] In one exemplary embodiment, such as Figure 7 As shown, based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to power supply priority, including steps S310 to S330. Wherein:

[0092] Step S310: When the grid interface is connected to the power supply network, if the priority of the target load is higher than that of the energy storage system, then based on the power difference between the photovoltaic power and the load demand power, power is supplied to at least the target load.

[0093] Step S320: If the priority of the energy storage system is higher than the priority of the target load, then obtain the charging power of the energy storage system and determine the sum of the load demand power and the charging power.

[0094] Step S330: Power is supplied to the target load and energy storage system based on the power difference between the photovoltaic power and the sum of the power.

[0095] In this embodiment, when the grid interface is connected to the power supply network, it indicates that the photovoltaic-storage integrated unit is in grid-connected mode. Therefore, the priority of the target load can be compared with the priority of the energy storage system. If the priority of the target load is higher than that of the energy storage system, then based on the power difference between the photovoltaic power and the load demand power, at least the target load will be supplied with power. For example, if the photovoltaic power is greater than the load demand power, it means that the electrical energy provided by the photovoltaic module exceeds the electrical energy required by the target load. In this case, the photovoltaic module can supply power to both the target load and the energy storage system. That is, the photovoltaic module supplies power to the target load, and the surplus electricity after supplying power to the target load is used to supply power to the energy storage system. Further, if the photovoltaic power is greater than the sum of the load demand power and the charging power of the energy storage system, or if the energy storage system is fully charged, the remaining electrical energy can be fed to the grid interface to supply the remaining electrical energy into the power supply network, or the hybrid inverter can be controlled to perform power limiting operation to match the photovoltaic power with the sum of the load demand power and the charging power of the energy storage system. When the photovoltaic (PV) power equals the load demand, the PV modules supply power to the target load. When the PV power is less than the load demand, it indicates that the PV modules alone are insufficient to supply power. In this case, the discharge power of the energy storage system can be utilized. When the sum of the PV power and the discharge power is greater than or equal to the load demand, the PV modules and the energy storage system supply power to the target load. When the sum of the PV power and the discharge power is less than the load demand, it indicates that neither the PV modules nor the energy storage system alone are sufficient to supply power. Since the integrated PV-energy storage system is grid-connected in this case, power can be supplied to the target load through the PV modules, the energy storage system, and the power grid.

[0096] If the priority of the energy storage system is higher than that of the target load, the charging power of the energy storage system is obtained, and the sum of the load demand power and the charging power is determined. For example, the charging power of the energy storage system can be its maximum charging power or rated charging power. If the photovoltaic power is greater than the sum of the power requirements, it means that the photovoltaic modules have surplus power while simultaneously supplying power to both the target load and the energy storage system. The photovoltaic modules then supply power to both the energy storage system and the target load, and the surplus power is fed to the power grid. Alternatively, the hybrid inverter can be controlled to perform power limiting operations to match the photovoltaic power with the sum of the power requirements. If the photovoltaic power equals the sum of the power requirements, the photovoltaic modules supply power to both the target load and the energy storage system. If the photovoltaic power is less than the sum of the power requirements, it means that the photovoltaic modules cannot simultaneously supply power to both the target load and the energy storage system. In this case, the photovoltaic modules and the power grid supply power to both the energy storage system and the target load.

[0097] In some embodiments, step S310, which involves supplying power to at least the target load based on the power difference between the photovoltaic power and the load demand power, includes:

[0098] Step S311: When the photovoltaic power is greater than the load demand power, the photovoltaic modules supply power to the target load and the energy storage system.

[0099] Step S312: When the photovoltaic power equals the load demand power, power is supplied to the target load through the photovoltaic modules;

[0100] Step S313: When the photovoltaic power is less than the load demand power, obtain the discharge power of the energy storage system;

[0101] Step S314: When the sum of photovoltaic power and discharge power is greater than or equal to the load demand power, power is supplied to the target load through photovoltaic modules and energy storage system.

[0102] Step S315: When the sum of photovoltaic power and discharge power is less than the load demand power, power is supplied to the target load through photovoltaic modules, energy storage system and power supply network.

[0103] In this embodiment, if the priority of the target load is higher than that of the energy storage system, then based on the power difference between the photovoltaic power and the load's power demand, at least the target load will be supplied with power. For example, if the photovoltaic power is greater than the load's power demand, it means that the electrical energy provided by the photovoltaic modules exceeds the electrical energy required by the target load. In this case, the photovoltaic modules can supply power to both the target load and the energy storage system; that is, the photovoltaic modules supply power to the target load, and the surplus power after supplying power to the target load is used to supply power to the energy storage system. Further, if the photovoltaic power is greater than the sum of the load's power demand and the energy storage system's charging power, or if the energy storage system is fully charged, the surplus power can be fed to the grid interface to feed the surplus power into the power supply network, or the hybrid inverter can perform power limiting operations to match the photovoltaic power with the sum of the load's power demand and the energy storage system's charging power. When the photovoltaic (PV) power equals the load demand, the PV modules supply power to the target load. When the PV power is less than the load demand, it indicates that the PV modules alone are insufficient to supply power. In this case, the discharge power of the energy storage system can be utilized. When the sum of the PV power and the discharge power is greater than or equal to the load demand, the PV modules and the energy storage system supply power to the target load. When the sum of the PV power and the discharge power is less than the load demand, it indicates that neither the PV modules nor the energy storage system alone are sufficient to supply power. Since the integrated PV-energy storage system is grid-connected in this case, power can be supplied to the target load through the PV modules, the energy storage system, and the power grid.

[0104] In some embodiments, step S330, which supplies power to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power, includes:

[0105] Step S331: When the photovoltaic power is greater than the sum of the power, the photovoltaic modules supply power to the energy storage system and the target load, and transmit the remaining power to the power supply network.

[0106] Step S332: When the photovoltaic power equals the sum of all power units, power is supplied to the target load and the energy storage system through the photovoltaic modules;

[0107] Step S333: When the photovoltaic power is less than the sum of the power and the total power, power is supplied to the energy storage system and the target load through the photovoltaic modules and the power supply network.

[0108] When the photovoltaic (PV) power exceeds the sum of the power values, it means that the PV modules have surplus power while simultaneously supplying power to the target load and the energy storage system. The PV modules then power both the energy storage system and the target load, and the surplus power is fed back to the power grid. Alternatively, the hybrid inverter can be controlled to perform power limiting operations to match the PV power with the sum of the power values. When the PV power equals the sum of the power values, the PV modules supply power to both the target load and the energy storage system. When the PV power is less than the sum of the power values, it means that the PV modules cannot simultaneously supply power to both the target load and the energy storage system. In this case, power is supplied to both the energy storage system and the target load through the PV modules and the power grid.

[0109] In this embodiment, when connected to the power grid interface, if the priority of the target load is higher than that of the energy storage system, power is supplied to at least the target load based on the power difference between the photovoltaic power and the load's power demand. If the priority of the energy storage system is higher than that of the target load, the charging power of the energy storage system is obtained, the sum of the load's power demand and the charging power is determined, and power is supplied to both the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power demands. This embodiment, when the integrated photovoltaic and energy storage system is in grid-connected mode, achieves stable operation of both the energy storage system and the target load through dynamic priority scheduling based on power differences.

[0110] In one exemplary embodiment, such as Figure 8 As shown, based on the power difference between photovoltaic power and load demand power, power is supplied to the target load and energy storage system according to power supply priority, and steps S410 to S430 are also included. Wherein:

[0111] Step S410: If the target load has a higher priority than the energy storage system when the grid interface is not connected to the power supply network, then power will be supplied to at least the target load based on the power difference between the photovoltaic power and the load demand power.

[0112] Step S420: If the priority of the energy storage system is higher than the priority of the target load, then obtain the charging power of the energy storage system and determine the sum of the load demand power and the charging power.

[0113] Step S430: Power is supplied to the target load and energy storage system based on the power difference between the photovoltaic power and the sum of the power.

[0114] In this embodiment, when the grid interface is not connected to the power supply network, it indicates that the photovoltaic-storage integrated unit is in an off-grid state. If the priority of the target load is higher than that of the energy storage system, power is supplied to at least the target load based on the power difference between the photovoltaic power and the load's power demand. For example, if the target load is a single load, and the photovoltaic power exceeds the load's power demand, it means that the electrical energy provided by the photovoltaic modules exceeds the electrical energy required by the target load. Therefore, power can be supplied to both the target load and the energy storage system through the photovoltaic modules. Specifically, the photovoltaic modules supply power to the target load, and any surplus electricity after supplying the target load can be used to power the energy storage system. If the energy storage system is fully charged, the hybrid inverter can be controlled to perform power limiting operations to match the photovoltaic power with the sum of the load's power demand and the energy storage system's charging power. When the photovoltaic power equals the load's power demand, power is supplied to the target load through the photovoltaic modules. If the photovoltaic (PV) power is less than the load demand, it indicates that the PV modules alone cannot supply power to the target load. Since the target load has a higher priority than the energy storage system, the discharge power of the energy storage system can be utilized. If the sum of the PV power and the discharge power is greater than or equal to the load demand, the target load is supplied with power through the PV modules and the energy storage system. If the sum of the PV power and the discharge power is less than the load demand, it indicates that neither the PV modules nor the energy storage system alone can supply power to the target load. In this case, the power to the target load can be cut off, or a fuel generator can be started, and power can be supplied to the target load through the PV modules, the energy storage system, and the fuel generator. If the target load includes at least two specified loads, this embodiment can determine the total load power of the target load based on the load demand of each specified load. If the PV power is greater than or equal to the total load power of the target load, the PV modules supply power to each specified load under the target load. If the photovoltaic power is less than the total load power of the target load, the specified loads are removed from the target load in order of priority from low to high, until the sum of the photovoltaic power and the charging power is greater than or equal to the total load power of the target load, and then the target load is powered by the photovoltaic modules and the energy storage system.

[0115] If the priority of the energy storage system is higher than that of the target load, the charging power of the energy storage system is obtained, and the sum of the load demand power and the charging power is determined. Based on the power difference between the photovoltaic power and the sum of the photovoltaic power and the charging power, power is supplied to both the target load and the energy storage system. For example, if the target load is a single load, and the photovoltaic power is greater than the sum of the photovoltaic power and the charging power, it means that the photovoltaic modules have surplus power while simultaneously supplying power to both the target load and the energy storage system. In this embodiment, the hybrid inverter can be controlled to perform power limiting operations to match the photovoltaic power with the sum of the photovoltaic power and the charging power. When the photovoltaic power equals the sum of the photovoltaic power and the charging power, power is supplied to both the target load and the energy storage system through the photovoltaic modules. When the photovoltaic power is less than the sum of the photovoltaic power and the charging power, it means that the photovoltaic modules cannot simultaneously supply power to both the target load and the energy storage system. Since the priority of the energy storage system is higher than that of the target load, the power supply to the target load can be disconnected, and power is supplied only to the energy storage system. If the target load includes at least two designated loads, this embodiment can supply power to the energy storage system and each designated load under the target load through photovoltaic modules when the photovoltaic power is greater than or equal to the sum of the power. When the photovoltaic power is less than the sum of the power but greater than the charging power, the designated loads are removed from the target load in order of priority from low to high, until the difference between the photovoltaic power and the charging power is greater than or equal to the total load power of the target load, and then the energy storage system and the target load are supplied with power through photovoltaic modules.

[0116] In some embodiments, the target load includes at least two designated loads; step S410, based on the power difference between photovoltaic power and load demand power, supplies power to at least the target load, including:

[0117] Step S411: Determine the total load power of the target load based on the load power demand of each specified load.

[0118] Step S412: When the photovoltaic power is greater than or equal to the total load power of the target load, power is supplied to each specified load under the target load through the photovoltaic modules.

[0119] Step S413: If the photovoltaic power is less than the total load power of the target load, the specified loads are removed from the target load in order of priority from low to high, until the sum of the photovoltaic power and the charging power is greater than or equal to the total load power of the target load, and the target load is powered by the photovoltaic modules and the energy storage system.

[0120] The target load may include at least two designated loads. These designated loads can be connected to a load interface or connected to a location between the grid interface of the photovoltaic-storage integrated unit and the grid transformer of the power supply network. For example, if the target load includes multiple designated loads, the designated load with higher priority can be connected to the photovoltaic-storage integrated unit through the load interface, while the designated load with lower priority can be connected to a location between the grid interface of the photovoltaic-storage integrated unit and the grid transformer of the power supply network. This ensures power supply to the higher-priority designated load and allows for disconnection of power to the lower-priority designated load if necessary. The load power requirement is the electrical power required by the target load.

[0121] This embodiment determines the total load power of the target load based on the load power demand of each specified load. If the photovoltaic power is greater than or equal to the total load power of the target load, the photovoltaic modules supply power to each specified load under the target load. If the photovoltaic power is less than the total load power of the target load, the specified loads are removed from the target load in ascending order of priority, until the sum of the photovoltaic power and charging power is greater than or equal to the total load power of the target load. Then, the photovoltaic modules and energy storage system supply power to the target load.

[0122] In some embodiments, step S430, which supplies power to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power, includes:

[0123] Step S431: When the photovoltaic power is greater than or equal to the sum of the power, the photovoltaic modules supply power to the energy storage system and each specified load under the target load.

[0124] In step S432, when the photovoltaic power is less than the total power but greater than the charging power, the specified loads are removed from the target loads in order of priority from low to high, until the difference between the photovoltaic power and the charging power is greater than or equal to the total load power of the target loads, and the photovoltaic modules supply power to the energy storage system and the target loads.

[0125] This embodiment allows photovoltaic (PV) modules to power the energy storage system and each designated load under the target load when the PV power is greater than or equal to the sum of the PV and charging power. When the PV power is less than the sum of the PV and charging power but greater than the charging power, designated loads are removed from the target load in ascending order of priority until the difference between the PV power and charging power is greater than or equal to the total load power of the target load. In this case, the PV modules then power the energy storage system and the target load. It is understood that when the target load includes multiple designated loads, the priority of the energy storage system is higher than the priority of the target load. This could mean the energy storage system has a higher priority than each designated load under the target load, or it could mean the energy storage system has a higher priority than some of the designated loads under the target load. In the case where the energy storage system has a higher priority than some of the designated loads under the target load, this embodiment can remove designated loads one by one from the energy storage system and the target load in ascending order of priority until the PV power is greater than or equal to the sum of the total load power and charging power of the target load. In this case, the PV modules then power at least one of the energy storage system and the target load.

[0126] In this embodiment, when the grid interface is not connected to the power supply network, if the priority of the target load is higher than that of the energy storage system, power is supplied to at least the target load based on the power difference between the photovoltaic power and the load's power demand. If the priority of the energy storage system is higher than that of the target load, the charging power of the energy storage system is obtained, the sum of the load's power demand and the charging power is determined, and power is supplied to both the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power demands. This embodiment, when the photovoltaic-energy storage integrated unit is in an off-grid state, achieves stable operation of both the energy storage system and the target load in a grid-connected state through dynamic priority scheduling based on power differences.

[0127] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0128] like Figure 9As shown in the figure, this application embodiment also provides a photovoltaic-storage integrated machine, which includes a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, an energy storage system and a generator interface connected to the hybrid inverter;

[0129] Grid interface, used for connecting to the power supply network;

[0130] Load interface, used to connect load;

[0131] Photovoltaic interface, used to connect photovoltaic modules;

[0132] Generator interface, used to connect a fuel-powered generator;

[0133] A hybrid inverter for implementing any one of the methods in the above embodiments.

[0134] In some embodiments, the photovoltaic-storage integrated unit also includes a power metering interface connected to the hybrid inverter;

[0135] A current transformer is installed between the grid interface and the grid transformer of the power supply network, and the current transformer is connected to the power metering interface.

[0136] At least one of the following: a first position between the grid interface and the current transformer, and a second position between the current transformer and the grid transformer, is used to connect a load.

[0137] In this embodiment, the current transformer ( Figure 9 The current transformer (CT) is deployed between the grid interface and the grid transformer to accurately detect the power flow direction along this path and identify backflow phenomena (excess energy from photovoltaic / energy storage flowing into the power supply network). Designated loads with lower priority (non-critical loads 1 and 2) are deployed between the grid interface and the grid transformer (located on both sides of the current transformer) as adjustable loads to consume excess energy. Thus, this embodiment achieves the backflow prevention goal through the combination of accurate backflow risk identification by the current transformer and timely absorption of excess energy by the designated loads with lower priority.

[0138] In addition, such as Figure 10 As shown, the hybrid inverter can be connected to both the grid interface and the generator interface via an automatic transfer switch to achieve connectivity with either the grid interface or the generator interface. The hybrid inverter can also be connected to an energy management system, energy storage system, network interface, power metering interface, and display screen.

[0139] like Figure 11As shown, this embodiment allows multiple integrated photovoltaic and energy storage units to be paralleled. The grid interfaces of each integrated photovoltaic and energy storage unit are connected to the grid transformer, and the load interfaces of each integrated photovoltaic and energy storage unit are connected to the critical load. Before operation, the paralleling settings should be configured on the advanced function page of each integrated photovoltaic and energy storage unit, selecting whether the integrated photovoltaic and energy storage unit is a master or slave unit, and setting the unit addresses of the master and slave units.

[0140] In an exemplary embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for wired or wireless communication with external terminals. Wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a method for controlling an integrated optical storage device. The display unit of the computer device is used to form a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0141] Those skilled in the art will understand that the above structure is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0142] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the embodiments described above.

[0143] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the above embodiments.

[0144] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the above embodiments.

[0145] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0146] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0147] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0148] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A control method for an integrated photovoltaic and energy storage system, characterized in that, The integrated photovoltaic-energy storage system includes a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, and an energy storage system connected to the hybrid inverter; the method includes: Obtain the photovoltaic power of the photovoltaic module connected to the photovoltaic interface, and the load demand power of the target load connected to the photovoltaic-storage integrated machine; Based on the photovoltaic power supply mode of the integrated photovoltaic and energy storage machine, the power supply priority is determined, including the priority of the target load and the priority of the energy storage system. Based on the power difference between the photovoltaic power and the load demand power, power is supplied to the target load and the energy storage system according to the power supply priority.

2. The method according to claim 1, characterized in that, The process of supplying power to the target load and the energy storage system based on the power difference between the photovoltaic power and the load demand power, according to the power supply priority, includes: When the grid interface is connected to the power supply network, if the priority of the target load is higher than the priority of the energy storage system, then based on the power difference between the photovoltaic power and the power demand of the load, at least the target load will be supplied with power. If the priority of the energy storage system is higher than the priority of the target load, then the charging power of the energy storage system is obtained, and the sum of the load demand power and the charging power is determined. Power is supplied to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power values.

3. The method according to claim 2, characterized in that, The provision of power to at least the target load based on the power difference between the photovoltaic power and the load demand power includes: When the photovoltaic power is greater than the load demand power, the photovoltaic modules supply power to the target load and the energy storage system. When the photovoltaic power equals the load demand power, the target load is powered by the photovoltaic module; When the photovoltaic power is less than the load demand power, the discharge power of the energy storage system is obtained; When the sum of the photovoltaic power and the discharge power is greater than or equal to the load demand power, the target load is powered by the photovoltaic module and the energy storage system. When the sum of the photovoltaic power and the discharge power is less than the load demand power, the target load is powered by the photovoltaic module, the energy storage system and the power supply network.

4. The method according to claim 2, characterized in that, The step of supplying power to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power values ​​includes: When the photovoltaic power is greater than the sum of the power values, the photovoltaic modules supply power to the energy storage system and the target load, and the remaining power is transmitted to the power supply network. When the photovoltaic power equals the sum of the power values, the photovoltaic modules supply power to the target load and the energy storage system. When the photovoltaic power is less than the sum of the power values, the energy storage system and the target load are powered by the photovoltaic modules and the power supply network.

5. The method according to claim 1, characterized in that, The method of supplying power to the target load and the energy storage system based on the power difference between the photovoltaic power and the load demand power, according to the power supply priority, further includes: If the target load has a higher priority than the energy storage system when the grid interface is not connected to the power supply network, then based on the power difference between the photovoltaic power and the power demand of the load, power will be supplied to at least the target load. If the priority of the energy storage system is higher than the priority of the target load, then the charging power of the energy storage system is obtained, and the sum of the load demand power and the charging power is determined. Power is supplied to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power values.

6. The method according to claim 5, characterized in that, The target load includes at least two designated loads; the step of supplying power to at least the target load based on the power difference between the photovoltaic power and the load's power demand includes: The total load power of the target load is determined based on the load power requirements of each specified load. When the photovoltaic power is greater than or equal to the total load power of the target load, the photovoltaic modules supply power to each specified load under the target load. If the photovoltaic power is less than the total load power of the target load, the specified loads are removed from the target load in order of priority from low to high, until the sum of the photovoltaic power and the charging power is greater than or equal to the total load power of the target load, and the target load is powered by the photovoltaic module and the energy storage system.

7. The method according to claim 6, characterized in that, The step of supplying power to the target load and the energy storage system based on the power difference between the photovoltaic power and the sum of the power values ​​includes: When the photovoltaic power is greater than or equal to the sum of the power, the photovoltaic modules supply power to the energy storage system and each specified load under the target load; If the photovoltaic power is less than the total power but greater than the charging power, the specified loads are removed from the target loads in order of priority from low to high, until the difference between the photovoltaic power and the charging power is greater than or equal to the total load power of the target loads, and the photovoltaic modules supply power to the energy storage system and the target loads.

8. The method according to any one of claims 1 to 7, characterized in that, The integrated photovoltaic and energy storage unit also includes a generator interface connected to the hybrid inverter; the method further includes: When a fuel-powered generator is connected to the generator interface, a start command is sent to the fuel-powered generator to start it. The electrical energy input from the generator interface is used to power at least one of the energy storage system and the target load.

9. A photovoltaic-storage integrated machine, characterized in that, The integrated photovoltaic and energy storage unit includes a hybrid inverter, and a grid interface, a load interface, a photovoltaic interface, an energy storage system, and a generator interface connected to the hybrid inverter. The power grid interface is used to connect to the power supply network; The load interface is used to connect loads; The photovoltaic interface is used to connect photovoltaic modules; The generator interface is used to connect to a fuel-powered generator; The hybrid inverter is used to implement the method described in any one of claims 1 to 8.

10. The integrated photovoltaic and energy storage system according to claim 9, characterized in that, The integrated photovoltaic and energy storage unit also includes a power metering interface connected to the hybrid inverter; A current transformer is installed between the power grid interface and the power grid transformer of the power supply network, and the current transformer is connected to the power metering interface. At least one of the first position between the power grid interface and the current transformer, and the second position between the current transformer and the power grid transformer, is used to connect a load.