Adaptive regulation method and system of DC microgrid based on photovoltaic energy storage

By acquiring real-time data and time-of-use electricity price tables, combined with current compensation and generation models, adaptive adjustment of DC microgrids is achieved, solving the problem of poor energy consumption reduction in existing technologies, and achieving precise adjustment and cost optimization.

CN118300056BActive Publication Date: 2024-09-27CELL TRANNERGY TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410354813.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2024-09-27
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

Existing technology fails to effectively combine DC microgrids and photovoltaic energy storage, and cannot accurately adjust according to building electricity demand and time-of-use electricity prices, resulting in poor energy consumption reduction effects.

Method used

By obtaining real-time current data and time-of-use electricity price tables, the target period is determined, the grid resistance and load coefficient are calculated, and the pre-built current compensation and generation model is used for precise current regulation to achieve adaptive regulation of the DC microgrid.

Benefits of technology

It achieves precise adjustment according to the building's electricity demand, reduces building energy consumption, and optimizes energy consumption costs based on time-of-use electricity prices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118300056B
    Figure CN118300056B
Patent Text Reader

Abstract

The present invention relates to the technical field of microgrids. The present invention discloses a method and system for adaptively adjusting a direct current microgrid based on photovoltaic energy storage, including determining a target time period according to real-time current data of a target power grid and a time-of-use electricity price list of a region, obtaining target current data based thereon, determining a working time period using the target current data and the target time period, obtaining a demand current by calculating the resistance of the target power grid, and combining the load data of a target building and the voltage level of the power grid, and finally adjusting the target power grid according to the actual current and the demand current. In this way, the present invention takes into account the actual situation of a direct current microgrid in the field of reducing building energy consumption, and can realize precise adjustment of the direct current microgrid according to the electricity demand of the building, and can also reduce energy consumption costs according to the local time-of-use electricity price.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microgrid technology, and more specifically, to a direct current microgrid adaptive regulation method and system based on photovoltaic energy storage. Background Art

[0002] A DC microgrid is a small power system that is mainly composed of a DC power source, a DC load, and a DC distribution network. Unlike a traditional AC power grid, a DC microgrid is characterized by the fact that its internal electrical equipment and energy are all DC. A DC microgrid usually includes DC power sources such as solar photovoltaic panels, wind turbines, and battery energy storage systems. The green building industry needs to vigorously promote near-zero energy building technology. The application of photovoltaic power generation systems and DC microgrid systems can effectively reduce the energy consumption level of buildings, and is one of the important technologies for reducing building energy consumption. In the existing technology, although there is a method of monitoring the DC microgrid by obtaining the current or voltage of the DC microgrid, it has not been combined with the actual application scenarios of the DC microgrid.

[0003] For example, the patent with publication number CN113702767A provides an island DC microgrid fault diagnosis method based on wavelet sliding window energy. Although the patent obtains the line current under the operating conditions of the DC microgrid and analyzes the line current, thereby realizing the monitoring of the DC microgrid, the patent does not take into account the DC microgrid based on photovoltaic energy storage and its actual application in the field of reducing building energy consumption. For example, the DC microgrid needs to provide electricity according to the electricity demand of the building, and also consider how to reduce costs based on the local time-of-use electricity price.

[0004] In view of this, the present invention proposes a DC microgrid adaptive regulation method and system based on photovoltaic energy storage to solve the above problems. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art, the present invention provides a method and system for adaptively adjusting a DC microgrid based on photovoltaic energy storage.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] The DC microgrid adaptive regulation method based on photovoltaic energy storage includes:

[0008] S10: acquiring real-time current data of the target power grid and a time-of-use electricity price list of the area where the target power grid is located, determining a target time period based on the time-of-use electricity price list, and obtaining target current data based on the real-time current data and the target time period;

[0009] S20: determining a working period based on the target current data and the target period, and obtaining an actual current corresponding to the working period, wherein the target period includes a start-up phase, a working period, and an end phase;

[0010] S30: acquiring basic data of the target power grid, calculating the resistance of the target power grid according to the basic data, and inputting the resistance and the actual current into a pre-built current compensation model to obtain accurate current;

[0011] S40: Obtain load data of a target building and a voltage level of a target power grid, calculate a load factor of the target building according to the load data, input the load factor and the voltage level into a pre-built current generation model, and obtain a demand current, wherein the target building is powered by the target power grid;

[0012] S50: Regulating the target power grid based on the precise current and the demand current.

[0013] Furthermore, the method for determining the target time period based on the time-of-use electricity price table includes:

[0014] Get the peak period in the time-of-use electricity price table and use the peak period as the target period.

[0015] Furthermore, the method for obtaining target current data according to the real-time current data and the target period includes:

[0016] The starting time and the ending time of the target time period are obtained, and the corresponding starting current and the ending current are obtained based on the starting time and the ending time, and the real-time current data between the starting current and the ending current is used as the target current data.

[0017] Further, the method for determining the working period based on the target current data and the target period includes:

[0018] The average target current value is calculated based on the target current data, and the first target current value that is greater than the average target current value is found in a forward sequence, and the moment corresponding to the first target current value is used as the starting time of the working period. The first second target current value that is greater than the average target current value is found in a reverse sequence, and the moment corresponding to the second target current value is used as the ending time of the working period. The working period is determined according to the starting time and the ending time of the working period.

[0019] Furthermore, the method for obtaining the actual current corresponding to the working period includes:

[0020] The target current sub-data corresponding to the working period is obtained, the average working current value of the target current sub-data is calculated, and the average working current value is used as the actual current.

[0021] Furthermore, the basic data includes cable length, cable twist coefficient, conductor cross-sectional area and conductor resistivity. The method of calculating the resistance of the target power grid according to the basic data includes:

[0022]

[0023] In the formula, R Z is the resistance of the target grid, L d is the cable length, S d is the conductor cross-sectional area, C j is the cable twist coefficient, ρ d is the conductor resistivity.

[0024] Furthermore, the method for constructing the current compensation model includes:

[0025] A sample data set is obtained, wherein the sample data set includes historical resistance, historical actual current and historical precise current, the sample data set is divided into a sample training set and a sample test set, a regression network is constructed, the historical resistance and historical actual current in the sample training set are used as input data of the regression network, the historical precise current in the sample training set is used as output data of the regression network, the regression network is trained to obtain an initial regression network for predicting real-time precise current, the initial regression network is tested using the sample test set, and a regression network that satisfies a preset error value is output as a current compensation model.

[0026] Furthermore, the load data includes resistive load, power electronic load and rotating motor load, and the method for calculating the load factor of the target building according to the load data includes:

[0027] LF=u1Rld+u2Ped+u3Rmd;

[0028] Where LF is the load factor, Rld is the resistive load, Ped is the power electronic load, Rmd is the rotating motor load, and u1, u2 and u3 are all weight factors.

[0029] Furthermore, the method for adjusting the target power grid based on the precise current and the demand current includes:

[0030] The current difference between the exact current and the required current is calculated, and the target power grid is adjusted according to the current difference.

[0031] The DC microgrid adaptive regulation system based on photovoltaic energy storage is used to implement the above-mentioned DC microgrid adaptive regulation method based on photovoltaic energy storage, including:

[0032] Target period determination module: used to obtain the real-time current data of the target power grid and the time-of-use electricity price list of the area where the target power grid is located, determine the target period based on the time-of-use electricity price list, and obtain the target current data based on the real-time current data and the target period;

[0033] A working period determination module: used to determine the working period based on the target current data and the target period, and obtain the actual current corresponding to the working period, wherein the target period includes a start-up phase, a working period and an end phase;

[0034] Current compensation module: used to obtain the basic data of the target power grid, calculate the resistance of the target power grid based on the basic data, input the resistance and actual current into the pre-built current compensation model to obtain accurate current;

[0035] Load generation module: used to obtain the load data of the target building and the voltage level of the target power grid, calculate the load factor of the target building according to the load data, input the load factor and the voltage level into the pre-built current generation model, and obtain the demand current. The target building is powered by the target power grid;

[0036] Adaptive regulation module: used to adjust the target power grid based on the precise current and demand current.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention first determines the target time period according to the real-time current data of the target power grid and the time-of-use electricity price list of the area, and obtains the target current data based on this, determines the working time period using the target current data and the target time period, and obtains the demand current by calculating the resistance of the target power grid and combining the load data of the target building and the voltage level of the power grid. Finally, the target power grid is adjusted according to the actual current and the demand current. In this way, the present invention takes into account the actual situation of the DC microgrid in the field of reducing building energy consumption, and can realize precise adjustment of the DC microgrid according to the building electricity demand, and can also reduce energy consumption costs according to the local time-of-use electricity price. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of the DC microgrid adaptive regulation method based on photovoltaic energy storage in the present invention;

[0040] Figure 2 A schematic diagram of a computer-readable storage medium in the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] Example 1

[0043] See also Figure 1 As shown, this embodiment discloses a DC microgrid adaptive regulation method based on photovoltaic energy storage, including:

[0044] S10: acquiring real-time current data of the target power grid and a time-of-use electricity price list of the area where the target power grid is located, determining a target time period based on the time-of-use electricity price list, and obtaining target current data based on the real-time current data and the target time period;

[0045] It should be noted that the real-time current data in this embodiment refers to the real-time current within a period of time, and the real-time current data is obtained by measuring multiple times by the current sensor within a period of time. The time-of-use electricity price table refers to the charging standards of different electricity prices formulated by the power company according to the power supply and demand in different time periods. Taking the area as Shanghai, and the time-of-use electricity price table in summer as an example, it includes peak hours: 8:00-15:00, 18:00-21:00, normal hours: 6:00-8:00, 15:00-18:00, 21:00-22:00 and valley hours: 22:00-6:00 the next day;

[0046] Methods for determining the target period based on the time-of-use electricity price table include:

[0047] Obtain the peak period in the time-of-use electricity price table and use the peak period as the target period;

[0048] It can be understood that the DC microgrid in this embodiment is used to provide electric energy to the building, so as to reduce the energy consumption of the building. Therefore, the DC microgrid in this embodiment stores energy through photovoltaics and provides electric energy to the building during peak hours, which can reduce the energy consumption of the building while maximizing the reduction of the electricity cost of the building. It is worth noting that the above method for determining the target time period is only an example, and this embodiment does not limit this.

[0049] The method for obtaining target current data according to real-time current data and target period includes:

[0050] Obtaining the starting time and the ending time of the target time period, obtaining the corresponding starting current and the ending current based on the starting time and the ending time, and using the real-time current data between the starting current and the ending current as the target current data;

[0051] Continuing with the above content, if the peak period is 8:00-15:00, the starting time and the ending time are 8:00 and 15:00 respectively, then the currents measured at 8:00 and 15:00 are the starting current and the ending current respectively, and the real-time current data between 8:00 and 15:00 is used as the target current data;

[0052] S20: determining a working period based on the target current data and the target period, and obtaining an actual current corresponding to the working period, wherein the target period includes a start-up phase, a working period, and an end phase;

[0053] It can be understood that in this embodiment, the target power grid does not always supply power to the target building, but chooses to supply power to the target building during peak hours. Therefore, the target current data corresponding to the target period is not always in a stable state, but there are certain fluctuations in the start-up stage and the end stage of the target period. Only during the working period is the target power grid continuously supplying power to the target building in a stable stage. Therefore, the adaptive adjustment of the target power grid also occurs during the working period.

[0054] The method for determining the working period based on the target current data and the target period includes:

[0055] Calculate the average target current value based on the target current data, find out the first first target current value that is greater than the average target current value in a forward time sequence, use the time corresponding to the first target current value as the start time of the working period, find out the first second target current value that is greater than the average target current value in a reverse time sequence, use the time corresponding to the second target current value as the end time of the working period, and determine the working period according to the start time and the end time of the working period;

[0056] It should be noted that the current corresponding to the target power grid in the startup phase tends to increase, and conversely, the current corresponding to the end phase tends to decrease. Therefore, the average target current value of the target current data is calculated, and the working period is determined according to the average target current value. The calculation of the average target current value based on the target current data is only an exemplary description. The working period can also be determined by calculating the median of the target current data, and this embodiment is not limited to this.

[0057] Methods for obtaining the actual current corresponding to the working period include:

[0058] Obtain the target current sub-data corresponding to the working period, calculate the average working current value of the target current sub-data, and use the average working current value as the actual current;

[0059] It can be understood that the target current data includes three groups of data, corresponding to the startup phase, the working period and the end phase respectively, and the target current sub-data is one of the groups of data corresponding to the working period, and in this embodiment, the average target current value and the average working current value are different, the average target current value is the average value of the target current data, and the average working current value is the average value obtained by calculating the target current data after removing the other two groups of data, so that the calculated average value can be more consistent with the current value provided by the target power grid when supplying power to the target building;

[0060] S30: acquiring basic data of the target power grid, calculating the resistance of the target power grid according to the basic data, and inputting the resistance and the actual current into a pre-built current compensation model to obtain accurate current;

[0061] It should be noted that the basic data include but are not limited to cable length, cable twist coefficient, conductor cross-sectional area and conductor resistivity. The conductor cross-sectional area and conductor resistivity can be directly obtained through measurement, while the cable length and cable twist coefficient can be obtained from the engineering design documents of the installed power grid;

[0062] Methods for calculating the resistance of the target power grid based on basic data include:

[0063]

[0064] In the formula, R Z is the resistance of the target grid, L d is the cable length, S d is the conductor cross-sectional area, C j is the cable twist coefficient, ρ d is the conductor resistivity;

[0065] The construction method of the current compensation model includes:

[0066] Acquire a sample data set, wherein the sample data set includes historical resistance, historical actual current, and historical precise current, divide the sample data set into a sample training set and a sample test set, construct a regression network, use the historical resistance and historical actual current in the sample training set as input data of the regression network, use the historical precise current in the sample training set as output data of the regression network, train the regression network, obtain an initial regression network for predicting real-time precise current, test the initial regression network using the sample test set, and output a regression network that satisfies a preset error value as a current compensation model, wherein the regression network is preferably a neural network model;

[0067] It is worth noting that the precise current refers to the current after the actual current is transmitted and consumed. The precise current ultimately provides power to the target building. The historical precise current can be obtained by those skilled in the art through experiments. For example, a load device is connected to one end of the target power grid, and the target power grid provides power to the load device. The precise current of the target power grid is calculated based on the actual power of the load device.

[0068] S40: Obtain load data of a target building and a voltage level of a target power grid, calculate a load factor of the target building according to the load data, input the load factor and the voltage level into a pre-built current generation model, and obtain a demand current, wherein the target building is powered by the target power grid;

[0069] In this embodiment, the voltage level includes a first level and a second level. For example, the first level is 48V and the second level is 375V. The 48V voltage is beneficial to protecting the safety of electricity users, but its voltage level is relatively low. The load data includes but is not limited to resistive loads, power electronic loads and rotating motor loads. The resistive load is a resistive load that operates using the thermal effect of current, including resistive heating equipment and incandescent light sources, etc. The power electronic load mainly includes fluorescent lamp loads and switching power supply loads. The rotating motor load mainly includes low-power general motor loads and high-power induction motor loads;

[0070] Methods for calculating the load factor of a target building based on load data include:

[0071] LF=u1Rld+u2Ped+u3Rmd;

[0072] Where LF is the load factor, Rld is the resistive load, Ped is the power electronic load, Rmd is the rotating motor load, and u1, u2 and u3 are all weight factors;

[0073] The method for constructing the current generation model includes:

[0074] Obtain a sample data set, wherein the sample data set includes a historical load factor, a historical voltage level, and a historical demand current, divide the sample data set into a sample training set and a sample test set, construct a regression network, use the historical load factor and the historical voltage level in the sample training set as input data of the regression network, use the historical demand current in the sample training set as output data of the regression network, train the regression network, obtain an initial regression network for predicting real-time demand current, test the initial regression network using the sample test set, output a regression network that satisfies a preset error value as a current generation model, and the regression network is preferably a neural network model;

[0075] It should be noted that the larger the load factor is, the more power the equipment in the target building needs. Therefore, the load factor is proportional to the demand current. According to Ohm's law, when the load is constant, the voltage level is inversely proportional to the demand current. Therefore, those skilled in the art train the model according to the above logic and the collected historical data to obtain a current generation model.

[0076] S50: regulating the target power grid based on the precise current and the demand current;

[0077] Methods for regulating the target grid based on accurate current and demand current include:

[0078] Calculate the current difference between the accurate current and the required current, and adjust the target power grid according to the current difference;

[0079] It is worth noting that the above-mentioned calculation of the current difference and adjustment of the target power grid according to the current difference are only exemplary descriptions, and the adjustment can also be made by the ratio between the precise current and the demand current, which is not limited in this embodiment;

[0080] In this embodiment, the target time period is first determined based on the real-time current data of the target power grid and the time-of-use electricity price list of the area, and the target current data is obtained based on this. The working time period is determined using the target current data and the target time period. The demand current is obtained by calculating the resistance of the target power grid and combining the load data of the target building and the voltage level of the power grid. Finally, the target power grid is adjusted according to the actual current and the demand current. In this way, this embodiment takes into account the actual situation of the DC microgrid in the field of reducing building energy consumption, and can realize precise adjustment of the DC microgrid according to the building electricity demand, and can also reduce energy consumption costs according to the local time-of-use electricity price.

[0081] Example 2

[0082] This embodiment provides a DC microgrid adaptive regulation system based on photovoltaic energy storage on the basis of Embodiment 1, including:

[0083] Target period determination module: used to obtain the real-time current data of the target power grid and the time-of-use electricity price list of the area where the target power grid is located, determine the target period based on the time-of-use electricity price list, and obtain the target current data based on the real-time current data and the target period;

[0084] It should be noted that the real-time current data in this embodiment refers to the real-time current within a period of time, and the real-time current data is obtained by measuring multiple times by the current sensor within a period of time. The time-of-use electricity price table refers to the charging standards of different electricity prices formulated by the power company according to the power supply and demand in different time periods. Taking the area as Shanghai, and the time-of-use electricity price table in summer as an example, it includes peak hours: 8:00-15:00, 18:00-21:00, normal hours: 6:00-8:00, 15:00-18:00, 21:00-22:00 and valley hours: 22:00-6:00 the next day;

[0085] Methods for determining the target period based on the time-of-use electricity price table include:

[0086] Obtain the peak period in the time-of-use electricity price table and use the peak period as the target period;

[0087] It can be understood that the DC microgrid in this embodiment is used to provide electric energy to the building, so as to reduce the energy consumption of the building. Therefore, the DC microgrid in this embodiment stores energy through photovoltaics and provides electric energy to the building during peak hours, which can reduce the energy consumption of the building while maximizing the reduction of the electricity cost of the building. It is worth noting that the above method for determining the target time period is only an example, and this embodiment does not limit this.

[0088] The method for obtaining target current data according to real-time current data and target period includes:

[0089] Obtaining the starting time and the ending time of the target time period, obtaining the corresponding starting current and the ending current based on the starting time and the ending time, and using the real-time current data between the starting current and the ending current as the target current data;

[0090] Continuing with the above content, if the peak period is 8:00-15:00, the starting time and the ending time are 8:00 and 15:00 respectively, then the currents measured at 8:00 and 15:00 are the starting current and the ending current respectively, and the real-time current data between 8:00 and 15:00 is used as the target current data;

[0091] A working period determination module: used to determine the working period based on the target current data and the target period, and obtain the actual current corresponding to the working period, wherein the target period includes a start-up phase, a working period and an end phase;

[0092] It can be understood that in this embodiment, the target power grid does not always supply power to the target building, but chooses to supply power to the target building during peak hours. Therefore, the target current data corresponding to the target period is not always in a stable state, but there are certain fluctuations in the start-up stage and the end stage of the target period. Only during the working period is the target power grid continuously supplying power to the target building in a stable stage. Therefore, the adaptive adjustment of the target power grid also occurs during the working period.

[0093] The method for determining the working period based on the target current data and the target period includes:

[0094] Calculate the average target current value based on the target current data, find out the first first target current value that is greater than the average target current value in a forward time sequence, use the time corresponding to the first target current value as the start time of the working period, find out the first second target current value that is greater than the average target current value in a reverse time sequence, use the time corresponding to the second target current value as the end time of the working period, and determine the working period according to the start time and the end time of the working period;

[0095] It should be noted that the current corresponding to the target power grid in the startup phase tends to increase, and conversely, the current corresponding to the end phase tends to decrease. Therefore, the average target current value of the target current data is calculated, and the working period is determined according to the average target current value. The calculation of the average target current value based on the target current data is only an exemplary description. The working period can also be determined by calculating the median of the target current data, and this embodiment is not limited to this.

[0096] Methods for obtaining the actual current corresponding to the working period include:

[0097] Obtain the target current sub-data corresponding to the working period, calculate the average working current value of the target current sub-data, and use the average working current value as the actual current;

[0098] It can be understood that the target current data includes three groups of data, corresponding to the startup phase, the working period and the end phase respectively, and the target current sub-data is one of the groups of data corresponding to the working period, and in this embodiment, the average target current value and the average working current value are different, the average target current value is the average value of the target current data, and the average working current value is the average value obtained by calculating the target current data after removing the other two groups of data, so that the calculated average value can be more consistent with the current value provided by the target power grid when supplying power to the target building;

[0099] Current compensation module: used to obtain the basic data of the target power grid, calculate the resistance of the target power grid based on the basic data, input the resistance and actual current into the pre-built current compensation model to obtain accurate current;

[0100] It should be noted that the basic data include but are not limited to cable length, cable twist coefficient, conductor cross-sectional area and conductor resistivity. The conductor cross-sectional area and conductor resistivity can be directly obtained through measurement, while the cable length and cable twist coefficient can be obtained from the engineering design documents of the installed power grid;

[0101] Methods for calculating the resistance of the target power grid based on basic data include:

[0102]

[0103] In the formula, R Z is the resistance of the target grid, L d is the cable length, S d is the conductor cross-sectional area, C j is the cable twist coefficient, ρ d is the conductor resistivity;

[0104] The construction method of the current compensation model includes:

[0105] Acquire a sample data set, wherein the sample data set includes historical resistance, historical actual current, and historical precise current, divide the sample data set into a sample training set and a sample test set, construct a regression network, use the historical resistance and historical actual current in the sample training set as input data of the regression network, use the historical precise current in the sample training set as output data of the regression network, train the regression network, obtain an initial regression network for predicting real-time precise current, test the initial regression network using the sample test set, and output a regression network that satisfies a preset error value as a current compensation model, wherein the regression network is preferably a neural network model;

[0106] It is worth noting that the precise current refers to the current after the actual current is transmitted and consumed. The precise current ultimately provides power to the target building. The historical precise current can be obtained by those skilled in the art through experiments. For example, a load device is connected to one end of the target power grid, and the target power grid provides power to the load device. The precise current of the target power grid is calculated based on the actual power of the load device.

[0107] Load generation module: used to obtain the load data of the target building and the voltage level of the target power grid, calculate the load factor of the target building according to the load data, input the load factor and the voltage level into the pre-built current generation model, and obtain the demand current. The target building is powered by the target power grid;

[0108] In this embodiment, the voltage level includes a first level and a second level. For example, the first level is 48V and the second level is 375V. The 48V voltage is beneficial to protecting the safety of electricity users, but its voltage level is relatively low. The load data includes but is not limited to resistive loads, power electronic loads and rotating motor loads. The resistive load is a resistive load that operates using the thermal effect of current, including resistive heating equipment and incandescent light sources, etc. The power electronic load mainly includes fluorescent lamp loads and switching power supply loads. The rotating motor load mainly includes low-power general motor loads and high-power induction motor loads;

[0109] Methods for calculating the load factor of a target building based on load data include:

[0110] LF=u1Rld+u2Ped+u3Rmd;

[0111] Where LF is the load factor, Rld is the resistive load, Ped is the power electronic load, Rmd is the rotating motor load, and u1, u2 and u3 are all weight factors;

[0112] The method for constructing the current generation model includes:

[0113] Obtain a sample data set, wherein the sample data set includes a historical load factor, a historical voltage level, and a historical demand current, divide the sample data set into a sample training set and a sample test set, construct a regression network, use the historical load factor and the historical voltage level in the sample training set as input data of the regression network, use the historical demand current in the sample training set as output data of the regression network, train the regression network, obtain an initial regression network for predicting real-time demand current, test the initial regression network using the sample test set, output a regression network that satisfies a preset error value as a current generation model, and the regression network is preferably a neural network model;

[0114] It should be noted that the larger the load factor is, the more power the equipment in the target building needs. Therefore, the load factor is proportional to the demand current. According to Ohm's law, when the load is constant, the voltage level is inversely proportional to the demand current. Therefore, those skilled in the art train the model according to the above logic and the collected historical data to obtain a current generation model.

[0115] Adaptive regulation module: used to adjust the target power grid based on the precise current and demand current;

[0116] Methods for regulating the target grid based on accurate current and demand current include:

[0117] Calculate the current difference between the accurate current and the required current, and adjust the target power grid according to the current difference;

[0118] It is worth noting that the above-mentioned calculation of the current difference and adjustment of the target power grid according to the current difference are only exemplary descriptions, and the adjustment can also be made by the ratio between the precise current and the demand current, which is not limited in this embodiment.

[0119] Example 3

[0120] The present embodiment discloses an electronic device, including a power supply, an interface, a keyboard, a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the central processing unit executes the computer program, the DC microgrid adaptive regulation method based on photovoltaic energy storage provided by the above methods is implemented. The interface includes a network interface and a data interface. The network interface includes a wired or wireless interface, and the data interface includes an input or output interface.

[0121] Since the electronic device introduced in this embodiment is an electronic device used to implement the DC microgrid adaptive adjustment method based on photovoltaic energy storage in the embodiment of this application, based on the DC microgrid adaptive adjustment method based on photovoltaic energy storage introduced in the embodiment of this application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application is not described in detail here. As long as the technical personnel of this field implement the electronic device adopted by the DC microgrid adaptive adjustment method based on photovoltaic energy storage in the embodiment of this application, it belongs to the scope of protection of this application.

[0122] Example 4

[0123] See also Figure 2 As shown, this embodiment discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed, the above-mentioned DC microgrid adaptive regulation method based on photovoltaic energy storage is implemented.

[0124] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters, weights and thresholds in the formula are set by technicians in this field according to actual conditions.

[0125] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through a wired network or a wireless network. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD) or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0126] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0128] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0130] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0131] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0132] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A DC microgrid adaptive regulation method based on photovoltaic energy storage, characterized in that: include: S10: acquiring real-time current data of the target power grid and a time-of-use electricity price list of the area where the target power grid is located, determining a target time period based on the time-of-use electricity price list, and obtaining target current data based on the real-time current data and the target time period; S20: determining a working period based on the target current data and the target period, and obtaining an actual current corresponding to the working period, wherein the target period includes a start-up phase, a working period, and an end phase; S30: acquiring basic data of the target power grid, calculating the resistance of the target power grid according to the basic data, and inputting the resistance and the actual current into a pre-built current compensation model to obtain accurate current; S40: Obtaining load data of a target building and a voltage level of a target power grid, calculating a load factor of the target building according to the load data, inputting the load factor and the voltage level into a pre-built current generation model, and obtaining a demand current, wherein the target building is powered by the target power grid; S50: regulating the target power grid based on the precise current and the demand current; The method for constructing the current compensation model includes: A sample data set is obtained, wherein the sample data set includes historical resistance, historical actual current and historical precise current, the sample data set is divided into a sample training set and a sample test set, a regression network is constructed, the historical resistance and historical actual current in the sample training set are used as input data of the regression network, the historical precise current in the sample training set is used as output data of the regression network, the regression network is trained to obtain an initial regression network for predicting real-time precise current, the initial regression network is tested using the sample test set, and a regression network that satisfies a preset error value is output as a current compensation model.

2. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 1 is characterized in that: The method for determining the target time period based on the time-of-use electricity price table includes: Get the peak period in the time-of-use electricity price table and use the peak period as the target period.

3. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 2 is characterized in that: The method for obtaining target current data according to real-time current data and a target period includes: The starting time and the ending time of the target time period are obtained, and the corresponding starting current and the ending current are obtained based on the starting time and the ending time, and the real-time current data between the starting current and the ending current is used as the target current data.

4. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 1 is characterized in that: The method for determining the working period based on the target current data and the target period includes: The average target current value is calculated based on the target current data, and the first target current value that is greater than the average target current value is found in a forward sequence, and the moment corresponding to the first target current value is used as the starting time of the working period. The first second target current value that is greater than the average target current value is found in a reverse sequence, and the moment corresponding to the second target current value is used as the ending time of the working period. The working period is determined according to the starting time and the ending time of the working period.

5. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 4 is characterized in that: The method for obtaining the actual current corresponding to the working period includes: The target current sub-data corresponding to the working period is obtained, the average working current value of the target current sub-data is calculated, and the average working current value is used as the actual current.

6. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 1 is characterized in that: The basic data includes cable length, cable twist coefficient, conductor cross-sectional area and conductor resistivity. The method for calculating the resistance of the target power grid according to the basic data includes: In the formula, R Z is the resistance of the target grid, L d is the cable length, S d is the conductor cross-sectional area, C j is the cable twist coefficient, ρ d is the conductor resistivity.

7. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 1 is characterized in that: The load data includes resistive load, power electronic load and rotating motor load. The method for calculating the load factor of the target building according to the load data includes: LF=u1Rld+u2Ped+u3Rmd; Where LF is the load factor, Rld is the resistive load, Ped is the power electronic load, Rmd is the rotating motor load, and u1, u2 and u3 are all weight factors.

8. The DC microgrid adaptive regulation method based on photovoltaic energy storage according to claim 1 is characterized in that: The method for regulating the target power grid based on the precise current and the demand current includes: The current difference between the exact current and the required current is calculated, and the target power grid is adjusted according to the current difference.

9. A DC microgrid adaptive regulation system based on photovoltaic energy storage, which is used to implement the DC microgrid adaptive regulation method based on photovoltaic energy storage as described in any one of claims 1 to 8, characterized in that: include: Target period determination module: used to obtain the real-time current data of the target power grid and the time-of-use electricity price list of the area where the target power grid is located, determine the target period based on the time-of-use electricity price list, and obtain the target current data based on the real-time current data and the target period; A working period determination module: used to determine the working period based on the target current data and the target period, and obtain the actual current corresponding to the working period, wherein the target period includes a start-up phase, a working period and an end phase; Current compensation module: used to obtain the basic data of the target power grid, calculate the resistance of the target power grid based on the basic data, input the resistance and actual current into the pre-built current compensation model to obtain accurate current; Load generation module: used to obtain the load data of the target building and the voltage level of the target power grid, calculate the load factor of the target building according to the load data, input the load factor and the voltage level into the pre-built current generation model, and obtain the demand current. The target building is powered by the target power grid; Adaptive regulation module: used to adjust the target power grid based on the precise current and demand current.