Daylight greenhouse front roof shape planning method and device

CN118153151BActive Publication Date: 2026-09-15ACADEMY OF PLANNING & DESIGNING OF THE MINIST OF AGRI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410174599.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2026-09-15
Estimated Expiration
2044-02-07

AI Technical Summary

Technical Problem

[0004]本发明提供一种日光温室前屋面形状规划方法及装置,用以解决现有技术中尚未形成可靠且具有可操作性的前屋面形状设计方法的缺陷,快速、高效地确定日光温室的前屋面形状,具有较强的可操作性

Benefits of technology

[0024] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described methods for planning the shape of the front roof of a solar greenhouse.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118153151B_ABST
    Figure CN118153151B_ABST
Patent Text Reader

Abstract

The application provides a sunlight greenhouse front roof shape planning method and device, relates to the technical field of agricultural engineering, and comprises the following steps: obtaining sunlight greenhouse data, wherein the sunlight greenhouse data comprises a ridge position and a bottom position; and obtaining a front roof planning shape according to the sunlight greenhouse data and in combination with preset constraint conditions; wherein the preset constraint conditions comprise a minimum operation height constraint, a ridge slope constraint and a bottom slope constraint. According to the obtained sunlight greenhouse data, the minimum operation height constraint, the ridge slope constraint and the bottom slope constraint are combined to plan the front roof shape, so that the shape of the front roof of the sunlight greenhouse is quickly and efficiently obtained under the condition that the total solar radiation amount accumulated by the front roof meets the control target, the planning mode of the front roof shape is standardized, the reliability is improved, and the method has strong operability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of agricultural engineering technology, and in particular to a method and apparatus for planning the shape of the front roof of a solar greenhouse. Background Technology

[0002] A solar greenhouse is an agricultural building that relies on passively receiving solar heat to maintain the internal temperature, thus meeting the needs of off-season overwintering vegetable crop production. The front roof of a solar greenhouse is a crucial component affecting its performance in terms of lighting and structural load-bearing capacity. Properly determining the shape of the front roof is of great significance for ensuring sufficient light intake and creating the necessary light and heat environment inside.

[0003] Currently, in the actual design of solar greenhouse projects, designers and builders tend to consider the ease of design and manufacturing process, and adopt methods that combine engineering experience to select and determine the shape of the front roof. Various types of front roof shapes have been proposed, including single curves such as circles, parabolas, ellipses, and power functions, or combinations of two curves such as straight lines-circles, circles-parabolas, and double circles. However, a reliable and operable standardized design method for a reasonable roof shape has not yet been formed. Summary of the Invention

[0004] This invention provides a method and apparatus for planning the shape of the front roof of a solar greenhouse, which solves the problem that there is no reliable and operable method for designing the shape of the front roof in the prior art. It can quickly and efficiently determine the shape of the front roof of a solar greenhouse and has strong operability.

[0005] This invention provides a method for planning the shape of the front roof of a solar greenhouse, comprising: acquiring solar greenhouse data, the solar greenhouse data including the ridge position and the base position; and obtaining the planned shape of the front roof based on the solar greenhouse data and in combination with preset constraints; wherein the preset constraints include minimum working height constraints, ridge slope constraints, and base slope constraints.

[0006] According to the present invention, a method for planning the shape of the front roof of a solar greenhouse is provided. Based on the solar greenhouse data and combined with preset constraints, the planned shape of the front roof is obtained, including: determining the model parameters of a previously constructed front roof planning model based on the ridge position, the base position, and the preset constraints; and updating the front roof planning model using the model parameters to obtain the planned shape of the front roof.

[0007] According to the present invention, a method for planning the shape of the front roof of a solar greenhouse is provided. Based on the ridge position, the base position, and preset constraints, the method determines the model parameters of a previously constructed front roof planning model. This includes: optimizing the previously constructed front roof planning model based on the ridge position and the base position, combined with the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, to obtain corresponding model optimization parameters; and determining that the base position conforms to the base slope constraint based on the optimized front roof planning model corresponding to the model optimization parameters, then using the model optimization parameters as model parameters.

[0008] According to the present invention, a method for planning the shape of the front roof of a solar greenhouse includes, before determining the model parameters of a pre-constructed front roof planning model based on the ridge position, the base position, and preset constraints, constructing a front roof planning model, wherein the front roof planning model includes a first model for characterizing the shape of the front roof from the base position to the lowest working height position and a second model for characterizing the shape of the front roof from the lowest working height position to the ridge position;

[0009] Based on the ridge position and the base position, combined with the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, the previously constructed front roof planning model is optimized to obtain corresponding model optimization parameters. This includes: inputting the base position and the minimum working height position into the first model to obtain a first parameter constraint; wherein the x-coordinate of the minimum working height position is previously determined based on the minimum working height constraint; inputting the minimum working height position and the ridge position into the second model to obtain a second parameter constraint; and obtaining the corresponding model optimization parameters based on the first parameter constraint, the second parameter constraint, the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position.

[0010] According to the present invention, a method for planning the shape of the front roof of a solar greenhouse is provided, wherein the front roof planning model is represented as follows:

[0011]

[0012] Among them, S AB (x) represents the first model; (x, S) AB (x) represents the position of any point on the front roof between the foot position A and the lowest working height position B; S BC (x) represents the second model; (x, S) BC(x) represents the position of any point on the front roof between the minimum working height position B and the ridge position C; x1 represents the abscissa of the minimum working height position determined based on the minimum working height constraint; a1, b1, c1, a2, b2 and c2 represent the parameters of the front roof planning model.

[0013] According to the method for planning the shape of the front roof of a solar greenhouse provided by the present invention, the minimum working height constraint is used to limit the minimum working height at a preset position from the base to be greater than or equal to a preset height threshold; the ridge slope constraint is used to limit the ridge slope to be greater than or equal to a first preset slope threshold; the base slope constraint is used to limit the base slope to be greater than or equal to a second preset slope threshold; the slope constraint at the minimum working height position is expressed as:

[0014] S′ AB (x1)=S′ BC (x1)

[0015] S′ AB (x)=b1+2c1x

[0016] S′ BC (x) = b² + 2c²(x - x₁)

[0017] Among them, S′ AB (x1) represents the slope of the front roof shape at point B from the base position to the lowest working height position; S′ BC (x1) represents the slope of the front roof shape at point B from the lowest working height position to the ridge position.

[0018] According to the method for planning the shape of the front roof of a solar greenhouse provided by the present invention, the model optimization parameters are expressed as follows:

[0019]

[0020] Wherein, a1, b1, c1, a2, b2 and c2 represent model optimization parameters, that is, the parameters of the optimized front roof planning model; A(0,0) represents the foot position; B(x1,y1) represents the minimum working height position; C(x2,y2) represents the ridge position; θ1 represents the ridge slope.

[0021] The present invention also provides a device for planning the shape of the front roof of a solar greenhouse, comprising: a data acquisition module for acquiring solar greenhouse data, the solar greenhouse data including the ridge position and the base position; and a front roof shape planning module for obtaining the planned shape of the front roof based on the solar greenhouse data and in combination with preset constraints; wherein the preset constraints include a minimum working height constraint, a ridge slope constraint, and a base slope constraint.

[0022] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described method for planning the shape of the front roof of a solar greenhouse.

[0023] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for planning the shape of the front roof of a solar greenhouse as described above.

[0024] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described methods for planning the shape of the front roof of a solar greenhouse.

[0025] The present invention provides a method and apparatus for planning the shape of the front roof of a solar greenhouse. Based on the acquired solar greenhouse data, and combined with the minimum working height constraint, ridge slope constraint, and base slope constraint, the shape of the front roof is planned. This method and apparatus can quickly and efficiently obtain the shape of the front roof of the solar greenhouse while ensuring that the total solar radiation intercepted by the front roof meets the control target. It standardizes the planning method of the front roof shape, improves reliability, and has strong operability. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0027] Figure 1 This is one of the flowcharts illustrating the method for planning the shape of the front roof of a solar greenhouse provided by the present invention;

[0028] Figure 2 This is a schematic diagram illustrating the relationship between the data of solar greenhouses provided by this invention;

[0029] Figure 3 This is a schematic diagram of the planned shape of the front roof provided by the present invention;

[0030] Figure 4 This is a schematic diagram of the structure of the greenhouse roof shape planning device provided by the present invention;

[0031] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0033] Figure 1 A flowchart illustrating a method for planning the shape of the front roof of a solar greenhouse according to the present invention is provided. The method includes:

[0034] S11, Obtain data for the solar greenhouse, including the ridge position and the base position;

[0035] S12. Based on the data of the solar greenhouse and combined with the preset constraints, the planned shape of the front roof is obtained; among which, the preset constraints include minimum working height constraint, ridge slope constraint and foot slope constraint.

[0036] It should be noted that the step number "S1N" in this manual does not represent the order of the methods for planning the shape of the roof of a solar greenhouse. The following details will explain this in conjunction with... Figure 2 The present invention describes a method for planning the shape of the front roof of a solar greenhouse.

[0037] Step S11: Obtain greenhouse data, which includes the ridge position and the base position.

[0038] In this embodiment, acquiring greenhouse data includes: acquiring the design length of the front roof projection and the design height of the ridge; and obtaining the ridge position and the base position based on the design length of the front roof projection and the design height of the ridge, combined with the previously constructed coordinate system.

[0039] It should be noted that before obtaining the ridge position and the base position, the following steps are taken: using the base as the origin of the coordinate system, using the direction from the origin to the projection of the ridge onto the ground as the horizontal coordinate of the coordinate system, and using the ridge height direction as the vertical coordinate of the coordinate system, a coordinate system is constructed.

[0040] Additionally, the base position is represented as A(0, 0), and the ridge position is represented as C(x2, y2), for reference. Figure 2 This method uses a parabola as the shape of the front roof for specific design, as shown below.

[0041] S12. Based on the data of the solar greenhouse and combined with the preset constraints, the planned shape of the front roof is obtained; among which, the preset constraints include minimum working height constraint, ridge slope constraint and foot slope constraint.

[0042] In this embodiment, the planned shape of the front roof is obtained based on greenhouse data and preset constraints. This includes: determining the model parameters of the previously constructed front roof planning model based on the ridge position, base position, and preset constraints; and updating the front roof planning model using the model parameters to obtain the planned shape of the front roof. It should be noted that Matlab software can be used to determine the model parameters of the previously constructed front roof planning model based on the ridge position, base position, and preset constraints.

[0043] Furthermore, based on the ridge location, the base location, and preset constraints, the model parameters of the previously constructed front roof planning model are determined, including:

[0044] SA optimizes the previously constructed front roof planning model based on the ridge and base positions, combined with the minimum working height constraint, ridge slope constraint, and slope constraint of the previously obtained minimum working height position, to obtain the corresponding model optimization parameters.

[0045] In this embodiment, before determining the model parameters of the previously constructed front roof planning model based on the ridge position, the base position, and preset constraints, the process includes: constructing a front roof planning model, which includes a first model for characterizing the shape of the front roof from the base position to the lowest working height position and a second model for characterizing the shape of the front roof from the lowest working height position to the ridge position.

[0046] It should be noted that the front roof planning model is represented as follows:

[0047] S AB (x)=a1+b1x+c1x 2

[0048] S BC (x) = a² + b²(x - x₁) + c²(x - x₁) 2

[0049] Among them, S AB (x) represents the first model; (x, S) AB (x) represents the position of any point on the front roof between the base position A and the lowest working height position B; S BC (x) represents the second model; (x, S) BC(x) represents the position of any point on the front roof between the minimum working height position B and the ridge position C; x1 represents the abscissa of the minimum working height position determined based on the minimum working height constraint; a1, b1, c1, a2, b2, and c2 represent the parameters of the front roof planning model. It should be noted that the base position and ridge position can be determined based on the acquired greenhouse data, the abscissa of the minimum working height can be determined based on the minimum working height constraint, and the ordinate can be continuously selected based on the minimum working height constraint during the subsequent optimization of the front roof planning model, and the corresponding optimal minimum working height can be obtained when determining the model optimization parameters.

[0050] Accordingly, based on the ridge and base locations, and combining the minimum working height constraint, ridge slope constraint, and slope constraint of the previously obtained minimum working height location, the previously constructed front roof planning model is optimized to obtain the corresponding model optimization parameters, including:

[0051] SA1, input the base position and the minimum working height position into the first model to obtain the first parameter constraint; wherein, the x-coordinate of the minimum working height position is determined first based on the minimum working height constraint.

[0052] It should be noted that the base position is represented as A(0, 0), and the minimum working height position is represented as B(x1, y1); the first parameter constraint includes a first parameter sub-constraint obtained by inputting the base position into the first model and a second parameter sub-constraint obtained by inputting the minimum working height position into the first model. The first parameter sub-constraint is expressed as:

[0053] a1 = 0

[0054] Additionally, the second parameter sub-constraint is expressed as:

[0055] a1+x1b1+x1 2 c1=y1

[0056] SA2 inputs the minimum working height position and the ridge position into the second model to obtain the second parameter constraint.

[0057] Similarly, the ridge position is represented as C(x2, y2); the second parameter constraint includes a third parameter sub-constraint obtained by inputting the lowest working height position into the second model and a fourth parameter sub-constraint obtained by inputting the ridge height position into the second model, wherein the third parameter sub-constraint is represented as:

[0058] a2=y1

[0059] Additionally, the fourth parameter sub-constraint is expressed as:

[0060] a² + (x² - x₁)b² + (x² - x₁) 2c2=y2

[0061] SA3 obtains the corresponding model optimization parameters based on the first parameter constraint, the second parameter constraint, the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position.

[0062] It should be noted that, based on the first parameter constraint, the second parameter constraint, the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, the following result is obtained:

[0063]

[0064] It should be added that the slope constraint at the lowest working height position is used to ensure that the slope of the lowest working height is equal in both the first and second models. That is, the slope constraint at the lowest working height position is expressed as:

[0065] S′ AB (x1)=S′ BC (x1)

[0066] S′ AB (x)=b1+2c1x

[0067] S′ BC (x) = b² + 2c²(x - x₁)

[0068] Among them, S′ AB (x1) represents the slope of the front roof shape at point B from the base position to the lowest working height position; S′ BC (x1) represents the slope of the front roof shape at point B, from the lowest working height position to the ridge position. It should be added that the slope constraint at the lowest working height position can also be expressed as b1 + 2c1x1 = b2.

[0069] In addition, the minimum working height constraint is used to limit the minimum working height at a preset position from the bottom to be greater than or equal to a preset height threshold; the ridge slope constraint is used to limit the ridge slope to be greater than or equal to a first preset slope threshold.

[0070] Furthermore, the preset position, preset height threshold, first preset slope threshold, and second preset slope threshold can be determined according to the design standards or specifications of the greenhouse and the actual design requirements. For example, the preset position can be set to 500mm, the preset height threshold can be set to 1m, and the first preset slope threshold can be set to 8°, without any specific limitation.

[0071] In an optional embodiment, the model optimization parameters are represented as:

[0072]

[0073] Where a1, b1, c1, a2, b2 and c2 represent the model optimization parameters, that is, the parameters of the optimized front roof planning model; A(0,0) represents the base position; B(x1,y1) represents the minimum working height position; C(x2,y2) represents the ridge position; θ1 represents the ridge slope.

[0074] SB, based on the optimized front roof planning model corresponding to the model optimization parameters, if the base position meets the base slope constraint, then the model optimization parameters are used as model parameters.

[0075] It should be added that the base slope constraint is used to limit the base slope θ2 to be greater than or equal to the second preset slope threshold. The second preset slope threshold can be determined according to the design standards or specifications of the greenhouse and the actual design requirements. For example, the second preset slope threshold can be set to 60°, and there is no specific limitation.

[0076] In an optional embodiment, in order to evaluate the accuracy of the above method, the total solar radiation intercepted by the roof of the greenhouse before the winter solstice in different regions and with different front roof curves was selected, as shown in Table 1.

[0077] Table 1 shows that when the current horizontal projection length of the roof is 9m, the cumulative daily solar radiation on the winter solstice is parabolic > hyperboloid > elliptic > power function > double parabola. The parabola is 3.4%, 4.5%, 5.1%, and 6% higher than the hyperboloid, elliptic, power function, and double parabola, respectively. When the current horizontal projection length of the roof is 10m, the cumulative daily solar radiation on the winter solstice is double parabola > hyperboloid > power function > parabola > elliptic. The double parabola is 1.4%, 1.8%, 1.85%, and 2.5% higher than the hyperboloid, power function, parabola, and elliptic, respectively. When the current horizontal projection length of the roof is 12m, the cumulative daily solar radiation on the winter solstice is parabolic > double parabola > elliptic > hyperboloid > power function. The parabola is 0.68%, 0.83%, 1.9%, and 2.2% higher than the double parabola, elliptic, hyperboloid, and power function, respectively. Regardless of how the projected length of the front roof changes, the daily cumulative irradiance of the greenhouse on the winter solstice differs by less than 6% under the five different front roof curve forms, indicating that the double parabolic front roof curve designed using this invention is applicable.

[0078] Table 1. Daily cumulative solar irradiance on the winter solstice (MJ)

[0079]

[0080] Furthermore, taking the planning of the shape of the front roof of the solar greenhouse in Beijing as an example, the latitude of Beijing is 39.9°N, and the given front roof curve length is 8 to 10m, as shown in Table 2 below, which gives 7 different combinations of design parameters.

[0081] Table 1. Parameter Combinations for Solar Greenhouse

[0082]

[0083]

[0084] The following text uses only the first parameter combination as an example. Other parameter combinations are similar to the first parameter combination and will not be described further here.

[0085] Based on the first parameter combination and the optimized parameters of the above model, a1, b1, c1, a2, b2, and c2 are calculated:

[0086]

[0087] By optimizing the parameters of the model and updating the front roof planning model, we obtain:

[0088]

[0089] Based on the updated front roof planning model, the following is obtained: Figure 3 The planned shape of the front roof is shown.

[0090] In summary, the embodiments of the present invention, based on the acquired data of the solar greenhouse and combined with the minimum operating height constraint, ridge slope constraint, and base slope constraint, plan the shape of the front roof. This allows for the rapid and efficient acquisition of the shape of the front roof of the solar greenhouse while ensuring that the total solar radiation intercepted by the front roof meets the control target. It standardizes the planning method of the front roof shape, improves reliability, and has strong operability.

[0091] The following describes the greenhouse front roof shape planning device provided by the present invention. The greenhouse front roof shape planning device described below and the greenhouse front roof shape planning method described above can be referred to in correspondence.

[0092] Figure 4 A schematic diagram of a shape planning device for the front roof of a solar greenhouse is shown. The device includes:

[0093] Data acquisition module 41 acquires data of the solar greenhouse, including the ridge position and the base position;

[0094] The front roof shape planning module 42 obtains the planned shape of the front roof based on the data of the solar greenhouse and in combination with preset constraints. Among them, the preset constraints include minimum working height constraints, ridge slope constraints and foot slope constraints.

[0095] In this embodiment, the data acquisition module 41 includes: a data acquisition unit for acquiring the front roof projection design length and the ridge design height; and a position acquisition unit for obtaining the ridge position and the base position based on the front roof projection design length and the ridge design height, combined with a previously constructed coordinate system.

[0096] Additionally, the front roof shape planning module 42 includes: a parameter determination unit, which determines the model parameters of the previously constructed front roof planning model based on the ridge position, the base position, and preset constraints; and a shape planning unit, which updates the front roof planning model using the model parameters to obtain the planned shape of the front roof. It should be noted that the model parameters of the previously constructed front roof planning model can be determined using Matlab software based on the ridge position, the base position, and preset constraints.

[0097] Furthermore, the parameter determination unit includes: a parameter optimization subunit, which optimizes the previously constructed front roof planning model based on the ridge position and the base position, combined with the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, to obtain the corresponding model optimization parameters; and a parameter determination subunit, which determines that the base position conforms to the base slope constraint based on the optimized front roof planning model corresponding to the model optimization parameters, and then uses the model optimization parameters as model parameters.

[0098] Specifically, the device further includes: a model building unit, which builds a front roof planning model before determining the model parameters of the previously built front roof planning model based on the ridge position, the base position, and preset constraints. The front roof planning model includes a first model for representing the shape of the front roof from the base position to the lowest working height position and a second model for representing the shape of the front roof from the lowest working height position to the ridge position.

[0099] Accordingly, the parameter optimization subunit includes: a first constraint acquisition subunit, which inputs the base position and the minimum working height position into the first model to obtain the first parameter constraint; wherein the x-coordinate of the minimum working height position is determined based on the minimum working height constraint; a second constraint acquisition subunit, which inputs the minimum working height position and the ridge position into the second model to obtain the second parameter constraint; and a parameter optimization subunit, which obtains the corresponding model optimization parameters based on the first parameter constraint, the second parameter constraint, the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously acquired minimum working height position.

[0100] It should be added that the slope constraint at the minimum working height position is used to ensure that the slope of the minimum working height is equal in the first model and the second model. In addition, the minimum working height constraint is used to ensure that the minimum working height at a preset position from the base is greater than or equal to a preset height threshold; the ridge slope constraint is used to ensure that the ridge slope is greater than or equal to a first preset slope threshold; and the base slope constraint is used to ensure that the base slope is greater than or equal to a second preset slope threshold.

[0101] Furthermore, the preset position, preset height threshold, first preset slope threshold, second preset slope threshold, and second preset slope threshold can be determined according to the design standards or specifications of the solar greenhouse and actual design requirements. For example, the preset position can be set to 500mm, the preset height threshold can be set to 1m, the first preset slope threshold can be set to 8°, and the second preset slope threshold can be set to 60°, without any specific limitation.

[0102] In summary, the embodiments of the present invention, through the front roof shape planning module, plan the shape of the front roof based on the data of the solar greenhouse obtained by the data acquisition module, combined with the minimum working height constraint, ridge slope constraint, and base slope constraint. This allows for the rapid and efficient acquisition of the shape of the front roof of the solar greenhouse while ensuring that the total solar radiation intercepted by the front roof meets the control target. It standardizes the planning method of the front roof shape, improves reliability, and has strong operability.

[0103] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include: a processor 51, a communication interface 52, a memory 53, and a communication bus 54. The processor 51, communication interface 52, and memory 53 communicate with each other via the communication bus 54. The processor 51 can call logical instructions in the memory 53 to execute a method for planning the shape of the front roof of a solar greenhouse. This method includes: acquiring solar greenhouse data, including the ridge position and the base position; and obtaining the planned shape of the front roof based on the solar greenhouse data and preset constraints. The preset constraints include a minimum working height constraint, a ridge slope constraint, and a base slope constraint.

[0104] Furthermore, the logical instructions in the aforementioned memory 53 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0105] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for planning the shape of the front roof of a solar greenhouse provided by the above methods. The method includes: acquiring solar greenhouse data, which includes the ridge position and the base position; and obtaining the planned shape of the front roof based on the solar greenhouse data and preset constraints. The preset constraints include a minimum working height constraint, a ridge slope constraint, and a base slope constraint.

[0106] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the method for planning the shape of the front roof of a solar greenhouse provided by the above methods. The method includes: acquiring solar greenhouse data, the solar greenhouse data including the ridge position and the base position; and obtaining the planned shape of the front roof based on the solar greenhouse data and in combination with preset constraints; wherein the preset constraints include a minimum working height constraint, a ridge slope constraint, and a base slope constraint.

[0107] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0108] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for planning the shape of the front roof of a solar greenhouse, characterized in that, include: Acquire data about a solar greenhouse, including the location of the ridge and the location of the base. Based on the data of the solar greenhouse and combined with preset constraints, the planned shape of the front roof is obtained; wherein, the preset constraints include minimum working height constraints, ridge slope constraints, and base slope constraints. Based on the greenhouse data and pre-defined constraints, the planned shape of the front roof is obtained, including: Based on the ridge position, the base position, and the preset constraints, determine the model parameters of the previously constructed front roof planning model; The front roof planning model is updated using the model parameters to obtain the planned shape of the front roof; Based on the ridge position, the base position, and preset constraints, determine the model parameters of the previously constructed front roof planning model, including: Based on the ridge position and the base position, combined with the minimum working height constraint, the ridge slope constraint and the slope constraint of the previously obtained minimum working height position, the previously constructed front roof planning model is optimized to obtain the corresponding model optimization parameters; Based on the optimized front roof planning model corresponding to the model optimization parameters, if it is determined that the foot position conforms to the foot slope constraint, then the model optimization parameters are used as model parameters. Before determining the model parameters of the previously constructed front roof planning model based on the ridge position, the base position, and preset constraints, the process includes: Construct a front roof planning model, the front roof planning model including a first model for representing the shape of the front roof from the foot position to the lowest working height position and a second model for representing the shape of the front roof from the lowest working height position to the ridge position; Based on the ridge position and the base position, combined with the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, the previously constructed front roof planning model is optimized to obtain the corresponding model optimization parameters, including: The base position and the minimum working height position are input into the first model to obtain the first parameter constraint; wherein, the x-coordinate of the minimum working height position is determined first based on the minimum working height constraint; The minimum working height position and the ridge position are input into the second model to obtain the second parameter constraint; Based on the first parameter constraint, the second parameter constraint, the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, the corresponding model optimization parameters are obtained. The front roof planning model is represented as follows: in, This represents the first model; This indicates the position of any point on the front roof between the base position A and the lowest working height position B; This represents the second model; This indicates the position of any point on the front roof between the lowest working height position B and the ridge position C; The x-coordinate represents the position of the minimum working height determined based on the minimum working height constraint; , , , , and The parameters represent the front roof planning model.

2. The method for planning the shape of the front roof of a solar greenhouse according to claim 1, characterized in that, The minimum working height constraint is used to limit the minimum working height at a preset position from the base to be greater than or equal to a preset height threshold. The ridge slope constraint is used to limit the ridge slope to be greater than or equal to a first preset slope threshold. The foot slope constraint is used to limit the foot slope to be greater than or equal to a second preset slope threshold. The slope constraint at the lowest working height position is expressed as: in, This represents the slope of the front roof shape at point B, from the base position to the lowest working height position; This represents the slope of the front roof shape at point B, from the lowest working height position to the ridge position.

3. The method for planning the shape of the front roof of a solar greenhouse according to claim 1, characterized in that, The model optimization parameters are expressed as follows: in, , , , , and The parameters represent the model optimization parameters, i.e., the parameters of the optimized front roof planning model; A(0,0) represents the base position; B(x1,y1) represents the minimum working height position; C(x2,y2) represents the ridge position. This indicates the slope of the roof ridge.

4. A device for planning the shape of the front roof of a solar greenhouse, characterized in that, include: The data acquisition module acquires data of the solar greenhouse, including the ridge position and the base position. The front roof shape planning module obtains the planned shape of the front roof based on the data of the solar greenhouse and in combination with preset constraints; wherein, the preset constraints include minimum working height constraints, ridge slope constraints and base slope constraints. The front roof shape planning module includes: The parameter determination unit determines the model parameters of the previously constructed front roof planning model based on the ridge position, the base position, and preset constraints. The shape planning unit updates the front roof planning model using the model parameters to obtain the planned shape of the front roof. The parameter determination unit includes: The parameter optimization subunit optimizes the previously constructed front roof planning model based on the ridge position and the base position, combined with the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position, to obtain the corresponding model optimization parameters. The parameter determination sub-unit determines that, based on the optimized front roof planning model corresponding to the model optimization parameters, the base position conforms to the base slope constraint, and then the model optimization parameters are used as model parameters. The device further includes: The model building unit constructs a front roof planning model before determining the model parameters of the previously constructed front roof planning model based on the ridge position, the base position, and preset constraints. The front roof planning model includes a first model for representing the shape of the front roof from the base position to the lowest working height position and a second model for representing the shape of the front roof from the lowest working height position to the ridge position. The parameter optimization subunit includes: The first constraint acquisition subunit inputs the base position and the minimum working height position into the first model to obtain the first parameter constraint; wherein, the x-coordinate of the minimum working height position is determined first based on the minimum working height constraint; The second constraint acquisition subunit inputs the minimum working height position and the ridge position into the second model to obtain the second parameter constraint; The parameter optimization subunit obtains the corresponding model optimization parameters based on the first parameter constraint, the second parameter constraint, the minimum working height constraint, the ridge slope constraint, and the slope constraint of the previously obtained minimum working height position. The front roof planning model is represented as follows: in, This represents the first model; This indicates the position of any point on the front roof between the base position A and the lowest working height position B; This represents the second model; This indicates the position of any point on the front roof between the lowest working height position B and the ridge position C; The x-coordinate represents the position of the minimum working height determined based on the minimum working height constraint; , , , , and The parameters represent the front roof planning model.

5. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method for planning the shape of the front roof of a solar greenhouse as described in any one of claims 1 to 3.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for planning the shape of the front roof of a solar greenhouse as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Daylight greenhouse building orientation simplification design calculation method

    CN107480449A

  • Machine-suitable light and simple sunlight greenhouse enclosed by full-flexible materials and design method of machine-suitable light and simple sunlight greenhouse

    CN114568177A