Method for representing ultimate strength of photovoltaic composite material
Through the Warren-Cowley parameter calculation method written in Python, the problems of low efficiency and high cost of the ultimate strength testing method of traditional photovoltaic composite materials are solved, and efficient and accurate ultimate strength characterization is achieved, which is suitable for the research and development and application of photovoltaic composite materials.
Patent Information
- Application Number
- CN202411679170.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-11-22
AI Technical Summary
The ultimate strength testing method of traditional photovoltaic composite materials is high cost, time-consuming, low efficiency, and has great damage to the materials, making it difficult to achieve accurate and reliable test results.
The source code is written through Python software, and the Warren-Cowley parameter calculation method is used to quantify the short-range order in photovoltaic composite materials, and efficient characterization of the ultimate strength of the material is achieved.
It improves testing efficiency, reduces costs, enhances the accuracy and reliability of results, avoids time-consuming and high costs in traditional experimental methods, and reduces damage to materials.
Smart Images

Figure CN119724437A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of research and development of photovoltaic composite materials, and in particular to a method for characterizing the ultimate strength of photovoltaic composite materials. Background Art
[0002] In today's global energy structure transformation and environmental protection context, the importance of photovoltaic energy is becoming increasingly prominent. As one of the clean and renewable energy sources, photovoltaic power generation is regarded as a key way to achieve the dual carbon goals due to its low carbon emission characteristics. my country's photovoltaic installed capacity has firmly ranked first in the world, which not only reflects my country's leading position in the field of new energy, but also indicates that photovoltaic energy will play a more important role in the future energy structure. The rapid growth and widespread application of photovoltaic power generation will not only help reduce dependence on fossil energy and reduce greenhouse gas emissions, but also have important significance for promoting the green transformation of energy structure and environmental protection.
[0003] The ultimate strength of photovoltaic modules is a key indicator to measure their performance, which directly affects the service life, stability and recycling efficiency of photovoltaic modules. The ultimate strength is directly related to the reliability and durability of photovoltaic modules under extreme environmental conditions. Therefore, accurate characterization of the ultimate strength of photovoltaic composite materials is of great significance for the research and development and design of high-performance photovoltaic modules. It is not only related to the long-term stable operation of photovoltaic modules, but also involves the sustainable development and economic benefits of the photovoltaic industry.
[0004] Traditional ultimate strength test methods mainly rely on experimental means, which often have the limitations of high cost, long time consumption and low efficiency. For example, the cutting method and coring method in the sampling detection method not only consume a lot of manpower and financial resources, but also cause great disturbance to the masonry, resulting in large discreteness of the test results. Although the in-situ detection method overcomes some of the shortcomings of the sampling method, the equipment is complex and the allowable ultimate strain is small, which limits the determination of the ultimate strength of the masonry. Therefore, developing a new method to characterize the ultimate strength of photovoltaic composite materials to improve test efficiency, reduce costs, and ensure the accuracy and reliability of test results is of great practical significance for the research and development and application of photovoltaic composite materials. Summary of the invention
[0005] The purpose of the present invention is to solve the above technical problems and provide a method for characterizing the ultimate strength of photovoltaic composite materials, which can improve test efficiency, reduce costs, and ensure the accuracy and reliability of test results.
[0006] In order to solve the above problems, the present invention is implemented according to the following technical solutions:
[0007] The present invention provides a method for characterizing the ultimate strength of a photovoltaic composite material, the method comprising:
[0008] S100, writing source code using Python software, wherein the writing of the source code includes:
[0009] S110, importing necessary modules into Python software, wherein the modules include itertools module, numpy module, DataCollection module, DataTable module, ElementType module, NearestNeighborFinder module, ModifierInterface module, Bool module, Int module and List module;
[0010] S120, define a WarrenCowleyParameters class, the WarrenCowleyParameters class inherits from the ModifierInterface module, and the WarrenCowleyParameters class includes an nneigh attribute, an only_selected attribute and a modify method;
[0011] S130, in the modify method, by creating and using an InputValidator instance, a WarrenCowleyCalculator instance, and a WarrenCowleyVisualization instance, the calculation, verification, storage, and visualization of Warren-Cowley parameters are implemented;
[0012] S200, write a script for running the source code, and store it in the same directory as the source code, the script including:
[0013] S210. Import the importlib.util module and the sys module in the Python software;
[0014] S220, loading the source code in the same directory;
[0015] S230, setting the file path and initializing the modules related to the Warren-Cowley parameter calculation;
[0016] S240, running the script to obtain calculation results of the Warren-Cowley parameter matrix that characterizes the ultimate strength of the photovoltaic composite material.
[0017] Further, in step S120, the nneigh attribute is used to specify the maximum number of atoms in each shell layer of the photovoltaic composite material, and the minimum length of the nneigh attribute is 2; the only_selected attribute is used to indicate whether to calculate only selected atoms, and the default value of the only_selected attribute is False.
[0018] Furthermore, the specific steps of step S130 include: S131, creating an InputValidator instance to verify the validity of the input data; S132, creating a WarrenCowleyCalculator instance to calculate the Warren-Cowley parameters; S133, storing the calculated Warren-Cowley parameter matrix in the attributes of the data set; S134, creating a WarrenCowleyVisualization instance to create a visualization table.
[0019] Furthermore, the InputValidator instance is used to receive a data set, a list of nneigh attributes, and a Boolean value of the only_selected attribute during initialization.
[0020] Furthermore, the InputValidator instance includes a validate method, and the validate method is used to verify the increment of the nearest neighbor number and the existence of the selected atom.
[0021] Furthermore, the WarrenCowleyCalculator instance is used to receive a data set, a list of nneigh attributes and a Boolean value of the only_selected attribute during initialization.
[0022] Furthermore, the WarrenCowleyCalculator instance includes a calculate_warren_cowley_parameters method.
[0023] Furthermore, the calculate_warren_cowley_parameters method is used to extract particle types, calculate particle type concentrations, create central atom type masks, calculate Warren-Cowley parameters, and verify the symmetry of the parameter matrix.
[0024] Furthermore, the WarrenCowleyVisualization instance is used to receive a data set upon initialization.
[0025] Furthermore, the WarrenCowleyVisualization instance includes a create_visualization_tables method, and the create_visualization_tables method is used to create a visualization table of Warren-Cowley parameters.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention provides a method for characterizing the ultimate strength of photovoltaic composite materials. Since short-range ordered forces have an important influence on the ultimate strength of materials, the present invention applies Warren-Cowley parameters to quantify the short-range order in photovoltaic composite materials, designs a set of codes for calculating short-range ordered forces through Python computer programming language, and runs the code for calculation and simulation, thereby realizing efficient characterization of the ultimate strength of materials. By running the Python code to calculate the Warren-Cowley parameters, the pairing distribution and interaction between atoms inside the material are accurately captured, and these parameters are directly related to the short-range ordered structure of the material. The calculation process implemented by the code includes data verification, parameter calculation, symmetry test and result visualization. The present invention not only improves the calculation efficiency and reduces the cost, but also enhances the accuracy and reliability of the results. Compared with traditional experimental methods, the present invention avoids time-consuming physical experiments and high consumables costs, while reducing the damage to the material, making the test process more environmentally friendly and economical. In addition, by dynamically loading modules and executing calculation scripts, the present invention provides a flexible and scalable solution that can adapt to the testing needs of different types of photovoltaic composite materials, and provides a powerful tool for material scientists and engineers to optimize the design and manufacturing process of photovoltaic modules. In summary, the present invention provides an innovative solution for the ultimate strength characterization of photovoltaic composite materials through precise calculation methods and efficient calculation processes, which is of great significance for promoting the development of photovoltaic material science and improving the utilization efficiency of photovoltaic energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings, wherein:
[0029] Figure 1 It is a principle structure diagram of a method for characterizing the ultimate strength of a photovoltaic composite material according to the present invention;
[0030] Figure 2 is a flow chart of a specific embodiment of characterizing the ultimate strength of a photovoltaic composite material by the method of the present invention;
[0031] Figure 3 This is a diagram of implementation results of a specific embodiment. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. Unless otherwise defined, the technical terms or scientific terms used in this specification should be understood by people with ordinary skills in the field to which this application belongs. The words "first", "second" and similar words used in this specification and claims do not indicate any order, quantity or importance, but are only used to distinguish different technical features.
[0034] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0035] like Figure 1 As shown, a method for characterizing the ultimate strength of a photovoltaic composite material according to the present invention comprises the following steps:
[0036] S100, writing source code using Python software, the writing of the source code includes:
[0037] S110. Import necessary modules into Python software, including itertools module, numpy module, DataCollection module, DataTable module, ElementType module, NearestNeighborFinder module, ModifierInterface module, Bool module, Int module and List module. The specific code implementation is as follows:
[0038] import itertools
[0039] import numpy as np
[0040] from ovito.data import DataCollection,DataTable,ElementType,NearestNeighborFinder
[0041] from ovito.pipeline import ModifierInterface
[0042] from traits.apiimport Bool,Int,List
[0043] S120. Define a WarrenCowleyParameters class, which inherits from the ModifierInterface module. The WarrenCowleyParameters class includes an nneigh attribute, an only_selected attribute, and a modify method.
[0044] Furthermore, in step S120, the nneigh attribute is used to specify the maximum number of atoms in each shell of the photovoltaic composite material, and the minimum length of the nneigh attribute is 2; the only_selected attribute is used to indicate whether to calculate only the selected atoms, and the default value of the only_selected attribute is False. The specific code implementation is as follows:
[0045] class WarrenCowleyParameters(ModifierInterface):
[0046] nneigh=List(Int,value=[0,12],label="Maximum number of atoms in a shell",minlen=2)
[0047] only_selected = Bool(False, label = "Only for selected atoms")
[0048] def modify(self,data:DataCollection,frame:int,**kwargs):
[0049] S130. In the modify method, calculation, verification, storage and visualization of Warren-Cowley parameters are implemented by creating and using InputValidator instances, WarrenCowleyCalculator instances and WarrenCowleyVisualization instances.
[0050] Furthermore, S131, create an InputValidator instance to verify the validity of the input data. The specific code implementation is as follows:
[0051] validator=InputValidator(data,self.nneigh,self.only_selected)
[0052] validator.validate()
[0053] Further, S132, create a WarrenCowleyCalculator instance to calculate the Warren-Cowley parameter. The specific code implementation is as follows:
[0054] calculator=WarrenCowleyCalculator(data,self.nneigh,self.only_selected)
[0055] wc_for_shells=calculator.calculate_warren_cowley_parameters()
[0056] Further, S133, the calculated Warren-Cowley parameter matrix is stored in the attributes of the data set. The specific code implementation is as follows:
[0057] data.attributes["Warren-Cowley parameters"]=wc_for_shells
[0058] Further, S134, create a WarrenCowleyVisualization instance to create a visualization table. The specific code implementation is as follows:
[0059]
[0060] In this embodiment, the InputValidator instance is used to receive a data set, a list of nneigh attributes, and a Boolean value of the only_selected attribute during initialization. The specific code implementation is as follows:
[0061]
[0062]
[0063] In this embodiment, the InputValidator instance includes a validate method, which is used to verify the increment of the nearest neighbor number and the existence of the selected atom. The specific code implementation is as follows:
[0064]
[0065] In this embodiment, the WarrenCowleyCalculator instance is used to receive a data set, a list of nneigh attributes, and a Boolean value of the only_selected attribute during initialization.
[0066]
[0067] In this embodiment, the WarrenCowleyCalculator instance includes a calculate_warren_cowley_parameters method. Further, the calculate_warren_cowley_parameters method is used to extract particle types, calculate particle type concentrations, create central atom type masks, calculate Warren-Cowley parameters, and verify the symmetry of parameter matrices. The specific implementation code is as follows:
[0068]
[0069]
[0070] Furthermore, the WarrenCowleyCalculator instance also includes private extract_particle_types method, _find_neighbor_indices method, calculate_concentration method, _create_central_atom_type_mask method, compute_wc_params method and verify_symmetry method, etc., which are used to assist in calculating Warren-Cowley parameters. The specific implementation code is as follows:
[0071]
[0072]
[0073] In this embodiment, the WarrenCowleyVisualization instance is used to receive a data set during initialization. Further, the WarrenCowleyVisualization instance includes a create_visualization_tables method, which is used to create a visualization table of Warren-Cowley parameters. The specific code implementation is as follows:
[0074]
[0075]
[0076] S200, write a script to run the source code in step S100, and store it in the same directory as the source code in step S100, the script includes:
[0077] S210. Import the importlib.util module and the sys module in Python software. The specific implementation code is as follows:
[0078] import importlib.util
[0079] import sys
[0080] from ovito.io import import_file
[0081] S220, loading the source code in the same directory. It should be noted that, in this embodiment, the source code of step S100 is named WCParameters.py, so loading the source code in the same directory is to load the WCParameters.py file in the same directory. The specific implementation code is as follows:
[0082] spec=importlib.util.spec_from_file_location("WarrenCowleyParameters",". / WC Parameters.py")
[0083] wc_module=importlib.util.module_from_spec(spec)
[0084] sys.modules["WarrenCowleyParameters"]=wc_module
[0085] spec.loader.exec_module(wc_module)
[0086] S230, set the file path and initialize the modules related to the Warren-Cowley parameter calculation. The specific implementation code is as follows:
[0087] pipeline=import_file("fcc.dump")
[0088] mod=wc_module.WarrenCowleyParameters(nneigh=[0,12],only_selected=False)
[0089] pipeline.modifiers.append(mod)
[0090] data = pipeline.compute()
[0091] S240, run the script to obtain the calculation results of the Warren-Cowley parameter matrix that characterizes the ultimate strength of the photovoltaic composite material. The specific implementation code is as follows:
[0092] wc_for_shells=data.attributes["Warren-Cowley parameters"]
[0093] print(f"1NN Warren-Cowley parameters:\n{wc_for_shells[0]}")
[0094] like Figure 2 As shown, in an actual application scenario, the specific implementation steps of realizing the AlCoCr aluminum alloy composite material by the present invention are as follows:
[0095] (1) Install Python in the Windows operating system. After the installation is complete, open cmd and enter python --version to confirm that the version number is successfully output.
[0096] (2) Enter pip install -U ovito==3.9.1 in cmd to install ovito that can be called based on Python.
[0097] (3) Enter pip install numpy in cmd to install the commonly used function package.
[0098] (4) Save Script1 locally and rename the document to WCParameters.py. Script1 is the source code of step S100 in the method for characterizing the ultimate strength of photovoltaic composite materials described in the present invention. The source code is as follows:
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105]
[0106] (5) Save Script2 locally, rename it to Compute.py, and store it in the same directory as WCParameters.py. Script2 is the script of the source code in step S100 described in step S200 of the method for characterizing the ultimate strength of photovoltaic composite materials described in the present invention. The specific code of Script2 is as follows:
[0107] import importlib.util
[0108] import sys
[0109] from ovito.io import import_file
[0110] spec=importlib.util.spec_from_file_location("WarrenCowleyParameters",". / WCParameters.py")
[0111] wc_module=importlib.util.module_from_spec(spec)
[0112] sys.modules["WarrenCowleyParameters"]=wc_module
[0113] spec.loader.exec_module(wc_module)
[0114] pipeline=import_file("fcc.dump")
[0115] mod=wc_module.WarrenCowleyParameters(nneigh=[0,12],only_selected=False)
[0116] pipeline.modifiers.append(mod)
[0117] data = pipeline.compute()
[0118] wc_for_shells=data.attributes["Warren-Cowley parameters"]
[0119] print(f"1NN Warren-Cowley parameters:\n{wc_for_shells[0]}")
[0120] (6) Obtain the LAMMPSDUMP file with the suffix .dump of the material to be tested and save it locally.
[0121] (7) Open Compute.py and change fcc.dump in pipeline = import_file("fcc.dump") to the specific path of the .dump file saved in step (6).
[0122] (8) Enter the Python environment in cmd (or directly use the Python IDE) and run the Compute.py code.
[0123] (9) After successful operation, a matrix representing the WC parameters will be output, which can be used to characterize the ultimate strength of the photovoltaic composite material.
[0124] The beneficial effects of the present invention are:
[0125] The present invention provides a method for characterizing the ultimate strength of photovoltaic composite materials. Since short-range ordered forces have an important influence on the ultimate strength of materials, the present invention applies Warren-Cowley parameters to quantify the short-range order in photovoltaic composite materials, designs a set of codes for calculating short-range ordered forces through Python computer programming language, and runs the code for calculation and simulation, thereby realizing efficient characterization of the ultimate strength of materials. By running the Python code to calculate the Warren-Cowley parameters, the pairing distribution and interaction between atoms inside the material are accurately captured, and these parameters are directly related to the short-range ordered structure of the material. The calculation process implemented by the code includes data verification, parameter calculation, symmetry test and result visualization. The present invention not only improves the calculation efficiency and reduces the cost, but also enhances the accuracy and reliability of the results. Compared with traditional experimental methods, the present invention avoids time-consuming physical experiments and high consumables costs, while reducing the damage to the material, making the test process more environmentally friendly and economical. In addition, by dynamically loading modules and executing calculation scripts, the present invention provides a flexible and scalable solution that can adapt to the testing needs of different types of photovoltaic composite materials, and provides a powerful tool for material scientists and engineers to optimize the design and manufacturing process of photovoltaic modules. In summary, the present invention provides an innovative solution for the ultimate strength characterization of photovoltaic composite materials through precise calculation methods and efficient calculation processes, which is of great significance for promoting the development of photovoltaic material science and improving the utilization efficiency of photovoltaic energy.
[0126] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Therefore, any modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention shall still fall within the scope of the technical solution of the present invention.
Claims
1. A method for characterizing the ultimate strength of a photovoltaic composite material, characterized in that: The method comprises: S100, writing source code using Python software, wherein the writing of the source code includes: S110, importing necessary modules into Python software, wherein the modules include itertools module, numpy module, DataCollection module, DataTable module, ElementType module, NearestNeighborFinder module, ModifierInterface module, Bool module, Int module and List module; S120, define a WarrenCowleyParameters class, the WarrenCowleyParameters class inherits from the ModifierInterface module, and the WarrenCowleyParameters class includes an nneigh attribute, an only_selected attribute and a modify method; S130, in the modify method, by creating and using an InputValidator instance, WarrenCowleyCalculator instance and WarrenCowleyVisualization instance, which implement the calculation, verification, storage and visualization of Warren-Cowley parameters; S200, write a script for running the source code, and store it in the same directory as the source code, the script including: S210. Import the importlib.util module and the sys module in the Python software; S220, loading the source code in the same directory; S230, setting the file path and initializing the modules related to the Warren-Cowley parameter calculation; S240, running the script to obtain calculation results of the Warren-Cowley parameter matrix that characterizes the ultimate strength of the photovoltaic composite material.
2. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 1, characterized in that: In step S120, the nneigh attribute is used to specify the maximum number of atoms in each shell layer of the photovoltaic composite material, and the minimum length of the nneigh attribute is 2; The only_selected attribute is used to indicate whether to perform calculations only on selected atoms, and the default value of the only_selected attribute is False.
3. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 1, characterized in that: The specific steps of step S130 include: S131. Create an InputValidator instance to verify the validity of the input data; S132, creating a WarrenCowleyCalculator instance to calculate Warren-Cowley parameters; S133, storing the calculated Warren-Cowley parameter matrix in the attributes of the data set; S134. Create a WarrenCowleyVisualization instance to create a visualization table.
4. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 3, characterized in that: The InputValidator instance is used to receive a data set, a list of nneigh attributes, and a Boolean value of the only_selected attribute during initialization.
5. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 4, characterized in that: The InputValidator instance includes a validate method, which is used to verify the increment of the nearest neighbor number and the existence of the selected atom.
6. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 3, characterized in that: The WarrenCowleyCalculator instance is used to receive a data set, a list of nneigh attributes, and a Boolean value of the only_selected attribute upon initialization.
7. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 6, characterized in that: The WarrenCowleyCalculator instance includes a calculate_warren_cowley_parameters method.
8. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 7, characterized in that: The calculate_warren_cowley_parameters method is used to extract particle types, calculate particle type concentrations, create central atom type masks, calculate Warren-Cowley parameters, and verify the symmetry of the parameter matrix.
9. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 3, characterized in that: The WarrenCowleyVisualization instance is used to receive a data set upon initialization.
10. A method for characterizing the ultimate strength of a photovoltaic composite material according to claim 9, characterized in that: The WarrenCowleyVisualization instance includes a create_visualization_tables method, and the create_visualization_tables method is used to create a visualization table of Warren-Cowley parameters.
Citation Information
Patent Citations
MOFs material defect structure prediction method based on pore size distribution curve
CN112927769A
Campus network security monitoring method and system based on situation awareness
CN118784372A
Machine for testing specimens in extension
SU1244542A1
Method of judging practical conditions for use of an ordered alloy under irradiation environments
US20050125205A1
Static type checking across module universes
US20140282441A1