Green electricity and green evidence obtaining method and system based on curve tracking

Through the curve tracing method, the shortcomings of data collection, curve construction, matching and storage in green electricity and green certificate acquisition are solved, and more accurate green electricity computing and more efficient energy management are achieved, which promotes the development of green energy and Sustainable development.

CN118982375APending Publication Date: 2024-11-19ZHANGJIAKOU WIND & SOLAR POWER ENERGY DEMONSTRATION STATION CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411058700.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The existing green electricity and green certificate acquisition methods have problems such as insufficient data acquisition accuracy, insufficient curve construction, incomplete curve matching and tracking, single computing model, and low data storage and management efficiency, resulting in the inability to accurately reflect green electricity production and consumption. The situation affects the healthy development of the green energy market.

Method used

Using a curve tracing method, the amount of green electricity is calculated through real-time data acquisition, curve fitting, dynamic time regular algorithm matching, multiple data correction and optimization algorithms, and data storage and management are used for high-performance databases to ensure data accuracy and efficiency.

Benefits of technology

Improve the accuracy of green electricity usage calculation, provide a reliable green certificate generation data basis, enhance the scientific nature of energy management, promote the development of green energy, improve the stability of energy system, and reduce costs and environmental impacts. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118982375A_ABST
    Figure CN118982375A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of green energy, in particular to a green power and green evidence obtaining method and system based on curve tracking, and the method comprises the following steps: S1, data collection: obtaining the power data of power production and consumption ends in real time; s2, curve construction: respectively generating a green power production curve and a power consumption curve; s3, curve matching and tracking: determining a matching relationship between the power consumption curve and the green power production curve; s4, green electricity and green evidence calculation: the number of green electricity is calculated according to curve matching and tracking results, and green evidence is generated; and S5, data storage and management: storing and managing related data. According to the method, errors caused by rough estimation of a traditional method are reduced, the accuracy of green power and green evidence acquisition is improved, scientization of energy management is promoted, green energy development is promoted, the stability of an energy system is improved, technical innovation is promoted, and energy cost and environmental influence are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of green energy technology, and in particular to a method and system for obtaining green electricity and green certificates based on curve tracing. Background Art

[0002] At a time when the global energy landscape is facing profound changes, the rise of green energy has become an irreversible trend. With the increasing awareness of environmental protection and the urgent need for sustainable development, green electricity, that is, electricity converted from renewable energy such as solar energy, wind energy, and hydropower, is gradually occupying an important position in the energy field. Green certificates are quantitative proof and trading vouchers of green electricity. Their accurate acquisition and effective management are crucial to promoting the healthy development of the green energy market. However, the current methods of obtaining green electricity and green certificates face many severe challenges and problems.

[0003] First, traditional data collection methods often have the defects of insufficient accuracy and poor real-time performance. In most cases, the collection of electricity data relies on limited monitoring points and relatively long collection cycles, which results in the data obtained being unable to accurately reflect the ever-changing electricity production and consumption. Secondly, in terms of curve construction, existing methods lack the ability to effectively model complex energy dynamics. The production of green electricity is affected by natural factors such as light intensity, wind speed, water flow, etc., and exhibits high volatility and uncertainty. Existing curve construction technology is difficult to fully capture these complex dynamic characteristics, resulting in the constructed curve being unable to truly reflect the actual situation of green electricity production and consumption. Furthermore, the imperfection of curve matching and tracking technology is also a prominent problem. Traditional matching methods are usually based on simple time alignment or fixed pattern matching. , unable to adapt to the non-synchronization and morphological changes of green electricity and electricity consumption curves. In addition, the single and lack of flexibility of the methods in the calculation process of green electricity and green certificates is also a problem that needs to be solved urgently. The existing calculation models often cannot fully consider a variety of influencing factors, such as the value difference of green electricity in different time periods, the loss in energy storage and conversion process, and the energy loss in power grid transmission. This leads to deviations between the calculation results and the actual situation, and cannot provide the energy market with a fair and reasonable amount of green electricity and green certificates. Finally, in terms of data storage and management, the existing system faces problems such as low data security, slow query efficiency, and difficulty in coping with large-scale data growth. With the rapid increase in the amount of energy data, traditional database architecture and storage technology seem to be unable to meet the needs of rapid retrieval, analysis and processing of massive energy data.

[0004] In summary, the existing methods for obtaining green electricity and green certificates have many shortcomings in data collection, curve construction, matching and tracking, calculation, and storage management, which seriously restrict the effective utilization of green energy and the healthy development of the market. Therefore, there is an urgent need for an innovative, precise, and efficient curve-tracing-based green electricity and green certificate acquisition method and system to solve the current technical problems and promote the vigorous development of the green energy industry. Summary of the invention

[0005] Based on the above objectives, the present invention provides a method and system for obtaining green electricity and green certificates based on curve tracing.

[0006] A method for obtaining green electricity and green certificates based on curve tracing, comprising the following steps:

[0007] S1, data collection: real-time acquisition of electricity data at the power production and consumption ends;

[0008] S2, curve construction: generate green electricity production curve and electricity consumption curve respectively;

[0009] S3, curve matching and tracking: determine the matching relationship between the electricity consumption curve and the green electricity production curve;

[0010] S4, calculation of green electricity and green certificates: calculate the amount of green electricity and generate green certificates based on the results of curve matching and tracking;

[0011] S5, data storage and management: storage and management of relevant data, including collected electricity data, curve construction results, curve matching and tracking information, and green electricity and green certificate calculation results.

[0012] Optionally, the data collection in S1 includes:

[0013] S11, data collection: through sensors and smart meter devices distributed at the power production and consumption ends, real-time power data is collected at fixed time intervals (for example, 1 minute, 5 minutes or 10 minutes). The total amount of power data collected is expressed as:

[0014]

[0015] Among them, D is the total amount of power data, P g (t i ) is the timestamp t i The power generation, P c (t i ) is the timestamp t i The power consumption is, n is the number of data points collected;

[0016]

[0017] Among them, Δt is the collection time interval, and T is the total collection time;

[0018] S12, data preprocessing: introducing data noise level σ, the actual collected power data is expressed as:

[0019] P g (t i )+∈ i and P c (t i )+δ i ;

[0020] Among them, ∈ i and δ i is a random noise with a mean of 0 and a standard deviation of σ;

[0021] S13, data correction: correct the collected power data, expressed as:

[0022] P g (t i )+∈ i +f e (T e , H e ) and P c (t i )+δ i +f e (T e , H e );

[0023] Among them, f e (T e , H e ) is a function of the impact on power generation and power consumption, T e is temperature, H e for humidity;

[0024] S14, calculate the rate of change: Assume that the fluctuation range of the power generation is [P g,min , P g,max ], the fluctuation range of power consumption is [P c,min , P c,max ], calculate the rate of change of power generation and power consumption, including:

[0025] The rate of change of power generation:

[0026] The rate of change of electric power:

[0027] Optionally, the curve construction in S2 includes:

[0028] S21, Green power production curve construction: The green power production curve reflects the output power changes of renewable energy power generation equipment at different times, expressed as:

[0029] C g (t) = f g (t,θ g );

[0030] Among them, θ g =(θ g1 ,θ g2 ,…,θ gm ) are fitting parameters;

[0031] The fitting parameter θ g Determined by minimizing the mean square error, expressed as:

[0032]

[0033] S22, power consumption curve construction: The power consumption curve shows the user's power consumption in each time period, expressed as:

[0034] C c (t) = f c (t,θ c );

[0035] Among them, θ c =(θ c1 ,θ c2 ,…,θ cm ) are fitting parameters;

[0036] The fitting parameter θ c Determined by minimizing the mean square error, expressed as:

[0037]

[0038] S23, curve fitting: The green electricity production curve is fitted by a quadratic polynomial, and the electricity consumption curve is fitted by a cubic polynomial, expressed as:

[0039] C g (t) = θ g1 t 2 +θ g2 t+θ g3 ;

[0040] C c (t) = θ c1 t 3 +θ c2 t 2 +θ c3 t+θ c4 .

[0041] Optionally, the curve matching and tracking in S3 adopts a curve matching algorithm based on dynamic time warping (DTW) to match and track the power consumption curve with the green power production curve, and calculates the minimum cumulative distance d (C g (t), C c (t)), determine the best matching segment [t1, t2] in the time interval, the matching function is M(t1, t2), expressed as:

[0042]

[0043] The distance d(C g (t), C c (t)) is calculated by a dynamic programming algorithm, including:

[0044] Define the cumulative distance matrix: Define a cumulative distance matrix D[i, j], expressed as:

[0045] D[i, j] = d(P g (t i ), P c (t i ))+min(D[i-1,j],D[i,j-1],D[i-1,j-1]);

[0046] Distance measurement: The distance measurement between the electricity consumption curve and the green electricity production curve adopts the Euclidean distance, which is expressed as:

[0047]

[0048] Function modification: The weight factor ω(t) is introduced to indicate the importance of different time points. The distance function is modified as follows:

[0049]

[0050] Optionally, the green electricity and green certificate calculation in S4 includes:

[0051] S41, calculating the amount of green electricity actually used by the user: according to the results of curve matching and tracking, the amount of green electricity actually used by the user is calculated. g , expressed as:

[0052] E g =P avg ×ΔT;

[0053] Among them, P avg is the average power in the matching interval, ΔT is the time length;

[0054]

[0055] Among them, P match (t) is the power curve within the matching interval;

[0056] S42, optimize average power: use numerical integration method (trapezoidal rule) to calculate average power, expressed as:

[0057]

[0058] S43, generating corresponding green certificates: generating corresponding green certificates according to the amount of green electricity, the amount of green certificates G is proportional to the amount of green electricity, expressed as:

[0059] G=k×E g ;

[0060] Where k is the proportionality coefficient;

[0061] S44, introduce time weight function: Considering the difference in green electricity value in different time periods, introduce time weight function ω(t), then the green electricity quantity correction is expressed as:

[0062]

[0063] S45, Application of weights in different time periods: Assume that the value of green electricity is in the peak period t peak The weight is ω peak , low period t valley The weight is ω valley , then the amount of green electricity is expressed as:

[0064]

[0065] Optionally, the data storage and management in S5 stores the relevant data in a database, and uses data compression and indexing technology to optimize storage efficiency and query speed. At the same time, the relevant data is regularly backed up, updated and maintained, with a backup frequency of f b , the update time interval is Δt u , the time complexity of the maintenance operation is O(M).

[0066] Optionally, the compression ratio of the data compression is expressed as:

[0067]

[0068] Among them, S original is the original data size, S compressed is the compressed data size;

[0069] Data compression uses Huffman coding, assuming the frequency of character occurrence is f b , then the average coding length is expressed as:

[0070] L=∑ ef c l c ;

[0071] Among them, l c is the encoding length of character c.

[0072] Optionally, the data volume of the related data backup is expressed as:

[0073]

[0074] Where r is the data growth rate in the database.

[0075] A green electricity and green certificate acquisition system based on curve tracing is used to implement the above-mentioned green electricity and green certificate acquisition method based on curve tracing, and includes the following modules:

[0076] Data acquisition module: real-time acquisition of electricity data at the power production and consumption ends;

[0077] Curve construction module: Generate green electricity production curve and electricity consumption curve respectively;

[0078] Matching tracking module: determines the matching relationship between the electricity consumption curve and the green electricity production curve;

[0079] Calculation module: calculates the amount of green electricity and generates green certificates based on the results of curve matching and tracking;

[0080] Storage and management module: stores and manages relevant data, including collected electricity data, curve construction results, curve matching and tracking information, and green electricity and green certificate calculation results.

[0081] Beneficial effects of the present invention:

[0082] The present invention, by adopting advanced curve fitting and dynamic time warping algorithms, can accurately track and match the green electricity production and consumption curves, reduce the errors caused by rough estimates of traditional methods, make the calculation of green electricity usage more accurate, and thus provide a reliable data basis for the generation of green certificates. By introducing a variety of data correction and optimization algorithms, the influence of data noise, environmental factors, time weights and other aspects is taken into account, and the accuracy of the calculation results is further improved, the accuracy of green electricity and green certificates is improved, the scientific energy management is promoted, the development of green energy is promoted, the stability of the energy system is improved, technological innovation is promoted, and the energy cost and environmental impact are reduced. It is of great significance to the sustainable development of the energy field. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0084] Figure 1 A schematic diagram of data collection according to an embodiment of the present invention;

[0085] Figure 2 A schematic diagram of curve construction according to an embodiment of the present invention;

[0086] Figure 3 A schematic diagram of curve matching and tracking according to an embodiment of the present invention;

[0087] Figure 4 A schematic diagram of the green electricity and green certificate calculation process according to an embodiment of the present invention;

[0088] Figure 5 The figure is a schematic diagram of a configuration method and a system flow chart of an embodiment of the present invention. DETAILED DESCRIPTION

[0089] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. At the same time, it is explained here that in order to make the embodiments more detailed, the following embodiments are the best and preferred embodiments, and those skilled in the art may also adopt other alternatives to implement some known technologies; and the accompanying drawings are only for more specific description of the embodiments, and are not intended to specifically limit the present invention.

[0090] It should be noted that the references to "one embodiment", "an embodiment", "an exemplary embodiment", "some embodiments" and the like in the specification indicate that the embodiments described may include specific features, structures or characteristics, but not every embodiment may include the specific features, structures or characteristics. In addition, when a specific feature, structure or characteristic is described in conjunction with an embodiment, it should be within the knowledge of a person skilled in the art to implement such feature, structure or characteristic in conjunction with other embodiments (whether or not explicitly described).

[0091] In general, a term can be understood, at least in part, from its use in context. For example, depending, at least in part, on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in the singular sense, or can be used to describe a combination of features, structures, or characteristics in the plural sense. Additionally, the term "based on" can be understood as not necessarily intended to convey an exclusive set of factors, but can instead, depending, at least in part, on the context, allow for the presence of other factors that are not necessarily explicitly described.

[0092] like Figure 1-Figure 4As shown, a method for obtaining green electricity and green certificates based on curve tracing includes the following steps:

[0093] S1, data collection: real-time acquisition of electricity data at the power production and consumption ends;

[0094] S2, curve construction: generate green electricity production curve and electricity consumption curve respectively;

[0095] S3, curve matching and tracking: determine the matching relationship between the electricity consumption curve and the green electricity production curve;

[0096] S4, calculation of green electricity and green certificates: calculate the amount of green electricity and generate green certificates based on the results of curve matching and tracking;

[0097] S5, data storage and management: storage and management of relevant data, including collected electricity data, curve construction results, curve matching and tracking information, and green electricity and green certificate calculation results.

[0098] In order to verify the effect of the green electricity and green certificate acquisition method in the present invention, this embodiment assumes that a green electricity and green certificate acquisition system based on curve tracing is implemented in a medium-sized urban area, which includes multiple distributed solar power stations, wind farms and various types of electricity users, such as industrial parks, commercial centers, residential communities, etc.

[0099] like Figure 1 The specific scenario of data collection is shown. At the power production end, such as solar power stations and wind farms, high-precision sensors are widely installed next to power generation equipment to collect real-time power generation P at fixed time intervals of 1 minute. g (t) and the corresponding timestamp t i At the power consumption end, such as industrial parks, commercial centers, and residential areas, smart meters are installed near power-consuming equipment and also collect power consumption P at 1-minute intervals. c (t) and timestamp t i The collected data is transmitted to the central processing unit for processing via wired or wireless communication. The details are as follows:

[0100] 1. Install high-precision sensors at power production ends such as solar power stations and wind farms to collect power generation data P in real time at fixed intervals of 1 minute. g (t) and the corresponding timestamp t i The total amount of data collected is recorded as D, where n is the number of data points collected. Assuming that the total collection time is one day (T = 24 × 60 minutes) and the collection time interval is 1 minute (Δt = 1 minute), then:

[0101]

[0102] 2. In order to improve the accuracy of the data, consider introducing a data noise level of σ = 0.05, and the actual collected data is:

[0103] P g (t i )+∈ i ;

[0104] where ∈ i is a random noise with a mean of 0 and a standard deviation of σ. At the same time, environmental factors such as temperature T e 、Humidity e The influence of etc. on the power generation is expressed as function:

[0105] f e (T e , H e )=0.03×T e -0.02×H e ;

[0106] The corrected collected data is:

[0107] P g (t i )+∈i+f e (T e , H e );

[0108] The fluctuation range of power generation is [P g,min =5kW, P g,max =80kW], the rate of change of generated power is expressed as:

[0109]

[0110] 3. Install smart meters at the power consumption end, such as at each user location, and also collect power consumption P at 1-minute intervals. c (t) and timestamp t i , the actual collected data is:

[0111] P c (t i )+δ i ;

[0112] δ i is a random noise with a mean of 0 and a standard deviation of σ = 0.05, which is corrected to:

[0113] P c (t i )+δ i +f e (T e , H e );

[0114] The fluctuation range of power consumption is [P c,min =2kW, P c,max =60kW], the rate of change of power consumption is:

[0115]

[0116] 4. The total amount of data collected D is expressed as:

[0117]

[0118] Figure 2 The curve construction process is shown in detail. Based on the collected original data points of power generation and power consumption, the green power production curve C is constructed using the curve fitting algorithm. g (t) and power consumption curve C c (t). The green electricity production curve reflects the output power changes of renewable energy power generation equipment at different times, while the power consumption curve shows the power consumption of users in different time periods. Fitting parameter θ g and θ c It is determined by minimizing the mean square error so that the fitting curve can reflect the trend of the actual data as accurately as possible. In this example, the green power production curve is fitted by a quadratic polynomial, and the power consumption curve is fitted by a cubic polynomial. The specific data in the example are as follows:

[0119] Table 1 Green electricity production curve and electricity consumption curve within 24 hours

[0120]

[0121]

[0122] The curve construction module uses advanced mathematical algorithms and data processing techniques to clean the collected data. During the cleaning process, the outliers are judged according to the criteria (the deviation from the mean exceeds k δ = 2.5, where {k} = 2.5 is a constant) the proportion of outliers removed is p a =0.03, the screening threshold is T s =40kW.

[0123] Then, the green electricity production curve C is constructed by using the curve fitting algorithm. g (t) and power consumption curve C c (t). For example, for the green electricity production curve, a quadratic polynomial is used for fitting:

[0124] C g (t) = f g (t,θ g );

[0125] where θ g =(θ g1 ,θ g2 ,…,θ gm ) is the fitting parameter and the fitting parameter θ is determined by minimizing the mean square error g , expressed as:

[0126]

[0127] C g (t) = θ g1 t 2 +θ g2 t+θ g3 ;

[0128] For the power consumption curve, a cubic polynomial is used for fitting:

[0129] C c (t) = f c (t,θ c );

[0130] where θ c =(θ c1 ,θ c2 ,…,θ cm ) is the fitting parameter and the fitting parameter θ is determined by minimizing the mean square error c , expressed as:

[0131]

[0132] C c (t) = θ c1 t 3 +θ c2 t 2 +θ c3 t+θ c4 .

[0133] Figure 3 The principle of curve matching and tracking is demonstrated. A curve matching algorithm based on dynamic time warping (DTW) is used to match and track the power consumption curve and the green power production curve. The best matching segment is determined by calculating the minimum cumulative distance between the two curves. The matching function is used to measure the degree of matching. The introduction of weight factors can improve the accuracy of matching. The importance of different time points is reflected by the weight factors.

[0134] The details are as follows:

[0135] 1. Use the curve matching algorithm based on dynamic time warping (DTW) to match and track the power consumption curve with the green power production curve. By calculating the minimum cumulative distance d(C g (t), Cc (t)), determine the best matching segment in the time interval [t1, t2]. Let the matching function be:

[0136]

[0137] Among them, the distance

[0138] 2. In order to improve the accuracy of matching, a weight factor ω(t) is introduced. For example, during the daytime (8:00-18:00), ω(t)=1.1, and during the nighttime (18:00-8:00 the next day), ω(t)=0.9, indicating the importance of different time points. At this time, the distance function is corrected to:

[0139]

[0140] Figure 4 The process of calculating green electricity and green certificates is shown. First, the results of curve matching and tracking are input, then the average power is calculated, and then the amount of green electricity is calculated based on the average power. Then, green certificates are generated based on the amount of green electricity. If the difference in the value of green electricity in different time periods is considered, the amount of green electricity will be corrected. Finally, the calculation results of green electricity and green certificates are output. The details are as follows:

[0141] 1. Calculate the amount of green electricity E actually used by the user based on the results of curve matching and tracking g Assume that the average power in the matching interval is P avg , time length ΔT = 8 hours, then:

[0142] E g =P avg ×ΔT;

[0143] The average power is expressed as:

[0144]

[0145] Among them, P match (t) is the power curve within the matching interval.

[0146] To calculate the average power more accurately, numerical integration methods such as the trapezoidal rule are used:

[0147]

[0148] in

[0149] 2. Then, the corresponding green certificates are generated according to the amount of green electricity. The number of green certificates G is proportional to the amount of green electricity. Assuming the proportional coefficient k = 0.8, that is:

[0150] G=k×E g ;

[0151] Considering the difference in green electricity value in different time periods, the time weight function ω(t) is introduced. Assuming that the green electricity value is higher during the peak period (12:00-16:00) t peak Higher, weighted by ω peak =1.3, trough period (0:00-6:00)t valley Lower, weighted by ω valley =0.7, then the amount of green electricity can be further expressed as:

[0152]

[0153] Data storage and management:

[0154] 1. Store the collected data, curve construction results, matching tracking information, green electricity and green certificate calculation results, etc. in a high-performance database. Huffman coding is used for data compression. Assuming that the frequency of character occurrence is f b =(0.25, 0.2, 0.15, 0.3, 0.2), the corresponding code length is l c =(2,3,4,3,3), then the average code length is:

[0155] L=∑ e f c l c =0.25×2+0.2×3+0.15×4+0.2×3+0.2×3=2.9;

[0156] Assume that the original data size is S original =5000GB, the compressed data size is S compressed =2000GB, the compression ratio is:

[0157]

[0158] 2. Use the data management system to regularly back up these data, with a backup frequency of f b = Every hour, the update interval is Δt u = Every 15 minutes, the time complexity of the maintenance operation is O(M) = O(nlogn). Assuming that the data growth rate in the database is r = 0.08, the amount of data backed up is:

[0159]

[0160] 3. Use a distributed database architecture with N data shards f =20, the number of copies is N r =3 to improve storage efficiency and query speed and ensure data security and integrity.

[0161] Through the above specific implementation methods, green electricity and green certificates can be obtained more accurately in practical applications, scientific energy management can be achieved, the development of green energy can be promoted, the stability of the energy system can be improved, energy costs and environmental impacts can be reduced, and stronger support can be provided for the sustainable development of the energy field.

[0162] like Figure 5 As shown, a green electricity and green certificate acquisition system based on curve tracing is used to implement the above-mentioned green electricity and green certificate acquisition method based on curve tracing, including the following modules:

[0163] Data acquisition module: real-time acquisition of electricity data at the power production and consumption ends;

[0164] Curve construction module: Generate green electricity production curve and electricity consumption curve respectively;

[0165] Matching tracking module: determines the matching relationship between the electricity consumption curve and the green electricity production curve;

[0166] Calculation module: calculates the amount of green electricity and generates green certificates based on the results of curve matching and tracking;

[0167] Storage and management module: stores and manages relevant data, including collected electricity data, curve construction results, curve matching and tracking information, and green electricity and green certificate calculation results.

[0168] The present invention covers any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention. In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without the description of these details. In addition, in order to avoid unnecessary confusion about the essence of the present invention, well-known methods, processes, procedures, components and circuits are not described in detail.

[0169] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for obtaining green electricity and green certificates based on curve tracing, characterized in that: The following steps are involved: S1, data collection: real-time acquisition of electricity data at the power production and consumption ends; S2, curve construction: generate green electricity production curve and electricity consumption curve respectively; S3, curve matching and tracking: determine the matching relationship between the electricity consumption curve and the green electricity production curve; S4, Green electricity and green certificate calculation: Calculate the amount of green electricity and generate green certificates based on the results of curve matching and tracking: S5, data storage and management: storage and management of relevant data, including collected electricity data, curve construction results, curve matching and tracking information, and green electricity and green certificate calculation results.

2. According to the method for obtaining green electricity and green certificates based on curve tracing according to claim 1, it is characterized in that: The data collection in S1 includes: S11, data collection: Through sensors and smart meter devices distributed at the power production and consumption ends, the power data is collected in real time at fixed time intervals. The total amount of power data collected is expressed as: Among them, D is the total amount of power data, P g (t i ) is the timestamp t i The power generation, P c (t i ) is the timestamp t i The power consumption is, n is the number of data points collected; Among them, Δt is the collection time interval, and T is the total collection time; S12, data preprocessing: introducing data noise level σ, the actual collected power data is expressed as: P g (t i )+∈ i and P c (t i )+δ i ; Among them, ∈ i and δ i is a random noise with a mean of 0 and a standard deviation of σ; S13, data correction: correct the collected power data, expressed as: P g (t i ) + ∈ i + f e (T e ,H e ) and P c (t i ) + δ i + f e (T e ,H e ); Among them, f e (T e , H e ) is a function of the impact on power generation and power consumption, T e is temperature, H e for humidity; S14, calculate the rate of change: Assume that the fluctuation range of the generated power is [P g,min , P g,max ], the fluctuation range of power consumption is [P c,min , P c,max ], calculate the rate of change of power generation and power consumption, including: The rate of change of power generation: The rate of change of electric power:

3. According to claim 2, a method for obtaining green electricity and green certificates based on curve tracing is characterized in that: The curve construction in S2 includes: S21, Green power production curve construction: The green power production curve reflects the output power changes of renewable energy power generation equipment at different times, expressed as: C g (t)=f g (t,θ g ); Among them, θ g =(θ g1 ,θ g2 ,…,θ gm ) are fitting parameters; The fitting parameter θ g Determined by minimizing the mean square error, expressed as: S22, power consumption curve construction: The power consumption curve shows the user's power consumption in each time period, expressed as: C c (t)=f c (t,θ c ); Among them, θ c =(θ c1 ,θ c2 ,…,θ cm ) are fitting parameters; The fitting parameter θ c Determined by minimizing the mean square error, expressed as: S23, curve fitting: The green electricity production curve is fitted by a quadratic polynomial, and the electricity consumption curve is fitted by a cubic polynomial, expressed as: C g (t)=θ g1 t 2 +θ g2 t+θ g3 ; C c (t)=θ c1 t 3 +θ c2 t 2 +θ c3 t+θ c4 。 4. The method for obtaining green electricity and green certificates based on curve tracing according to claim 3 is characterized in that: The curve matching and tracking in S3 adopts a curve matching algorithm based on dynamic time warping to match and track the power consumption curve with the green power production curve, and calculates the minimum cumulative distance d(C g (t), C c (t)), determine the best matching segment [t1, t2] in the time interval, the matching function is M(t1, t2), expressed as: The distance d(C g (t), C c (t)) is calculated by a dynamic programming algorithm, including: Define the cumulative distance matrix: Define a cumulative distance matrix D[i, j], expressed as: D[i,j]=d(P g (t i ),P c (t i ))+min(D[i-1,j],D[i,j-1],D[i-1,j-1]); Distance measurement: The distance measurement between the electricity consumption curve and the green electricity production curve adopts the Euclidean distance, which is expressed as: Function modification: The weight factor ω(t) is introduced to indicate the importance of different time points. The distance function is modified as follows:

5. A method for obtaining green electricity and green certificates based on curve tracing according to claim 4, characterized in that: The calculation of green electricity and green certificates in S4 includes: S41, calculating the amount of green electricity actually used by the user: according to the results of curve matching and tracking, the amount of green electricity actually used by the user is calculated. g , expressed as: AND g =P avg ×ΔT; Among them, P avg is the average power in the matching interval, ΔT is the time length; Among them, P match (t) is the power curve within the matching interval; S42, optimize average power: the average power is calculated by numerical integration method, expressed as: S43, generating corresponding green certificates: generating corresponding green certificates according to the amount of green electricity, the amount of green certificates G is proportional to the amount of green electricity, expressed as: G=k×E g ; Where k is the proportionality coefficient; S44, introduce time weight function: Considering the difference in green electricity value in different time periods, introduce time weight function ω(t), then the green electricity quantity correction is expressed as: S45, Application of weights in different time periods: Assume that the value of green electricity is in the peak period t peak The weight is ω peak , low period t valley The weight is ω valley , then the amount of green electricity is expressed as:

6. A method for obtaining green electricity and green certificates based on curve tracing according to claim 5, characterized in that: The data storage and management in S5 stores the relevant data in the database, and uses data compression and indexing technology to optimize storage efficiency and query speed. At the same time, the relevant data is regularly backed up, updated and maintained, with a backup frequency of f b , the update time interval is Δt u , the time complexity of the maintenance operation is O(M).

7. A method for obtaining green electricity and green certificates based on curve tracing according to claim 6, characterized in that: The compression ratio of the data compression is expressed as: Among them, S original is the original data size, S compressed is the compressed data size; Data compression uses Huffman coding, assuming the frequency of character occurrence is f b , then the average coding length is expressed as: L=∑ e in c the c ; Among them, l c is the encoding length of character c.

8. The method for obtaining green electricity and green certificates based on curve tracing according to claim 7 is characterized in that: The data volume of the related data backup is expressed as: Where r is the data growth rate in the database.

9. A green electricity and green certificate acquisition system based on curve tracing, used to implement a green electricity and green certificate acquisition method based on curve tracing as described in any one of claims 1 to 9, characterized in that: Includes the following modules: Data acquisition module: real-time acquisition of electricity data at the power production and consumption ends; Curve construction module: Generate green electricity production curve and electricity consumption curve respectively; Matching tracking module: determines the matching relationship between the electricity consumption curve and the green electricity production curve; Calculation module: calculates the amount of green electricity and generates green certificates based on the results of curve matching and tracking; Storage and management module: stores and manages relevant data, including collected electricity data, curve construction results, curve matching and tracking information, and green electricity and green certificate calculation results.

Citation Information

Cited By

  • Data processing method, system, device, equipment, medium and product

    CN120950992A