Photovoltaic power data upload method

By generating success codes and combining with real-time power generation power P-t diagram, the problem of low upload efficiency of photovoltaic power scheduling and switching data is solved, safe and accurate upload of data is achieved, and the efficiency of real-time monitoring and scheduling of photovoltaic power is improved.

CN118611261BActive Publication Date: 2025-04-04CHONGQING QIANXIN NEW ENERGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410700386.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2025-04-04
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

The prior art is difficult to effectively upload and process photovoltaic power scheduling and switching data, resulting in inefficient real-time monitoring and scheduling of photovoltaic power.

Method used

A photovoltaic power data upload method is proposed. By obtaining the real-time power generation power P-t diagram, generating success codes, and calculating it with the real-time power generation power P-t diagram, generating the data to be uploaded, and finally uploading it to the photovoltaic power scheduling and switching system.

Benefits of technology

It realizes the safe and effective upload of photovoltaic power scheduling and switching data, ensures the efficiency of real-time monitoring and scheduling of photovoltaic power, and ensures the accuracy and completeness of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611261B_ABST
    Figure CN118611261B_ABST
Patent Text Reader

Abstract

The present invention proposes a photovoltaic power data uploading method, comprising the following steps: S01, processing each photovoltaic power dispatching switching data into photovoltaic power dispatching switching data to be uploaded; S02, uploading the photovoltaic power dispatching switching data to be uploaded to the photovoltaic power dispatching switching system. The present invention can realize uploading the photovoltaic power dispatching switching data to the photovoltaic power dispatching switching system, and ensure the security of the photovoltaic power dispatching switching data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of photovoltaic power technology, and in particular to a photovoltaic power data uploading method. Background Art

[0002] Photovoltaic power supply is a device that uses solar energy to generate electricity. It is mainly composed of three parts: solar panels, controllers and inverters. Its core component is the solar panel, which uses the photovoltaic effect of the semiconductor interface to directly convert sunlight energy into electrical energy. Photovoltaic power supply can be used independently or connected to the grid for power generation. When using it, you should understand the real-time power generation power, power generation efficiency, power generation current and other parameters of photovoltaic power in order to fully understand the photovoltaic power status. These data need to be viewed in the photovoltaic power dispatching and switching system. Summary of the invention

[0003] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a photovoltaic power data uploading method.

[0004] In order to achieve the above-mentioned object of the present invention, the present invention provides a method for uploading photovoltaic power data, comprising the following steps:

[0005] S01, processing each photovoltaic power dispatching switching data into photovoltaic power dispatching switching data to be uploaded;

[0006] S02, uploading the photovoltaic power dispatching and switching data to be uploaded to the photovoltaic power dispatching and switching system.

[0007] In a preferred embodiment of the present invention, the method of processing each photovoltaic power dispatch switching data into photovoltaic power dispatch switching data to be uploaded in step S01 includes the following steps:

[0008] S011, obtaining a real-time power generation power Pt diagram in photovoltaic power dispatch switching data;

[0009] S012, after obtaining the real-time power generation Pt map, generating a power code according to the obtained real-time power generation Pt map;

[0010] S013, calculating the power code in step S012 and the real-time power generation Pt map in step S011 to obtain the real-time power generation Pt map to be uploaded;

[0011] S014, uploading the power code in step S012 and the real-time power generation power Pt map to be uploaded in step S013 to the photovoltaic power dispatching and switching system.

[0012] In a preferred embodiment of the present invention, in step S013, the power code in step S012 is calculated with the real-time power generation Pt map in step S011 to obtain the real-time power generation Pt map to be uploaded, which includes the following steps:

[0013] S0131, obtaining the RGB distribution value in the real-time power generation Pt map in step S011, recorded as:

[0014]

[0015] Among them, rgb represents the RGB distribution value in the real-time power generation power Pt diagram;

[0016] (R m,n ,G m,n ,B m,n ) represents the RGB value at the pixel point (m, n); the RGB value is a binary RGB value. If the number of bits of each R value, G value, and B value is not the bit depth of the image, then 0 is added before each R value, G value, and B value to make it equal to the bit depth of the image;

[0017] m=1, 2, 3, ..., M; M represents the number of vertical pixels in the real-time power generation Pt graph;

[0018] n=1, 2, 3, ..., N; N represents the number of horizontal pixels in the real-time power generation Pt graph;

[0019] S0132, converting the power code in step S012 into a binary power code;

[0020] S0133, dividing the binary power code into K groups, namely a first group of power codes, a second group of power codes, a third group of power codes, ..., a Kth group of power codes;

[0021] S0134, placing each group of power codes into the pixel points in order from left to right and from top to bottom, until each pixel point has a group of power codes placed therein;

[0022] S0135, calculate the RGB value and the input power code to obtain the calculated RGB distribution value in the real-time power generation power Pt diagram, which is recorded as:

[0023]

[0024] Among them, rgb′ represents the RGB distribution value in the calculated real-time power generation power Pt diagram;

[0025] (R′ m′,n′ ,G′ m′,n′ ,B′ m′,n′) represents the calculated RGB value at the pixel point (m′, n′);

[0026] m′=1, 2, 3, ..., M; M represents the number of vertical pixels in the real-time power generation Pt graph;

[0027] n′=1, 2, 3, ..., N; N represents the number of horizontal pixels in the real-time power generation Pt graph;

[0028] The calculated real-time power generation Pt graph is the real-time power generation Pt graph to be uploaded.

[0029] In a preferred embodiment of the present invention, the method for calculating the number of division groups in step S0133 is:

[0030]

[0031] Where K represents the number of division groups;

[0032] L represents the number of bits of the binary power code;

[0033] Indicates rounding down.

[0034] In a preferred embodiment of the present invention, the method for generating a power code according to the acquired real-time power generation power Pt diagram in step S012 is:

[0035] PowerNo=PowerNoway(P-tFigure),

[0036] Wherein, PowerNo represents the power code;

[0037] PowerNoway() represents the calculation method of the power code, preferably SHA1;

[0038] P-tFigure represents the real-time power generation Pt diagram.

[0039] In a preferred embodiment of the present invention, it also includes logging into the photovoltaic power dispatching and switching system using a login device (smartphone or PC) to check the photovoltaic power dispatching and switching status.

[0040] In a preferred embodiment of the present invention, the method for calculating the RGB value and the input power code in step S0135 is:

[0041]

[0042] Among them, (R′ m,n ,G′ m,n ,B′ m,n) represents the calculated RGB value at the pixel point (m,n);

[0043] m=1, 2, 3, ..., M; M represents the number of vertical pixels in the real-time power generation Pt graph;

[0044] n=1, 2, 3, ..., N; N represents the number of horizontal pixels in the real-time power generation Pt graph;

[0045] (R m,n ,G m,n ,B m,n ) represents the RGB value at the pixel point (m,n);

[0046] xor represents a binary operator, exclusive or operation;

[0047] C m,n,1 Indicates the first value of the power code placed at the pixel point (m,n);

[0048] C m,n,2 Indicates the second value of the power code placed at the pixel point (m,n);

[0049] C m,n,3 Indicates the third value in the power code placed at the pixel point (m,n);

[0050] C′ m,n,1 =C m,n,1 C m,n,1 C m,n,1 …C m,n,1 Represents a binary value consistent with the bit depth of the image;

[0051] C′ m,n,2 =C m,n,2 C m,n,2 C m,n,2 …C m,n,2 Represents a binary value consistent with the bit depth of the image;

[0052] C′ m,n,3 =C m,n,3 C m,n,3 C m,n,3 …C m,n,3 Represents a binary value consistent with the bit depth of the image.

[0053] In summary, due to the adoption of the above technical solution, the present invention can upload photovoltaic power dispatching and switching data to the photovoltaic power dispatching and switching system, thereby ensuring the security of the photovoltaic power dispatching and switching data.

[0054] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0056] Figure 1 It is a schematic block diagram of the process connection of the present invention. DETAILED DESCRIPTION

[0057] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0058] The present invention discloses a photovoltaic power data uploading method, such as Figure 1 As shown, the following steps are included:

[0059] S1, log in to the photovoltaic power dispatching and switching system;

[0060] S2, after logging into the photovoltaic power dispatching and switching system, check the photovoltaic power dispatching and switching status.

[0061] In a preferred embodiment of the present invention, the method for logging into the photovoltaic power dispatching switching system in step S1 comprises the following steps:

[0062] S11, obtaining the mobile phone number of the login device and the ID serial number of the login device;

[0063] S12, treating the mobile phone number of the login device obtained in step S11 as a decimal value, treating the ID serial number of the login device obtained in step S11 as a sixty-binary value, wherein the mobile phone number includes numbers 0 to 9, and the ID serial number includes numbers 0 to 9, lowercase letters a to z, and uppercase letters A to Z;

[0064] S13, converting the mobile phone number into a binary mobile phone number, and converting the ID serial number into a binary ID serial number;

[0065] S14, perform XOR calculation on the binary mobile phone number and the binary ID serial number to obtain the first binary mobile phone number; in this embodiment, if the number of digits of the binary mobile phone number and the binary ID serial number are different, the number of digits of the binary mobile phone number shall prevail, that is, if the number of digits of the binary mobile phone number is greater than the number of digits of the binary ID serial number, add 0 to the front of the binary ID serial number so that the number of digits of the binary mobile phone number is the same as the number of digits after adding 0 to the front of the binary ID serial number; if the number of digits of the binary mobile phone number is less than the number of digits of the binary ID serial number, remove the first one or several characters of the binary ID serial number so that the number of digits of the binary mobile phone number is the same as the number of digits of the binary ID serial number after removing the first one or several characters;

[0066] S15, converting the first mobile phone number into a sixty-binary first mobile phone number, and transmitting the sixty-binary first mobile phone number and the ID serial number of the login device in step S12 to the photovoltaic power dispatching switching system;

[0067] S16, after receiving the first mobile phone number in sixty-binary format and the ID serial number of the login device sent by the login device, the photovoltaic power dispatching switching system converts the received first mobile phone number into a binary first mobile phone number and converts the received ID serial number into a binary ID serial number;

[0068] S17, performing an XOR calculation on the binary first mobile phone number in step S16 and the binary ID serial number in step S16 to obtain a binary second mobile phone number;

[0069] S18, convert the second mobile phone number into a decimal second mobile phone number, and take d to d+11 digits from the second mobile phone number from left to right to obtain the real mobile phone number; d+11 represents the number of digits in the decimal second mobile phone number; it is also the last digit (last digit) of the second mobile phone number; d is the first digit (first digit) of the second mobile phone number, and the first digit is not 0. Alternatively, take 1 to 11 digits from the second mobile phone number from right to left to obtain the reverse order of the real mobile phone number.

[0070] S19, determining whether the real mobile phone number exists in the photovoltaic power dispatch switching system:

[0071] If the real mobile phone number exists in the photovoltaic power dispatching and switching system, the login to the photovoltaic power dispatching and switching system is successful;

[0072] If the real mobile phone number does not exist in the photovoltaic power dispatching and switching system, the login to the photovoltaic power dispatching and switching system will fail.

[0073] Preferably, step S15 is to fill the binary first mobile phone number into the first grid in the grid row in order from left to right, and fill the binary ID serial number into the second grid in the grid row in order from left to right. After filling, take out characters from the grid row in order from left to right to obtain the first long mobile phone number, convert the first long mobile phone number into a sixty-binary first mobile phone number, and transmit the sixty-binary first mobile phone number to the photovoltaic power dispatching switching system; wherein the number of the first grid is equal to the number of digits of the binary first mobile phone number, the number of the second grid is equal to the number of digits of the binary ID serial number, the grid row (a row of connected squares) is composed of the first grid and the second grid, the number of the grid row is equal to the sum of the number of the first grid and the number of the second grid, the first grid cannot be the second grid but can only be the first grid, and the other first grids and second grids are randomly in other positions of the grid row;

[0074] Step S16 is that after the photovoltaic power dispatching switching system receives the first mobile phone number in sixty-binary form sent by the login device, it converts the received first mobile phone number into a first long mobile phone number in binary form, fills the first long mobile phone number in binary form in order from left to right, and takes out characters from the first grid in the grid in order from left to right to obtain the first mobile phone number in binary form; takes out characters from the second grid in the grid in order from left to right to obtain the binary ID serial number;

[0075] Step S19 is to use the ID serial number of the login device as the search number to search for the mobile phone number corresponding to the ID serial number of the login device:

[0076] If the search number exists in the photovoltaic power dispatching switching system, search for the mobile phone number corresponding to the ID serial number of the login device; determine whether the mobile phone number corresponding to the ID serial number of the login device is consistent with the real mobile phone number:

[0077] If the mobile phone number corresponding to the ID serial number of the login device is consistent with the real mobile phone number, the login to the photovoltaic power dispatching switching system is successful;

[0078] If the mobile phone number corresponding to the ID serial number of the login device is inconsistent with the real mobile phone number, the login to the photovoltaic power dispatch switching system fails;

[0079] If the search number does not exist in the photovoltaic power dispatching and switching system, the search number is not bound to the mobile phone number; the login device needs to be verified.

[0080] In a preferred embodiment of the present invention, the method for checking the photovoltaic power dispatch switching status in step S2 comprises the following steps:

[0081] S21, determine whether to trigger viewing of the real-time power generation Pt graph:

[0082] If the real-time power generation Pt graph is triggered to be viewed, only the real-time power generation Pt graph is displayed; step S22 or S23 is executed;

[0083] If the real-time power generation Pt graph is not triggered, one of steps S21, S22, and S23 is executed;

[0084] S22, determining whether to trigger viewing of the real-time power generation efficiency η-t graph:

[0085] If the real-time power generation efficiency η-t graph is triggered to be viewed, only the real-time power generation efficiency η-t graph is displayed; step S21 or S23 is executed;

[0086] If the real-time power generation efficiency η-t diagram is not triggered, one of steps S21, S22, and S23 is executed;

[0087] S23, determine whether the real-time power generation current It diagram is:

[0088] If the real-time power generation current It graph is triggered, only the real-time power generation current It graph is displayed; step S21 or S22 is executed;

[0089] If the real-time power generation current It diagram is not triggered, one of steps S21, S22, and S23 is executed.

[0090] In a preferred embodiment of the present invention, before step S1, step S0 is further included, uploading photovoltaic power dispatch switching data to the photovoltaic power dispatch switching system, and the photovoltaic power dispatch switching data includes one or any combination of the real-time power generation power Pt diagram, the real-time power generation efficiency η-t diagram, and the real-time power generation current It diagram of the photovoltaic power grid;

[0091] In the real-time power generation Pt diagram, the horizontal axis X is the time axis, the unit is s, s represents seconds, and the vertical axis Y is the power, the unit is W, W represents watts;

[0092] In the real-time power generation efficiency η-t diagram, the horizontal axis X is the time axis, the unit is s, s represents seconds, and the vertical axis Y is the efficiency, the unit is %, and % represents percentage;

[0093] In the real-time power generation current It graph, the horizontal axis X is the time axis, the unit is s, s represents seconds, and the vertical axis Y is the current, the unit is A, A represents ampere; the method for uploading photovoltaic power dispatch switching data to the photovoltaic power dispatch switching system includes the following steps:

[0094] S01, processing each photovoltaic power dispatching switching data into photovoltaic power dispatching switching data to be uploaded;

[0095] S02, uploading the photovoltaic power dispatching and switching data to be uploaded to the photovoltaic power dispatching and switching system.

[0096] In a preferred embodiment of the present invention, the method of processing each photovoltaic power dispatch switching data into photovoltaic power dispatch switching data to be uploaded in step S01 includes the following steps:

[0097] S011, obtaining a real-time power generation power Pt diagram in photovoltaic power dispatch switching data;

[0098] S012, after obtaining the real-time power generation Pt map, generating a power code according to the obtained real-time power generation Pt map;

[0099] S013, calculating the power code in step S012 and the real-time power generation Pt map in step S011 to obtain the real-time power generation Pt map to be uploaded;

[0100] S014, uploading the power code in step S012 and the real-time power generation power Pt map to be uploaded in step S013 to the photovoltaic power dispatching and switching system.

[0101] In a preferred embodiment of the present invention, in step S013, the power code in step S012 is calculated with the real-time power generation Pt map in step S011 to obtain the real-time power generation Pt map to be uploaded, which includes the following steps:

[0102] S0131, obtaining the RGB distribution value in the real-time power generation Pt map in step S011, recorded as:

[0103]

[0104] Among them, rgb represents the RGB distribution value in the real-time power generation power Pt diagram;

[0105] (R m,n ,G m,n ,B m,n ) represents the RGB value at the pixel point (m, n); the RGB value is a binary RGB value. If the number of bits of each R value, G value, and B value is not the bit depth of the image, then 0 is added before each R value, G value, and B value to make it equal to the bit depth of the image;

[0106] m=1, 2, 3, ..., M; M represents the number of vertical pixels in the real-time power generation Pt graph;

[0107] n=1, 2, 3, ..., N; N represents the number of horizontal pixels in the real-time power generation Pt graph;

[0108] When m=1,n=1,(R 1,1 ,G 1,1 ,B 1,1) represents the RGB value at the pixel point (1,1);

[0109] When m=1,n=2,(R 1,2 ,G 1,2 ,B 1,2 ) represents the RGB value at the pixel point (1,2);

[0110] When m=1,n=3,(R 1,3 ,G 1,3 ,B 1,3 ) represents the RGB value at the pixel point (1,3);

[0111] When m=1,n=N,(R 1,N ,G 1,N ,B 1,N ) represents the RGB value at the pixel point (1,N);

[0112] When m=2,n=1,(R 2,1 ,G 2,1 ,B 2,1 ) represents the RGB value at the pixel point (2,1);

[0113] When m=2,n=2,(R 2,2 ,G 2,2 ,B 2,2 ) represents the RGB value at the pixel point (2,2);

[0114] When m=2,n=3,(R 2,3 ,G 2,3 ,B 2,3 ) represents the RGB value at the pixel point (2,3);

[0115] When m=2,n=N,(R 2,N ,G 2,N ,B 2,N ) represents the RGB value at the pixel point (2,N);

[0116] When m=3,n=1,(R 3,1 ,G 3,1 ,B 3,1 ) represents the RGB value at the pixel point (3,1);

[0117] When m=3,n=2,(R 3,2 ,G 3,2 ,B 3,2 ) represents the RGB value at the pixel point (3,2);

[0118] When m=3,n=3,(R 3,3 ,G 3,3 ,B 3,3) represents the RGB value at the pixel point (3,3);

[0119] When m=3,n=N,(R 3,N ,G 3,N ,B 3,N ) represents the RGB value at the pixel point (3,N);

[0120] When m=M,n=1,(R M,1 ,G M,1 ,B M,1 ) represents the RGB value at the pixel point (M,1);

[0121] When m=M,n=2,(R M,2 ,G M,2 ,B M,2 ) represents the RGB value at the pixel point (M,2);

[0122] When m=M,n=3,(R M,3 ,G M,3 ,B M,3 ) represents the RGB value at the pixel point (M,3);

[0123] When m=M,n=N,(R M,N ,G M,N ,B M,N ) represents the RGB value at the pixel point (M,N);

[0124] S0132, converting the power code in step S012 into a binary power code;

[0125] S0133, dividing the binary power code into K groups, namely a first group of power codes, a second group of power codes, a third group of power codes, ..., a Kth group of power codes;

[0126] S0134, placing each group of power codes into the pixel points in order from left to right and from top to bottom, until each pixel point has a group of power codes placed therein;

[0127] In this embodiment, when K=K′, K represents the number of power code groups, and K′ represents the number of pixel points in the real-time power generation Pt map; at this time, the number of power code groups is exactly equal to the number of pixel points in the real-time power generation Pt map;

[0128] When K>K′, K represents the number of power code groups, and K′ represents the number of pixels in the real-time power generation Pt map; at this time, the number of power code groups is greater than the number of pixels in the real-time power generation Pt map, and there are KK′ groups of power codes that are not included in the pixels;

[0129] When K < K′, where K represents the number of groups of power codes and K′ represents the number of pixel points in the real-time power generation P - t graph; at this time, the number of groups of power codes is less than the number of pixel points in the real-time power generation P - t graph; then take the K groups of power codes in step S0133, and in order from left to right, place each group of power codes in the pixel points in order from left to right and from top to bottom; until each pixel point has a group of power codes placed in it.

[0130] S0135. Calculate the RGB values with the placed power codes to obtain the RGB distribution values in the calculated real-time power generation P - t graph, denoted as:

[0131]

[0132] where rgb′ represents the RGB distribution values in the calculated real-time power generation P - t graph;

[0133] (R′ m′,n′ ,G′ m′,n′ ,B′ m′,n′ ) represents the calculated RGB values at the pixel point (m′, n′);

[0134] m′ = 1, 2, 3, ……, M; M represents the number of vertical pixel points in the real-time power generation P - t graph;

[0135] n′ = 1, 2, 3, ……, N; N represents the number of horizontal pixel points in the real-time power generation P - t graph;

[0136] When m′ = 1 and n′ = 1, (R′ 1,1 ,G′ 1,1 ,B′ 1,1 ) represents the calculated RGB values at the pixel point (1, 1);

[0137] When m′ = 1 and n′ = 2, (R′ 1,2 ,G′ 1,2 ,B′ 1,2 ) represents the calculated RGB values at the pixel point (1, 2);

[0138] When m′ = 1 and n′ = 3, (R′ 1,3 ,G′ 1,3 ,B′ 1,3 ) represents the calculated RGB values at the pixel point (1, 3);

[0139] When m′ = 1 and n′ = N, (R′ 1,N ,G′ 1,N ,B′ 1,N ) represents the calculated RGB values at the pixel point (1, N);

[0140] When m′=2,n′=1,(R′ 2,1 ,G′ 2,1 ,B′ 2,1 ) represents the calculated RGB value at the pixel point (2,1);

[0141] When m′=2,n′=2,(R′ 2,2 ,G′ 2,2 ,B′ 2,2 ) represents the calculated RGB value at the pixel point (2,2);

[0142] When m′=2,n′=3,(R′ 2,3 ,G′ 2,3 ,B′ 2,3 ) represents the calculated RGB value at the pixel point (2,3);

[0143] When m′=2,n′=N,(R′ 2,N ,G′ 2,N ,B′ 2,N ) represents the calculated RGB value at the pixel point (2,N);

[0144] When m′=3,n′=1,(R′ 3,1 ,G′ 3,1 ,B′ 3,1 ) represents the calculated RGB value at the pixel point (3,1);

[0145] When m′=3,n′=2,(R′ 3,2 ,G′ 3,2 ,B′ 3,2 ) represents the calculated RGB value at the pixel point (3,2);

[0146] When m′=3, n′=3, (R′ 3,3 ,G′ 3,3 ,B′ 3,3 ) represents the calculated RGB value at the pixel point (3,3);

[0147] When m′=3,n′=N,(R′ 3,N ,G′ 3,N ,B′ 3,N ) represents the calculated RGB value at the pixel point (3,N);

[0148] When m′=M, n′=1, (R′ M,1 ,G′ M,1 ,B′ M,1 ) represents the calculated RGB value at the pixel point (M,1);

[0149] When m′=M, n′=2, (R′ M,2 ,G′ M,2 ,B′ M,2 ) represents the calculated RGB value at the pixel point (M,2);

[0150] When m′=M, n′=3, (R′ M,3 ,G′ M,3 ,B′ M,3 ) represents the calculated RGB value at the pixel point (M,3);

[0151] When m′=M,n′=N,(R′ M,N ,G′ M,N ,B′ M,N ) represents the calculated RGB value at the pixel point (M,N);

[0152] The calculated real-time power generation Pt graph is the real-time power generation Pt graph to be uploaded.

[0153] In a preferred embodiment of the present invention, the method for calculating the number of division groups in step S0133 is:

[0154]

[0155] Where K represents the number of division groups;

[0156] L represents the number of bits of the binary power code;

[0157] Indicates rounding down.

[0158] In a preferred embodiment of the present invention, the method for generating a power code according to the acquired real-time power generation power Pt diagram in step S012 is:

[0159] PowerNo=PowerNoway(P-tFigure),

[0160] Wherein, PowerNo represents the power code;

[0161] PowerNoway() represents the calculation method of the power code, preferably SHA1;

[0162] P-tFigure represents the real-time power generation Pt diagram.

[0163] In a preferred embodiment of the present invention, the method for calculating the RGB value and the input power code in step S0135 is:

[0164]

[0165] Among them, (R′ m,n ,G′ m,n ,B′ m,n ) represents the calculated RGB value at the pixel point (m,n);

[0166] m=1, 2, 3, ..., M; M represents the number of vertical pixels in the real-time power generation Pt graph;

[0167] n=1, 2, 3, ..., N; N represents the number of horizontal pixels in the real-time power generation Pt graph;

[0168] (R m,n ,G m,n ,B m,n ) represents the RGB value at the pixel point (m,n);

[0169] xor represents a binary operator, exclusive or operation;

[0170] C m,n,1 Indicates the first value of the power code placed at the pixel point (m,n);

[0171] C m,n,2 Indicates the second value of the power code placed at the pixel point (m,n);

[0172] C m,n,3 Indicates the third value in the power code placed at the pixel point (m,n);

[0173] C′ m,n,1 =C m,n,1 C m,n,1 C m,n,1 …C m,n,1 Represents a binary value consistent with the bit depth of the image;

[0174] C′ m,n,2 =C m,n,2 C m,n,2 C m,n,2 …C m,n,2 Represents a binary value consistent with the bit depth of the image;

[0175] C′ m,n,3 =C m,n,3 C m,n,3 C m,n,3 …C m,n,3 Represents a binary value consistent with the bit depth of the image.

[0176] Assume that the RGB distribution value in the real-time power generation Pt diagram is:

[0177]

[0178] Assuming the power code is 11001011, the RGB distribution value in the calculated real-time power generation Pt diagram is:

[0179]

[0180] In a preferred embodiment of the present invention, after the photovoltaic power dispatching and switching system receives the power code and the calculated real-time power generation power Pt diagram sent by the photovoltaic power management system in step S2, the photovoltaic power dispatching and switching system calculates the real real-time power generation power Pt diagram according to the received power code and the calculated real-time power generation power Pt diagram; the method for the photovoltaic power dispatching and switching system to calculate the real real-time power generation power Pt diagram according to the received power code and the calculated photovoltaic power dispatching and switching data includes the following steps:

[0181] S31, obtaining the RGB distribution value of the received calculated real-time power generation power Pt map, recorded as:

[0182]

[0183] Wherein, rgb″ represents the RGB distribution value in the received real-time power generation power Pt diagram;

[0184] (R″ m″,n″ ,G″ m″,n″ ,B″ m″,n″ ) represents the RGB value at the pixel point (m″, n″); the RGB value is a binary RGB value. If the number of bits of each R value, G value, and B value is not the bit depth of the image, then add 0 before each R value, G value, and B value to make it equal to the bit depth of the image;

[0185] m″=1, 2, 3, ..., M″; M″ represents the number of vertical pixels in the received real-time power generation power Pt map;

[0186] n″=1, 2, 3, ..., N″; ​​N″ represents the number of vertical pixels in the received real-time power generation Pt map;

[0187] When m″=1,n″=1,(R″ 1,1 ,G″ 1,1 ,B″ 1,1 ) represents the RGB value at the pixel point (1,1);

[0188] When m″=1,n″=2,(R″ 1,2 ,G″ 1,2 ,B″ 1,2 ) represents the RGB value at the pixel point (1,2);

[0189] When m″=1,n″=3,(R″1,3 ,G″ 1,3 ,B″ 1,3 ) represents the RGB value at the pixel point (1,3);

[0190] When m″=1,n″=N″,(R″ 1,N″ ,G″ 1,N″ ,B″ 1,N″ ) represents the RGB value at the pixel point (1, N″);

[0191] When m″=2,n″=1,(R″ 2,1 ,G″ 2,1 ,B″ 2,1 ) represents the RGB value at the pixel point (2,1);

[0192] When m″=2,n″=2,(R″ 2,2 ,G″ 2,2 ,B″ 2,2 ) represents the RGB value at the pixel point (2,2);

[0193] When m″=2,n″=3,(R″ 2,3 ,G″ 2,3 ,B″ 2,3 ) represents the RGB value at the pixel point (2,3);

[0194] When m″=2,n″=N″,(R″ 2,N″ ,G″ 2,N″ ,B″ 2,N″ ) represents the RGB value at the pixel point (2,N″);

[0195] When m″=3,n″=1,(R″ 3,1 ,G″ 3,1 ,B″ 3,1 ) represents the RGB value at the pixel point (3,1);

[0196] When m″=3,n″=2,(R″ 3,2 ,G″ 3,2 ,B″ 3,2 ) represents the RGB value at the pixel point (3,2);

[0197] When m″=3,n″=3,(R″ 3,3 ,G″ 3,3 ,B″ 3,3 ) represents the RGB value at the pixel point (3,3);

[0198] When m″=3,n″=N″,(R″ 3,N″ ,G″ 3,N″ ,B″ 3,N″) represents the RGB value at the pixel point (3,N″);

[0199] When m″=M″, n″=1, (R″ M″,1 ,G″ M″,1 ,B″ M″,1 ) represents the RGB value at the pixel point (M″, 1);

[0200] When m″=M″, n″=2, (R″ M″,2 ,G″ M″,2 ,B″ M″,2 ) represents the RGB value at the pixel point (M″,2);

[0201] When m″=M″, n″=3, (R″ M″,3 ,G″ M″,3 ,B″ M″,3 ) represents the RGB value at the pixel point (M″,3);

[0202] When m″=M″, n″=N″, (R″ M″,N″ ,G″ M″,N″ ,B″ M″,N″ ) represents the RGB value at the pixel point (M″, N″);

[0203] S32, converting the received power code into a binary power code;

[0204] S33, dividing the binary power code into K″ groups, namely, the first group of power codes, the second group of power codes, the third group of power codes, ..., the K″th group of power codes;

[0205] S34, placing each group of power codes into the pixel points in order from left to right and from top to bottom, until each pixel point has a group of power codes placed therein;

[0206] In this embodiment, when K″=K″′, K″ represents the number of power code groups, and K″′ represents the number of pixel points in the received real-time power generation Pt map; at this time, the number of power code groups is exactly equal to the number of pixel points in the received real-time power generation Pt map;

[0207] When K″>K″′, K″ represents the number of power code groups, and K″′ represents the number of pixels in the received real-time power generation Pt map; at this time, the number of power code groups is greater than the number of pixels in the received real-time power generation Pt map, and there are K″-K″′ groups of power codes not included in the pixels;

[0208] When K″ < K″′, where K″ represents the number of groups of power codes and K″′ represents the number of pixel points in the received real-time power generation P-t graph; at this time, the number of groups of power codes is less than the number of pixel points in the received real-time power generation P-t graph; then take the K groups of power codes in step S33, and sequentially place each group of power codes from left to right and from top to bottom into the pixel points in order from left to right until each pixel point has a group of power codes placed in it.

[0209] S35. Calculate the RGB values with the placed power codes to obtain the RGB distribution values in the real-time power generation P-t graph, denoted as:

[0210]

[0211] where rgb″ represents the RGB distribution values in the real-time power generation P-t graph;

[0212] (R″′ m″,n″ ,G″′ m″,n″ ,B″′ m″,n″ ) represents the RGB values at the pixel point (m″, n″);

[0213] m″ = 1, 2, 3, ……, M″; M″ represents the number of vertical pixel points in the received real-time power generation P-t graph;

[0214] n″ = 1, 2, 3, ……, N″; N″ represents the number of horizontal pixel points in the received real-time power generation P-t graph;

[0215] When m″ = 1 and n″ = 1, (R″′ 1,1 ,G″′ 1,1 ,B″′ 1,1 ) represents the RGB values at the pixel point (1, 1);

[0216] When m″ = 1 and n″ = 2, (R″′ 1,2 ,G″′ 1,2 ,B″′ 1,2 ) represents the RGB values at the pixel point (1, 2);

[0217] When m″ = 1 and n″ = 3, (R″′ 1,3 ,G″′ 1,3 ,B″′ 1,3 ) represents the RGB values at the pixel point (1, 3);

[0218] When m″ = 1 and n″ = N″, (R″′ 1,N ,G″′ 1,N ,B″′ 1,N ) represents the RGB values at the pixel point (1, N″);

[0219] When m″=2,n″=1,(R″′ 2,1 ,G″′ 2,1 ,B″′ 2,1 ) represents the RGB value at the pixel point (2,1);

[0220] When m″=2,n″=2,(R″′ 2,2 ,G″′ 2,2 ,B″′ 2,2 ) represents the RGB value at the pixel point (2,2);

[0221] When m″=2,n″=3,(R″′ 2,3 ,G″′ 2,3 ,B″′ 2,3 ) represents the RGB value at the pixel point (2,3);

[0222] When m″=2,n″=N″,(R″′ 2,N″ ,G″′ 2,N″ ,B″′ 2,N″ ) represents the RGB value at the pixel point (2,N″);

[0223] When m″=3,n″=1,(R″′ 3,1 ,G″′ 3,1 ,B″′ 3,1 ) represents the RGB value at the pixel point (3,1);

[0224] When m″=3,n″=2,(R″′ 3,2 ,G″′ 3,2 ,B″′ 3,2 ) represents the RGB value at the pixel point (3,2);

[0225] When m″=3,n″=3,(R″′ 3,3 ,G″′ 3,3 ,B″′ 3,3 ) represents the RGB value at the pixel point (3,3);

[0226] When m″=3,n″=N″,(R″′ 3,N″ ,G″′ 3,N″ ,B″′ 3,N″ ) represents the RGB value at the pixel point (3,N″);

[0227] When m″=M″, n″=1, (R″′ M″,1 ,G″′ M″,1 ,B″′ M″,1 ) represents the RGB value at the pixel point (M″, 1);

[0228] When m″=M″, n″=2, (R″′ M″,2 ,G″′ M″,2 ,B″′ M″,2 ) represents the RGB value at the pixel point (M″,2);

[0229] When m″=M″,n″=3,(R″′ M″,3 ,G″′ M″,3 ,B″′ M″,3 ) represents the RGB value at the pixel point (M″,3);

[0230] When m″=M″,n″=N″,(R″′ M″,N″ ,G″′ M″,N″ ,B″′ M″,N″ ) represents the RGB value at the pixel point (M″, N″);

[0231] Generate a real real-time power generation Pt map according to the RGB distribution values ​​in the real real-time power generation Pt map.

[0232] In a preferred embodiment of the present invention, the method for calculating the number of division groups in step S33 is:

[0233]

[0234] Among them, K″ represents the number of division groups;

[0235] L′ represents the number of bits of the binary power code;

[0236] Indicates rounding down.

[0237] In a preferred embodiment of the present invention, the method for calculating the RGB value and the input power code in step S35 is:

[0238]

[0239] Among them, (R″′ m,n ,G″′ m,n ,B″′ m,n ) represents the calculated RGB value at the pixel point (m,n);

[0240] m=1, 2, 3, ..., M″; M″ represents the number of vertical pixels in the received real-time power generation power Pt map;

[0241] n=1, 2, 3, ..., N″; ​​N″ represents the number of horizontal pixels in the received real-time power generation power Pt map;

[0242] (R″ m,n ,G″ m,n,B″ m,n ) represents the RGB value at the pixel point (m,n);

[0243] xor represents a binary operator, exclusive or operation;

[0244] C″ m,n,1 Indicates the first value of the power code placed at the pixel point (m,n);

[0245] C″ m,n,2 Indicates the second value of the power code placed at the pixel point (m,n);

[0246] C″ m,n,3 Represents the third value in the power code placed at the pixel point (m,n).

[0247] C″′ m,n,1 =C″ m,n,1 C″ m,n,1 C″ m,n,1 …C″ m,n,1 Represents a binary value consistent with the bit depth of the image;

[0248] C″′ m,n,2 =C″ m,n,2 C″ m,n,2 C″ m,n,2 …C″ m,n,2 Represents a binary value consistent with the bit depth of the image;

[0249] C″′ m,n,3 =C″ m,n,3 C″ m,n,3 C″ m,n,3 …C″ m,n,3 Represents a binary value consistent with the bit depth of the image;

[0250] In a preferred embodiment of the present invention, step S35 also includes the following steps:

[0251] S36, calculating a first power code, wherein the calculation method of the first power code is:

[0252] PowerNo1=PowerNoway1(P-tFigure′),

[0253] Wherein, PowerNo1 represents the first power code;

[0254] PowerNoway1() represents the calculation method of the first power code, preferably using SHA1;

[0255] P-tFigure′ represents the real real-time power generation Pt diagram generated in step S35;

[0256] S37, determining whether the first power code is consistent with the received power code:

[0257] If the first power code is consistent with the received power code, the real real-time power generation Pt map generated in step S35 is the real-time power generation Pt map in the photovoltaic power dispatch switching data in step S011;

[0258] If the first power code is inconsistent with the received power code, retransmission is requested.

[0259] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A photovoltaic power data uploading method, characterized in that: The following steps are involved: S01, processing each photovoltaic power dispatching switching data into photovoltaic power dispatching switching data to be uploaded; the method for processing each photovoltaic power dispatching switching data into photovoltaic power dispatching switching data to be uploaded comprises the following steps: S011, obtaining a real-time power generation power Pt diagram in photovoltaic power dispatch switching data; S012, after obtaining the real-time power generation Pt map, generating a power code according to the obtained real-time power generation Pt map; S013, calculating the power code in step S012 with the real-time power generation Pt map in step S011 to obtain the real-time power generation Pt map to be uploaded; the method of calculating the power code in step S012 with the real-time power generation Pt map in step S011 to obtain the real-time power generation Pt map to be uploaded includes the following steps: S0131, obtaining the RGB distribution value in the real-time power generation Pt map in step S011, recorded as: , in, Represents the RGB distribution value in the real-time power generation Pt diagram; Indicated in pixels Where Value; The RGB value is a binary RGB value. If the number of bits of each R value, G value, and B value is not the bit depth of the image, add 0 before each R value, G value, and B value to make it equal to the bit depth of the image; =1, 2, 3, ..., ; Indicates the number of vertical pixels in the real-time power generation Pt map; =1, 2, 3, ..., ; Indicates the number of horizontal pixels in the real-time power generation Pt map; S0132, converting the power code in step S012 into a binary power code; S0133, divide the binary power code into The first group of power codes, the second group of power codes, the third group of power codes, ..., the Group power code; S0134, placing each group of power codes into the pixel points in order from left to right and from top to bottom, until each pixel point has a group of power codes placed therein; S0135, calculate the RGB value and the input power code to obtain the calculated RGB distribution value in the real-time power generation power Pt diagram, which is recorded as: , in, Represents the RGB distribution value in the calculated real-time power generation Pt diagram; Indicated in pixels After calculation value; =1, 2, 3, ..., ; Indicates the number of vertical pixels in the real-time power generation Pt map; =1, 2, 3, ..., ; Indicates the number of horizontal pixels in the real-time power generation Pt map; The calculated real-time power generation Pt graph is the real-time power generation Pt graph to be uploaded; S014, uploading the power code in step S012 and the real-time power generation power Pt map to be uploaded in step S013 to the photovoltaic power dispatching switching system; S02, uploading the photovoltaic power dispatching and switching data to be uploaded to the photovoltaic power dispatching and switching system.

2. The photovoltaic power data uploading method according to claim 1, characterized in that: The calculation method of the number of division groups in step S0133 is: , in, Indicates the number of division groups; The number of bits representing the binary power code; Indicates rounding down.

3. The photovoltaic power data uploading method according to claim 1, characterized in that: In step S012, the method for generating a power code according to the acquired real-time power generation power Pt map is: , in, Indicates the power code; Indicates the calculation method of the power code; It represents the real-time power generation Pt diagram.

4. The photovoltaic power data uploading method according to claim 1, characterized in that: It also includes logging into the photovoltaic power dispatching and switching system to check the photovoltaic power dispatching and switching status.

Citation Information

Patent Citations

  • Photovoltaic charging station electric energy scheduling method based on weather prediction

    CN115765041A

  • Safety method for generating photovoltaic module energy data through big data image

    CN117195320A