Temperature data generation method, device and storage medium
Through the calculation method based on the monthly average temperature and irradiation data, the hourly temperature data is decomposed and obtained, which solves the problem of difficulty in obtaining temperature data in photovoltaic power generation simulation evaluation and improves the accuracy and efficiency of the evaluation.
Patent Information
- Application Number
- CN202210361833.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-04-07
AI Technical Summary
It is difficult to accurately obtain hourly temperature data in existing technologies, resulting in inaccurate and inefficient photovoltaic power generation simulation evaluation.
Based on the monthly average temperature and radiation data of the preset reference area, hourly temperature data is obtained through calculation and decomposition. Utilizing the positive correlation between temperature and radiation, the day is divided into four time stages, and the hourly temperature is calculated.
It reduces the difficulty of data acquisition, improves the accuracy and efficiency of photovoltaic power generation assessment, and solves the problem of difficulty in obtaining hourly temperature data.
Smart Images

Figure CN114756821B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic power generation, and in particular to a method and device for generating temperature data and a computer-readable storage medium. Background Art
[0002] With the increasing share of renewable energy sources like photovoltaics, accurate power generation simulation and calculations are essential for power plant investment and construction decision-making and evaluation during the early stages of photovoltaic project site selection and technical due diligence. Hourly historical meteorological data is typically used as input for power generation capacity simulation. However, due to the high cost of purchasing hourly meteorological data directly, it is more feasible and economical to decompose the monthly average data of a typical meteorological year (TMY) into hourly data as meteorological input for power generation capacity simulation.
[0003] In addition to irradiation, temperature is also a key input for evaluating and measuring PV power generation in meteorological data. To more accurately decompose TMY monthly average temperature data down to the hourly level, it's necessary to compile and summarize representative historical temperature data from a specific region. The wider the coverage area, the wider the applicability, but the less representative the results. Furthermore, complete historical data is difficult or expensive to obtain. Summary of the Invention
[0004] The main purpose of the present invention is to provide a method for generating temperature data, aiming to solve the technical problem in the prior art that it is difficult to collect and obtain hourly temperature data, resulting in inaccurate and low efficiency in photovoltaic power generation simulation evaluation.
[0005] To achieve the above object, the present invention provides a method for generating temperature data, the method comprising:
[0006] Determine the hourly monthly average temperature for each preset time unit of each day based on the monthly average temperature and irradiance data of a preset reference area, and determine the hourly maximum temperature and the hourly minimum temperature from the hourly monthly average temperature;
[0007] Determine a daily maximum average temperature and a daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature, and the irradiance data;
[0008] The daily hourly temperature is calculated based on the daily maximum average temperature, the daily minimum average temperature and the irradiance data.
[0009] Optionally, after the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data, the method further includes:
[0010] determining a reference monthly average temperature based on the daily hourly temperatures;
[0011] The reference monthly average temperature is corrected based on the monthly average temperature to determine a target daily hourly temperature.
[0012] Optionally, before the step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of a preset reference area, the method further includes:
[0013] Calculation parameters of the preset reference area are obtained, where the calculation parameters include the monthly average temperature and irradiation data of the preset reference area, and the irradiation data include the monthly average irradiation, the daily average irradiation, the daily hourly irradiation, the monthly clear sky irradiation, and the hourly clear sky irradiation.
[0014] Optionally, the step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of a preset reference area includes:
[0015] Obtaining the monthly average clear sky index based on the monthly average irradiance and the monthly clear sky irradiance;
[0016] Based on the monthly average temperature and the monthly average clear sky index, the hourly monthly average temperature at a preset time unit per day is determined.
[0017] Optionally, the step of determining the daily maximum average temperature and the daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature and the irradiation data includes:
[0018] Calculating the radiation ratio of the daily average radiation to the monthly average radiation;
[0019] The daily maximum average temperature and the daily minimum average temperature are calculated with reference to the radiation ratio and based on the monthly average temperature, the hourly maximum temperature and the hourly minimum temperature.
[0020] Optionally, before the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data, the method further comprises:
[0021] Any day is divided into four time stages, including the first time stage from 0:00 to sunrise, the second time stage from sunrise to the highest temperature point, the third time stage from the highest temperature point to sunset, and the fourth time stage from sunset to 24:00.
[0022] Optionally, after the step of dividing any day into four time periods, the method further includes:
[0023] The irradiance in any hour after sunrise and before sunset is calculated based on the daily hourly irradiance and the hourly clear sky irradiance, and the irradiance includes the first irradiance in any hour in the second time period, the second irradiance in any hour in the third time period and the maximum irradiance of the day.
[0024] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0025] During the first time period, obtaining the first current time point;
[0026] Calculating a first temperature difference between the current temperature at the first current time point and the daily minimum average temperature, and a second temperature difference between the first sunset temperature at sunset on the previous day and the daily minimum average temperature;
[0027] Get the first sunrise time of the current day and the first sunset time of the previous day;
[0028] Calculating a first time difference between the first sunrise time point and the first current time point, and a second time difference between the first sunrise time point and the first sunset time point;
[0029] The hourly temperature of each day in the first time period is calculated based on a first temperature ratio of the first temperature difference to the second temperature difference and a first time ratio of the first time difference to the second time difference.
[0030] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0031] During the second time period, obtaining the second current time point;
[0032] Calculating a third temperature difference between the current temperature at the second current time point and the daily minimum average temperature, and a fourth temperature difference between the daily maximum average temperature and the daily minimum average temperature;
[0033] The daily hourly temperature of the second time period is calculated based on a second temperature ratio of the third temperature difference to the fourth temperature difference and a first irradiance ratio of the first irradiance to the maximum irradiance of the day.
[0034] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0035] During the third time period, obtaining a third current time point;
[0036] Calculating a fifth temperature difference between the daily maximum average temperature and the current temperature at the third current time point, and a sixth temperature difference between the daily maximum average temperature and the daily minimum average temperature;
[0037] Based on the third temperature ratio of the fifth temperature difference and the sixth temperature difference, and the second irradiation ratio of the irradiance difference between the maximum irradiance of the day and the second irradiance to the maximum irradiance of the day, the daily hourly temperature of the third time period is calculated.
[0038] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0039] During the fourth time period, obtaining a fourth current time point;
[0040] Calculating a seventh temperature difference between a second sunset temperature at sunset on the current day and the current temperature at the fourth current time point, and an eighth temperature difference between the second sunset temperature and the daily minimum average temperature of the following day;
[0041] Get the second sunset time of the current day and the second sunrise time of the next day;
[0042] Calculating a third time difference between the current time point and the second sunset time point, and a fourth time difference between the second sunset time point and the second sunrise time point;
[0043] The daily hourly temperature of the fourth time period is calculated based on a fourth temperature ratio of the seventh temperature difference to the eighth temperature difference and a second time ratio of the third time difference to the fourth time difference.
[0044] Optionally, the step of correcting the reference monthly average temperature based on the monthly average temperature to determine the target daily hourly temperature includes:
[0045] If the reference monthly average temperature is different from the monthly average temperature, the average temperature ratio of the monthly average temperature to the reference monthly average temperature is determined, and the target daily hourly temperature is calculated based on the average temperature ratio and the daily hourly temperature.
[0046] In addition, to achieve the above-mentioned purpose, the present invention also provides a temperature data generation device, which includes: a memory, a processor, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, the steps of the temperature data generation method described above are implemented.
[0047] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating temperature data as described above are implemented.
[0048] An embodiment of the present invention proposes a method, device and computer-readable storage medium for generating temperature data, the method comprising: determining the hourly monthly average temperature in a preset time unit each day based on the monthly average temperature and irradiation data of a preset reference area, and determining the hourly maximum temperature and the hourly minimum temperature from the hourly monthly average temperature; determining the daily maximum average temperature and the daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature and the irradiation data; and calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data.
[0049] The present invention decomposes the monthly average temperature into hourly temperature data. First, the monthly average temperature is converted into hourly monthly average temperature. Then, using the positive correlation between temperature and irradiation, the ratio of monthly average irradiation to daily average irradiation is converted into a temperature ratio. In addition, the temperature distribution characteristics within a day are used to summarize the hourly temperature of each day.
[0050] This method eliminates the need for extensive temperature data to calculate the target daily hourly temperature. Instead, it only requires monthly average temperature and irradiance data to obtain hourly temperature data. This reduces the difficulty of data acquisition for photovoltaic power generation assessments and improves the efficiency of data acquisition and project assessments. This addresses the difficulty in collecting hourly temperature data, which can lead to inaccurate and inefficient photovoltaic power generation simulation assessments. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic diagram of the structure of the operating equipment of the hardware operating environment involved in the embodiment of the present invention;
[0052] Figure 2 The figure is a flow chart of an embodiment of a method for generating temperature data according to the present invention.
[0053] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0055] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of the operating equipment of the hardware operating environment involved in the embodiment of the present invention.
[0056] like Figure 1 As shown, the operating device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0057] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the operating device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0058] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a computer program.
[0059] exist Figure 1 In the operating device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the operating device of the present invention can be set in the operating device, and the operating device calls the computer program stored in the memory 1005 through the processor 1001 and performs the following operations:
[0060] Determine the hourly monthly average temperature for each preset time unit of each day based on the monthly average temperature and irradiance data of a preset reference area, and determine the hourly maximum temperature and the hourly minimum temperature from the hourly monthly average temperature;
[0061] Determine a daily maximum average temperature and a daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature, and the irradiance data;
[0062] The daily hourly temperature is calculated based on the daily maximum average temperature, the daily minimum average temperature and the irradiance data.
[0063] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0064] After the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data, the method further includes:
[0065] determining a reference monthly average temperature based on the daily hourly temperatures;
[0066] The reference monthly average temperature is corrected based on the monthly average temperature to determine a target daily hourly temperature.
[0067] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0068] Before the step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of the preset reference area, the method further includes:
[0069] Calculation parameters of the preset reference area are obtained, where the calculation parameters include the monthly average temperature and irradiation data of the preset reference area, and the irradiation data include the monthly average irradiation, the daily average irradiation, the daily hourly irradiation, the monthly clear sky irradiation, and the hourly clear sky irradiation.
[0070] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0071] The step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of a preset reference area comprises:
[0072] Obtaining the monthly average clear sky index based on the monthly average irradiance and the monthly clear sky irradiance;
[0073] Based on the monthly average temperature and the monthly average clear sky index, the hourly monthly average temperature at a preset time unit per day is determined.
[0074] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0075] The step of determining the daily maximum average temperature and the daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature and the irradiation data comprises:
[0076] Calculating the radiation ratio of the daily average radiation to the monthly average radiation;
[0077] The daily maximum average temperature and the daily minimum average temperature are calculated with reference to the radiation ratio and based on the monthly average temperature, the hourly maximum temperature and the hourly minimum temperature.
[0078] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0079] Before the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data, the method further includes:
[0080] Any day is divided into four time stages, including the first time stage from 0:00 to sunrise, the second time stage from sunrise to the highest temperature point, the third time stage from the highest temperature point to sunset, and the fourth time stage from sunset to 24:00.
[0081] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0082] After the step of dividing any day into four time periods, the method further includes:
[0083] The irradiance in any hour after sunrise and before sunset is calculated based on the daily hourly irradiance and the hourly clear sky irradiance, and the irradiance includes the first irradiance in any hour in the second time period, the second irradiance in any hour in the third time period and the maximum irradiance of the day.
[0084] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0085] The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises:
[0086] During the first time period, obtaining the first current time point;
[0087] Calculating a first temperature difference between the current temperature at the first current time point and the daily minimum average temperature, and a second temperature difference between the first sunset temperature at sunset on the previous day and the daily minimum average temperature;
[0088] Get the first sunrise time of the current day and the first sunset time of the previous day;
[0089] Calculating a first time difference between the first sunrise time point and the first current time point, and a second time difference between the first sunrise time point and the first sunset time point;
[0090] The hourly temperature of each day in the first time period is calculated based on a first temperature ratio of the first temperature difference to the second temperature difference and a first time ratio of the first time difference to the second time difference.
[0091] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0092] The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises:
[0093] During the second time period, obtaining the second current time point;
[0094] Calculating a third temperature difference between the current temperature at the second current time point and the daily minimum average temperature, and a fourth temperature difference between the daily maximum average temperature and the daily minimum average temperature;
[0095] The daily hourly temperature of the second time period is calculated based on a second temperature ratio of the third temperature difference to the fourth temperature difference and a first irradiance ratio of the first irradiance to the maximum irradiance of the day.
[0096] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0097] The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises:
[0098] During the third time period, obtaining a third current time point;
[0099] Calculating a fifth temperature difference between the daily maximum average temperature and the current temperature at the third current time point, and a sixth temperature difference between the daily maximum average temperature and the daily minimum average temperature;
[0100] Based on the third temperature ratio of the fifth temperature difference and the sixth temperature difference, and the second irradiation ratio of the irradiance difference between the maximum irradiance of the day and the second irradiance to the maximum irradiance of the day, the daily hourly temperature of the third time period is calculated.
[0101] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0102] The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises:
[0103] During the fourth time period, obtaining a fourth current time point;
[0104] Calculating a seventh temperature difference between a second sunset temperature at sunset on the current day and the current temperature at the fourth current time point, and an eighth temperature difference between the second sunset temperature and the daily minimum average temperature of the following day;
[0105] Get the second sunset time of the current day and the second sunrise time of the next day;
[0106] Calculating a third time difference between the current time point and the second sunset time point, and a fourth time difference between the second sunset time point and the second sunrise time point;
[0107] The daily hourly temperature of the fourth time period is calculated based on a fourth temperature ratio of the seventh temperature difference to the eighth temperature difference and a second time ratio of the third time difference to the fourth time difference.
[0108] Furthermore, the processor 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0109] The step of correcting the reference monthly average temperature based on the monthly average temperature to determine the target daily hourly temperature includes:
[0110] If the reference monthly average temperature is different from the monthly average temperature, the average temperature ratio of the monthly average temperature to the reference monthly average temperature is determined, and the target daily hourly temperature is calculated based on the average temperature ratio and the daily hourly temperature.
[0111] The embodiment of the present invention provides a method for generating temperature data, referring to Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a method for generating temperature data according to the present invention.
[0112] In this embodiment, the method for generating temperature data includes:
[0113] Step S10: Based on the monthly average temperature and irradiation data of the preset reference area, determine the hourly monthly average temperature in the preset time unit of each day, and determine the hourly maximum temperature and the hourly minimum temperature from the hourly monthly average temperature.
[0114] The preset reference area refers to the geographical area where the monthly average temperature is collected, and is the geographical area where the power generation simulation is calculated and the photovoltaic power station is invested and constructed. The monthly average temperature T(m) refers to the collection of the average temperature data of each day, the sum of the data, and then the division by the number of days in the month. The clear sky index Kt(m), also known as the clear sky factor, refers to the ratio of the total solar radiation incident on the horizontal plane to the astronomical radiation, and its value is between 0 and 1. The hourly monthly average temperature refers to the average temperature corresponding to each hour of all days in the month. In this embodiment, T(m,h) represents the hourly monthly average temperature. For example, T(1,1) represents the average temperature at 1 a.m. in January, and T(10,23) represents the average temperature at 23 p.m. in October. The hourly monthly average temperature T(1,1) can be understood as the average temperature at 1 a.m. on 31 days in January. After calculating the hourly average monthly temperature T(m,h) based on the monthly average temperature T(m) and the monthly average clear sky index Kt(m) derived from the irradiance data, the highest hourly average monthly temperature is used as the hourly maximum temperature Tmax(m), and the highest hourly average monthly temperature is used as the hourly minimum temperature Tmin(m). In the above function, m represents month and h represents hour.
[0115] In this embodiment, the calculation formula for the hourly monthly average temperature T(m,h) is obtained according to the Erbs induction algorithm, as shown below:
[0116] ,
[0117] in,
[0118] A=25.8*Kt(m)-5.21.
[0119] Step S20: determining the daily maximum average temperature and the daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature and the irradiation data.
[0120] Step S30: Calculate the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the radiation data.
[0121] After obtaining the hourly maximum temperature Tmax(m) and hourly minimum temperature Tmin(m), we calculated the daily maximum average temperature Tmax(d) and daily minimum average temperature Tmin(d) based on the positive correlation between radiation and temperature: more radiation means higher temperatures, less radiation means lower temperatures. Where d represents the day.
[0122] The daily hourly temperature Tcal(h) is calculated based on the daily maximum average temperature Tmax(d) and the daily minimum average temperature Tmin(d). The reference monthly average temperature Tcal(m) is calculated based on the daily hourly temperature Tcal(h). "cal" indicates that the function is a calculation function.
[0123] In this embodiment, a method for generating temperature data is provided. The method comprises: determining the hourly monthly average temperature for a preset time unit each day based on the monthly average temperature and the monthly average clear sky index of a preset reference region, and determining the hourly maximum temperature and hourly minimum temperature from the hourly monthly average temperature; determining the daily maximum average temperature and daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, and the hourly minimum temperature; calculating the daily hourly temperature based on the daily maximum average temperature and the daily minimum average temperature, determining a reference monthly average temperature based on the daily hourly temperature; and correcting the reference monthly average temperature based on the monthly average temperature to determine a target daily hourly temperature.
[0124] This embodiment decomposes the monthly average temperature into hourly temperature data. First, the monthly average temperature is converted into hourly monthly average temperature. Then, using the positive correlation between temperature and irradiance, the ratio of monthly average irradiance to daily average irradiance is converted into a temperature ratio. The temperature distribution characteristics within a day are used to summarize the hourly temperature of each day.
[0125] This eliminates the need for extensive temperature data to calculate the target daily hourly temperature. Instead, monthly average temperature and irradiance data are sufficient to obtain hourly temperature data. This simplifies data acquisition for photovoltaic power generation assessments and improves the efficiency of data acquisition and project assessments. This addresses the difficulty in collecting hourly temperature data, which can lead to inaccurate and inefficient photovoltaic power generation simulation assessments.
[0126] Optionally, after the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data, the method further includes:
[0127] determining a reference monthly average temperature based on the daily hourly temperatures;
[0128] The reference monthly average temperature is corrected based on the monthly average temperature to determine a target daily hourly temperature.
[0129] In mathematical statistics, residual refers to the difference between the actual observation value and the estimated value (fitted value). After the reference monthly average temperature Tcal(m) is calculated, the residual correction is performed on the input monthly average temperature T(m) to ensure that the reference monthly average temperature Tcal(m) is equal to the monthly average temperature T(m), thereby calculating the final target daily hourly temperature T(h). After summarizing the daily hourly temperature of the day, the reference monthly average temperature obtained based on the decomposed hourly temperature data is corrected for the residual with the monthly average temperature to obtain the final target daily hourly temperature. The accurate monthly average temperature T(m) is used to correct the reference monthly average temperature calculated in this embodiment, thereby obtaining a realistic and accurate target daily hourly temperature.
[0130] Optionally, before the step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of a preset reference area, the method further includes:
[0131] Calculation parameters of the preset reference area are obtained, where the calculation parameters include the monthly average temperature and irradiation data of the preset reference area, and the irradiation data include the monthly average irradiation, the daily average irradiation, the daily hourly irradiation, the monthly clear sky irradiation, and the hourly clear sky irradiation.
[0132] In this embodiment, there is no need to directly purchase hourly temperature data or collect hourly temperature data. It is only necessary to obtain easily available calculation parameters of the preset reference area before calculation, including the monthly average temperature T(m) and irradiation parameters, where the irradiation parameters include monthly average irradiation G(m), daily average irradiation G(d), daily hourly irradiation G(h), monthly clear sky irradiation Gc(m), and hourly clear sky irradiation Gc(h).
[0133] Optionally, the step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of a preset reference area includes:
[0134] Obtaining the monthly average clear sky index based on the monthly average irradiance and the monthly clear sky irradiance;
[0135] Based on the monthly average temperature and the monthly average clear sky index, the hourly monthly average temperature at a preset time unit per day is determined.
[0136] The monthly average clear sky index Kt(m) is calculated based on the monthly average irradiance G(m) and the monthly clear sky irradiance Gc(m). The calculation formula is as follows:
[0137] .
[0138] Combined with the calculation formula of the hourly monthly average temperature T(m,h) obtained by the Erbs induction algorithm, the hourly monthly average temperature T(m,h) at the preset time unit of each day is determined by the monthly average temperature T(m) and the monthly average clear sky index Kt(m).
[0139] Optionally, the step of determining the daily maximum average temperature and the daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature and the irradiation data includes:
[0140] Calculating the radiation ratio of the daily average radiation to the monthly average radiation;
[0141] The daily maximum average temperature and the daily minimum average temperature are calculated with reference to the radiation ratio and based on the monthly average temperature, the hourly maximum temperature and the hourly minimum temperature.
[0142] Based on the monthly average temperature T(m), the hourly maximum temperature Tmax(m) and the hourly minimum temperature Tmin(m), the daily maximum average temperature Tmax(d) and the daily minimum average temperature Tmin(d) are calculated. The calculation formula is as follows:
[0143]
[0144]
[0145] The calculation idea is: according to the positive correlation between irradiance and temperature, the above calculation formula is converted into the proportional relationship as described below. According to the proportional relationship as follows, the calculation formula for the above-mentioned maximum average temperature Tmax(d) and the minimum average temperature Tmin(d) can be derived.
[0146]
[0147]
[0148] The average value of the hourly maximum temperature Tmax(m) and the hourly minimum temperature Tmin(m): (Tmax(m)-Tmin(m)) / 2 is used as the standard for the deviation of the daily maximum average temperature Tmax(d) and the daily minimum average temperature Tmin(d) from the monthly average temperature T(m). Therefore, Tmax(d)-T(m) in the above formula is the deviation of the daily maximum average temperature Tmax(d) from the monthly average temperature T(m), and T(m)-Tmin(d) is the deviation of the daily minimum average temperature Tmin(d) from the monthly average temperature T(m). Both correspond to the daily average radiation G(d) of the day. Similarly, (Tmax(m)-Tmin(m)) / 2 in the above formula corresponds to the monthly average radiation G(m) of the month.
[0149] Optionally, before the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data, the method further comprises:
[0150] Any day is divided into four time stages, including the first time stage from 0:00 to sunrise, the second time stage from sunrise to the highest temperature point, the third time stage from the highest temperature point to sunset, and the fourth time stage from sunset to 24:00.
[0151] In this embodiment, before calculating the daily hourly temperature Tcal(h) based on the daily maximum average temperature Tmax(d) and the daily minimum average temperature Tmin(d), the ratio relationship (kx, radiation ratio) between the cumulative surface radiation, i.e., the daily hourly radiation G(h) and the cumulative extraterrestrial radiation, i.e., the hourly clear sky radiation Gc(h) is also converted into a temperature relationship, thereby dividing any day into four time stages, namely, the first time stage from 0:00 to sunrise with no radiation, the second time stage from sunrise to the highest temperature point when the radiation continuously rises to the maximum value, the third time stage from the highest temperature point to sunset when the radiation continuously decreases to 0, and the fourth time stage from sunset to 24:00 with no radiation.
[0152] Optionally, after the step of dividing any day into four time periods, the method further includes:
[0153] The irradiance in any hour after sunrise and before sunset is calculated based on the daily hourly irradiance and the hourly clear sky irradiance, and the irradiance includes the first irradiance in any hour in the second time period, the second irradiance in any hour in the third time period and the maximum irradiance of the day.
[0154] After dividing any day into four time periods, the irradiance kx(h) in any hour after sunrise and before sunset is calculated based on the daily hourly irradiance G(h) and the hourly clear sky irradiance Gc(h). The calculation formula is as follows:
[0155] ,
[0156] Since solar radiation and irradiance only occur during the second and third time periods, we only have the first irradiance of any hour in the second time period, the second irradiance of any hour in the third time period, and the maximum irradiance of the day, kx.max(d). Furthermore, because solar radiation reaches its peak at noon, when the ground receives the most heat, the ground receives more solar energy than it dissipates, so the ground temperature will continue to rise over the next period of time. When the ground receives and dissipates equal heat, the ground temperature reaches its maximum value, and then the ground transfers this heat to the atmosphere. This entire process takes about three hours. Therefore, the highest kx value of the day is set at 3 p.m., and the irradiance ratio at 3 p.m. is used as the maximum irradiance of the day, kx.max(d). This is the closest to actual conditions.
[0157] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0158] During the first time period, obtaining the first current time point;
[0159] Calculating a first temperature difference between the current temperature at the first current time point and the daily minimum average temperature, and a second temperature difference between the first sunset temperature at sunset on the previous day and the daily minimum average temperature;
[0160] Get the first sunrise time of the current day and the first sunset time of the previous day;
[0161] Calculating a first time difference between the first sunrise time point and the first current time point, and a second time difference between the first sunrise time point and the first sunset time point;
[0162] The hourly temperature of each day in the first time period is calculated based on a first temperature ratio of the first temperature difference to the second temperature difference and a first time ratio of the first time difference to the second time difference.
[0163] The calculation formula for the hourly temperature of each day in the first time period is as follows:
[0164] ,
[0165] The calculation idea is: Similarly, according to the positive correlation between temperature and time, the above calculation formula is converted into the proportional relationship formula as described below. According to the proportional relationship formula below, the calculation formula for the hourly temperature Tcal(h) of the first time period can be derived.
[0166] ,
[0167] Among them, Tcal(h)-Tmin(d) is the first temperature difference, T.sunset(d-1)-Tmin(d) is the second temperature difference, h.sunrise(d)-h is the first time difference, and h.sunrise(d)-h.sunset(d-1) is the second time difference.
[0168] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0169] During the second time period, obtaining the second current time point;
[0170] Calculating a third temperature difference between the current temperature at the second current time point and the daily minimum average temperature, and a fourth temperature difference between the daily maximum average temperature and the daily minimum average temperature;
[0171] The daily hourly level of the second time period is calculated based on a second temperature ratio of the third temperature difference to the fourth temperature difference and a first irradiance ratio of the first irradiance to the maximum irradiance of the day.
[0172] The calculation formula for the hourly temperature of each day in the second time period is as follows:
[0173] ,
[0174] The calculation idea is: Similarly, according to the positive correlation between temperature and irradiation, the above calculation formula is converted into the proportional relationship as described below. According to the proportional relationship as follows, the calculation formula for the hourly temperature Tcal(h) of the second time period can be derived.
[0175] ,
[0176] Wherein, Tcal(h)-Tmin(d) is the third temperature difference, and Tmax(d)-Tmin(d) is the fourth temperature difference.
[0177] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0178] During the third time period, obtaining a third current time point;
[0179] Calculating a fifth temperature difference between the daily maximum average temperature and the current temperature at the third current time point, and a sixth temperature difference between the daily maximum average temperature and the daily minimum average temperature;
[0180] Based on the third temperature ratio of the fifth temperature difference and the sixth temperature difference, and the second irradiation ratio of the irradiance difference between the maximum irradiance of the day and the second irradiance to the maximum irradiance of the day, the daily hourly temperature of the third time period is calculated.
[0181] The calculation formula for the hourly temperature of each day in the third time period is as follows:
[0182] ,
[0183] The calculation idea is: Similarly, according to the positive correlation between temperature and irradiation, the above calculation formula is converted into the proportional relationship as described below. According to the proportional relationship as follows, the calculation formula for the hourly temperature Tcal(h) of the third time period can be derived.
[0184] ,
[0185] Among them, Tmax(d)-Tcal(h) is the fifth temperature difference, and Tmax(d)-Tmin(d) is the sixth temperature difference.
[0186] Optionally, the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data includes:
[0187] During the fourth time period, obtaining a fourth current time point;
[0188] Calculating a seventh temperature difference between a second sunset temperature at sunset on the current day and the current temperature at the fourth current time point, and an eighth temperature difference between the second sunset temperature and the daily minimum average temperature of the following day;
[0189] Get the second sunset time of the current day and the second sunrise time of the next day;
[0190] Calculating a third time difference between the current time point and the second sunset time point, and a fourth time difference between the second sunset time point and the second sunrise time point;
[0191] The daily hourly temperature of the fourth time period is calculated based on a fourth temperature ratio of the seventh temperature difference to the eighth temperature difference and a second time ratio of the third time difference to the fourth time difference.
[0192] The calculation formula for the hourly temperature of each day in the fourth time period is as follows:
[0193] ,
[0194] The calculation idea is: Similarly, according to the positive correlation between temperature and time, the above calculation formula is converted into the proportional relationship formula as described below. According to the proportional relationship formula below, the calculation formula for the hourly temperature Tcal(h) of the fourth time period can be derived.
[0195] ,
[0196] Among them, Tsunset(d)-Tcal(h) is the seventh temperature difference, Tsunset(d)-Tmin(d+1) is the eighth temperature difference, hh.sunset(d) is the third time difference, and h.sunset(d)-h.sunrise(d+1) is the fourth time difference.
[0197] Optionally, the step of correcting the reference monthly average temperature based on the monthly average temperature to determine the target daily hourly temperature includes:
[0198] If the reference monthly average temperature is different from the monthly average temperature, the average temperature ratio of the monthly average temperature to the reference monthly average temperature is determined, and the target daily hourly temperature is calculated based on the average temperature ratio and the daily hourly temperature.
[0199] The monthly average temperature T(m) is calculated by collecting the average temperature data for each day, adding them up, and dividing them by the number of days in the month. Using the same calculation method as the monthly average temperature T(m), the reference monthly average temperature Tcal(m) is calculated based on the calculated hourly temperature Tcal(h). The calculation formula is as follows:
[0200]
[0201] ,
[0202] Where T(d) is the calculated average temperature data for each day, and num(m) is the number of days in the month m.
[0203] Then, the calculated reference monthly average temperature Tcal(m) is corrected for the residual with the input monthly average temperature T(m) to ensure that the reference monthly average temperature Tcal(m) is equal to the monthly average temperature T(m), and the final target daily hourly temperature T(h) is calculated. The calculation formula is as follows:
[0204] ,
[0205] The calculation idea is: Similarly, according to the positive correlation between hours and months, the above calculation formula is converted into the proportional relationship as described below. According to the proportional relationship, the calculation formula for the above-mentioned daily hourly temperature T(h) can be derived.
[0206] .
[0207] Therefore, in this embodiment, the monthly average temperature is decomposed into hourly temperature data. First, the monthly average temperature is converted into hourly monthly average temperature. Then, using the positive correlation between temperature and irradiation, the ratio of monthly average irradiation to daily average irradiation is converted into a temperature ratio. In addition, the distribution characteristics of temperature within a day are used to summarize the hourly temperature of each day.
[0208] Finally, the reference monthly average temperature, obtained based on the decomposed hourly temperature data, is corrected for the residual difference between the monthly average temperature and the target daily hourly temperature. The reference monthly average temperature calculated in this embodiment is corrected with the accurate monthly average temperature T(m) to obtain a realistic and accurate target daily hourly temperature.
[0209] In addition, an embodiment of the present invention also provides a device for generating temperature data, which includes: a memory, a processor, and a computer program stored on the memory and runnable on the processor. When the computer program is executed by the processor, the steps of the temperature data generation method described above are implemented.
[0210] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating temperature data described above are implemented.
[0211] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0212] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0213] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0214] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating temperature data, characterized in that: The method for generating temperature data comprises the following steps: Determine the hourly monthly average temperature for each preset time unit of each day based on the monthly average temperature and irradiance data of a preset reference area, and determine the hourly maximum temperature and the hourly minimum temperature from the hourly monthly average temperature; Determine a daily maximum average temperature and a daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature, and the irradiance data; The daily hourly temperature is calculated based on the daily maximum average temperature, the daily minimum average temperature and the irradiance data.
2. The method for generating temperature data according to claim 1, wherein: After the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiance data, the method further includes: determining a reference monthly average temperature based on the daily hourly temperatures; The reference monthly average temperature is corrected based on the monthly average temperature to determine a target daily hourly temperature.
3. The method for generating temperature data according to claim 1, wherein: Before the step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of the preset reference area, the method further includes: Calculation parameters of the preset reference area are obtained, where the calculation parameters include the monthly average temperature and irradiation data of the preset reference area, and the irradiation data include the monthly average irradiation, the daily average irradiation, the daily hourly irradiation, the monthly clear sky irradiation, and the hourly clear sky irradiation.
4. The method for generating temperature data according to claim 3, wherein: The step of determining the hourly monthly average temperature at a preset time unit per day based on the monthly average temperature and irradiance data of a preset reference area comprises: Obtaining a monthly average clear sky index based on the monthly average irradiance and the monthly clear sky irradiance; Based on the monthly average temperature and the monthly average clear sky index, the hourly monthly average temperature at a preset time unit per day is determined.
5. The method for generating temperature data according to claim 3, wherein: The step of determining the daily maximum average temperature and the daily minimum average temperature based on the monthly average temperature, the hourly maximum temperature, the hourly minimum temperature and the irradiation data comprises: Calculating the radiation ratio of the daily average radiation to the monthly average radiation; The daily maximum average temperature and the daily minimum average temperature are calculated with reference to the radiation ratio and based on the monthly average temperature, the hourly maximum temperature and the hourly minimum temperature.
6. The method for generating temperature data according to claim 5, wherein: Before the step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiance data, the method further includes: Any day is divided into four time stages, including the first time stage from 0:00 to sunrise, the second time stage from sunrise to the highest temperature point, the third time stage from the highest temperature point to sunset, and the fourth time stage from sunset to 24:
00.
7. The method for generating temperature data according to claim 6, wherein: After the step of dividing any day into four time periods, the method further includes: The irradiance in any hour after sunrise and before sunset is calculated based on the daily hourly irradiance and the hourly clear sky irradiance, and the irradiance includes the first irradiance in any hour in the second time period, the second irradiance in any hour in the third time period and the maximum irradiance of the day.
8. The method for generating temperature data according to claim 7, wherein: The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises: During the first time period, obtaining the first current time point; Calculating a first temperature difference between the current temperature at the first current time point and the daily minimum average temperature, and a second temperature difference between the first sunset temperature at sunset on the previous day and the daily minimum average temperature; Get the first sunrise time of the current day and the first sunset time of the previous day; Calculating a first time difference between the first sunrise time point and the first current time point, and a second time difference between the first sunrise time point and the first sunset time point; The hourly temperature of each day in the first time period is calculated based on a first temperature ratio of the first temperature difference to the second temperature difference and a first time ratio of the first time difference to the second time difference.
9. The method for generating temperature data according to claim 7, wherein: The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises: During the second time period, obtaining the second current time point; Calculating a third temperature difference between the current temperature at the second current time point and the daily minimum average temperature, and a fourth temperature difference between the daily maximum average temperature and the daily minimum average temperature; The daily hourly temperature of the second time period is calculated based on a second temperature ratio of the third temperature difference to the fourth temperature difference and a first irradiance ratio of the first irradiance to the maximum irradiance of the day.
10. The method for generating temperature data according to claim 7, wherein: The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises: During the third time period, obtaining a third current time point; Calculating a fifth temperature difference between the daily maximum average temperature and the current temperature at the third current time point, and a sixth temperature difference between the daily maximum average temperature and the daily minimum average temperature; Based on the third temperature ratio of the fifth temperature difference and the sixth temperature difference, and the second irradiation ratio of the irradiance difference between the maximum irradiance of the day and the second irradiance to the maximum irradiance of the day, the daily hourly temperature of the third time period is calculated.
11. The method for generating temperature data according to claim 7, wherein: The step of calculating the daily hourly temperature based on the daily maximum average temperature, the daily minimum average temperature and the irradiation data comprises: During the fourth time period, obtaining a fourth current time point; Calculating a seventh temperature difference between a second sunset temperature at sunset on the current day and the current temperature at the fourth current time point, and an eighth temperature difference between the second sunset temperature and the daily minimum average temperature of the following day; Get the second sunset time of the current day and the second sunrise time of the next day; Calculating a third time difference between the current time point and the second sunset time point, and a fourth time difference between the second sunset time point and the second sunrise time point; The daily hourly temperature of the fourth time period is calculated based on a fourth temperature ratio of the seventh temperature difference to the eighth temperature difference and a second time ratio of the third time difference to the fourth time difference.
12. The method for generating temperature data according to claim 2, wherein: The step of correcting the reference monthly average temperature based on the monthly average temperature to determine the target daily hourly temperature includes: If the reference monthly average temperature is different from the monthly average temperature, the average temperature ratio of the monthly average temperature to the reference monthly average temperature is determined, and the target daily hourly temperature is calculated based on the average temperature ratio and the daily hourly temperature.
13. A device for generating temperature data, characterized in that: The temperature data generating device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the temperature data generating method according to any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for generating temperature data according to any one of claims 1 to 12.
Citation Information
Patent Citations
Multi-time-scale prediction method of photovoltaic generation power
CN108205717A
High-temporal-spatial-resolution near-surface air temperature reconstruction method and system and equipment
CN114019579A