Method, device, equipment and storage medium for characterizing pore size distribution of solid materials

The original data of porous solid materials were obtained through nitrogen physical adsorption test, and pore size distribution maps were drawn using Python and Turtle libraries, and auxiliary peak height data was added to the effective data, which solved the problem of low calculation efficiency of pore size distribution map boundary and proportion in the existing technology, and achieved efficient and accurate pore size distribution characterization.

CN116029268BActive Publication Date: 2025-08-01CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111251650.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2025-08-01
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

In the prior art, the information data for generating pore size distributions of porous solid materials is inefficient, and it is difficult to accurately determine the peak boundaries and proportions in the pore size distribution map.

Method used

The original data is obtained through nitrogen physical adsorption test, the aperture distribution map is drawn using Python language and Turtle library, and auxiliary elements are added to the effective data, the front and back auxiliary peak height data are set to determine the left and right boundaries of the target peak, and the proportion of each peak is calculated.

Benefits of technology

The efficiency and accuracy of the generation of pore size distribution information data are improved, and the accuracy of the calculation of the boundary and proportion of peaks in the pore size distribution map is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116029268B_ABST
    Figure CN116029268B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus, device and storage medium for characterizing the pore size distribution of solid materials, including the steps of: obtaining the original data generated by nitrogen physical adsorption testing of the solid materials; determining target data from the original data and generating valid data; respectively using the X-axis data and Y-axis data in each element as point coordinates, and generating a pore size distribution diagram according to the valid data; generating auxiliary data by adding auxiliary elements to the valid data; generating characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the peak top data determined from the valid data; respectively determining the left and right boundaries of each target peak according to the auxiliary data; respectively calculating the proportion of each target peak among all target peaks according to the valid data; while drawing the pore size distribution diagram of the solid materials, the present invention quickly generates characterization data such as the proportion of each corresponding peak among all peaks, improving the efficiency and effect of generating information data of the pore size distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of catalysts, and particularly to a method, device, equipment and storage medium for characterizing the pore size distribution of solid materials. Background Art

[0002] Porous solid materials are widely used in the field of chemical engineering, mainly for catalysis and adsorption, etc. Among them, the research and application of the pore structure properties of porous solid materials are extremely important. In the pore structure, pore structure parameters such as pore volume and specific surface area of the material are very intuitive and simple, and are easy for users to apply. However, the characterization of pore size distribution in the pore structure is relatively difficult. Because the pore size distribution is a function of the pore size of a group of materials with respect to the pore volume or pore surface area, and it needs to be applied to production practice through complex calculations. Generally, it needs to be manually calculated, or a mathematical formula is manually established in excel for calculation and generation.

[0003] The inventors have found through research that the existing methods for generating information data for characterizing the pore size distribution of porous solid materials require a large amount of energy and time, and thus are inefficient.

[0004] The information disclosed in this background art section is only intended to enhance the overall understanding of the present invention, and should not be regarded as an admission or any form of implication that this information constitutes the prior art already known to those of ordinary skill in the art. Summary of the Invention

[0005] The purpose of the present invention is to improve the efficiency and effect of generating information data for characterizing the pore size distribution of porous solid materials.

[0006] The present invention provides a method for characterizing the pore size distribution of solid materials, including the steps of:

[0007] S11. Obtain the original data generated by the physical adsorption test of nitrogen on the solid material; the original data includes X-line data and Y-line data;

[0008] S12. Determine the target data for characterizing the pore size distribution of the solid material from the original data, and generate valid data; the elements of the valid data include X-axis data and Y-axis data;

[0009] S13. Respectively take the X-axis data and Y-axis data in each of the elements as point coordinates, and generate the pore size distribution diagram of the solid material according to the valid data;

[0010] S14. Generating auxiliary data by adding auxiliary elements to the valid data, including: setting a front auxiliary element before the first element of the valid data and a rear auxiliary element after the last element; the X-axis data of the front auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the front auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the rear auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the rear auxiliary element is greater than the Y-axis data of the last element;

[0011] S15. Generating characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the valid data; respectively determining the left and right boundaries of each target peak according to the auxiliary data; respectively calculating the proportion of each target peak among all target peaks according to the valid data.

[0012] Preferably, in the present invention, the original data is in the excel file format;

[0013] The original data in the excel file format includes two rows, namely the X-row data and the Y-row data.

[0014] Preferably, in the present invention, determining the valid data for characterizing the pore size distribution of the solid material from the original data includes:

[0015] Traversing the entire excel file and determining target data from the original data according to a preset rule;

[0016] Pairing the data in the same column of the X-row data and the Y-row data in the target data to form an element of the valid data, including: using the X-row data as the X-axis data and the Y-row data as the Y-axis data.

[0017] Preferably, in the present invention, the element of the valid data includes X-axis data and Y-axis data, including:

[0018] The elements of the valid data are formed in the format of plane coordinate data, and the X-axis data is generated from the X-row data; the Y-axis data is generated from the Y-row data.

[0019] Preferably, in the present invention, respectively using the X-axis data and the Y-axis data in each element as point coordinates to generate the pore size distribution diagram of the solid material according to the valid data, including:

[0020] S21. Generating a canvas of a rectangular coordinate system through the Turtle library, and the center coordinates of the canvas are (0, 0);

[0021] S22. Generating the corresponding positioning coordinate values of each element in the canvas through data conversion;

[0022] S23. Generate a pore size distribution diagram of the solid material in the canvas according to the positioning coordinate values of each of the elements.

[0023] Preferably, in the present invention, determining the target data from the original data according to a preset rule includes:

[0024] Search for a preset identification character or a preset keyword in the original data;

[0025] Locate the position of the target data according to the preset identification character or the preset keyword.

[0026] Preferably, in the present invention, searching for a preset identification character or a preset keyword in the original data includes:

[0027] Traverse the entire excel file and use an if statement to find the positions including the preset identification character or the preset keyword.

[0028] Preferably, in the present invention, respectively determining the left and right boundaries of each of the target peaks according to the auxiliary data includes:

[0029] Judge the left and right boundaries of the target peak according to the monotonicity of the Y-axis data.

[0030] On the other hand of the present invention, there is also provided a device for characterizing the pore size distribution of a solid material, including:

[0031] An original data acquisition unit, configured to acquire the original data generated by nitrogen physical adsorption testing of the solid material; the original data includes X-row data and Y-row data;

[0032] An effective data acquisition unit, configured to determine target data for characterizing the pore size distribution of the solid material from the original data and generate effective data; the elements of the effective data include X-axis data and Y-axis data;

[0033] A plotting unit, configured to generate a pore size distribution diagram of the solid material according to the effective data, with the X-axis data and the Y-axis data in each of the elements as point coordinates;

[0034] An auxiliary data generation unit, configured to generate auxiliary data by adding auxiliary elements to the effective data, including: setting a pre-auxiliary element before the first element of the effective data and setting a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element;

[0035] A characterization data generation unit for generating characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the peak data determined from the valid data; respectively determining the left and right boundaries of each target peak according to the auxiliary data; respectively calculating the proportion of each target peak in all target peaks according to the valid data

[0036] On the other hand of the embodiments of the present invention, there is also provided a solid material pore size distribution characterization device, including:

[0037] A memory for storing a computer program;

[0038] A processor for calling and executing the computer program to implement each step of the solid material pore size distribution characterization method as described in any one of the above.

[0039] On the other hand of the embodiments of the present invention, there is also provided a storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the solid material pore size distribution characterization method as described in any one of the above is implemented.

[0040] The solid material pore size distribution characterization device includes a computer program stored on a medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the methods described in the above aspects and achieve the same technical effects.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] As can be seen from the above solutions, the present invention first generates corresponding original data according to nitrogen physical adsorption tests, and then finds valid data from the original data and generates a corresponding pore size distribution diagram; the inventor has found through research that if the proportion of each peak (i.e., target peak) in all peaks (i.e., all target peaks) in the pore size distribution diagram is directly calculated using the valid data, it is possible that due to multiple data after the initial peak height data (i.e., Y-axis data) of the first peak being monotonically increasing, it is impossible to determine the left boundary of the first peak; similarly, when multiple data before the last peak height data (i.e., Y-axis data) of the last peak are monotonically decreasing, it is impossible to determine the right boundary of the last peak. Therefore, in the present invention, auxiliary data is also provided to avoid the occurrence of the above problems; in this way, it is equivalent to setting additional peak height data before the first peak and after the last peak, and the additional peak height data is greater than the adjacent original peak height data. In this way, when determining the boundaries of each target peak through the monotonicity of the data, the first peak height data and the last peak height data of the pore size distribution diagram can be clearly determined as the boundaries.

[0043] Since the present invention can accurately determine the boundaries and peaks of each target peak, it becomes possible to automatically calculate the proportion of each target peak among all target peaks. In this way, while drawing the pore size distribution diagram of the solid material, it is possible to quickly generate characterization data such as the proportion of each corresponding peak among all peaks, thereby effectively improving the efficiency and effect of generating information data for characterizing the pore size distribution of the porous solid material.

[0044] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and be able to implement it according to the content of the specification, and at the same time to make the above and other objects, technical features and advantages of the present invention more understandable, one or more preferred embodiments are listed below and described in detail with reference to the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solution of the present invention, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0046] Figure 1 is a step diagram of the method for characterizing the pore size distribution of the solid material described in the present invention;

[0047] Figure 2 is a schematic structural diagram of the device for characterizing the pore size distribution of the solid material described in the present invention;

[0048] Figure 3 is a schematic structural diagram of the equipment for characterizing the pore size distribution of the solid material described in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0049] The following will describe in detail the specific embodiments of the present invention with reference to the accompanying drawings. It should be understood that the protection scope of the present invention is not limited by the specific embodiments.

[0050] Unless otherwise clearly stated, in the whole specification and claims, the term "comprising" or its variations such as "comprises" or "including" etc. will be understood to include the stated elements or components, without excluding other elements or other components.

[0051] In this article, the terms "first", "second", etc. are used to distinguish two different elements or parts, and are not used to limit a specific position or relative relationship. In other words, in some embodiments, the terms "first", "second", etc. can also be interchanged with each other.

[0052] Example 1

[0053] In order to improve the efficiency and effectiveness when generating information data for characterizing the pore size distribution of porous solid materials, as Figure 1 shown, in an embodiment of the present invention, a method for characterizing the pore size distribution of a solid material is provided, including the steps:

[0054] S11. Obtain the original data generated by nitrogen physical adsorption testing of the solid material; the original data includes X-row data and Y-row data;

[0055] By performing nitrogen physical adsorption testing on the porous solid material, original data can be generated; in an embodiment of the present invention, the original data is generally in the excel file format, and the data storage method includes two rows. When the original data includes two rows, they are X-row data and Y-row data respectively.

[0056] It should be noted that in an embodiment of the present invention, the rows and columns of the original data can also be interchanged. When the original data includes two columns, the two columns are X-column data and Y-column data respectively.

[0057] S12. Determine target data for characterizing the pore size distribution of the solid material from the original data and generate valid data; the elements of the valid data include X-axis data and Y-axis data;

[0058] Among the original data generated by performing nitrogen physical adsorption testing on the porous solid material, there are many types of items. It is necessary to determine the target data for characterizing the pore size distribution of the solid material according to actual needs; then generate corresponding valid data;

[0059] Generally speaking, the way to determine the target data for characterizing the pore size distribution of the solid material can be to determine the target data from the original data according to a preset rule. Specifically, it can include: first, find a preset identification character or a preset keyword from the original data; then, according to the position of the preset identification character or the preset keyword, determine the position of the target data, so that the target data can be determined from the original data.

[0060] In practical applications, the entire excel file of the original data can be traversed, and the if statement can be used to find the position including the preset identification character or the preset keyword. For example, "dV / dlog(W) Pore Volume vs. Pore Width" can be determined as the preset keyword; by traversing the entire excel file of the original data to find the position of this keyword, the position of the target data is thus determined.

[0061] After obtaining the target data, pairwise pairing of two rows of data (X-row data and Y-row data) therein (pairing two data in the same column as a pair) is performed to respectively construct each element in the valid data; that is, pairing the two rows of data in the same column in the X-row data and Y-row data in the target data to form an element of the valid data, including: using the X-row data as the X-axis data and the Y-row data as the Y-axis data.

[0062] In this way, the elements of the valid data in the embodiments of the present invention will be formed in the format of plane coordinate data, element 1 (X1, Y1), element 2 (X2, Y3), element 3 (X3, Y3)... element N (X N , Y N ); among them, the X-axis data is generated according to the X-row data; the Y-axis data is generated according to the Y-row data.

[0063] It should be noted that in the embodiments of the present invention, the rows and columns of the original data can also be interchanged. When the original data includes two columns, the two columns are respectively the X-column data and the Y-column data. Correspondingly, it is necessary to use the X-row data as the X-axis data and the Y-row data as the Y-axis data. The embodiments of the present invention are described by taking the original data including two columns as an example.

[0064] S13: Respectively using the X-axis data and Y-axis data in each of the elements as point coordinates, generate the pore size distribution diagram of the solid material according to the valid data;

[0065] Preferably, the method for characterizing the pore size distribution of the solid material in the embodiments of the present invention can be implemented by writing in the python computer programming language; when drawing, the pore size distribution diagram of the solid material is completed through the function library for drawing images in the Python language - the Turtle library. The specific steps may include:

[0066] S21: Generate a canvas of a rectangular coordinate system through the Turtle library, and the central coordinate of the canvas is (0, 0);

[0067] S22: Through data conversion, generate the corresponding positioning coordinate values of each of the elements in the canvas;

[0068] Taking the valid data as input data, by analyzing its data characteristics; and then jointly calculating with the main parameters of the canvas, the positioning coordinate values that meet the characteristics of the drawn pore distribution graph can be obtained;

[0069] S23: Generate the pore size distribution diagram of the solid material in the canvas according to the positioning coordinate values of each of the elements.

[0070] Then, through transformation processing, mainly adjusting the coordinates of the drawing data used to logarithmic-form data; finally, the pore size distribution diagram and the relevant graphic coordinate system can be automatically drawn.

[0071] S14. Generate auxiliary data by adding auxiliary elements to the valid data, including: setting a pre-auxiliary element before the first element of the valid data and a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element.

[0072] In the pore size distribution diagram, there are multiple peaks. Each peak can be regarded as a target peak to calculate its proportion of all peaks respectively; to calculate the proportion of each target peak, it is necessary to determine the left and right boundaries of each target peak through a specific algorithm. In practical applications, it is generally achieved by judging the monotonicity of the Y-axis data in the elements of the valid data; specifically, according to the order of the X-axis data, for a target peak, the position of the first value where the Y-axis data starts to increase monotonically is the left boundary of a target peak, and the value where the monotonic increase ends is the peak top of this target peak; the last value where the monotonic decrease ends is the right boundary of this target peak; for the first peak, since there is no pre-data for the Y-axis data of its first element, it is impossible to judge whether it is the first value where the monotonicity starts through monotonicity; similarly, for the Y-axis data of the last element of the last peak, since there is no post-data, it is also impossible to judge whether it is the last value where the monotonic decrease ends, which may cause misjudgment in determining the boundaries of the target peaks.

[0073] Therefore, in the present invention, auxiliary data is also provided to avoid the above problems; in this way, it is equivalent to setting additional peak height data before the first peak and after the last peak respectively, and the additional peak height data is greater than the original peak height data adjacent to it. In this way, when judging the boundaries of each target peak through the monotonicity of the data, the first peak height data and the last peak height data of the pore size distribution diagram can be clearly determined as the boundaries; the specific method can include: generating auxiliary data by adding auxiliary elements to the valid data, where a pre-auxiliary element is set before the first element of the valid data and a post-auxiliary element is set after the last element.

[0074] The X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element.

[0075] With the above settings, the X-axis data of the front auxiliary element is smaller than the X-axis data of the first element. Therefore, the position corresponding to this element in the pore size distribution diagram is in front of the first peak. When determining the left boundary of the first peak through monotonicity, since the Y-axis data of the front auxiliary element is greater than the Y-axis data of the first element, it is determined through monotonicity judgment that the Y-axis data of the first element is the first value starting with monotonic increase, so that its position can be determined as the left boundary of the first peak. Similarly, since the X-axis data of the rear auxiliary element is greater than the X-axis data of the last element, the position corresponding to this element in the pore size distribution diagram is behind the last peak. When determining the right boundary of the last peak through monotonicity, since the Y-axis data of the rear auxiliary element is greater than the Y-axis data of the last element, it is determined through monotonicity judgment that the Y-axis data of the last element is the last value ending with monotonic decrease, so that its position can be determined as the right boundary of the last peak.

[0076] S15. Generate characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the valid data; respectively determining the left and right boundaries of each target peak according to the auxiliary data; and respectively calculating the proportion of each target peak among all target peaks according to the valid data.

[0077] In the embodiment of the present invention, after the auxiliary data is used to determine the boundary values of each target peak, through the original valid data, target peak recognition is performed to determine the boundaries and peak tops of each target peak; and the proportion of each target peak among all target peaks is respectively calculated according to the valid data.

[0078] In summary, in the embodiment of the present invention, first, corresponding original data is generated according to the nitrogen physical adsorption test, and then valid data is found from the original data and a corresponding pore size distribution diagram is generated. The inventor has found through research that if the valid data is directly used to automatically calculate the proportion of each peak (i.e., target peak) in all peaks (i.e., all target peaks) in the pore size distribution diagram, it is possible that due to multiple data after the initial peak height data (i.e., Y-axis data) of the first peak being monotonically increasing, it is impossible to determine the left boundary of the first peak. Similarly, when multiple data before the last peak height data (i.e., Y-axis data) of the last peak are monotonically decreasing, it is impossible to determine the right boundary of the last peak. For this reason, in the present invention, auxiliary data is also provided to avoid the occurrence of the above problems. In this way, it is equivalent to setting additional peak height data in front of the first peak and behind the last peak, and the additional peak height data is greater than the adjacent original peak height data. In this way, when determining the boundaries of each target peak through the monotonicity of the data, the first peak height data and the last peak height data of the pore size distribution diagram can be clearly determined as the boundaries.

[0079] Since, through the embodiments of the present invention, the boundaries and peaks of each target peak can be accurately determined, it becomes possible to automatically calculate the proportion of each target peak among all the target peaks. In this way, while drawing the pore size distribution diagram of the solid material, characterization data such as the proportion of each corresponding peak among all the peaks can be quickly generated, thereby effectively improving the efficiency and effect of generating information data for characterizing the pore size distribution of the porous solid material.

[0080] Embodiment 2

[0081] Corresponding to the method embodiments, on the other hand of the embodiments of the present invention, a device for characterizing the pore size distribution of a solid material is further provided. Figure 2 The structure diagram of the device for characterizing the pore size distribution of a solid material provided by the embodiments of the present invention is shown. The device for characterizing the pore size distribution of a solid material is a device corresponding to Figure 1 the method for characterizing the pore size distribution of a solid material in the corresponding embodiment, that is, the method for characterizing the pore size distribution of a solid material in the corresponding embodiment is implemented by means of a virtual device. Figure 1 Each virtual module constituting the device for characterizing the pore size distribution of a solid material can be executed by an electronic device, such as a network device, a terminal device, or a server. Specifically, the device for characterizing the pore size distribution of a solid material in the embodiments of the present invention includes:

[0082] An original data acquisition unit 01, configured to acquire the original data generated by the nitrogen physical adsorption test of the solid material; the original data includes X-row data and Y-row data;

[0083] A valid data acquisition unit 02, configured to determine target data for characterizing the pore size distribution of the solid material from the original data and generate valid data; the elements of the valid data include X-axis data and Y-axis data;

[0084] A plotting unit 03, configured to generate the pore size distribution diagram of the solid material according to the valid data by using the X-axis data and Y-axis data in each of the elements as point coordinates;

[0085] An auxiliary data generation unit 04, configured to generate auxiliary data by adding auxiliary elements to the valid data, including: setting a pre-auxiliary element before the first element of the valid data and setting a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element; [[ID=2,6]]

[0086] A characterization data generation unit 05 for generating characterization data corresponding to the aperture distribution diagram, including: determining each target peak according to the peak data determined from the valid data; respectively determining the left and right boundaries of each target peak according to the auxiliary data; and respectively calculating the proportion of each target peak among all target peaks according to the valid data.

[0087] It should be noted that for the specific implementation manner and technical effects of the solid material aperture distribution characterization device in the embodiments of the present invention, reference can be made to Figure 1 the corresponding solid material aperture distribution characterization method, which will not be elaborated here.

[0088] Embodiment III

[0089] Corresponding to the method embodiments, in the embodiments of the present invention, there is also provided a solid material aperture distribution characterization device, such as a terminal, a server, etc. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto.

[0090] An example diagram of the hardware structure block diagram of the solid material aperture distribution characterization device provided in the embodiments of the present application is as Figure 3 shown, and may include:

[0091] A processor 1, a communication interface 2, a memory 3, and a communication bus 4;

[0092] Among them, the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4;

[0093] Optionally, the communication interface 2 can be an interface of a communication module, such as an interface of a GSM module;

[0094] The processor 1 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0095] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least one disk memory.

[0096] Among them, the processor 1 is specifically configured to execute the computer program stored in the memory 3 to perform the following steps:

[0097] S11. Obtain the original data generated by the nitrogen physical adsorption test of the solid material; the original data includes X rows of data and Y rows of data;

[0098] S12. Determine the target data for characterizing the pore size distribution of the solid material from the original data and generate valid data; the elements of the valid data include X-axis data and Y-axis data;

[0099] S13. Respectively use the X-axis data and Y-axis data in each of the elements as point coordinates, and generate the pore size distribution diagram of the solid material according to the valid data;

[0100] S14. Generate auxiliary data by adding auxiliary elements to the valid data, including: setting a pre-auxiliary element before the first element of the valid data and setting a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element;

[0101] S15. Generate characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the peak top data determined from the valid data; respectively determining the left and right boundaries of each target peak according to the auxiliary data; respectively calculating the proportion of each target peak among all target peaks according to the valid data.

[0102] The above product can execute the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, reference can be made to the method for characterizing the pore size distribution of solid materials provided by the embodiment of the present invention.

[0103] Embodiment 4

[0104] In the embodiment of the present invention, a storage medium is further provided. The storage medium can store a program suitable for being executed by a processor, and the program is used for:

[0105] S11. Obtain the original data generated by the nitrogen physical adsorption test of the solid material; the original data includes X rows of data and Y rows of data;

[0106] S12. Determine the target data for characterizing the pore size distribution of the solid material from the original data and generate valid data; the elements of the valid data include X-axis data and Y-axis data;

[0107] S13. Respectively taking the X-axis data and Y-axis data in each of the said elements as point coordinates, generate the pore size distribution diagram of the solid material according to the said valid data;

[0108] S14. Generate auxiliary data by adding auxiliary elements to the said valid data, including: setting a pre-auxiliary element before the first element of the said valid data and setting a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element;

[0109] S15. Generate characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the peak top data determined from the said valid data; respectively determining the left and right boundaries of each said target peak according to the said auxiliary data; respectively calculating the proportion of each said target peak among all target peaks according to the said valid data.

[0110] Optionally, the refinement function and expansion function of the said program can be referred to the above description.

[0111] The above products can execute the method provided by the embodiments of the present invention, and have the corresponding functional modules and beneficial effects of the executed method. For the technical details not described in detail in this embodiment, reference can be made to the methods provided by other embodiments of the present invention.

[0112] The above products can execute the method provided by the embodiments of the present invention, and have the corresponding functional modules and beneficial effects of the executed method. For the technical details not described in detail in this embodiment, reference can be made to the methods provided by the embodiments of the present invention.

[0113] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0114] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. Another point, the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.

[0115] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0116] In addition, in each embodiment of the present application, each functional unit may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit.

[0117] It should be understood that in the embodiments of the present application, the dependent claims, each embodiment, and features can be combined with each other to achieve the solution of the foregoing technical problems.

[0118] If the above-mentioned function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this 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 for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0119] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for characterizing the pore size distribution of a solid material, characterized in that, Including the steps: S11. Obtain the original data generated by the nitrogen physical adsorption test of the solid material; the original data includes X-row data and Y-row data; S12. Determine the target data for characterizing the pore size distribution of the solid material from the original data and generate valid data; the elements of the valid data include X-axis data and Y-axis data; S13. Generate the pore size distribution diagram of the solid material according to the valid data, with the X-axis data and Y-axis data in each of the elements as point coordinates; S14. Generate auxiliary data by adding auxiliary elements to the valid data, including: setting a pre-auxiliary element before the first element of the valid data and a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element; S15. Generate characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the peak top data determined from the valid data; determining the left and right boundaries of each target peak according to the auxiliary data; calculating the proportion of each target peak among all target peaks according to the valid data.

2. The method for characterizing the pore size distribution of a solid material according to claim 1, wherein The original data is in the excel file format; The original data in the excel file format includes two rows, namely X-row data and Y-row data respectively.

3. The method for characterizing the pore size distribution of a solid material according to claim 2, wherein The determining the valid data for characterizing the pore size distribution of the solid material from the original data includes: Traverse the entire excel file and determine the target data from the original data according to the preset rules; Pair the data in the same column of the X-row data and Y-row data in the target data to form an element of the valid data, including: using the X-row data as the X-axis data and the Y-row data as the Y-axis data.

4. The method for characterizing the pore size distribution of a solid material according to claim 3, wherein The elements of the valid data include X-axis data and Y-axis data, including: The elements of the valid data are formed in the format of plane coordinate data, the X-axis data is generated from the X-row data; the Y-axis data is generated from the Y-row data.

5. The method for characterizing the pore size distribution of a solid material according to claim 1, wherein The generating the pore size distribution diagram of the solid material according to the valid data, with the X-axis data and Y-axis data in each of the elements as point coordinates, includes: S21. Generate a canvas of a rectangular coordinate system through the Turtle library, and the center coordinates of the canvas are (zero, zero); S22. Generate the corresponding positioning coordinate values in the canvas through data conversion; S23. Generate the pore size distribution diagram of the solid material in the canvas according to the positioning coordinate values of each element.

6. The method for characterizing the pore size distribution of a solid material according to claim 3, wherein The determining the target data from the original data according to the preset rules includes: Search for a preset identification character or a preset keyword in the original data; Locate the position of the target data according to the preset identification character or the preset keyword.

7. The method for characterizing the pore size distribution of a solid material according to claim 6, wherein The searching for a preset identification character or a preset keyword in the original data includes: Traverse the entire Excel file and use if statements to find the positions that include the preset identification characters or preset keywords.

8. The method for characterizing the pore size distribution of a solid material according to claim 1, characterized in that Determining the left and right boundaries of each of the target peaks according to the auxiliary data respectively includes: Judging the left and right boundaries of the target peak according to the monotonicity of the Y-axis data.

9. An apparatus for characterizing the pore size distribution of a solid material, characterized in that, Including: An original data acquisition unit for acquiring the original data generated by the nitrogen physical adsorption test of the solid material; The original data includes X-row data and Y-row data; An effective data acquisition unit for determining target data for characterizing the pore size distribution of the solid material from the original data and generating effective data; the elements of the effective data include X-axis data and Y-axis data; A plotting unit for generating a pore size distribution diagram of the solid material according to the effective data, with the X-axis data and Y-axis data in each of the elements as point coordinates respectively; An auxiliary data generation unit for generating auxiliary data by adding auxiliary elements to the effective data, including: setting a pre-auxiliary element before the first element of the effective data and a post-auxiliary element after the last element; the X-axis data of the pre-auxiliary element is less than the X-axis data of the first element, and the Y-axis data of the pre-auxiliary element is greater than the Y-axis data of the first element; the X-axis data of the post-auxiliary element is greater than the X-axis data of the last element, and the Y-axis data of the post-auxiliary element is greater than the Y-axis data of the last element; A characterization data generation unit for generating characterization data corresponding to the pore size distribution diagram, including: determining each target peak according to the peak top data determined from the effective data; determining the left and right boundaries of each of the target peaks according to the auxiliary data respectively; calculating the proportion of each of the target peaks in all the target peaks according to the effective data respectively.

10. An apparatus for characterizing the pore size distribution of a solid material, characterized in that, Including: A memory for storing a computer program; A processor for calling and executing the computer program to implement the steps of the method for characterizing the pore size distribution of the solid material as described in any one of claims 1-8.

11. A storage medium, characterized in that, Including a software program, the software program being adapted to be executed by a processor to implement the steps of the method for characterizing the pore size distribution of the solid material as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Analysis method of shale organic matter maturity

    CN109916937A

  • Graphical visualization relationship representation method and device for data, equipment and storage medium

    CN112632194A