CN117195320B - Safety method for generating photovoltaic module energy data through big data image - Google Patents
Safety method for generating photovoltaic module energy data through big data image Download PDFInfo
- Publication number
- CN117195320B CN117195320B CN202311165982.5A CN202311165982A CN117195320B CN 117195320 B CN117195320 B CN 117195320B CN 202311165982 A CN202311165982 A CN 202311165982A CN 117195320 B CN117195320 B CN 117195320B
- Authority
- CN
- China
- Prior art keywords
- image
- energy power
- new energy
- value
- photovoltaic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000012795 verification Methods 0.000 description 10
- 238000010248 power generation Methods 0.000 description 9
- 239000000428 dust Substances 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 101100217298 Mus musculus Aspm gene Proteins 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 230000017525 heat dissipation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Photovoltaic Devices (AREA)
Abstract
The invention provides a safety method for generating energy data of a photovoltaic module through a big data image, which comprises the following steps: s1, acquiring photovoltaic new energy power data; s2, converting the photovoltaic new energy power data obtained in the step S1 into photovoltaic new energy power image data; and S3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processing data. The invention can ensure the safety of the collected photovoltaic new energy power data and prevent potential safety hazards.
Description
Technical Field
The invention relates to the technical field of electric power data, in particular to a safety method for generating energy data of a photovoltaic module through a big data image.
Background
Photovoltaic power generation is a technology that uses the photovoltaic effect of a semiconductor interface to directly convert light energy into electrical energy. The solar energy power generation system mainly comprises three parts of a solar panel (assembly), a controller and an inverter, wherein the main parts are composed of electronic components. The solar cells are packaged and protected after being connected in series to form a large-area solar cell module, and then the solar cell module is matched with components such as a power controller and the like to form the photovoltaic power generation device. In order to meet the requirement of photovoltaic power generation network access, real-time monitoring and information acquisition are required to be carried out on photovoltaic power generation, so that the stability of a photovoltaic power generation system is guaranteed, and photovoltaic power generation real-time monitoring data comprise: the system working environment meteorological parameters mainly comprise temperature, solar radiation intensity (solar irradiance), wind speed and disaster weather prediction; secondly, working voltage, working current and the like of the solar panel; all the information is collected, processed, transmitted and stored by the power station monitoring system through a communication channel, so that the intelligent monitoring of the whole power station is achieved. Patent application number 2021114072397, name is "a photovoltaic power generation data acquisition device for electric load prediction", discloses including the acquisition device body, a plurality of louvres have been seted up to the side of acquisition device body, dust filter screen is still installed to the side of acquisition device body, and dust filter screen just sets up to a plurality of louvres. The invention replaces the heat dissipation mechanism of the traditional collection device, prevents electronic parts in the device from working in a high-temperature environment for a long time, further ensures the working stability of the collection device, is beneficial to data collection of photovoltaic power generation, can also play a role in cleaning and dredging the dust filtering net, ensures the smoothness of the dust filtering net, and ensures that air in the collection device body can smoothly pass through the dust filtering net and flow with air in the external environment, thereby ensuring the heat dissipation performance of the collection device body. However, the invention does not perform safety processing on the collected photovoltaic data, and potential safety hazards of the data are easily caused.
Disclosure of Invention
The invention aims at least solving the technical problems in the prior art, and particularly creatively provides a safety method for generating energy data of a photovoltaic module through a big data image.
In order to achieve the above object, the present invention provides a safety method for generating energy data of a photovoltaic module through a big data image, comprising the steps of:
s1, acquiring photovoltaic new energy power data;
s2, converting the photovoltaic new energy power data obtained in the step S1 into photovoltaic new energy power image data;
and S3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processing data.
In a preferred embodiment of the invention, in step S2, the time-voltage profile, the time-current profile, the time-temperature profile, the time-solar irradiance profile are each in four pictures;
the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph and the time-solar irradiance curve graph are arbitrarily combined in three pictures respectively;
the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph and the time-solar irradiance curve graph are arbitrarily combined in two pictures respectively;
a time-voltage graph, a time-current graph, a time-temperature graph, a time-solar irradiance graph in one picture; each picture is the photovoltaic new energy power image.
In a preferred embodiment of the present invention, in step S3, after processing the photovoltaic new energy power image data, the method for obtaining the photovoltaic new energy power image processing data includes the following steps:
s31, judging whether the photovoltaic new energy power image is a gray image:
if the photovoltaic new energy power image is a gray image, the photovoltaic new energy power image is the photovoltaic new energy power gray image, and the next step is executed;
if the photovoltaic new energy power image is a non-gray image, converting the photovoltaic new energy power image into a photovoltaic new energy power gray image, and executing the next step;
s32, calculating an image value according to the photovoltaic new energy power image or the photovoltaic new energy power gray scale image to obtain the image value;
s33, generating a new photovoltaic new energy power image by utilizing the photovoltaic new energy power gray level image and the image value;
and S34, transmitting the new photovoltaic new energy power image to a photovoltaic new energy power management platform.
In a preferred embodiment of the present invention, in step S33, the method for generating a new photovoltaic new energy power image using the photovoltaic new energy power gray scale image and the image value includes:
s331, obtaining the bit number of the photovoltaic new energy power gray level image;
s332, obtaining the bit number of the image value according to the bit number of the photovoltaic new energy power gray scale image obtained in the step S331 and the image value in the step S32;
s333, combining the gray value in the photovoltaic new energy power gray image with the image value to obtain a new gray value;
and S334, obtaining a new photovoltaic new energy power image according to the new gray value.
In a preferred embodiment of the present invention, in step S332, the method for obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power gray scale image obtained in step S331 and the image value in step S32 includes the steps of:
s3321 step (S)The IMAGE values in step S32 are converted into binary IMAGE values, denoted as IMAGE 2 ,IMAGE 2 Representing binary image values;
s3322 judging the I IMAGE 2 Magnitude relation between || and || grayimage|:
if I IMAGE 2 ||=||GRAYimge||,||IMAGE 2 The method comprises the steps that the I represents the number of bits of a binary image value, the I GRAYImage I represents the number of bits of a photovoltaic new energy power gray scale image, the I represents the number of bits, and the binary image value is not operated;
if I IMAGE 2 ||>||GRAYimge||,||IMAGE 2 The method comprises the steps that the numerical value of a binary image is represented by the numerical value, the numerical value of a photovoltaic new energy power gray scale image is represented by the numerical value of the binary image, and the numerical value of the numerical value is represented by the numerical value of the binary image, so that the numerical value of the previous numerical value of the binary image is reserved;
if I IMAGE 2 ||<||GRAYimge||,||IMAGE 2 And adding an I IMAGE at the forefront or the rearmost of the binary IMAGE value if the I represents the number of bits of the binary IMAGE value, the I GRAYImage represents the number of bits of the photovoltaic new energy power gray scale IMAGE and the I represents the number of bits 2 The number of GRAYImage is 0 or 1.
In a preferred embodiment of the present invention, in step S333, the method for combining the gray value in the photovoltaic new energy power gray scale image with the image value to obtain the new gray scale value is as follows:
wherein GRAYImage 2 ' x, y represents a new gray value;
GRAYimge 2 (x, y) represents a binary value of the gray value at the image coordinates (x, y); x=1, 2, 3, … …, X, y=1, 2, 3, … …, Y, X representing the number of horizontal pixels of the image and Y representing the number of vertical pixels of the image;
representing binary operators, preferably miningExclusive or may be used as the exclusive or;
IMAGE 2 representing binary image values.
In summary, by adopting the technical scheme, the invention can ensure the safety of the collected photovoltaic new energy power data and prevent potential safety hazards.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
fig. 1 is a schematic block diagram of a flow of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
The invention provides a safety method for generating energy data of a photovoltaic module through a big data image, which is shown in figure 1 and comprises the following steps:
s1, acquiring photovoltaic new energy power data, wherein the photovoltaic new energy power data comprises t 1 ~t K Corresponding voltage value V in time range 1 ~V K Current value i 1 ~i K Temperature T 1 ~T K Irradiance of sun I 1 ~I K One or any combination of the above; t is t of 1 ~t K Corresponding voltage value V in time range 1 ~V K Current value i 1 ~i K Temperature T 1 ~T K Irradiance of sun I 1 ~I K The relationship of (2) is shown in Table 1.
TABLE 1 time to voltage, current, temperature and solar irradiance relationship
Time of day | t 1 | t 2 | t 3 | t 4 | t 5 | t 6 | t 7 | t 8 | t 9 | t 10 | t 11 | t 12 | …… | t K |
Voltage (V) | V 1 | V 2 | V 3 | V 4 | V 5 | V 6 | V 7 | V 8 | V 9 | V 10 | V 11 | V 12 | …… | V K |
Electric current | i 1 | i 2 | i 3 | i 4 | i 5 | i 6 | i 7 | i 8 | i 9 | i 10 | i 11 | i 12 | …… | i K |
Temperature (temperature) | T 1 | T 2 | T 3 | T 4 | T 5 | T 6 | T 7 | T 8 | T 9 | T 10 | T 11 | T 12 | …… | T K |
Solar irradiance | I 1 | I 2 | I 3 | I 4 | I 5 | I 6 | I 7 | I 8 | I 9 | I 10 | I 11 | I 12 | …… | I K |
Wherein t is 1 Time 1, t 2 Time t represents time 2 3 Time 3, t 4 Time 4, t 5 Indicating time 5, t 6 Time t represents time 6 7 Time 7, t 8 Represents time 8, t 9 Indicating time 9, t 10 Time 10, t 11 Time 11, t 12 Time 12, t K Indicating the Kth time;
V 1 representing t 1 Voltage value at moment of time V 2 Representing t 2 Voltage value at moment of time V 3 Representing t 3 Voltage value at moment of time V 4 Representing t 4 Voltage value at moment of time V 5 Representing t 5 Voltage value at moment of time V 6 Representing t 6 Voltage value at moment of time V 7 Representing t 7 Voltage value at moment of time V 8 Representing t 8 Voltage value at moment of time V 9 Representing t 9 Voltage value at moment of time V 10 Representing t 10 Voltage value at moment of time V 11 Representing t 11 Voltage value at moment of time V 12 Representing t 12 Voltage value at moment of time V K Representing t K A voltage value at a time;
i 1 representing t 1 Current value at time, i 2 Representing t 2 Current value at time, i 3 Representing t 3 Current value at time, i 4 Representing t 4 Current value at time, i 5 Representing t 5 Current value at time, i 6 Representing t 6 Current value at time, i 7 Representing t 7 Current value at time, i 8 Representing t 8 Current value at time, i 9 Representing t 9 Current value at time, i 10 Representing t 10 Current value at time, i 11 Representing t 11 Current value at time, i 12 Representing t 12 Current value at time, i K Representing t K A current value at a time;
T 1 representing t 1 Temperature value of time, T 2 Representing t 2 Temperature value of time, T 3 Representing t 3 Temperature value of time, T 4 Representing t 4 Temperature value of time, T 5 Representing t 5 Temperature value of time, T 6 Representing t 6 Temperature value of time, T 7 Representing t 7 Temperature value of time, T 8 Representing t 8 Temperature value of time, T 9 Representing t 9 Temperature value of time, T 10 Representing t 10 Temperature value of time, T 11 Representing t 11 Temperature value of time, T 12 Representing t 12 Temperature value of time, T K Representing t K A temperature value at a time;
I 1 representing t 1 Solar irradiance value at time, I 2 Representing t 2 Solar irradiance value at time, I 3 Representing t 3 Solar irradiance value at time, I 4 Representing t 4 Solar irradiance value at time, I 5 Representing t 5 Solar irradiance value at time, I 6 Representing t 6 Solar irradiance value at time, I 7 Representing t 7 Solar irradiance value at time, I 8 Representing t 8 Solar irradiance value at time, I 9 Representing t 9 Solar irradiance value at time, I 10 Representing t 10 Solar irradiance value at time, I 11 Representing t 11 Solar irradiance value at time, I 12 Representing t 12 Solar irradiance value at time, I K Representing t K Solar irradiance values at time.
S2, converting the photovoltaic new energy power data obtained in the step S1 into photovoltaic new energy power image data, wherein the photovoltaic new energy power image data comprises one or any combination of a time-voltage curve graph, a time-current curve graph, a time-temperature curve graph and a time-solar irradiance curve graph;
and S3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processing data.
In a preferred embodiment of the present invention, the method further includes step S5, where the photovoltaic new energy power management platform transmits the photovoltaic new energy power image processing data to the blockchain for storage.
In a preferred embodiment of the invention, in step S2, the time-voltage profile, the time-current profile, the time-temperature profile, the time-solar irradiance profile are each in four pictures; the four pictures are a1 st picture, a 2 nd picture, a 3 rd picture and a 4 th picture respectively, the corresponding time-voltage curve graph can be in the 1 st picture, the time-current curve graph can be in the 2 nd picture, the time-temperature curve graph can be in the 3 rd picture, and the time-solar irradiance curve can be in the 4 th picture;
the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph and the time-solar irradiance curve graph are arbitrarily combined in three pictures respectively; the three pictures are respectively a1 st picture, a 2 nd picture and a 3 rd picture, a corresponding time-voltage curve graph and a time-current curve graph can be in the 1 st picture, a time-temperature curve graph can be in the 2 nd picture, and a time-solar irradiance curve can be in the 3 rd picture; the corresponding time-voltage curve graph can be in picture 1, the time-current curve graph, the time-temperature curve graph can be in picture 2, and the time-solar irradiance curve can be in picture 3; the corresponding time-voltage curve graph can be in the 1 st picture, the time-current curve graph can be in the 2 nd picture, the time-temperature curve graph and the time-solar irradiance curve can be in the 3 rd picture; other types are not listed;
the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph and the time-solar irradiance curve graph are arbitrarily combined in two pictures respectively; the two pictures are a1 st picture and a 2 nd picture respectively, a corresponding time-voltage curve graph can be in the 1 st picture, and a time-current curve graph, a time-temperature curve graph and a time-solar irradiance curve graph can be in the 2 nd picture; the corresponding time-current graph may be in picture 1, and the time-voltage graph, the time-temperature graph, and the time-solar irradiance graph may be in picture 2; the corresponding time-voltage curve, time-current curve can be in picture 1, time-temperature curve, time-solar irradiance curve can be in picture 2; other types are not listed;
a time-voltage graph, a time-current graph, a time-temperature graph, a time-solar irradiance graph in one picture; each picture is the photovoltaic new energy power image.
In a preferred embodiment of the present invention, in step S3, after processing the photovoltaic new energy power image data, the method for obtaining the photovoltaic new energy power image processing data includes the following steps:
s31, judging whether the photovoltaic new energy power image is a gray image:
if the photovoltaic new energy power image is a gray image, the photovoltaic new energy power image is the photovoltaic new energy power gray image, and the next step is executed;
if the photovoltaic new energy power image is a non-gray image, converting the photovoltaic new energy power image into a photovoltaic new energy power gray image, and executing the next step;
s32, calculating an image value according to the photovoltaic new energy power image or the photovoltaic new energy power gray scale image to obtain the image value;
s33, generating a new photovoltaic new energy power image by utilizing the photovoltaic new energy power gray level image and the image value;
and S34, transmitting the new photovoltaic new energy power image to a photovoltaic new energy power management platform.
In a preferred embodiment of the present invention, in step S31, the method for converting the photovoltaic new energy power image into the photovoltaic new energy power gray scale image includes:
GRAYimge(x,y)=r(x,y)×η r +g(x,y)×η g +b(x,y)×η b ,
wherein grayimage (x, y) represents gray values at image coordinates (x, y); x=1, 2, 3, … …, X, y=1, 2, 3, … …, Y, X representing the number of horizontal pixels of the image and Y representing the number of vertical pixels of the image;
r (x, y) represents the red value at the image coordinates (x, y);
g (x, y) represents the green value at the image coordinates (x, y);
b (x, y) represents a blue value at an image coordinate (x, y);
η r coefficient values representing red values; η (eta) r +η g +η b =1,η r ∈[0,1];
η g Coefficient values representing green values; η (eta) g ∈[0,1];
η b Coefficient values representing blue values; η (eta) b ∈[0,1]。
In a preferred embodiment of the present invention, in step S32, the method for calculating the image value from the photovoltaic new energy power image to obtain the image value is as follows:
Imagecode=Imagecodeoperationmethod(newenergypowerimage),
the image represents an image value obtained by calculating an image value according to the photovoltaic new energy power image;
imagecodeoperation method () represents a photovoltaic new energy power image (image value) calculation method; preferably, a SHA1 digest algorithm is used;
newergypowerimage represents a photovoltaic new energy power image;
in step S32, the method for obtaining the image value according to the image value calculated by the photovoltaic new energy power gray scale image comprises the following steps:
Imagecode=Grayimagecodeoperationmethod(newenergypowergrayimage),
the image represents an image value obtained by calculating an image value according to the photovoltaic new energy power gray level image;
grayiagecodeoperation method () represents a photovoltaic new energy power gray scale image (image value) calculation method; preferably, a SHA1 digest algorithm is used;
the newergypowergrayimage represents a photovoltaic new energy power gray scale image.
In a preferred embodiment of the present invention, in step S33, the method for generating a new photovoltaic new energy power image using the photovoltaic new energy power gray scale image and the image value includes:
s331, obtaining the bit number of the photovoltaic new energy power gray level image;
s332, obtaining the bit number of the image value according to the bit number of the photovoltaic new energy power gray scale image obtained in the step S331 and the image value in the step S32;
s333, combining the gray value in the photovoltaic new energy power gray image with the image value to obtain a new gray value;
and S334, obtaining a new photovoltaic new energy power image according to the new gray value.
In a preferred embodiment of the present invention, in step S332, the method for obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power gray scale image obtained in step S331 and the image value in step S32 includes the steps of:
s3321 converting the IMAGE value in step S32 into a binary IMAGE value, denoted as IMAGE 2 ,IMAGE 2 Representing binary image values;
s3322 judging the I IMAGE 2 Magnitude relation between || and || grayimage|:
if I IMAGE 2 ||=||GRAYimge||,||IMAGE 2 The method comprises the steps that the I represents the number of bits of a binary image value, the I GRAYImage I represents the number of bits of a photovoltaic new energy power gray scale image, the I represents the number of bits, and the binary image value is not operated;
if I IMAGE 2 ||>||GRAYimge||,||IMAGE 2 The method comprises the steps that the numerical value of a binary image is represented by the numerical value, the numerical value of a photovoltaic new energy power gray scale image is represented by the numerical value of the binary image, and the numerical value of the numerical value is represented by the numerical value of the binary image, so that the numerical value of the previous numerical value of the binary image is reserved;
if I IMAGE 2 ||<||GRAYimge||,||IMAGE 2 And adding an I IMAGE at the forefront or the rearmost of the binary IMAGE value if the I represents the number of bits of the binary IMAGE value, the I GRAYImage represents the number of bits of the photovoltaic new energy power gray scale IMAGE and the I represents the number of bits 2 The number of GRAYImage is 0 or 1. Preferably, the forefront of the binary platform IMAGE value is added with the IMAGE value 2 The number 0 is from GRAYImage.
In a preferred embodiment of the present invention, in step S333, the method for combining the gray value in the photovoltaic new energy power gray scale image with the image value to obtain the new gray scale value is as follows:
wherein GRAYImage 2 ' x, y represents a new gray value;
GRAYimge 2 (x, y) represents a binary value of the gray value at the image coordinates (x, y); x=1, 2, 3, … …, X, y=1, 2, 3, … …, Y, X representing the number of horizontal pixels of the image and Y representing the number of vertical pixels of the image;
representing binary operators, preferably using exclusive-or, or alternatively using exclusive-or;
IMAGE 2 representing binary image values.
In a preferred embodiment of the present invention, in step S334, the following steps are included:
s3341, forming a new photovoltaic new energy power image by all the new gray values;
and S3342, taking the image value as the name of a new photovoltaic new energy power image.
In a preferred embodiment of the present invention, the method further includes step S4, transmitting the new photovoltaic new energy power image in step S3342 to the photovoltaic new energy power management platform.
In a preferred embodiment of the present invention, the method further includes step S5, after the photovoltaic new energy power management platform receives the transmitted new photovoltaic new energy power image, obtaining a photovoltaic new energy power platform image through the new photovoltaic new energy power image;
and acquiring the photovoltaic new energy power data according to the photovoltaic new energy power platform image.
In a preferred embodiment of the present invention, in step S5, the method for obtaining a photovoltaic new energy power platform image from a new photovoltaic new energy power image includes the steps of:
s51, acquiring the name of a new photovoltaic new energy power image;
and S52, generating a photovoltaic new energy power platform image by using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image.
In a preferred embodiment of the present invention, in step S52, the method for generating the photovoltaic new energy power platform image using the new photovoltaic new energy power image and the name of the new photovoltaic new energy power image is:
s521, obtaining the bit number of a new photovoltaic new energy power image;
s522, obtaining the number of bits of a new platform image value according to the number of bits of the new photovoltaic new energy power image obtained in the step S521 and the name in the step S51, wherein the name is the platform image value;
s523, combining the gray value in the new photovoltaic new energy power image with the new platform image value to obtain a new platform gray value;
and S524, obtaining a photovoltaic new energy power platform image according to the new platform gray value. In this step, in order to ensure that the photovoltaic new energy power platform image is the photovoltaic new energy power gray scale image in step S31, the tamper-proof verification is performed on the photovoltaic new energy power platform image, and the tamper-proof verification method includes the following steps:
the first step, calculating an image verification value according to the image of the photovoltaic new energy power platform, and obtaining the image verification value by the method comprising the following steps:
Imagevalidationcode=Imagevalidationcodeoperationmethod(newenergypowermanagementimage),
the imagevalidization code represents an image verification value obtained by calculating the image verification value according to the image of the photovoltaic new energy power platform;
imagevalidlationcodeoperation method () represents an image verification value calculation method; preferably, a SHA1 digest algorithm is used;
the newergypowermanagementtime represents a photovoltaic new energy power platform image;
second, it is determined whether the image verification value is consistent with the platform image value (also the name of the new photovoltaic new energy power image in step S51):
if the image verification value is consistent with the platform image value, the photovoltaic new energy power management platform receives the transmitted new photovoltaic new energy power image and is not tampered;
if the image verification value is inconsistent with the platform image value, the new photovoltaic new energy power management platform receives the transmitted new photovoltaic new energy power image and is tampered.
In a preferred embodiment of the present invention, in step S522, according to the number of bits of the new photovoltaic new energy power image obtained in step S521 and the name in step S51, the name is the platform image value, and the method for obtaining the number of bits of the new platform image value includes the following steps:
s5221, converting the platform IMAGE value in step S522 into a binary platform IMAGE value, denoted as IMAGE' 2 ,IMAGE′ 2 Representing binary platform image values;
s5322, judging I IMAGE' 2 The GRAYImage's are the same as the GRAYImage's; magnitude relation between the I:
if I IMAGE' 2 ||=||GRAYimge″||,||IMAGE′ 2 The method comprises the steps that the I represents the number of bits of a binary system platform image value, the I GRAYIge' I represents the number of bits of a new photovoltaic new energy power image received by a photovoltaic new energy power management platform, the I represents the number of bits, and the binary system image value is not operated;
if I IMAGE' 2 ||>||GRAYimge″||,||IMAGE′ 2 The method comprises the steps that the I represents the number of bits of a binary platform image value, the I GRAYIstage' represents the number of bits of a new photovoltaic new energy power image received by a photovoltaic new energy power management platform, the I represents the number of bits, and the first I GRAYIstage of the binary platform image value is reserved;
if I IMAGE' 2 ||<||GRAYimge″||,||IMAGE′ 2 The I represents the number of bits of the binary platform image value, and GRAYIge' represents the new received by the photovoltaic new energy power management platformThe number of bits of the photovoltaic new energy power IMAGE, namely the number of bits is calculated, and the IMAGE is added at the forefront or the rearmost of the binary platform IMAGE value 2 'GRAYImage' 0 or 1. Preferably, the forefront of the binary platform IMAGE value is added with the IMAGE value 2 'GRAYImage' 0.
In a preferred embodiment of the present invention, in step S523, the gray value in the new photovoltaic new energy power image is combined with the new platform image value to obtain a new platform gray value:
wherein GRAYImage 2 "x, y" represents the new plateau gray value;
GRAYimge 2 (x, y) represents a binary value of the gray value at the received new photovoltaic new energy power image coordinates (x, y); x=1, 2, 3, … …, X, y=1, 2, 3, … …, Y, X representing the number of horizontal pixels of the image and Y representing the number of vertical pixels of the image;
representing binary operators, preferably using exclusive-or, or alternatively using exclusive-or;
IMAGE′ 2 representing binary platform image values.
And forming the photovoltaic new energy power platform image by all the new platform gray values.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
Claims (2)
1. A safety method for generating photovoltaic module energy data through big data images, which is characterized by comprising the following steps:
s1, acquiring photovoltaic new energy power data;
s2, converting the photovoltaic new energy power data obtained in the step S1 into photovoltaic new energy power image data;
s3, processing the photovoltaic new energy power image data to obtain photovoltaic new energy power image processing data; after processing the photovoltaic new energy power image data, the method for obtaining the photovoltaic new energy power image processing data comprises the following steps:
s31, judging whether the photovoltaic new energy power image is a gray image:
if the photovoltaic new energy power image is a gray image, the photovoltaic new energy power image is the photovoltaic new energy power gray image, and the next step is executed;
if the photovoltaic new energy power image is a non-gray image, converting the photovoltaic new energy power image into a photovoltaic new energy power gray image, and executing the next step;
s32, calculating an image value according to the photovoltaic new energy power image or the photovoltaic new energy power gray scale image to obtain the image value;
s33, generating a new photovoltaic new energy power image by utilizing the photovoltaic new energy power gray level image and the image value;
in step S31, the method for converting the photovoltaic new energy power image into the photovoltaic new energy power gray scale image includes:
GRAYimge(x,y)=r(x,y)×η r +g(x,y)×η g +b(x,y)×η b ,
wherein grayimage (x, y) represents gray values at image coordinates (x, y); x=1, 2, 3, … …, X, y=1, 2, 3, … …, Y, X representing the number of horizontal pixels of the image and Y representing the number of vertical pixels of the image;
r (x, y) represents the red value at the image coordinates (x, y);
g (x, y) represents the green value at the image coordinates (x, y);
b (x, y) represents a blue value at an image coordinate (x, y);
η r coefficient values representing red values; η (eta) r +η g +η b =1,η r ∈[0,1];
η g Coefficient values representing green values; η (eta) g ∈[0,1];
η b Coefficient values representing blue values; η (eta) b ∈[0,1];
In step S32, an image value is calculated according to the photovoltaic new energy power image, and the method for obtaining the image value is as follows:
Imagecode=Imagecodeoperationmethod(newenergypowerimage),
the image represents an image value obtained by calculating an image value according to the photovoltaic new energy power image;
imagecodeoperation method () represents the photovoltaic new energy power image calculation method;
newergypowerimage represents a photovoltaic new energy power image;
in step S32, the method for obtaining the image value according to the image value calculated by the photovoltaic new energy power gray scale image comprises the following steps:
Imagecode=Grayimagecodeoperationmethod(newenergypowergrayimage),
the image represents an image value obtained by calculating an image value according to the photovoltaic new energy power gray level image;
grayiagecodeoperation method () represents a photovoltaic new energy power gray scale image calculation method;
the newergypowergrayimage represents a photovoltaic new energy power gray scale image;
in step S33, the method for generating a new photovoltaic new energy power image by using the photovoltaic new energy power gray scale image and the image value includes:
s331, obtaining the bit number of the photovoltaic new energy power gray level image;
s332, obtaining the bit number of the image value according to the bit number of the photovoltaic new energy power gray scale image obtained in the step S331 and the image value in the step S32;
s333, combining the gray value in the photovoltaic new energy power gray image with the image value to obtain a new gray value;
s334, obtaining a new photovoltaic new energy power image according to the new gray value;
in step S332, the method for obtaining the number of bits of the image value according to the number of bits of the photovoltaic new energy power gray scale image obtained in step S331 and the image value in step S32 includes the following steps:
s3321 converting the IMAGE value in step S32 into a binary IMAGE value, denoted as IMAGE 2 ,IMAGE 2 Representing binary image values;
s3322 judging the I IMAGE 2 Magnitude relation between || and || grayimage|:
if I IMAGE 2 ||=||GRAYimge||,||IMAGE 2 The method comprises the steps that the I represents the number of bits of a binary image value, the I GRAYImage I represents the number of bits of a photovoltaic new energy power gray scale image, the I represents the number of bits, and the binary image value is not operated;
if I IMAGE 2 ||>||GRAYimge||,||IMAGE 2 The method comprises the steps that the numerical value of a binary image is represented by the numerical value, the numerical value of a photovoltaic new energy power gray scale image is represented by the numerical value of the binary image, and the numerical value of the numerical value is represented by the numerical value of the binary image, so that the numerical value of the previous numerical value of the binary image is reserved;
if I IMAGE 2 ||<||GRAYimge||,||IMAGE 2 And adding an I IMAGE at the forefront or the rearmost of the binary IMAGE value if the I represents the number of bits of the binary IMAGE value, the I GRAYImage represents the number of bits of the photovoltaic new energy power gray scale IMAGE and the I represents the number of bits 2 The number of GRAYImage is 0 or 1;
in step S333, the method for combining the gray value in the photovoltaic new energy power gray scale image with the image value to obtain the new gray scale value includes:
wherein GRAYImage 2 ' x, y represents a new gray value;
GRAYimge 2 (x, y) represents a binary value of the gray value at the image coordinates (x, y); x=1, 2, 3, … …, X, y=1, 2, 3, … …, Y, X tableThe number of the horizontal pixels of the image is shown, and Y represents the number of the vertical pixels of the image;
representing a binary operator;
IMAGE 2 representing binary image values;
in step S334, the method includes the following steps:
s3341, forming a new photovoltaic new energy power image by all the new gray values;
and S3342, taking the image value as the name of a new photovoltaic new energy power image.
2. The method according to claim 1, wherein in step S2, the time-voltage graph, the time-current graph, the time-temperature graph, and the time-solar irradiance graph are respectively in four pictures;
the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph and the time-solar irradiance curve graph are arbitrarily combined in three pictures respectively;
the time-voltage curve graph, the time-current curve graph, the time-temperature curve graph and the time-solar irradiance curve graph are arbitrarily combined in two pictures respectively;
a time-voltage graph, a time-current graph, a time-temperature graph, a time-solar irradiance graph in one picture; each picture is the photovoltaic new energy power image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311165982.5A CN117195320B (en) | 2023-09-11 | 2023-09-11 | Safety method for generating photovoltaic module energy data through big data image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311165982.5A CN117195320B (en) | 2023-09-11 | 2023-09-11 | Safety method for generating photovoltaic module energy data through big data image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117195320A CN117195320A (en) | 2023-12-08 |
CN117195320B true CN117195320B (en) | 2024-04-05 |
Family
ID=88999375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311165982.5A Active CN117195320B (en) | 2023-09-11 | 2023-09-11 | Safety method for generating photovoltaic module energy data through big data image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117195320B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116628A (en) * | 2013-01-31 | 2013-05-22 | 新浪网技术(中国)有限公司 | Image file digital signature and judgment method and judgment device of repeated image file |
CN106058917A (en) * | 2016-05-31 | 2016-10-26 | 国网山东省电力公司济南供电公司 | Dynamic economic dispatching method for power system considering photovoltaic power generation |
CN106372749A (en) * | 2016-08-29 | 2017-02-01 | 南京国电南自美卓控制系统有限公司 | Ultrashort-term photovoltaic power prediction method based on cloud change analysis |
WO2017155421A1 (en) * | 2016-03-07 | 2017-09-14 | Centro De Investigação Em Energia Ren - State Grid, S.A | Method and system for forecasting the power output of a group of photovoltaic power plants and managing the integration of said power output into a power grid |
CN108108736A (en) * | 2017-12-22 | 2018-06-01 | 晶科电力科技股份有限公司 | A kind of solar energy photovoltaic panel spot identification method |
CN110365651A (en) * | 2019-06-17 | 2019-10-22 | 贵州黔驰信息股份有限公司 | A method of the data distribution based on image recognition |
CN111652199A (en) * | 2020-08-04 | 2020-09-11 | 湖南莱博赛医用机器人有限公司 | Image processing method, device, equipment and medium |
CN113343847A (en) * | 2021-06-04 | 2021-09-03 | 深圳供电局有限公司 | Abnormal data detection method and device, computer equipment and readable storage medium |
CN115223077A (en) * | 2022-06-27 | 2022-10-21 | 湖南太合羽信数据科技有限公司 | Intelligent service method and system for edge video analysis facing to power grid edge side |
CN116264009A (en) * | 2022-06-21 | 2023-06-16 | 中兴通讯股份有限公司 | Data processing method, data processing terminal and storage medium of photovoltaic system |
-
2023
- 2023-09-11 CN CN202311165982.5A patent/CN117195320B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116628A (en) * | 2013-01-31 | 2013-05-22 | 新浪网技术(中国)有限公司 | Image file digital signature and judgment method and judgment device of repeated image file |
WO2017155421A1 (en) * | 2016-03-07 | 2017-09-14 | Centro De Investigação Em Energia Ren - State Grid, S.A | Method and system for forecasting the power output of a group of photovoltaic power plants and managing the integration of said power output into a power grid |
CN106058917A (en) * | 2016-05-31 | 2016-10-26 | 国网山东省电力公司济南供电公司 | Dynamic economic dispatching method for power system considering photovoltaic power generation |
CN106372749A (en) * | 2016-08-29 | 2017-02-01 | 南京国电南自美卓控制系统有限公司 | Ultrashort-term photovoltaic power prediction method based on cloud change analysis |
CN108108736A (en) * | 2017-12-22 | 2018-06-01 | 晶科电力科技股份有限公司 | A kind of solar energy photovoltaic panel spot identification method |
CN110365651A (en) * | 2019-06-17 | 2019-10-22 | 贵州黔驰信息股份有限公司 | A method of the data distribution based on image recognition |
CN111652199A (en) * | 2020-08-04 | 2020-09-11 | 湖南莱博赛医用机器人有限公司 | Image processing method, device, equipment and medium |
CN113343847A (en) * | 2021-06-04 | 2021-09-03 | 深圳供电局有限公司 | Abnormal data detection method and device, computer equipment and readable storage medium |
CN116264009A (en) * | 2022-06-21 | 2023-06-16 | 中兴通讯股份有限公司 | Data processing method, data processing terminal and storage medium of photovoltaic system |
CN115223077A (en) * | 2022-06-27 | 2022-10-21 | 湖南太合羽信数据科技有限公司 | Intelligent service method and system for edge video analysis facing to power grid edge side |
Non-Patent Citations (1)
Title |
---|
《基于热成像与灰度转换技术的光伏阵列缺陷检测方法》;柳扬等;电子测量技术;20210608;第44卷(第11期);96-102 * |
Also Published As
Publication number | Publication date |
---|---|
CN117195320A (en) | 2023-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
d'Alessandro et al. | An automated high-granularity tool for a fast evaluation of the yield of PV plants accounting for shading effects | |
Nguyen et al. | Automated quantification of solar photovoltaic potential in cities Overview: A new method to determine a city's solar electric potential by analysis of a distribution feeder given the solar exposure and orientation of rooftops. | |
CN108281959B (en) | Backbone net rack optimization method of high-proportion renewable energy power system | |
CN104166999B (en) | Cloud cluster extracting method based on strength layering of foundation cloud pictures | |
KR102481611B1 (en) | Solar power curve modeling method and apparatus, and computer device and storage medium | |
CN113485432A (en) | Photovoltaic power station electroluminescence intelligent diagnosis system and method based on unmanned aerial vehicle | |
CN117195320B (en) | Safety method for generating photovoltaic module energy data through big data image | |
CN117200971B (en) | New energy power data transmission method for photovoltaic module based on block chain | |
CN113011477B (en) | Cleaning and completing system and method for solar irradiation data | |
CN109583753B (en) | Intelligent power grid monitoring system based on regional internal transaction and control method thereof | |
CN114972225A (en) | Two-stage photovoltaic panel defect detection method based on deep learning | |
CN102375887A (en) | Method and device for converting TIF (Tagged Image File) format file | |
CN108173291B (en) | Distributed new energy intelligent power distribution method based on weather factors | |
CN112083279A (en) | Electric power automatic distributed information acquisition system and method | |
CN114281846B (en) | New energy power generation prediction method based on machine learning | |
CN111401689B (en) | Determination method, device and equipment for snowfall date of photovoltaic station and storage medium | |
CN114092838A (en) | Photovoltaic defect detection method based on deep learning target detection | |
CN117478064B (en) | Photovoltaic panel new energy power grid abnormality screening system based on electric power parameters | |
CN115035104B (en) | Photovoltaic panel shape intelligent prediction method and system based on multidimensional sensing | |
Yokozawa et al. | Solar radiation analysis on GIS considering influence of weather condition and partial shadow analyzed by high-resolution digital surface model | |
US20220352849A1 (en) | Location update method and apparatus of photovoltaic string | |
CN109636145B (en) | Intelligent power grid dispatching system based on block chain transaction and control method thereof | |
Chen et al. | Evaluation of Photovoltaic Utilization Potential of Urban Building Roof | |
CN115954925A (en) | Photovoltaic power generation system evaluation method and device | |
CN117478064A (en) | Photovoltaic panel new energy power grid abnormality screening system based on electric power parameters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |