WO2023115639A1 - Molecular crystal energy calculation method and apparatus and storage medium - Google Patents

Molecular crystal energy calculation method and apparatus and storage medium Download PDF

Info

Publication number
WO2023115639A1
WO2023115639A1 PCT/CN2021/143749 CN2021143749W WO2023115639A1 WO 2023115639 A1 WO2023115639 A1 WO 2023115639A1 CN 2021143749 W CN2021143749 W CN 2021143749W WO 2023115639 A1 WO2023115639 A1 WO 2023115639A1
Authority
WO
WIPO (PCT)
Prior art keywords
energy
lattice
shell
sub
cluster
Prior art date
Application number
PCT/CN2021/143749
Other languages
French (fr)
Chinese (zh)
Inventor
曾群
李柏辰
付文博
Original Assignee
深圳晶泰科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳晶泰科技有限公司 filed Critical 深圳晶泰科技有限公司
Publication of WO2023115639A1 publication Critical patent/WO2023115639A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C10/00Computational theoretical chemistry, i.e. ICT specially adapted for theoretical aspects of quantum chemistry, molecular mechanics, molecular dynamics or the like
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/30Prediction of properties of chemical compounds, compositions or mixtures

Definitions

  • the application belongs to the technical field of molecular crystals, and in particular relates to a molecular crystal energy calculation method, device and storage medium.
  • Molecular crystal is a kind of structure formed by stacking of organic molecules through weak non-bonding interactions. Accurate description of weak interactions usually requires high-precision methods with extremely high algorithm complexity, and such methods are usually difficult to apply to large molecular crystal systems. Molecular crystal calculations usually choose the cheaper density functional theory method, semi-empirical method or empirical force field method. In order to be able to apply high-precision methods to molecular crystals, people usually decompose the total energy of the crystal into the sum of several subsystems.
  • existing computing schemes usually discard clusters with smaller contributions according to certain rules, which may introduce certain errors.
  • the existing scheme in order to introduce the overall effect of the crystal, the existing scheme usually uses a low-precision method to calculate the energy of the crystal, which also introduces a certain error.
  • this application provides a molecular crystal energy calculation method, device and storage medium.
  • a molecular crystal energy calculation method By establishing a "core-shell" calculation scheme, the calculation efficiency and calculation accuracy of crystal energy can be improved.
  • the first aspect of the present application provides a molecular crystal energy calculation method, including:
  • the total crystal energy of the target crystal structure is calculated.
  • the determination of the central molecule, M clusters and M shell structures from the target crystal structure includes:
  • the central molecule is deleted from each of the clusters to obtain the corresponding M shell structures.
  • the selected atoms are located within the molecular cut-off radius to construct clusters, including:
  • the calculation of the molecular energy of the central molecule, the cluster energy of each of the clusters and the shell energy of each of the shell structures using quantum chemical methods includes:
  • the quantum chemical method is used to calculate the cluster energy of each of the clusters and the component energies that constitute the cluster energy;
  • Each of the shell structures is used as an input, and the quantum chemical method is used to calculate the shell energy of each shell structure and the component energies constituting the shell energy.
  • the quantum chemical method includes a tight-binding DFTB method based on density functional theory, and the energy calculation formula is:
  • E energy E 0 approx + E scc + E rep + E nuc + E disp_corr ;
  • the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
  • the quantum chemical method includes a density functional theory DFT method, and the energy calculation formula is:
  • E energy E 0 +E j +E x +E c +E nuc +E disp_corr ;
  • the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
  • the calculating the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy includes:
  • the partial energies of the molecular energy the partial energies of each of the cluster energies, and the partial energies of each of the shell energies, the relationship between the central molecule and each - Partial energies of the interaction energy between said shell structures;
  • the sub-items of the lattice energy of the target crystal structure are calculated using a second preset formula
  • the lattice energy of the target crystal structure is calculated using a third preset formula.
  • the first preset formula is:
  • E shell n interaction energy, i E cluster n,i -E molecule, i -E shell n,i ;
  • the n is the cluster number
  • the value of n is 1-M
  • the i is the number of each sub-item energy
  • the E cluster n,i is the cluster energy of the nth cluster
  • the i-th partial energy of the E molecule, i is the i-th partial energy of the molecular energy of the central molecule
  • the E shell n,i is the i-th shell energy of the n-th shell structure
  • Subitem energy, the E shell n interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the nth shell structure.
  • the second preset formula is:
  • the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure
  • the R n is the intercept radius adopted when constructing the n-th cluster
  • the A and The B is two different attenuation coefficients
  • the sub-items of the interaction energy between the central molecule and each of the shell structures are calculated using a second preset formula to obtain the sub-items of the lattice energy of the target crystal structure, including :
  • the second preset formula is:
  • E- lattice, i [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
  • the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure
  • the E shell 1 interaction energy, i is the interaction between the central molecule and the first shell structure
  • the i-th sub-item energy of the action energy, the E -shell 2 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the second shell structure
  • the R1 is the construction of the first sub-item energy
  • the cut-off radius used when 1 cluster is used, and the R2 is the cut-off radius used when constructing the second cluster.
  • the n is 1, and the second preset formula is:
  • the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure
  • the E shell 1 interaction energy, i is the interaction energy between the central molecule and the shell structure The energy of the i-th component.
  • the third preset formula is:
  • E lattice sum(k i E lattice, i );
  • the E lattice is the lattice energy of the target crystal structure
  • the E lattice i is the i-th sub-item energy of the lattice energy of the target crystal structure
  • the ki is the The contribution coefficient of the i-th component energy of the lattice energy.
  • the calculation method of the contribution coefficient of each sub-item energy of the lattice energy includes:
  • the total crystal energy of the target crystal structure is calculated according to the molecular energy and the lattice energy, including:
  • the total crystal energy of the target crystal structure is calculated.
  • the second aspect of the present application provides a molecular crystal energy comparison method, including:
  • the magnitude relationship of the crystal energies of the at least two crystal structures is determined.
  • the third aspect of the present application provides a molecular crystal energy calculation device, including:
  • An acquisition module configured to acquire a target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
  • the first calculation module is used to separately calculate the molecular energy of the central molecule, the cluster energy of each of the clusters and the shell energy of each of the shell structures by using a quantum chemical method;
  • a second calculation module configured to calculate the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy;
  • the third calculation module is used to calculate the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy.
  • the acquisition module determines the central molecule, M clusters and M shell structures from the target crystal structure, including:
  • the central molecule is deleted from each of the clusters to obtain the corresponding M shell structures.
  • the acquisition module selects molecules whose atoms are located within the cut-off radius to construct clusters, including:
  • the first calculation module includes:
  • the first calculation unit is used to use the molecular structure of the central molecule as an input, and calculate the molecular energy of the central molecule and the sub-energy of the molecular energy by using quantum chemical methods;
  • the second calculation unit is used to use the structure of each cluster as an input to calculate the cluster energy of each cluster and the energy of each subitem of the cluster energy by using a quantum chemical method;
  • the third calculation unit is used to use each shell structure as an input to calculate the shell energy of each shell structure and the component energies constituting the shell energy by quantum chemical method.
  • the quantum chemical method includes a tight-binding DFTB method based on density functional theory, and the energy calculation formula is:
  • E energy E 0 approx + E scc + E rep + E nuc + E disp_corr ;
  • the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
  • the quantum chemical method includes a density functional theory DFT method, and the energy calculation formula is:
  • E energy E 0 +E j +E x +E c +E nuc +E disp_corr ;
  • the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
  • the second calculation module includes:
  • the fourth calculation unit is used to calculate using the first preset formula according to the sub-items of the molecular energy, the sub-items of each of the cluster energies, and the sub-items of each of the shell energies obtaining the partial energies of the interaction energy between the central molecule and each of the shell structures;
  • the fifth calculation unit is used to calculate and obtain the lattice energy of the target crystal structure according to the component energies of the interaction energy between the central molecule and each of the shell structures by using the second preset formula. itemized energy;
  • the sixth calculation unit is configured to calculate the lattice energy of the target crystal structure by using a third preset formula according to the component energies of the lattice energy and the contribution coefficients of the component energies.
  • the first preset formula is:
  • E shell n interaction energy, i E cluster n,i -E molecule, i -E shell n,i ;
  • the n is the cluster number
  • the value of n is 1-M
  • the i is the number of each sub-item energy
  • the E cluster n,i is the cluster energy of the nth cluster
  • the i-th partial energy of the E molecule, i is the i-th partial energy of the molecular energy of the central molecule
  • the E shell n,i is the i-th shell energy of the n-th shell structure
  • Subitem energy, the E shell n interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the nth shell structure.
  • the second preset formula is:
  • the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure
  • the R n is the intercept radius adopted when constructing the n-th cluster
  • the A and The B is two different attenuation coefficients
  • the fifth calculation unit is specifically used to calculate the component energies of the interaction energy between the central molecule and each of the shell structures using the second preset formula to obtain multiple sets of E crystals Lattice, i , A and B; multiple sets of E lattice, i , A and B are fitted to obtain the sub-item energy of the lattice energy of the target crystal structure.
  • the second preset formula is:
  • E- lattice, i [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
  • the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure
  • the E shell 1 interaction energy, i is the distance between the central molecule and the first shell structure
  • the i-th sub-item energy of the interaction energy, the E -shell 2 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the second shell structure
  • the R 1 is the cut-off radius used when constructing the first cluster
  • R 2 is the cut-off radius used when constructing the second cluster.
  • the n is 1, and the second preset formula is:
  • the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure
  • the E shell 1 interaction energy, i is the interaction between the central molecule and the shell structure energy of the i-th component of energy.
  • the third preset formula is:
  • E lattice sum(k i E lattice, i );
  • the E lattice is the lattice energy of the target crystal structure
  • the E lattice i is the i-th sub-item energy of the lattice energy of the target crystal structure
  • the ki is the The contribution coefficient of the i-th component energy of the lattice energy.
  • the sixth calculation unit calculates the contribution coefficient of each sub-item energy of the lattice energy, including:
  • the third calculation module includes:
  • a calibration unit configured to perform energy calibration on the molecular energy to obtain the corrected molecular energy
  • a seventh calculation unit configured to calculate the total crystal energy of the target crystal structure by using the corrected molecular energy and the lattice energy.
  • the fourth aspect of the present application provides a molecular crystal energy comparison device, including:
  • an acquisition module configured to acquire at least two crystal structures to be compared
  • a calculation module configured to use the molecular crystal energy calculation device provided in the third aspect of the present application to calculate the crystal energy of each of the crystal structures, and obtain the total crystal energy of each of the crystal structures;
  • the determination module is configured to determine the relationship between the crystal energies of the at least two crystal structures according to the total crystal energy of each of the crystal structures.
  • the fifth aspect of the present application provides an electronic device, including:
  • the sixth aspect of the present application provides a computer-readable storage medium, on which executable code is stored, and when the executable code is executed by the processor of the electronic device, the processor executes the method provided in the first aspect of the present application.
  • the molecular crystal energy calculation method or the molecular crystal energy comparison method provided in the second aspect of the present application are examples of the present application.
  • the central molecule, at least one cluster structure and the corresponding shell structure can be determined from it, and the molecular energy of the central molecule, the The cluster energy of the structure and the shell energy of each shell structure are calculated based on the above energies to obtain the lattice energy of the target crystal structure, and then the molecular energy of the central molecule and the lattice energy are used to calculate the total crystal energy of the target crystal structure.
  • This application establishes a "core-shell” calculation scheme by calculating the energy of the central molecule (core) and cluster (shell), which can avoid the calculation of a large number of two-body, three-body and other multi-body clusters in the prior art, and can obtain Compared with the original direct low-precision calculation method, the energy accuracy is higher, and the calculation efficiency is also greatly improved.
  • Fig. 1 is a schematic flow chart of a molecular crystal energy calculation method provided in the embodiment of the present application
  • Fig. 2 is the central molecular structure diagram in a kind of Aspirin crystal provided by the embodiment of the present application;
  • Fig. 3 is the center molecule in Fig. 2 as the center of the sphere, with R 1 as the molecular structure diagram after the cut-off radius is carried out;
  • Fig. 4 is a structural diagram of cluster 1 after molecular completion of the molecular structure in Fig. 3;
  • Fig. 5 is a structural diagram of cluster 2 after the central molecule in Fig. 2 is used as the center of the sphere, and R2 is used as the cut-off radius for atomic interception and completion;
  • Fig. 6 is a schematic structural diagram of a molecular crystal energy calculation device provided in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • first, second, third and so on may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another.
  • first information may also be called second information, and similarly, second information may also be called first information.
  • second information may also be called first information.
  • a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
  • “plurality” means two or more, unless otherwise specifically defined.
  • the embodiments of the present application provide a molecular crystal energy calculation method, device and storage medium.
  • a “core-shell” calculation scheme By establishing a “core-shell” calculation scheme, the calculation efficiency and calculation accuracy of crystal energy can be improved.
  • the embodiment of the present application provides a molecular crystal energy calculation method. As shown in Figure 1, the method may include the following steps:
  • M may be an integer greater than or equal to 1.
  • the target crystal structure may be a crystal structure composed of a single molecule, or a crystal structure composed of multiple molecules, which is not limited here.
  • the specific implementation of determining the central molecule, M clusters and M shell structures from the target crystal structure may include: selecting a molecule from the target crystal structure as the central molecule; taking the geometric center of the central molecule as The center of the sphere, and use M different preset radii as cut-off radii to intercept atoms of the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M clusters; divide the central molecule from each cluster Delete the corresponding M shell structures.
  • the target crystal structure is a crystal structure composed of a single molecule
  • a molecule can be randomly selected from the target crystal structure as the central molecule, or a molecule can be selected from near the geometric center of the target crystal structure as the central molecule.
  • the target crystal structure is a crystal structure composed of two molecules (such as molecule A and molecule B)
  • the molecule A and molecule B that are closest to each other can be selected from the target crystal structure together as the central molecule.
  • molecules with all atoms located within the cut-off radius can be selected to construct clusters, and molecules with only some atoms within the cut-off radius are excluded;
  • the molecule can be completed, and the completed molecules and molecules with all atoms within the cutoff radius can be used to construct clusters together. That is to draw a sphere with the geometric center of the central molecule and the radius R, select all the atoms within the radius R, and ensure that the sphere contains at least all the atoms on the first neighbor molecules of the central molecule, according to the crystal arrangement, the atoms are filled as For a complete molecule, the set of molecules is called a "cluster", and the cluster without the central molecule is called a "shell".
  • the molecular structure of the central molecule can be used as input, and the molecular energy of the central molecule and the sub-item energies that constitute the molecular energy can be calculated by using quantum chemical methods; the structure of each cluster is used as input, and the same quantum chemical method can be used Calculate the cluster energy of each cluster and the sub-item energies that constitute the cluster energy; take each shell structure as input, and use the same quantum chemical method to calculate the shell energy of each shell structure and the various components that constitute the shell energy. Itemized energy.
  • the quantum chemical method can include a tight binding (Density Functional based Tight Binding, DFTB) method based on density functional theory, and the calculation method of each energy mentioned above can adopt the following formula:
  • E energy E 0 approx + E scc + E rep + E nuc + E disp_corr ; (1-1)
  • the sub-item energy E 0 is approximately the orbital energy under the zero-order approximation
  • E scc is the second/third-order electrostatic energy
  • E rep is the short-range repulsion energy of the valence bond
  • Enuc is the nuclear repulsion energy
  • the quantum chemical method may include a density functional theory (Density Functional Theory, DFT) method, and the calculation method of each energy mentioned above may adopt the following formula:
  • E energy E 0 +E j +E x +E c +E nuc +E disp_corr ; (1-2)
  • the sub-item energy E 0 is the orbital energy
  • E j is the electron electrostatic energy
  • Ex is the exchange energy
  • E c is the correlation energy
  • Enuc is the nuclear repulsion energy
  • E disp_corr is the long-range dispersion correction energy.
  • the quantum chemical method can also use other semi-empirical methods or empirical force field methods, etc., which are not limited here.
  • DFTB is taken as an example for further description. Taking the molecular structure of the central molecule as input, the molecular energy of the central molecule and its sub-items are calculated by formula (1-1).
  • the central molecule Take the geometric center of the central molecule as the center of the sphere, and use the preset radius R1 as the cut-off radius to perform atomic interception on the target crystal structure, and form a cluster with atoms within the range of the preset radius R1 to obtain cluster 1; Taking the structure of cluster 1 as input, the cluster energy and its sub-items of cluster 1 are also calculated by formula (1-1); the central molecule is deleted from cluster 1 to obtain the structure of shell 1, and the shell 1 structure as input, the shell energy and its sub-items of shell 1 structure are also calculated by formula (1-1).
  • the central molecule is deleted from cluster 2 to obtain the shell 2 structure, and The shell 2 structure is taken as input, and the shell energy and its sub-items of the shell 2 structure are also calculated by using the formula (1-1).
  • the central molecule is deleted from cluster 3 to obtain the structure of shell 3, and the The shell 3 structure is used as input, and the shell energy and its sub-items of the shell 3 structure are also calculated by using the formula (1-1).
  • the molecular energy of the central molecule, the cluster energy of each cluster and the shell energy of each shell structure can be used to determine the interaction energy between the central molecule and each shell structure, and then use the mutual The action energy is extrapolated to obtain the lattice energy of the target crystal structure.
  • the second preset formula can be used to calculate the target crystal structure The subitem energies of the lattice energy; and then according to the subitem energies of the lattice energy and the contribution coefficients of the subitem energies, the lattice energy of the target crystal structure is calculated by using the third preset formula.
  • the expression form of the first preset formula is as follows:
  • n is the cluster number, and the value of n is 1-M.
  • i is the number of each sub-item energy, taking the DFTB method as an example, when i is 1, the corresponding sub-item energy is approximately E 0 ; when i is 2, the corresponding sub-item energy is E scc ; when i is 3, The corresponding sub-item energy is E rep ; when i is 4, the corresponding sub-item energy is Enuc ; when i is 5, the corresponding sub-item energy is E disp_corr .
  • E cluster n,i is the i-th sub-item energy of the cluster energy of the nth cluster, E molecule, i is the i-th sub-item energy of the molecular energy of the central molecule, E -shell n,i is the n-th sub-item energy The i-th sub-item energy of the shell energy of a shell structure, E shell n interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the n-th shell structure.
  • the interaction energy between the shell structure and the central molecule under different cut-off radii (R n ) may be attenuated, and the attenuation conforms to the attenuation function related to R n .
  • the second preset formula can be expressed as follows:
  • E lattice, i is the i-th partial energy of the lattice energy of the target crystal structure
  • R n is the interception radius used when constructing the n-th cluster
  • a and B are two different attenuation coefficients, and Both A and B are unknown.
  • each component energy of the interaction energy between the central molecule and each shell structure can be calculated using the second preset formula to obtain multiple sets of E lattices, i , A and B; and for multiple sets of E Lattice, i , A and B are fitted to obtain the sub-items of the lattice energy of the target crystal structure.
  • the E -shell n interaction energy .i is used for energy extrapolation to obtain the E- lattice,i .
  • the E -shell n interaction energy.i and Rn in formula (1-4) are known, and the E lattice, i , A and B are unknown, so the interaction between the three shell structures and the central molecule can be used
  • the action energy is solved for the E lattice,i , A and B, and finally the E lattice,i is obtained.
  • a set of E lattices, i , A and B can be obtained correspondingly by using each 3 shell structures, so as to obtain multiple sets of E lattices, i , A and B, Then fit and optimize multiple groups of E lattice,i , A and B, and finally obtain E lattice,i .
  • performing fitting optimization on multiple sets of E lattices, i , A and B may be performing averaging on multiple sets of E lattices, i , A and B respectively.
  • R n increases accordingly, which leads to a rapid increase in the calculation amount.
  • the embodiment of the present application preferably has M within 3, that is, no more than 3 clusters.
  • a and B are two different attenuation coefficients, and both A and B are unknown.
  • the calculation process of E- lattice,i can be similar to the calculation process of formula (1-4), and will not be repeated here.
  • E- lattice, i [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ]; (1-5)
  • E lattice i is the ith sub-item energy of the lattice energy of the target crystal structure
  • E shell 1 interaction energy i is the ith part of the interaction energy between the central molecule and the first shell structure
  • Subitem energy E shell 2 interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the second shell structure
  • R 1 is the intercept radius used when constructing the first cluster
  • R 2 is the intercept radius used when constructing the second cluster.
  • only one cluster structure can be used to calculate the shell interaction energy. At this time, extrapolation cannot be performed, but sub-items can still be used for fitting to obtain the E lattice,i .
  • M is 1
  • n is also 1
  • the second preset formula can be expressed as follows:
  • E lattice i is the ith sub-item energy of the lattice energy of the target crystal structure
  • E shell 1 interaction energy i is the i-th sub-item energy of the interaction energy between the central molecule and the shell structure .
  • the expression form of the third preset formula is as follows:
  • E lattice sum(k i E lattice, i ); (1-7)
  • E lattice is the lattice energy of the target crystal structure
  • E lattice i is the ith sub-item energy of the lattice energy of the target crystal structure
  • k i is the contribution of the i-th sub-item energy of the lattice energy coefficient.
  • the contribution coefficients of each component energy of the lattice energy can be set empirical values, or a certain amount of E -shell n interaction energy .i calculated before the calculation of the crystal energy, and compared with experiments or high
  • the precision lattice can be combined and the fit determined.
  • the sub-items of the extrapolated lattice energies are directly summed, physically they should be equal to the lattice energy, but in practical applications, it is found that: a) Although the overall energy may be consistent, different methods have different performances in terms of sub-items The trend appears to be different; b) The energy difference of the sub-items may lead to large errors in the calculation of the lattice energy. Therefore, the experimental lattice energy or high-precision lattice energy is used as a reference here, and each lattice energy sub-item of the lower-precision method is recalibrated to obtain a lattice energy closer to the reference.
  • N reference crystal structures and reference lattice energies E ref,j of these reference crystal structures can be collected from previous experimental results, literature reports and/or structure databases, where j is 1-N.
  • the reference crystal structure refers to the crystal structure or experimental crystal structure predicted by theoretical methods (such as DFT, DFTB, etc.), and the reference lattice energy is the crystal lattice energy predicted by high-precision theoretical methods (such as DFT) or Test measurements.
  • each reference crystal structure is used as input, and the sub-item energy of the lattice energy of each reference crystal structure can be obtained through the aforementioned series of calculations: E lattice, 0 approximation , E lattice, scc , E lattice, rep , E lattice, disp_corr , Enuc .
  • each sub-entry energy E lattice,i of the lattice energy of N reference crystal structures can be organized into a matrix, and the representation of the matrix (X) is as follows:
  • reference lattice energy E ref,j of each reference crystal structure can be expressed in vector form:
  • E [E ref,1 E ref,2 ... E ref,N ] T ;
  • Contribution coefficient ki is a parameter to be determined, which can be expressed in vector form:
  • K [k 0 approximate k scc k rep k disp_corr k nuc ] T ;
  • K [k 0 approximate k scc k rep k disp_corr 1] T ;
  • the sub-items of the predicted lattice energy of each reference crystal structure are obtained.
  • E XK
  • E* XK
  • E* contains the sub-items of the predicted lattice energies of each reference crystal structure.
  • E* is close to E
  • K is obtained when the error between E* and E (such as root mean square error RMSE, mean square error MSE, etc.) is the smallest.
  • the number N of the reference crystal structure is usually much larger than the number i of the sub-item energy, therefore, it can be obtained by directly fitting K using an optimization algorithm (such as the least square method).
  • the energy sum of the two can be calculated to obtain the total crystal energy of the target crystal structure.
  • the specific calculation formula is as follows:
  • E total energy is the total crystal energy of the target crystal structure
  • E molecule is the molecular energy of the central molecule
  • E lattice is the lattice energy of the target crystal structure.
  • an Aspirin crystal is taken as an example for illustration.
  • the Aspirin crystal has P21/c symmetry, and one unit cell contains 4 equivalent molecules.
  • the low-precision DFTB method is selected to extrapolate the 2-shell structure and predict the total energy of the crystal.
  • the Aspirin lattice energy calculated by the high-precision DFT method is -118kJ/mol.
  • R 1 4.0 angstroms as the cut-off radius, and use the geometric center of the central molecule as the center of the sphere to select atoms, as shown in FIG. 3 , which shows the structures of all atoms within the cut-off radius R 1 . It can be seen from the figure that the peripheral molecules are not complete, so the molecular completion operation is required;
  • Figure 4 shows the structure of cluster 1 after the molecules are filled.
  • the structure of the ball and stick model is represented as the central molecule, and the rest of the line model is the shell 1 structure.
  • Table 1 The sub-item energy calculated by DFTB method under 3OB parameters (unit: a.u.)
  • Table 2 The sub-item energies extrapolated by DFTB method under 3OB parameters (unit: a.u.)
  • the Aspirin crystal has P21/c symmetry, and one unit cell contains 4 equivalent molecules.
  • the combination of the PBE-D3BJ method with normal precision and the 6-31G* basis set in the density functional theory (DFT) method is selected to predict the crystal energy of the 1-shell structure.
  • R 1 4.0 angstroms as the cut-off radius, and use the geometric center of the central molecule as the center of the sphere to select atoms.
  • the structure of the ball-and-stick model is represented as the central molecule. Atoms selected with a cut-off radius of 4.0 angstroms, it can be seen that the peripheral molecules are not complete and need to be completed.
  • Table 3 The sub-item energy obtained under PBE-D3BJ and def-SV(P) (unit: a.u.)
  • the total crystal energy of the Aspirin crystal in the current method can be obtained: -1700088.5kJ/mol.
  • energy correction can be performed on the molecular energy of the central molecule first to obtain the corrected molecular energy; then, the total crystal energy of the target crystal structure can be calculated by using the corrected molecular energy and lattice energy.
  • the molecular energy and lattice energy are both calculated by the DFTB method, and then the molecular energy of the central molecule can be recalculated using a higher-precision method (such as the MP2/aug-cc-pVQZ method) to replace the previous
  • the molecular energy calculated by the low-precision method (DFTB) is used to obtain better and more reliable molecular energy, and then the total energy of the crystal with higher confidence is obtained to further improve the calculation accuracy.
  • correction methods may also be used, such as correcting at least one partial energy of the molecular energy, so as to obtain more reliable molecular energy.
  • the method provided in the embodiment of the present application establishes a "core-shell” calculation scheme by calculating the energy of the central molecule (core) and cluster (shell), which can avoid a large number of multi-body groups such as two-body and three-body groups in the prior art
  • the cluster calculation can obtain higher energy accuracy than the original low-precision calculation method directly, and the calculation efficiency is also greatly improved.
  • This application uses the technology of central molecule-peripheral clusters to evaluate crystal energy, which is compatible with mainstream quantum chemical calculation methods, can better balance calculation accuracy and cost, and can be used for fast calculation of crystal energy.
  • This application can directly use a large cluster for calculation, which reduces the number of calculations and avoids the steps of dividing, screening and calculating small clusters such as two bodies in the existing method.
  • this application uses the calculation results of the two shells for extrapolation.
  • the cluster can be fitted directly with a low-precision method, and the lattice energy can be directly obtained to further improve the overall calculation efficiency.
  • the embodiment of the present application also provides a molecular crystal energy comparison method, including the following steps:
  • the embodiment of the present application also provides a molecular crystal energy calculation device, which can be used to implement the molecular crystal energy calculation method provided in the foregoing embodiments.
  • the device may include:
  • An acquisition module 610 configured to acquire the target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
  • the first calculation module 620 is used to separately calculate the molecular energy of the central molecule, the cluster energy of each cluster and the shell energy of each shell structure by using a quantum chemical method;
  • the second calculation module 630 is used to calculate the lattice energy of the target crystal structure according to the molecular energy, cluster energy and shell energy;
  • the third calculation module 640 is used to calculate the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy.
  • the implementation of determining the central molecule, M clusters and M shell structures from the target crystal structure by the acquisition module 610 may include: selecting a molecule from the target crystal structure as the central molecule; taking the geometric center of the central molecule as The center of the sphere, and use M different preset radii as cut-off radii to intercept atoms of the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M clusters; divide the central molecule from each cluster Delete the corresponding M shell structures.
  • the obtaining module 610 may further include:
  • an acquisition unit configured to acquire the target crystal structure
  • Selection unit used to select a molecule from the target crystal structure as the central molecule
  • the interception unit is used to take the geometric center of the central molecule as the center of the sphere, and use M different preset radii as cut-off radii to carry out atomic interception on the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M a cluster;
  • the deletion unit is used to delete the central molecule from each cluster to obtain the corresponding M shell structures.
  • selecting molecules with atoms within the cutoff radius to construct clusters may include: selecting molecules with all atoms within the cutoff radius to construct clusters; or, if there are molecules with only some atoms within the cutoff radius , complete the molecule and build clusters using the completed molecule and molecules with all atoms within the cutoff radius.
  • the first calculation module 620 may further include:
  • the first calculation unit is used to use the molecular structure of the central molecule as an input, and calculate the molecular energy of the central molecule and the sub-energy of the molecular energy by using quantum chemical methods;
  • the second calculation unit is used to use the structure of each cluster as an input to calculate the cluster energy of each cluster and the energy of each subitem of the cluster energy by using a quantum chemical method;
  • the third calculation unit is used to use each shell structure as an input to calculate the shell energy of each shell structure and the component energies constituting the shell energy by quantum chemical method.
  • the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
  • the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
  • the second computing module 630 may further include:
  • the fourth calculation unit is used to calculate and obtain the central molecule and each sub-energy according to the sub-item energy of the molecular energy, the sub-item energy of each cluster energy, and the sub-item energy of each shell energy by using the first preset formula.
  • the fifth calculation unit is used to calculate the sub-items of the lattice energy of the target crystal structure by using the second preset formula according to the sub-items of the interaction energy between the central molecule and each shell structure;
  • the sixth calculation unit is used to calculate the lattice energy of the target crystal structure by using the third preset formula according to the component energies of the lattice energy and the contribution coefficients of the component energies.
  • n is the cluster number, the value of n is 1 ⁇ M, i is the number of each sub-item energy, E cluster n, i is the i-th sub-item energy of the cluster energy of the nth cluster, E molecule, i is the i-th partial energy of the molecular energy of the central molecule, E -shell n, i is the i-th partial energy of the shell energy of the n-th shell structure, E -shell n interaction energy, i is the center The energy of the ith component of the interaction energy between the molecule and the nth shell structure.
  • the second preset formula may be:
  • E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure
  • R n is the intercept radius used when constructing the n-th cluster
  • a and B are two different attenuation coefficients
  • the fifth calculation unit can specifically be used to calculate the sub-item energies of the interaction energy between the central molecule and each shell structure using the second preset formula to obtain multiple sets of E lattices, i , A and B: Fit multiple groups of E lattice, i , A and B to obtain the sub-item energy of the lattice energy of the target crystal structure.
  • the second preset formula can be:
  • E- lattice, i [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
  • E lattice i is the ith sub-item energy of the lattice energy of the target crystal structure
  • E shell 1 interaction energy i is the ith part of the interaction energy between the central molecule and the first shell structure
  • Subitem energy E shell 2 interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the second shell structure
  • R 1 is the intercept radius used when constructing the first cluster
  • R 2 is the intercept radius used when constructing the second cluster.
  • E lattice i is the ith sub-item energy of the lattice energy of the target crystal structure
  • E shell 1 interaction energy i is the i-th sub-item energy of the interaction energy between the central molecule and the shell structure .
  • E lattice is the lattice energy of the target crystal structure
  • E lattice i is the ith sub-item energy of the lattice energy of the target crystal structure
  • k i is the contribution of the i-th sub-item energy of the lattice energy coefficient.
  • the way for the sixth calculation unit to calculate the contribution coefficients of each sub-item energy of the lattice energy may include: obtaining multiple reference crystal structures and the reference lattice energy of each reference crystal structure; Each sub-item energy of the lattice energy; set the contribution coefficient of each sub-item energy of the lattice energy; according to each sub-item energy of the lattice energy of each reference crystal structure and the set contribution coefficient, get each reference Each sub-entry energy of the predicted lattice energy of the crystal structure; use each sub-item energy of the reference lattice energy of each reference crystal structure and each sub-item energy of the predicted lattice energy to fit the set contribution coefficient, The contribution coefficient of each sub-item energy after fitting is obtained.
  • the third calculation module 640 may further include:
  • a correction unit is used to perform energy correction on molecular energy to obtain corrected molecular energy
  • the seventh calculation unit is used to calculate the total crystal energy of the target crystal structure by using the corrected molecular energy and lattice energy.
  • the device in the embodiment of this application establishes a "core-shell” calculation scheme by calculating the energy of the central molecule (core) and cluster (shell), which can avoid a large number of multi-body groups such as two-body and three-body groups in the prior art
  • the cluster calculation can obtain higher energy accuracy than the original low-precision calculation method directly, and the calculation efficiency is also greatly improved.
  • the embodiment of the present application also provides a molecular crystal energy comparison device, which can be used to implement the molecular crystal energy comparison method provided in the foregoing embodiments.
  • the device may include:
  • an acquisition module configured to acquire at least two crystal structures to be compared
  • Calculation module for calculating the crystal energy of each crystal structure by using the molecular crystal energy calculation device provided in the foregoing embodiments, to obtain the total crystal energy of each crystal structure;
  • the determination module is configured to determine the relationship between the crystal energies of the above-mentioned at least two crystal structures according to the total crystal energy of each crystal structure.
  • an electronic device 700 includes a memory 710 and a processor 720 .
  • the processor 720 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory 710 may include various types of storage units such as system memory, read only memory (ROM), and persistent storage.
  • the ROM may store static data or instructions required by the processor 720 or other modules of the computer.
  • the persistent storage device may be a readable and writable storage device.
  • Persistent storage may be a non-volatile storage device that does not lose stored instructions and data even if the computer is powered off.
  • the permanent storage device adopts a mass storage device (such as a magnetic or optical disk, flash memory) as the permanent storage device.
  • the permanent storage device may be a removable storage device (such as a floppy disk, an optical drive).
  • the system memory can be a readable and writable storage device or a volatile readable and writable storage device, such as dynamic random access memory.
  • System memory can store some or all of the instructions and data that the processor needs at runtime.
  • the memory 710 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and magnetic disks and/or optical disks may also be used.
  • memory 710 may include a readable and/or writable removable storage device, such as a compact disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual-layer DVD-ROM), Read-only Blu-ray Disc, Super Density Disc, Flash memory card (such as SD card, min SD card, Micro-SD card, etc.), magnetic floppy disk, etc.
  • a readable and/or writable removable storage device such as a compact disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual-layer DVD-ROM), Read-only Blu-ray Disc, Super Density Disc, Flash memory card (such as SD card, min SD card, Micro-SD card, etc.), magnetic floppy disk, etc.
  • Computer-readable storage media do not contain carrier waves and transient electronic signals transmitted by wireless or wire.
  • Executable codes are stored in the memory 710 , and when the executable codes are processed by the processor 720 , the processor 720 can be made to execute part or all of the methods mentioned above.
  • the method according to the present application can also be implemented as a computer program or computer program product, the computer program or computer program product including computer program code instructions for executing some or all of the steps in the above method of the present application.
  • the present application may also be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium), on which executable code (or computer program or computer instruction code) is stored,
  • executable code or computer program or computer instruction code
  • the processor of the electronic device or server, etc.
  • the processor is made to perform part or all of the steps of the above-mentioned method according to the present application.

Abstract

A molecular crystal energy calculation method and apparatus and a storage medium. The method comprises: obtaining a target crystal structure, and determining a central molecule, M clusters, and M shell structures from the target crystal structure (S110); separately calculating the molecular energy of the central molecule, the cluster energy of each cluster and the shell energy of each shell structure by using a quantum chemistry method (S120); calculating the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy (S130); and calculating the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy (S140). According to the technical solution, the calculation efficiency and the calculation precision of the crystal energy can be improved by establishing a "shell-core" calculation solution.

Description

一种分子晶体能量计算方法、装置及存储介质A molecular crystal energy calculation method, device and storage medium
本申请要求于2021年12月24日提交国家知识产权局、申请号为202111600787.1、申请名称为“一种分子晶体能量计算方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office on December 24, 2021, with the application number 202111600787.1 and the application name "A method, device and storage medium for molecular crystal energy calculation". References are incorporated in this application.
技术领域technical field
本申请属于分子晶体技术领域,尤其涉及一种分子晶体能量计算方法、装置及存储介质。The application belongs to the technical field of molecular crystals, and in particular relates to a molecular crystal energy calculation method, device and storage medium.
背景技术Background technique
分子晶体是一类有机分子通过非键类型的弱相互作用堆积形成的结构。弱相互作用的准确描述通常需要算法复杂度极高的高精度方法,此类方法通常难以运用到体系较大的分子晶体体系。分子晶体计算通常选择较为廉价的密度泛函理论方法、半经验方法或者经验的力场方法。为了能够将高精度方法运用到分子晶体上,人们通常将晶体的总能量分解为若干子体系的和。Molecular crystal is a kind of structure formed by stacking of organic molecules through weak non-bonding interactions. Accurate description of weak interactions usually requires high-precision methods with extremely high algorithm complexity, and such methods are usually difficult to apply to large molecular crystal systems. Molecular crystal calculations usually choose the cheaper density functional theory method, semi-empirical method or empirical force field method. In order to be able to apply high-precision methods to molecular crystals, people usually decompose the total energy of the crystal into the sum of several subsystems.
现有的计算方案,通常均需要从晶体中按照特定的规则抽取大量的团簇结构,以进行二体、三体、甚至四体的计算,通常随着精度的增加和多体效应的考虑,团簇规模和个数迅速增加,这造成最终的计算流程复杂、成本较高。Existing calculation schemes usually need to extract a large number of cluster structures from crystals according to specific rules to perform two-body, three-body, and even four-body calculations. Usually, with the increase in accuracy and the consideration of many-body effects, The size and number of clusters increase rapidly, which makes the final calculation process complicated and costly.
由于计算资源限制,现有计算方案通常会按照一定的规则抛弃掉贡献较小团簇,这可能会引入一定的误差。并且,现有方案为引入晶体的整体效应,通常使用低精度方法进行晶体能量的计算,这也引入了一定的误差。Due to the limitation of computing resources, existing computing schemes usually discard clusters with smaller contributions according to certain rules, which may introduce certain errors. Moreover, in order to introduce the overall effect of the crystal, the existing scheme usually uses a low-precision method to calculate the energy of the crystal, which also introduces a certain error.
技术问题technical problem
为解决或部分解决相关技术中存在的问题,本申请提供一种分子晶体能量计算方法、装置及存储介质,通过建立“核-壳”计算方案,能够提高晶体能量的计算效率和计算精度。In order to solve or partially solve the problems existing in related technologies, this application provides a molecular crystal energy calculation method, device and storage medium. By establishing a "core-shell" calculation scheme, the calculation efficiency and calculation accuracy of crystal energy can be improved.
技术解决方案technical solution
本申请第一方面提供一种分子晶体能量计算方法,包括:The first aspect of the present application provides a molecular crystal energy calculation method, including:
获取目标晶体结构,并从所述目标晶体结构中确定中心分子、M个团簇和M个壳 结构,所述M为大于或等于1的整数;Obtain the target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
采用量子化学方法分别计算所述中心分子的分子能量、每一所述团簇的团簇能量和每一所述壳结构的壳能量;Calculating the molecular energy of the central molecule, the cluster energy of each of the clusters, and the shell energy of each of the shell structures using quantum chemical methods;
根据所述分子能量、所述团簇能量和所述壳能量,计算得到所述目标晶体结构的晶格能量;calculating the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy;
根据所述分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。According to the molecular energy and the lattice energy, the total crystal energy of the target crystal structure is calculated.
优选的,所述从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,包括:Preferably, the determination of the central molecule, M clusters and M shell structures from the target crystal structure includes:
从所述目标晶体结构中选取一个分子作为中心分子;selecting a molecule from the target crystal structure as the central molecule;
以所述中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对所述目标晶体结构进行原子截取,选取原子位于所述截断半径内的分子构建团簇,得到M个所述团簇;Take the geometric center of the central molecule as the center of the sphere, and use M different preset radii as cut-off radii to carry out atomic interception on the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M said clusters;
将所述中心分子从每一所述团簇中进行删除,得到对应的M个壳结构。The central molecule is deleted from each of the clusters to obtain the corresponding M shell structures.
优选的,所述选取原子位于所述截断半径内的分子构建团簇,包括:Preferably, the selected atoms are located within the molecular cut-off radius to construct clusters, including:
选取所有原子均位于所述截断半径内的分子构建团簇;或者,selecting molecules with all atoms within the cut-off radius to construct clusters; or,
若有分子仅部分原子位于所述截断半径内,对所述分子进行补全处理,并利用补全后的分子以及所有原子均位于所述截断半径内的分子构建团簇。If only some atoms of a molecule are located within the cutoff radius, the molecules are completed, and the completed molecules and molecules with all atoms located within the cutoff radius are used to construct clusters.
优选的,所述采用量子化学方法分别计算所述中心分子的分子能量、每一所述团簇的团簇能量和每一所述壳结构的壳能量,包括:Preferably, the calculation of the molecular energy of the central molecule, the cluster energy of each of the clusters and the shell energy of each of the shell structures using quantum chemical methods includes:
以所述中心分子的分子结构作为输入,采用量子化学方法计算得到所述中心分子的分子能量以及构成所述分子能量的各分项能量;Using the molecular structure of the central molecule as an input, calculating the molecular energy of the central molecule and the sub-energies that constitute the molecular energy by using quantum chemical methods;
分别以每一所述团簇的结构作为输入,采用所述量子化学方法计算得到每一所述团簇的团簇能量以及构成所述团簇能量的各分项能量;Using the structure of each of the clusters as an input, the quantum chemical method is used to calculate the cluster energy of each of the clusters and the component energies that constitute the cluster energy;
分别以每一所述壳结构作为输入,采用所述量子化学方法计算得到每一所述壳结构的壳能量以及构成所述壳能量的各分项能量。Each of the shell structures is used as an input, and the quantum chemical method is used to calculate the shell energy of each shell structure and the component energies constituting the shell energy.
优选的,所述量子化学方法包括基于密度泛函理论的紧束缚DFTB方法,能量计算公式为:Preferably, the quantum chemical method includes a tight-binding DFTB method based on density functional theory, and the energy calculation formula is:
E 能量=E 0近似+E scc+E rep+E nuc+E disp_corrE energy = E 0 approx + E scc + E rep + E nuc + E disp_corr ;
其中,各分项能量E 0近似、E scc、E rep、E nuc、E disp_corr分别为:零阶近似下的轨道能,二/三阶静电能,价键的近程排斥能,核排斥能,长程的色散校正能。 Among them, the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
优选的,所述量子化学方法包括密度泛函理论DFT方法,能量计算公式为:Preferably, the quantum chemical method includes a density functional theory DFT method, and the energy calculation formula is:
E 能量=E 0+E j+E x+E c+E nuc+E disp_corrE energy = E 0 +E j +E x +E c +E nuc +E disp_corr ;
其中,各分项能量E 0、E j、E x、E c、E nuc、E disp_corr分别为:轨道能,电子静电能,交换能,相关能,核排斥能,长程的色散校正能。 Among them, the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
优选的,所述根据所述分子能量、所述团簇能量和所述壳能量,计算得到所述目标晶体结构的晶格能量,包括:Preferably, the calculating the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy includes:
根据所述分子能量的各分项能量、每一所述团簇能量的各分项能量以及每一所述壳能量的各分项能量,利用第一预设公式计算得到所述中心分子与每一所述壳结构之间的相互作用能的各分项能量;According to the partial energies of the molecular energy, the partial energies of each of the cluster energies, and the partial energies of each of the shell energies, the relationship between the central molecule and each - Partial energies of the interaction energy between said shell structures;
根据所述中心分子与每一所述壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到所述目标晶体结构的晶格能量的各分项能量;According to the sub-items of the interaction energy between the central molecule and each of the shell structures, the sub-items of the lattice energy of the target crystal structure are calculated using a second preset formula;
根据所述晶格能量的各分项能量以及各分项能量的贡献系数,利用第三预设公式计算得到所述目标晶体结构的晶格能量。According to the component energies of the lattice energy and the contribution coefficients of the component energies, the lattice energy of the target crystal structure is calculated using a third preset formula.
优选的,所述第一预设公式为:Preferably, the first preset formula is:
E 壳n相互作用能,i=E 团簇n,i–E 分子,i–E 壳n,iE shell n interaction energy, i = E cluster n,i -E molecule, i -E shell n,i ;
其中,所述n为团簇编号,所述n的取值为1~M,所述i为各分项能量的编号,所述E 簇n,i为第n个团簇的团簇能量的第i个分项能量,所述E 分子,i为所述中心分子的分子能量的第i个分项能量,所述E 壳n,i为第n个壳结构的壳能量的第i个分项能量,所述E 壳n相互作用能,i为所述中心分子与所述第n个壳结构之间的相互作用能的第i个分项能量。 Wherein, the n is the cluster number, the value of n is 1-M, the i is the number of each sub-item energy, and the E cluster n,i is the cluster energy of the nth cluster The i-th partial energy of the E molecule, i is the i-th partial energy of the molecular energy of the central molecule, and the E shell n,i is the i-th shell energy of the n-th shell structure Subitem energy, the E shell n interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the nth shell structure.
优选的,当所述M大于或等于3时,所述第二预设公式为:Preferably, when the M is greater than or equal to 3, the second preset formula is:
E 壳n相互作用能.i=E 晶格,i+A*(R n) -BE shell n interaction energy. i = E lattice, i +A*(R n ) -B ;
其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述R n为构建所述第n个团簇时采用的截取半径,所述A和所述B为两个不同的衰减系数; Wherein, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, the R n is the intercept radius adopted when constructing the n-th cluster, and the A and The B is two different attenuation coefficients;
所述根据所述中心分子与每一所述壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到所述目标晶体结构的晶格能量的各分项能量,包括:The sub-items of the interaction energy between the central molecule and each of the shell structures are calculated using a second preset formula to obtain the sub-items of the lattice energy of the target crystal structure, including :
对所述中心分子与每一所述壳结构之间的相互作用能的各分项能量利用所述第二预设公式进行计算,得到多组所述E 晶格,i、A和B; calculating the partial energies of the interaction energy between the central molecule and each of the shell structures using the second preset formula to obtain multiple sets of the E lattice,i , A and B;
对多组所述E 晶格,i、A和B进行拟合,得到所述目标晶体结构的晶格能量的各分项能量。 Fitting multiple sets of lattice E,i , A, and B to obtain subitem energies of lattice energies of the target crystal structure.
优选的,当所述M为2时,所述第二预设公式为:Preferably, when the M is 2, the second preset formula is:
E 晶格,i=[E 壳1相互作用能,i(R 1) 3-E 壳2相互作用能,i(R 2) 3]/[(R 1) 3-(R 2) 3]; E- lattice, i = [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,E 壳1相互作用能,i为所述 中心分子与第1个壳结构之间的相互作用能的第i个分项能量,E 壳2相互作用能,i为所述中心分子与第2个壳结构之间的相互作用能的第i个分项能量,所述R 1为构建第1个团簇时采用的截取半径,所述R 2为构建第2个团簇时采用的截取半径。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the interaction between the central molecule and the first shell structure The i-th sub-item energy of the action energy, the E -shell 2 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the second shell structure, and the R1 is the construction of the first sub-item energy The cut-off radius used when 1 cluster is used, and the R2 is the cut-off radius used when constructing the second cluster.
优选的,当所述M为1时,所述n为1,所述第二预设公式为:Preferably, when the M is 1, the n is 1, and the second preset formula is:
E 晶格,i=E 壳1相互作用能,iE lattice, i = E shell 1 interaction energy, i ;
其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,E 壳1相互作用能,i为所述中心分子与壳结构之间的相互作用能的第i个分项能量。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the interaction energy between the central molecule and the shell structure The energy of the i-th component.
优选的,所述第三预设公式为:Preferably, the third preset formula is:
E 晶格=sum(k iE 晶格,i); E lattice = sum(k i E lattice, i );
其中,所述E 晶格为所述目标晶体结构的晶格能量,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述k i为所述晶格能量的第i个分项能量的贡献系数。 Wherein, the E lattice is the lattice energy of the target crystal structure, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, and the ki is the The contribution coefficient of the i-th component energy of the lattice energy.
优选的,所述晶格能量的各分项能量的贡献系数的计算方式包括:Preferably, the calculation method of the contribution coefficient of each sub-item energy of the lattice energy includes:
获取多个参考晶体结构以及每一所述参考晶体结构的参考晶格能量的各分项能量;obtaining a plurality of reference crystal structures and sub-energies of reference lattice energies for each of said reference crystal structures;
分别计算每一所述参考晶体结构的晶格能量的各分项能量;separately calculating the partial energies of the lattice energies of each said reference crystal structure;
设定所述晶格能量的各分项能量的贡献系数;Setting the contribution coefficient of each component energy of the lattice energy;
根据每一所述参考晶体结构的晶格能量的各分项能量以及设定的贡献系数,得到每一所述参考晶体结构的预测晶格能量的各分项能量;Obtaining the sub-items of the predicted lattice energy of each of the reference crystal structures according to the sub-items of the lattice energy of each of the reference crystal structures and the set contribution coefficient;
利用每一所述参考晶体结构的参考晶格能量的各分项能量和预测晶格能量的各分项能量,对设定的贡献系数进行拟合,得到拟合后的各分项能量的贡献系数。Using the sub-items of the reference lattice energy and the sub-items of the predicted lattice energy of each of the reference crystal structures, fitting the set contribution coefficients to obtain the fitting contribution of each sub-item energy coefficient.
优选的,所述根据所述分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量,包括:Preferably, the total crystal energy of the target crystal structure is calculated according to the molecular energy and the lattice energy, including:
对所述分子能量进行能量校正,得到校正后的分子能量;performing energy correction on the molecular energy to obtain the corrected molecular energy;
利用所述校正后的分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。Using the corrected molecular energy and the lattice energy, the total crystal energy of the target crystal structure is calculated.
本申请第二方面提供一种分子晶体能量比较方法,包括:The second aspect of the present application provides a molecular crystal energy comparison method, including:
获取待比较的至少两个晶体结构;obtaining at least two crystal structures to be compared;
利用如本申请第一方面提供的所述分子晶体能量计算方法对每一所述晶体结构进行晶体能量计算,得到每一所述晶体结构的晶体总能量;Using the molecular crystal energy calculation method as provided in the first aspect of the present application to perform crystal energy calculation for each of the crystal structures, to obtain the total crystal energy of each of the crystal structures;
根据每一所述晶体结构的晶体总能量,确定所述至少两个晶体结构的晶体能量大小关系。According to the total crystal energy of each of the crystal structures, the magnitude relationship of the crystal energies of the at least two crystal structures is determined.
本申请第三方面提供一种分子晶体能量计算装置,包括:The third aspect of the present application provides a molecular crystal energy calculation device, including:
获取模块,用于获取目标晶体结构,并从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,所述M为大于或等于1的整数;An acquisition module, configured to acquire a target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
第一计算模块,用于采用量子化学方法分别计算所述中心分子的分子能量、每一所述团簇的团簇能量和每一所述壳结构的壳能量;The first calculation module is used to separately calculate the molecular energy of the central molecule, the cluster energy of each of the clusters and the shell energy of each of the shell structures by using a quantum chemical method;
第二计算模块,用于根据所述分子能量、所述团簇能量和所述壳能量,计算得到所述目标晶体结构的晶格能量;A second calculation module, configured to calculate the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy;
第三计算模块,用于根据所述分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。The third calculation module is used to calculate the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy.
优选的,所述获取模块从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,包括:Preferably, the acquisition module determines the central molecule, M clusters and M shell structures from the target crystal structure, including:
从所述目标晶体结构中选取一个分子作为中心分子;selecting a molecule from the target crystal structure as the central molecule;
以所述中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对所述目标晶体结构进行原子截取,选取原子位于所述截断半径内的分子构建团簇,得到M个所述团簇;Take the geometric center of the central molecule as the center of the sphere, and use M different preset radii as cut-off radii to carry out atomic interception on the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M said clusters;
将所述中心分子从每一所述团簇中进行删除,得到对应的M个壳结构。The central molecule is deleted from each of the clusters to obtain the corresponding M shell structures.
优选的,所述获取模块选取原子位于所述截断半径内的分子构建团簇,包括:Preferably, the acquisition module selects molecules whose atoms are located within the cut-off radius to construct clusters, including:
选取所有原子均位于所述截断半径内的分子构建团簇;或者,selecting molecules with all atoms within the cut-off radius to construct clusters; or,
若有分子仅部分原子位于所述截断半径内,对所述分子进行补全处理,并利用补全后的分子以及所有原子均位于所述截断半径内的分子构建团簇。If only some atoms of a molecule are located within the cutoff radius, the molecules are completed, and the completed molecules and molecules with all atoms located within the cutoff radius are used to construct clusters.
优选的,所述第一计算模块包括:Preferably, the first calculation module includes:
第一计算单元,用于以中心分子的分子结构作为输入,采用量子化学方法计算得到中心分子的分子能量以及构成分子能量的各分项能量;The first calculation unit is used to use the molecular structure of the central molecule as an input, and calculate the molecular energy of the central molecule and the sub-energy of the molecular energy by using quantum chemical methods;
第二计算单元,用于分别以每一团簇的结构作为输入,采用量子化学方法计算得到每一团簇的团簇能量以及构成团簇能量的各分项能量;The second calculation unit is used to use the structure of each cluster as an input to calculate the cluster energy of each cluster and the energy of each subitem of the cluster energy by using a quantum chemical method;
第三计算单元,用于分别以每一壳结构作为输入,采用量子化学方法计算得到每一壳结构的壳能量以及构成壳能量的各分项能量。The third calculation unit is used to use each shell structure as an input to calculate the shell energy of each shell structure and the component energies constituting the shell energy by quantum chemical method.
优选的,所述量子化学方法包括基于密度泛函理论的紧束缚DFTB方法,能量计算公式为:Preferably, the quantum chemical method includes a tight-binding DFTB method based on density functional theory, and the energy calculation formula is:
E 能量=E 0近似+E scc+E rep+E nuc+E disp_corrE energy = E 0 approx + E scc + E rep + E nuc + E disp_corr ;
其中,各分项能量E 0近似、E scc、E rep、E nuc、E disp_corr分别为:零阶近似下的轨道能,二/三阶静电能,价键的近程排斥能,核排斥能,长程的色散校正能。 Among them, the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
优选的,所述量子化学方法包括密度泛函理论DFT方法,能量计算公式为:Preferably, the quantum chemical method includes a density functional theory DFT method, and the energy calculation formula is:
E 能量=E 0+E j+E x+E c+E nuc+E disp_corrE energy = E 0 +E j +E x +E c +E nuc +E disp_corr ;
其中,各分项能量E 0、E j、E x、E c、E nuc、E disp_corr分别为:轨道能,电子静电能,交换能,相关能,核排斥能,长程的色散校正能。 Among them, the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
优选的,所述第二计算模块包括:Preferably, the second calculation module includes:
第四计算单元,用于根据所述分子能量的各分项能量、每一所述团簇能量的各分项能量以及每一所述壳能量的各分项能量,利用第一预设公式计算得到所述中心分子与每一所述壳结构之间的相互作用能的各分项能量;The fourth calculation unit is used to calculate using the first preset formula according to the sub-items of the molecular energy, the sub-items of each of the cluster energies, and the sub-items of each of the shell energies obtaining the partial energies of the interaction energy between the central molecule and each of the shell structures;
第五计算单元,用于根据所述中心分子与每一所述壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到所述目标晶体结构的晶格能量的各分项能量;The fifth calculation unit is used to calculate and obtain the lattice energy of the target crystal structure according to the component energies of the interaction energy between the central molecule and each of the shell structures by using the second preset formula. itemized energy;
第六计算单元,用于根据所述晶格能量的各分项能量以及各分项能量的贡献系数,利用第三预设公式计算得到所述目标晶体结构的晶格能量。The sixth calculation unit is configured to calculate the lattice energy of the target crystal structure by using a third preset formula according to the component energies of the lattice energy and the contribution coefficients of the component energies.
优选的,所述第一预设公式为:Preferably, the first preset formula is:
E 壳n相互作用能,i=E 团簇n,i–E 分子,i–E 壳n,iE shell n interaction energy, i = E cluster n,i -E molecule, i -E shell n,i ;
其中,所述n为团簇编号,所述n的取值为1~M,所述i为各分项能量的编号,所述E 团簇n,i为第n个团簇的团簇能量的第i个分项能量,所述E 分子,i为所述中心分子的分子能量的第i个分项能量,所述E 壳n,i为第n个壳结构的壳能量的第i个分项能量,所述E 壳n相互作用能,i为所述中心分子与所述第n个壳结构之间的相互作用能的第i个分项能量。 Wherein, the n is the cluster number, the value of n is 1-M, the i is the number of each sub-item energy, and the E cluster n,i is the cluster energy of the nth cluster The i-th partial energy of the E molecule, i is the i-th partial energy of the molecular energy of the central molecule, and the E shell n,i is the i-th shell energy of the n-th shell structure Subitem energy, the E shell n interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the nth shell structure.
优选的,当所述M大于或等于3时,所述第二预设公式为:Preferably, when the M is greater than or equal to 3, the second preset formula is:
E 壳n相互作用能.i=E 晶格,i+A*(R n) -BE shell n interaction energy. i = E lattice, i +A*(R n ) -B ;
其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述R n为构建所述第n个团簇时采用的截取半径,所述A和所述B为两个不同的衰减系数; Wherein, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, the R n is the intercept radius adopted when constructing the n-th cluster, and the A and The B is two different attenuation coefficients;
所述第五计算单元具体用于对所述中心分子与每一所述壳结构之间的相互作用能的各分项能量利用所述第二预设公式进行计算,得到多组所述E 晶格,i、A和B;对多组所述E 晶格,i、A和B进行拟合,得到所述目标晶体结构的晶格能量的各分项能量。 The fifth calculation unit is specifically used to calculate the component energies of the interaction energy between the central molecule and each of the shell structures using the second preset formula to obtain multiple sets of E crystals Lattice, i , A and B; multiple sets of E lattice, i , A and B are fitted to obtain the sub-item energy of the lattice energy of the target crystal structure.
优选的,当所述M为2时,所述第二预设公式为:Preferably, when the M is 2, the second preset formula is:
E 晶格,i=[E 壳1相互作用能,i(R 1) 3-E 壳2相互作用能,i(R 2) 3]/[(R 1) 3-(R 2) 3]; E- lattice, i = [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述E 壳1相互作用能,i 为所述中心分子与第1个壳结构之间的相互作用能的第i个分项能量,所述E 壳2相互作用能,i为所述中心分子与第2个壳结构之间的相互作用能的第i个分项能量,所述R 1为构建第1个团簇时采用的截取半径,所述R 2为构建第2个团簇时采用的截取半径。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the distance between the central molecule and the first shell structure The i-th sub-item energy of the interaction energy, the E -shell 2 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the second shell structure, the R 1 is the cut-off radius used when constructing the first cluster, and R 2 is the cut-off radius used when constructing the second cluster.
优选的,当所述M为1时,所述n为1,所述第二预设公式为:Preferably, when the M is 1, the n is 1, and the second preset formula is:
E 晶格,i=E 壳1相互作用能,iE lattice, i = E shell 1 interaction energy, i ;
其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述E 壳1相互作用能,i为所述中心分子与壳结构之间的相互作用能的第i个分项能量。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the interaction between the central molecule and the shell structure energy of the i-th component of energy.
优选的,所述第三预设公式为:Preferably, the third preset formula is:
E 晶格=sum(k iE 晶格,i); E lattice = sum(k i E lattice, i );
其中,所述E 晶格为所述目标晶体结构的晶格能量,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述k i为所述晶格能量的第i个分项能量的贡献系数。 Wherein, the E lattice is the lattice energy of the target crystal structure, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, and the ki is the The contribution coefficient of the i-th component energy of the lattice energy.
优选的,所述第六计算单元计算晶格能量的各分项能量的贡献系数,包括:Preferably, the sixth calculation unit calculates the contribution coefficient of each sub-item energy of the lattice energy, including:
获取多个参考晶体结构以及每一所述参考晶体结构的参考晶格能量;obtaining a plurality of reference crystal structures and reference lattice energies for each of said reference crystal structures;
分别计算每一所述参考晶体结构的晶格能量的各分项能量;separately calculating the partial energies of the lattice energies of each said reference crystal structure;
设定所述晶格能量的各分项能量的贡献系数;Setting the contribution coefficient of each component energy of the lattice energy;
根据每一所述参考晶体结构的晶格能量的各分项能量以及设定的贡献系数,得到每一所述参考晶体结构的预测晶格能量的各分项能量;Obtaining the sub-items of the predicted lattice energy of each of the reference crystal structures according to the sub-items of the lattice energy of each of the reference crystal structures and the set contribution coefficient;
利用每一所述参考晶体结构的参考晶格能量的各分项能量和预测晶格能量的各分项能量,对设定的贡献系数进行拟合,得到拟合后的各分项能量的贡献系数。Using the sub-items of the reference lattice energy and the sub-items of the predicted lattice energy of each of the reference crystal structures, fitting the set contribution coefficients to obtain the fitting contribution of each sub-item energy coefficient.
优选的,所述第三计算模块包括:Preferably, the third calculation module includes:
校正单元,用于对所述分子能量进行能量校正,得到校正后的分子能量;a calibration unit, configured to perform energy calibration on the molecular energy to obtain the corrected molecular energy;
第七计算单元,用于利用所述校正后的分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。A seventh calculation unit, configured to calculate the total crystal energy of the target crystal structure by using the corrected molecular energy and the lattice energy.
本申请第四方面提供一种分子晶体能量比较装置,包括:The fourth aspect of the present application provides a molecular crystal energy comparison device, including:
获取模块,用于获取待比较的至少两个晶体结构;an acquisition module, configured to acquire at least two crystal structures to be compared;
计算模块,用于利用如本申请第三方面提供的所述分子晶体能量计算装置对每一所述晶体结构进行晶体能量计算,得到每一所述晶体结构的晶体总能量;A calculation module, configured to use the molecular crystal energy calculation device provided in the third aspect of the present application to calculate the crystal energy of each of the crystal structures, and obtain the total crystal energy of each of the crystal structures;
确定模块,用于根据每一所述晶体结构的晶体总能量,确定所述至少两个晶体结构的晶体能量大小关系。The determination module is configured to determine the relationship between the crystal energies of the at least two crystal structures according to the total crystal energy of each of the crystal structures.
本申请第五方面提供一种电子设备,包括:The fifth aspect of the present application provides an electronic device, including:
处理器;以及processor; and
存储器,其上存储有可执行代码,当所述可执行代码被所述处理器执行时,使所述处理器执行如本申请第一方面提供的所述分子晶体能量计算方法或者如本申请第二方面提供的所述分子晶体能量比较方法。A memory on which executable codes are stored, and when the executable codes are executed by the processor, the processor is made to execute the molecular crystal energy calculation method provided in the first aspect of the present application or the method described in the first aspect of the present application The energy comparison method of the molecular crystal provided in the second aspect.
本申请第六方面提供一种计算机可读存储介质,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述处理器执行如本申请第一方面提供的所述分子晶体能量计算方法或者如本申请第二方面提供的所述分子晶体能量比较方法。The sixth aspect of the present application provides a computer-readable storage medium, on which executable code is stored, and when the executable code is executed by the processor of the electronic device, the processor executes the method provided in the first aspect of the present application. The molecular crystal energy calculation method or the molecular crystal energy comparison method provided in the second aspect of the present application.
有益效果Beneficial effect
本申请提供的技术方案,在获取到目标晶体结构后,可以从中确定出中心分子以及至少一个团簇结构和相应的壳结构,并利用量子化学方法分别计算得到中心分子的分子能量、各团簇结构的团簇能量以及各壳结构的壳能量,基于上述各能量计算得到目标晶体结构的晶格能量,再利用中心分子的分子能量和该晶格能量,计算得到目标晶体结构的晶体总能量。本申请通过计算中心分子(核)和团簇(壳)的能量,建立“核-壳”计算方案,能够回避现有技术中大量的二体、三体等多体团簇的计算,能够获得比原先直接采用低精度计算方法更高的能量精度,并且计算效率也得到较大提高。In the technical solution provided by this application, after obtaining the target crystal structure, the central molecule, at least one cluster structure and the corresponding shell structure can be determined from it, and the molecular energy of the central molecule, the The cluster energy of the structure and the shell energy of each shell structure are calculated based on the above energies to obtain the lattice energy of the target crystal structure, and then the molecular energy of the central molecule and the lattice energy are used to calculate the total crystal energy of the target crystal structure. This application establishes a "core-shell" calculation scheme by calculating the energy of the central molecule (core) and cluster (shell), which can avoid the calculation of a large number of two-body, three-body and other multi-body clusters in the prior art, and can obtain Compared with the original direct low-precision calculation method, the energy accuracy is higher, and the calculation efficiency is also greatly improved.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
附图说明Description of drawings
通过结合附图对本申请示例性实施方式进行更详细地描述,本申请的上述以及其它目的、特征和优势将变得更加明显,其中,在本申请示例性实施方式中,相同的参考标号通常代表相同部件。The above and other objects, features and advantages of the present application will become more apparent by describing the exemplary embodiments of the present application in more detail with reference to the accompanying drawings, wherein, in the exemplary embodiments of the present application, the same reference numerals generally represent same parts.
图1是本申请实施例提供的一种分子晶体能量计算方法的流程示意图;Fig. 1 is a schematic flow chart of a molecular crystal energy calculation method provided in the embodiment of the present application;
图2是本申请实施例提供的一种Aspirin晶体中的中心分子结构图;Fig. 2 is the central molecular structure diagram in a kind of Aspirin crystal provided by the embodiment of the present application;
图3是以图2中的中心分子为球心,以R 1作为截断半径进行原子截取后的分子结构图; Fig. 3 is the center molecule in Fig. 2 as the center of the sphere, with R 1 as the molecular structure diagram after the cut-off radius is carried out;
图4是对图3的分子结构进行分子补齐后的团簇1结构图;Fig. 4 is a structural diagram of cluster 1 after molecular completion of the molecular structure in Fig. 3;
图5是以图2中的中心分子为球心,以R 2作为截断半径进行原子截取并补齐后的团簇2结构图; Fig. 5 is a structural diagram of cluster 2 after the central molecule in Fig. 2 is used as the center of the sphere, and R2 is used as the cut-off radius for atomic interception and completion;
图6是本申请实施例提供的一种分子晶体能量计算装置的结构示意图;Fig. 6 is a schematic structural diagram of a molecular crystal energy calculation device provided in an embodiment of the present application;
图7是本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
下面将参照附图更详细地描述本申请的实施方式。虽然附图中显示了本申请的实施方式,然而应该理解,可以以各种形式实现本申请而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本申请更加透彻和完整,并且能够将本申请的范围完整地传达给本领域的技术人员。Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of this application to those skilled in the art.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语“第一”、“第二”、“第三”等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。It should be understood that although the terms "first", "second", "third" and so on may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second information may also be called first information. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present application, "plurality" means two or more, unless otherwise specifically defined.
相关技术中,在计算晶体的能量时,通常是从晶体中抽取大量的团簇结构进行二体、三体、甚至四体的计算。然而随着精度需求的增加和多体效应的考虑,团簇规模和个数迅速增加,这将会造成计算流程复杂、成本较高。并且,目前多采用低精度方法来进行晶体能量的计算,这也引入了一定的误差。In related technologies, when calculating the energy of a crystal, a large number of cluster structures are usually extracted from the crystal to perform two-body, three-body, or even four-body calculations. However, with the increase in precision requirements and the consideration of many-body effects, the size and number of clusters increase rapidly, which will result in complex calculation procedures and high costs. Moreover, at present, low-precision methods are often used to calculate crystal energy, which also introduces certain errors.
针对上述问题,本申请实施例提供一种分子晶体能量计算方法、装置及存储介质,通过建立“核-壳”计算方案,能够提高晶体能量的计算效率和计算精度。In view of the above problems, the embodiments of the present application provide a molecular crystal energy calculation method, device and storage medium. By establishing a "core-shell" calculation scheme, the calculation efficiency and calculation accuracy of crystal energy can be improved.
以下结合附图详细描述本申请实施例的技术方案。The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
本申请实施例提供了一种分子晶体能量计算方法。如图1所示,该方法可以包括以下步骤:The embodiment of the present application provides a molecular crystal energy calculation method. As shown in Figure 1, the method may include the following steps:
S110、获取目标晶体结构,并从目标晶体结构中确定中心分子、M个团簇和M个壳结构。其中,M可以为大于或等于1的整数。S110. Obtain the target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure. Wherein, M may be an integer greater than or equal to 1.
其中,目标晶体结构可以是由单一分子构成的晶体结构,也可以是由多种分子构成的晶体结构,这里不作限定。Wherein, the target crystal structure may be a crystal structure composed of a single molecule, or a crystal structure composed of multiple molecules, which is not limited here.
在一实施方式中,从目标晶体结构中确定中心分子、M个团簇和M个壳结构的具体实施方式可以包括:从目标晶体结构中选取一个分子作为中心分子;以中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对目标晶体结构进行原子截取,选取原子位于截断半径内的分子构建团簇,得到M个团簇;将中心分子从每一团簇中进行删除,得到对应的M个壳结构。In one embodiment, the specific implementation of determining the central molecule, M clusters and M shell structures from the target crystal structure may include: selecting a molecule from the target crystal structure as the central molecule; taking the geometric center of the central molecule as The center of the sphere, and use M different preset radii as cut-off radii to intercept atoms of the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M clusters; divide the central molecule from each cluster Delete the corresponding M shell structures.
其中,若目标晶体结构是由单一分子构成的晶体结构,可以从目标晶体结构中随机选取一个分子作为中心分子,也可以从目标晶体结构的几何中心附近选取一个分子作为中心分子。Wherein, if the target crystal structure is a crystal structure composed of a single molecule, a molecule can be randomly selected from the target crystal structure as the central molecule, or a molecule can be selected from near the geometric center of the target crystal structure as the central molecule.
若目标晶体结构是由两种分子(如分子A和分子B)构成的晶体结构,可以从目标晶体结构中选取相互之间最靠近(分子几何中心之间的距离最短)的分子A和分子B共同作为中心分子。If the target crystal structure is a crystal structure composed of two molecules (such as molecule A and molecule B), the molecule A and molecule B that are closest to each other (the distance between the molecular geometric centers is the shortest) can be selected from the target crystal structure together as the central molecule.
进一步地,构建团簇时,可以选取所有原子均位于截断半径内的分子构建团簇,而排除掉仅有部分原子位于截断半径内的分子;Furthermore, when constructing clusters, molecules with all atoms located within the cut-off radius can be selected to construct clusters, and molecules with only some atoms within the cut-off radius are excluded;
或者,若有分子仅部分原子位于截断半径内,可以对该分子进行补全处理,并利用补全后的分子以及所有原子均位于截断半径内的分子共同构建团簇。即以中心分子的几何中心和半径R划球,选定半径R内的全部原子,并保证球内至少包含中心分子的全部第一近邻分子上的原子,按照晶体排布,将原子补齐为完整分子,该分子集合为“团簇”,去除中心分子的团簇即为“壳”。Alternatively, if only some atoms of a molecule are located within the cutoff radius, the molecule can be completed, and the completed molecules and molecules with all atoms within the cutoff radius can be used to construct clusters together. That is to draw a sphere with the geometric center of the central molecule and the radius R, select all the atoms within the radius R, and ensure that the sphere contains at least all the atoms on the first neighbor molecules of the central molecule, according to the crystal arrangement, the atoms are filled as For a complete molecule, the set of molecules is called a "cluster", and the cluster without the central molecule is called a "shell".
S120、采用量子化学方法分别计算中心分子的分子能量、每一团簇的团簇能量和每一壳结构的壳能量。S120. Calculate the molecular energy of the central molecule, the cluster energy of each cluster, and the shell energy of each shell structure respectively by using a quantum chemical method.
具体的,可以以中心分子的分子结构作为输入,采用量子化学方法计算得到中心分子的分子能量以及构成分子能量的各分项能量;分别以每一团簇的结构作为输入,采用同一量子化学方法计算得到每一团簇的团簇能量以及构成团簇能量的各分项能量;分别以每一壳结构作为输入,采用同一量子化学方法计算得到每一壳结构的壳能量以及构成壳能量的各分项能量。Specifically, the molecular structure of the central molecule can be used as input, and the molecular energy of the central molecule and the sub-item energies that constitute the molecular energy can be calculated by using quantum chemical methods; the structure of each cluster is used as input, and the same quantum chemical method can be used Calculate the cluster energy of each cluster and the sub-item energies that constitute the cluster energy; take each shell structure as input, and use the same quantum chemical method to calculate the shell energy of each shell structure and the various components that constitute the shell energy. Itemized energy.
在一实施方式中,量子化学方法可以包括基于密度泛函理论的紧束缚(Density Functional based Tight Binding,DFTB)方法,上述各能量的计算方法均可以采用如下公式:In one embodiment, the quantum chemical method can include a tight binding (Density Functional based Tight Binding, DFTB) method based on density functional theory, and the calculation method of each energy mentioned above can adopt the following formula:
E 能量=E 0近似+E scc+E rep+E nuc+E disp_corr;  (1-1) E energy = E 0 approx + E scc + E rep + E nuc + E disp_corr ; (1-1)
其中,各分项能量E 0近似为零阶近似下的轨道能,E scc为二/三阶静电能,E rep为价键的 近程排斥能,E nuc为核排斥能,E disp_corr为长程的色散校正能。由于E nuc默认为精确值,不需要进行额外修正,这里可以将E nuc与E rep进行合并,或直接忽略E nuc,即公式(1-1)可以表示为:E 能量=E 0近似+E scc+E rep+E disp_corrAmong them, the sub-item energy E 0 is approximately the orbital energy under the zero-order approximation, E scc is the second/third-order electrostatic energy, E rep is the short-range repulsion energy of the valence bond, Enuc is the nuclear repulsion energy, and E disp_corr is the long-range repulsion energy dispersion correction capability. Since Enuc is an exact value by default, no additional correction is required, here Enuc and E rep can be combined, or Enuc can be ignored directly, that is, formula (1-1) can be expressed as: E energy = E 0 approximation + E scc +E rep +E disp_corr .
在一实施方式中,量子化学方法可以包括密度泛函理论(Density Functional Theory,DFT)方法,上述各能量的计算方法均可以采用如下公式:In one embodiment, the quantum chemical method may include a density functional theory (Density Functional Theory, DFT) method, and the calculation method of each energy mentioned above may adopt the following formula:
E 能量=E 0+E j+E x+E c+E nuc+E disp_corr;  (1-2) E energy = E 0 +E j +E x +E c +E nuc +E disp_corr ; (1-2)
其中,各分项能量E 0为轨道能,E j为电子静电能,E x为交换能,E c为相关能,E nuc为核排斥能,E disp_corr为长程的色散校正能。 Among them, the sub-item energy E 0 is the orbital energy, E j is the electron electrostatic energy, Ex is the exchange energy, E c is the correlation energy, Enuc is the nuclear repulsion energy, and E disp_corr is the long-range dispersion correction energy.
可以理解的是,量子化学方法除可以采用上述DFTB和DFT方法外,还可以采用其他半经验方法或经验力场方法等,这里不作限定。It can be understood that, in addition to the aforementioned DFTB and DFT methods, the quantum chemical method can also use other semi-empirical methods or empirical force field methods, etc., which are not limited here.
这里以DFTB为例作进一步说明。以中心分子的分子结构作为输入,利用公式(1-1)计算得到中心分子的分子能量及其各分项能量。Here, DFTB is taken as an example for further description. Taking the molecular structure of the central molecule as input, the molecular energy of the central molecule and its sub-items are calculated by formula (1-1).
以中心分子的几何中心作为球心,以预设半径R 1作为截断半径对目标晶体结构进行原子截取,将原子位于该预设半径R 1范围内的分子构成一个团簇,得到团簇1;以团簇1的结构作为输入,同样利用公式(1-1)计算得到团簇1的团簇能量及其各分项能量;从团簇1中将中心分子删除,得到壳1结构,将壳1结构作为输入,同样利用公式(1-1)计算得到壳1结构的壳能量及其各分项能量。 Take the geometric center of the central molecule as the center of the sphere, and use the preset radius R1 as the cut-off radius to perform atomic interception on the target crystal structure, and form a cluster with atoms within the range of the preset radius R1 to obtain cluster 1; Taking the structure of cluster 1 as input, the cluster energy and its sub-items of cluster 1 are also calculated by formula (1-1); the central molecule is deleted from cluster 1 to obtain the structure of shell 1, and the shell 1 structure as input, the shell energy and its sub-items of shell 1 structure are also calculated by formula (1-1).
仍以中心分子的几何中心作为球心,以预设半径R 2作为截断半径对目标晶体结构进行原子截取,将原子位于该预设半径R 2范围内的分子构成一个团簇,得到团簇2;以团簇2的结构作为输入,同样利用公式(1-1)计算得到团簇2的团簇能量及其各分项能量;从团簇2中将中心分子删除,得到壳2结构,将壳2结构作为输入,同样利用公式(1-1)计算得到壳2结构的壳能量及其各分项能量。 Still take the geometric center of the central molecule as the center of the sphere, and use the preset radius R 2 as the cut-off radius to carry out atom interception on the target crystal structure, and form a cluster with atoms within the range of the preset radius R 2 , and obtain cluster 2 ; With the structure of cluster 2 as input, the cluster energy and its subitems of cluster 2 are also calculated by formula (1-1); the central molecule is deleted from cluster 2 to obtain the shell 2 structure, and The shell 2 structure is taken as input, and the shell energy and its sub-items of the shell 2 structure are also calculated by using the formula (1-1).
仍以中心分子的几何中心作为球心,以预设半径R 3作为截断半径对目标晶体结构进行原子截取,将原子位于该预设半径R 3范围内的分子构成一个团簇,得到团簇3;以团簇3的结构作为输入,同样利用公式(1-1)计算得到团簇3的团簇能量及其各分项能量;从团簇3中将中心分子删除,得到壳3结构,将壳3结构作为输入,同样利用公式(1-1)计算得到壳3结构的壳能量及其各分项能量。 Still take the geometric center of the central molecule as the center of the sphere, and use the preset radius R 3 as the cut-off radius to carry out atom interception on the target crystal structure, and form a cluster with atoms within the range of the preset radius R 3 , and obtain cluster 3 ;With the structure of cluster 3 as input, the cluster energy of cluster 3 and its sub-item energies are also calculated by formula (1-1); the central molecule is deleted from cluster 3 to obtain the structure of shell 3, and the The shell 3 structure is used as input, and the shell energy and its sub-items of the shell 3 structure are also calculated by using the formula (1-1).
S130、根据分子能量、团簇能量和壳能量,计算得到目标晶体结构的晶格能量。S130. Calculate and obtain the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy.
本申请实施例中,可以利用中心分子的分子能量、每一团簇的团簇能量和每一壳结构的壳能量,确定出中心分子与每一壳结构之间的相互作用能,再使用相互作用能进行外推, 得到目标晶体结构的晶格能量。In the embodiment of the present application, the molecular energy of the central molecule, the cluster energy of each cluster and the shell energy of each shell structure can be used to determine the interaction energy between the central molecule and each shell structure, and then use the mutual The action energy is extrapolated to obtain the lattice energy of the target crystal structure.
在一实施方式中,可以根据分子能量的各分项能量、每一团簇能量的各分项能量以及每一壳能量的各分项能量,利用第一预设公式计算得到中心分子与每一壳结构之间的相互作用能的各分项能量;进一步地,可以根据中心分子与每一壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到目标晶体结构的晶格能量的各分项能量;再根据晶格能量的各分项能量以及各分项能量的贡献系数,利用第三预设公式计算得到目标晶体结构的晶格能量。In one embodiment, according to the partial energies of molecular energy, the partial energies of each cluster energy, and the partial energies of each shell energy, the relationship between the central molecule and each Each sub-item energy of the interaction energy between the shell structures; further, according to each sub-item energy of the interaction energy between the central molecule and each shell structure, the second preset formula can be used to calculate the target crystal structure The subitem energies of the lattice energy; and then according to the subitem energies of the lattice energy and the contribution coefficients of the subitem energies, the lattice energy of the target crystal structure is calculated by using the third preset formula.
本实施方式中,第一预设公式的表示形式如下:In this embodiment, the expression form of the first preset formula is as follows:
E 壳n相互作用能,i=E 团簇n,i–E 分子,i–E 壳n,i;  (1-3) E shell n interaction energy, i = E cluster n,i -E molecule, i -E shell n,i ; (1-3)
其中,n为团簇编号,且n的取值为1~M。i为各分项能量的编号,以DFTB方法为例,当i为1时,对应分项能量为E 0近似;当i为2时,对应分项能量为E scc;当i为3时,对应分项能量为E rep;当i为4时,对应分项能量为E nuc;当i为5时,对应分项能量为E disp_corr。E 团簇n,i为第n个团簇的团簇能量的第i个分项能量,E 分子,i为中心分子的分子能量的第i个分项能量,E 壳n,i为第n个壳结构的壳能量的第i个分项能量,E 壳n相互作用能,i为中心分子与第n个壳结构之间的相互作用能的第i个分项能量。 Wherein, n is the cluster number, and the value of n is 1-M. i is the number of each sub-item energy, taking the DFTB method as an example, when i is 1, the corresponding sub-item energy is approximately E 0 ; when i is 2, the corresponding sub-item energy is E scc ; when i is 3, The corresponding sub-item energy is E rep ; when i is 4, the corresponding sub-item energy is Enuc ; when i is 5, the corresponding sub-item energy is E disp_corr . E cluster n,i is the i-th sub-item energy of the cluster energy of the nth cluster, E molecule, i is the i-th sub-item energy of the molecular energy of the central molecule, E -shell n,i is the n-th sub-item energy The i-th sub-item energy of the shell energy of a shell structure, E shell n interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the n-th shell structure.
例如,根据公式(1-3),中心分子与第1个壳结构(壳1结构)之间的相互作用能的第i个分项能量的表示形式为:E 壳1相互作用能,i=E 团簇1,i–E 分子,i–E 壳1,i。中心分子与第2个壳结构(壳2结构)之间的相互作用能的第i个分项能量的表示形式为:E 壳2相互作用能,i=E 团簇2,i–E 分子,i–E 壳2,iFor example, according to the formula (1-3), the expression form of the i-th sub-item energy of the interaction energy between the central molecule and the first shell structure (shell 1 structure) is: E shell 1 interaction energy, i = E cluster 1,i – E molecule, i – E shell 1,i . The expression of the i-th sub-item energy of the interaction energy between the central molecule and the second shell structure (shell 2 structure) is: E shell 2 interaction energy, i = E cluster 2, i - E molecule, i –E shell2,i .
考虑到不同截断半径(R n)下的壳结构与中心分子之间的相互作用能可能存在衰减的情况,且衰减符合与R n有关的衰减函数。在一实施方式中,当M大于或等于3时,第二预设公式可以表示如下: Considering that the interaction energy between the shell structure and the central molecule under different cut-off radii (R n ) may be attenuated, and the attenuation conforms to the attenuation function related to R n . In one embodiment, when M is greater than or equal to 3, the second preset formula can be expressed as follows:
E 壳n相互作用能.i=E 晶格,i+A*(R n) -B;  (1-4) E shell n interaction energy.i = E lattice, i +A*(R n ) -B ; (1-4)
其中,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,R n为构建第n个团簇时采用的截取半径,A和B为两个不同的衰减系数,且A和B均未知。 Among them, E lattice, i is the i-th partial energy of the lattice energy of the target crystal structure, R n is the interception radius used when constructing the n-th cluster, A and B are two different attenuation coefficients, and Both A and B are unknown.
相应地,可以对中心分子与每一壳结构之间的相互作用能的各分项能量利用第二预设公式进行计算,得到多组E 晶格,i、A和B;并对多组E 晶格,i、A和B进行拟合,得到目标晶体结构的晶格能量的各分项能量。 Correspondingly, each component energy of the interaction energy between the central molecule and each shell structure can be calculated using the second preset formula to obtain multiple sets of E lattices, i , A and B; and for multiple sets of E Lattice, i , A and B are fitted to obtain the sub-items of the lattice energy of the target crystal structure.
利用E 壳n相互作用能.i进行能量外推,得到E 晶格,i。对于外推,公式(1-4)中E 壳n相互作用能.i和R n已知,E 晶格,i、A和B未知,因此可以采用3个壳结构与中心分子之间的相互作用能 对E 晶格,i、A和B进行求解,最终得到E 晶格,i。对于大于3个壳结构(M大于3)的情况,利用每3个壳结构可以对应求出一组E 晶格,i、A和B,从而得到多组E 晶格,i、A和B,再对多组E 晶格,i、A和B进行拟合优化,最终得到E 晶格,i。优选的,对多组E 晶格,i、A和B进行拟合优化可以是对多组E 晶格,i、A和B分别进行求平均值。由于团簇(或壳结构)数量越多,使得R n随之增大,从而导致计算量迅速增加,为减小计算量,提高计算效率,本申请实施例优选M在3以内,即不超过3个团簇。 The E -shell n interaction energy .i is used for energy extrapolation to obtain the E- lattice,i . For extrapolation, the E -shell n interaction energy.i and Rn in formula (1-4) are known, and the E lattice, i , A and B are unknown, so the interaction between the three shell structures and the central molecule can be used The action energy is solved for the E lattice,i , A and B, and finally the E lattice,i is obtained. For the case of more than 3 shell structures (M is greater than 3), a set of E lattices, i , A and B can be obtained correspondingly by using each 3 shell structures, so as to obtain multiple sets of E lattices, i , A and B, Then fit and optimize multiple groups of E lattice,i , A and B, and finally obtain E lattice,i . Preferably, performing fitting optimization on multiple sets of E lattices, i , A and B may be performing averaging on multiple sets of E lattices, i , A and B respectively. As the number of clusters (or shell structures) increases, R n increases accordingly, which leads to a rapid increase in the calculation amount. In order to reduce the calculation amount and improve the calculation efficiency, the embodiment of the present application preferably has M within 3, that is, no more than 3 clusters.
可以理解的是,衰减函数除了可以采用公式(1-4)外,也可以使用其它衰减函数,如以下两种表示函数:It can be understood that, in addition to formula (1-4), other attenuation functions can also be used for the attenuation function, such as the following two representation functions:
E 壳n相互作用能,i=E 晶格,i+A*exp(-B*R n); E shell n interaction energy, i = E lattice, i +A*exp(-B*R n );
E 壳n相互作用能,i=E 晶格,i+A*exp[-B*sqrt(R n)]; E shell n interaction energy, i = E lattice, i + A*exp[-B*sqrt(R n )];
在上述两个函数中,A和B为两个不同的衰减系数,且A和B均未知。E 晶格,i的计算过程可以与公式(1-4)的计算过程类似,这里不再赘述。 In the above two functions, A and B are two different attenuation coefficients, and both A and B are unknown. The calculation process of E- lattice,i can be similar to the calculation process of formula (1-4), and will not be repeated here.
对于公式(1-4),通常可以将B看作是一个物理确定的参数,其理论值可以设为3.0,因此,公式(1-4)中仅E 晶格,i和A未知。在一实施方式中,当M为2时,第二预设公式可以由公式(1-4)转化为如下公式(1-5): For formula (1-4), B can usually be regarded as a physically determined parameter, and its theoretical value can be set to 3.0. Therefore, only E lattice, i and A are unknown in formula (1-4). In one embodiment, when M is 2, the second preset formula can be converted from formula (1-4) to the following formula (1-5):
E 晶格,i=[E 壳1相互作用能,i(R 1) 3-E 壳2相互作用能,i(R 2) 3]/[(R 1) 3-(R 2) 3];  (1-5) E- lattice, i = [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ]; (1-5)
其中,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,E 壳1相互作用能,i为中心分子与第1个壳结构之间的相互作用能的第i个分项能量,E 壳2相互作用能,i为中心分子与第2个壳结构之间的相互作用能的第i个分项能量,R 1为构建第1个团簇时采用的截取半径,R 2为构建第2个团簇时采用的截取半径。 Among them, E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, E shell 1 interaction energy, i is the ith part of the interaction energy between the central molecule and the first shell structure Subitem energy, E shell 2 interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the second shell structure, R 1 is the intercept radius used when constructing the first cluster, R 2 is the intercept radius used when constructing the second cluster.
此时,可以仅采用2个团簇进行外推,计算得到E 晶格,i,在保证计算精度的同时,可以进一步提高计算效率。 At this time, only two clusters can be used for extrapolation, and the E lattice,i can be calculated, which can further improve the calculation efficiency while ensuring the calculation accuracy.
在一实施方式中,可以仅考虑使用1个团簇结构进行壳相互作用能计算的情况,此时无法进行外推,但依然可以使用分项进行拟合,获得E 晶格,i。具体的,当M为1时,n也为1,此时第二预设公式可以表示如下: In one embodiment, only one cluster structure can be used to calculate the shell interaction energy. At this time, extrapolation cannot be performed, but sub-items can still be used for fitting to obtain the E lattice,i . Specifically, when M is 1, n is also 1, and the second preset formula can be expressed as follows:
E 晶格,i=E 壳1相互作用能,i=E 团簇1,i–E 分子,i–E 壳1,i;  (1-6) E lattice, i = E shell 1 interaction energy, i = E cluster 1, i -E molecule, i - E shell 1, i ; (1-6)
其中,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,E 壳1相互作用能,i为中心分子与壳结构之间的相互作用能的第i个分项能量。 Among them, E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, E shell 1 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the shell structure .
在一实施方式中,第三预设公式的表示形式如下:In one embodiment, the expression form of the third preset formula is as follows:
E 晶格=sum(k iE 晶格,i);  (1-7) E lattice = sum(k i E lattice, i ); (1-7)
其中,E 晶格为目标晶体结构的晶格能量,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,k i为晶格能量的第i个分项能量的贡献系数。 Among them, E lattice is the lattice energy of the target crystal structure, E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, k i is the contribution of the i-th sub-item energy of the lattice energy coefficient.
本实施方式中,晶格能量的各分项能量的贡献系数可以为设定的经验值,也可以是在晶体能量计算前计算一定数量的E 壳n相互作用能.i,并与实验或高精度晶格能结合,拟合确定。 In this embodiment, the contribution coefficients of each component energy of the lattice energy can be set empirical values, or a certain amount of E -shell n interaction energy .i calculated before the calculation of the crystal energy, and compared with experiments or high The precision lattice can be combined and the fit determined.
虽然各个外推后的晶格能分项直接求和,从物理上应与晶格能相等,但在实际应用中发现:a)尽管能量总体可能一致,但不同的方法在分项的表现上趋势出现差异;b)分项的能量差异可能导致晶格能计算出现较大误差。因此这里使用试验晶格能或者高精度晶格能作为参考,对较低精度方法的各个晶格能分项进行重新标定,以获得与参考更为接近的晶格能。Although the sub-items of the extrapolated lattice energies are directly summed, physically they should be equal to the lattice energy, but in practical applications, it is found that: a) Although the overall energy may be consistent, different methods have different performances in terms of sub-items The trend appears to be different; b) The energy difference of the sub-items may lead to large errors in the calculation of the lattice energy. Therefore, the experimental lattice energy or high-precision lattice energy is used as a reference here, and each lattice energy sub-item of the lower-precision method is recalibrated to obtain a lattice energy closer to the reference.
以下为拟合确定各分项能量的贡献系数的具体实施方式:The following is a specific implementation method for fitting and determining the contribution coefficient of each sub-item energy:
1)获取多个参考晶体结构以及每一参考晶体结构的参考晶格能量。1) Obtain multiple reference crystal structures and the reference lattice energy of each reference crystal structure.
其中,可以从过往实验结果、文献报道和/或结构数据库中收集N个参考晶体结构以及这些参考晶体结构的参考晶格能量E ref,j,j为1~N。参考晶体结构是指利用理论方法(如DFT、DFTB等)预测得到的力收敛的晶体结构或试验晶体结构,参考晶格能量为由高精度理论方法(如DFT)预测得到的晶体晶格能量或者试验测量值。 Wherein, N reference crystal structures and reference lattice energies E ref,j of these reference crystal structures can be collected from previous experimental results, literature reports and/or structure databases, where j is 1-N. The reference crystal structure refers to the crystal structure or experimental crystal structure predicted by theoretical methods (such as DFT, DFTB, etc.), and the reference lattice energy is the crystal lattice energy predicted by high-precision theoretical methods (such as DFT) or Test measurements.
2)分别计算每一参考晶体结构的晶格能量的各分项能量。2) Calculating the sub-item energies of the lattice energy of each reference crystal structure respectively.
利用与前述得到目标晶体结构的晶格能量的各分项能量相同的计算方法,计算各参考晶体结构的晶格能量的各分项能量。以DFTB为例,将各参考晶体结构分别作为输入,通过前述一系列计算可以得到每一参考晶体结构的晶格能量的各分项能量:E 晶格,0近似、E 晶格,scc、E 晶格,rep、E 晶格,disp_corr、E nucUsing the same calculation method as the calculation method for obtaining the sub-items of the lattice energy of the target crystal structure, the sub-items of the lattice energy of each reference crystal structure are calculated. Taking DFTB as an example, each reference crystal structure is used as input, and the sub-item energy of the lattice energy of each reference crystal structure can be obtained through the aforementioned series of calculations: E lattice, 0 approximation , E lattice, scc , E lattice, rep , E lattice, disp_corr , Enuc .
进一步地,可以将N个参考晶体结构的晶格能量的各分项能量E 晶格,i整理为一个矩阵,该矩阵(X)的表示形式如下: Further, each sub-entry energy E lattice,i of the lattice energy of N reference crystal structures can be organized into a matrix, and the representation of the matrix (X) is as follows:
Figure PCTCN2021143749-appb-000001
Figure PCTCN2021143749-appb-000001
并且,各参考晶体结构的参考晶格能量E ref,j可以以矢量形式来表示: And, the reference lattice energy E ref,j of each reference crystal structure can be expressed in vector form:
E=[E ref,1 E ref,2 … E ref,N] TE=[E ref,1 E ref,2 ... E ref,N ] T ;
3)设定晶格能量的各分项能量的贡献系数k i3) Set the contribution coefficient k i of each component energy of the lattice energy.
贡献系数k i为待确定的参数,其可以以矢量形式来表示: Contribution coefficient ki is a parameter to be determined, which can be expressed in vector form:
K=[k 0近似 k scck repk disp_corr k nuc] TK=[k 0 approximate k scc k rep k disp_corr k nuc ] T ;
由于E nuc为精确值,不需要重新标定,因此可以将上述矢量K修改为: Since Enuc is an exact value and does not require recalibration, the above vector K can be modified as:
K=[k 0近似 k scck repk disp_corr 1] TK=[k 0 approximate k scc k rep k disp_corr 1] T ;
4)根据每一参考晶体结构的晶格能量的各分项能量以及设定的贡献系数,得到每一参考晶体结构的预测晶格能量的各分项能量。4) According to the sub-items of the lattice energy of each reference crystal structure and the set contribution coefficients, the sub-items of the predicted lattice energy of each reference crystal structure are obtained.
理想情况下,E=XK;而实际情况下,E*=XK。其中,E*中包含有各参考晶体结构的预测晶格能量的各分项能量。Ideally, E=XK; and practically, E*=XK. Wherein, E* contains the sub-items of the predicted lattice energies of each reference crystal structure.
5)利用每一参考晶体结构的参考晶格能量的各分项能量和预测晶格能量的各分项能量,对设定的贡献系数进行拟合,得到拟合后的各分项能量的贡献系数。5) Use the sub-item energies of the reference lattice energy and the sub-item energies of the predicted lattice energy of each reference crystal structure to fit the set contribution coefficient, and obtain the contribution of each sub-item energy after fitting coefficient.
通过调节K,使得E*与E靠近,当E*与E之间的误差(如均方根误差RMSE、均方误差MSE等)最小时,即获得K。在实际应用中,参考晶体结构的数量N通常远大于分项能量数量i,因此,可以采用优化算法(如最小二乘法)对K进行直接拟合得到。By adjusting K, E* is close to E, and K is obtained when the error between E* and E (such as root mean square error RMSE, mean square error MSE, etc.) is the smallest. In practical applications, the number N of the reference crystal structure is usually much larger than the number i of the sub-item energy, therefore, it can be obtained by directly fitting K using an optimization algorithm (such as the least square method).
S140、根据分子能量和晶格能量,计算得到目标晶体结构的晶体总能量。S140. Calculate and obtain the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy.
本申请实施例中,在求得中心分子的分子能量和目标晶体结构的晶格能量后,可以计算两者的能量和,以得到目标晶体结构的晶体总能量。具体计算公式如下:In the embodiment of the present application, after obtaining the molecular energy of the central molecule and the lattice energy of the target crystal structure, the energy sum of the two can be calculated to obtain the total crystal energy of the target crystal structure. The specific calculation formula is as follows:
E 总能=E 分子+E 晶格=E 分子+sum(k iE 晶格,i);  (1-8) E total energy = E molecule + E lattice = E molecule + sum (k i E lattice, i ); (1-8)
其中,E 总能为目标晶体结构的晶体总能量,E 分子为中心分子的分子能量,E 晶格为目标晶体结构的晶格能量。 Among them, E total energy is the total crystal energy of the target crystal structure, E molecule is the molecular energy of the central molecule, and E lattice is the lattice energy of the target crystal structure.
这里以Aspirin晶体为例进行说明,该Aspirin晶体为P21/c对称性,一个单元晶胞内包含4个等价分子。本实例选择低精度的DFTB方法进行2壳结构的外推,预测晶体总能量。根据文献报道,高精度的DFT方法计算得到的该Aspirin晶格能量为-118kJ/mol。Here, an Aspirin crystal is taken as an example for illustration. The Aspirin crystal has P21/c symmetry, and one unit cell contains 4 equivalent molecules. In this example, the low-precision DFTB method is selected to extrapolate the 2-shell structure and predict the total energy of the crystal. According to literature reports, the Aspirin lattice energy calculated by the high-precision DFT method is -118kJ/mol.
1)选择4个等价分子中的一个作为中心分子,计算E 分子,0近似、E 分子,scc、E 分子,rep、E 分子,disp_corr。其中,Aspirin晶体中的中心分子的分子结构如图2所示。 1) Select one of the 4 equivalent molecules as the central molecule, calculate E molecule, 0 approximation , E molecule, scc , E molecule, rep , E molecule, disp_corr . Wherein, the molecular structure of the central molecule in the Aspirin crystal is shown in FIG. 2 .
2)使用R 1=4.0埃作为截断半径,以中心分子的几何中心为球心,进行原子选择,如图3所示,图中示出的为在截断半径R 1内的所有原子的结构。从图中可以看出外围分子并不完整,因此需要进行分子补齐操作; 2) Use R 1 =4.0 angstroms as the cut-off radius, and use the geometric center of the central molecule as the center of the sphere to select atoms, as shown in FIG. 3 , which shows the structures of all atoms within the cut-off radius R 1 . It can be seen from the figure that the peripheral molecules are not complete, so the molecular completion operation is required;
3)对残缺的分子进行补齐,获得团簇1和壳1结构,图4所示为补齐分子后的团簇1结构,球棍模型的结构表示为中心分子,其余线模型部分为壳1结构。3) Complement the incomplete molecules to obtain the structure of cluster 1 and shell 1. Figure 4 shows the structure of cluster 1 after the molecules are filled. The structure of the ball and stick model is represented as the central molecule, and the rest of the line model is the shell 1 structure.
4)使用R 2=8.0埃作为截断半径,重复上述步骤2)和3),得到团簇2和壳2结构,图5所示为补齐后的团簇2结构,球棍模型的结构表示为中心分子,其余线模型部分为壳2结构。 4) Using R 2 =8.0 angstroms as the cut-off radius, repeat the above steps 2) and 3) to obtain the structure of cluster 2 and shell 2. Figure 5 shows the completed structure of cluster 2, and the structure representation of the ball-and-stick model is the central molecule, and the rest of the line model is the shell 2 structure.
5)通过DFTB方法在3OB参数下对中心分子、团簇1、团簇2、壳1和壳2结构进 行各分项能量的计算,获得E 分子,i、E 团簇1,i、E 壳1,i、E 团簇2,i和E 壳2,i,如表1所示: 5) Calculate the sub-item energy of the central molecule, cluster 1, cluster 2, shell 1 and shell 2 structures by the DFTB method under the 3OB parameter, and obtain E molecule,i , E cluster 1,i , E shell 1,i , E- cluster 2,i and E- shell 2,i , as shown in Table 1:
表1 DFTB方法在3OB参数下计算得到的各个分项能量(单位:a.u.)Table 1 The sub-item energy calculated by DFTB method under 3OB parameters (unit: a.u.)
Figure PCTCN2021143749-appb-000002
Figure PCTCN2021143749-appb-000002
6)使用公式(1-3),计算得到E 壳1相互作用能,i和E 壳2相互作用能,i。此外,利用公式(1-5)进行外推,得到晶格能量的各分项能量。其各分项能量数据如表2所示。 6) Using formula (1-3), calculate the E -shell 1 interaction energy,i and the E -shell 2 interaction energy,i . In addition, extrapolation is performed using formula (1-5) to obtain the sub-item energy of the lattice energy. The energy data of each sub-item are shown in Table 2.
表2 DFTB方法在3OB参数下外推得到的各分项能量(单位:a.u.)Table 2 The sub-item energies extrapolated by DFTB method under 3OB parameters (unit: a.u.)
Figure PCTCN2021143749-appb-000003
Figure PCTCN2021143749-appb-000003
7)选择预先针对DFTB拟合完成的K DFTB,壳1/2,使用公式(1-7)获得E 晶格。采用表2中针对DFTB/3OB确定的参数得到E 晶格=-119.8kJ/mol,与文献报道值非常接近。 7) Select the K DFTB, shell 1/2 that has been pre-fitted for DFTB, and use formula (1-7) to obtain the E lattice . Using the parameters determined for DFTB/3OB in Table 2, the E lattice =-119.8kJ/mol is obtained, which is very close to the value reported in the literature.
8)使用公式(1-8)计算得到晶体总能量。根据以上晶格能量,可以得到Aspirin晶体在当前方法的晶体总能量为:-83023.0kJ/mol。8) Use the formula (1-8) to calculate the total energy of the crystal. According to the above lattice energy, the total crystal energy of Aspirin crystal in the current method can be obtained: -83023.0kJ/mol.
仍以Aspirin晶体为例进行说明,该Aspirin晶体为P21/c对称性,一个单元晶胞内包含4个等价分子。本实例选择密度泛函理论(DFT)方法中正常精度的PBE-D3BJ方法和6-31G*基组的组合对1壳结构进行晶体能量预测。Still taking Aspirin crystal as an example for illustration, the Aspirin crystal has P21/c symmetry, and one unit cell contains 4 equivalent molecules. In this example, the combination of the PBE-D3BJ method with normal precision and the 6-31G* basis set in the density functional theory (DFT) method is selected to predict the crystal energy of the 1-shell structure.
1)选择4个等价分子中的一个作为中心分子,计算E 分子,0、E 分子,j、E 分子,x、E 分子,c、E 分子,nuc、E 分子,disp_corr。中心分子的分子结构如图2所示。 1) Select one of the 4 equivalent molecules as the central molecule, and calculate Emol,0 , Emol, j , Emol, x , Emol, c , Emol , nuc , Emol , disp_corr . The molecular structure of the central molecule is shown in Figure 2.
2)使用R 1=4.0埃作为截断半径,以中心分子的几何中心为球心,进行原子选择,如图3所示,球棍模型的结构表示为中心分子。以截断半径4.0埃选定的原子,可以看到外围分子并不完整,需要进行分子补齐。 2) Use R 1 =4.0 angstroms as the cut-off radius, and use the geometric center of the central molecule as the center of the sphere to select atoms. As shown in FIG. 3 , the structure of the ball-and-stick model is represented as the central molecule. Atoms selected with a cut-off radius of 4.0 angstroms, it can be seen that the peripheral molecules are not complete and need to be completed.
3)对残缺的分子进行补齐,获得团簇1和壳1结构,如图4所示。补齐分子后的团簇1结构,球棍模型的结构为中心分子,其余部分为壳1结构。3) Completing the missing molecules to obtain the cluster 1 and shell 1 structures, as shown in FIG. 4 . The structure of the cluster 1 after the molecules are completed, the structure of the ball-and-stick model is the central molecule, and the rest is the shell 1 structure.
4)使用PBE-D3BJ方法和def-SV(P)对中心分子、团簇1和壳1结构进行各分项能量的计算,获得E 分子,i、E 团簇1,i、E 壳1,i,其计算方式可以参见公式(1-2),并利用公式(1-3)计算得到E 壳1相互作用能,i。其各分项能量如表3所示:表3为PBE-D3BJ和def-SV(P)下得到的各个分量和当前参数。 4) Use the PBE-D3BJ method and def-SV(P) to calculate the sub-item energies of the central molecule, cluster 1 and shell 1 structures, and obtain E molecule,i , E cluster 1,i , E shell 1, i , its calculation method can refer to the formula (1-2), and use the formula (1-3) to calculate the E -shell 1 interaction energy, i . The sub-item energies are shown in Table 3: Table 3 shows the components and current parameters obtained under PBE-D3BJ and def-SV(P).
表3 PBE-D3BJ和def-SV(P)下得到的各分项能量(单位:a.u.)Table 3 The sub-item energy obtained under PBE-D3BJ and def-SV(P) (unit: a.u.)
Figure PCTCN2021143749-appb-000004
Figure PCTCN2021143749-appb-000004
5)选择预先针对PBE-D3BJ方法和def-SV(P)拟合的K PBE-D3BJ/6-31G*,壳1,使用公式(1-7)获得E 晶格=-117.1kJ/mol,也非常接近文献报道的高精度计算的结果。 5) Select K PBE-D3BJ/6-31G*, shell 1 , which is pre-fitted for the PBE-D3BJ method and def-SV(P), and use formula (1-7) to obtain E lattice = -117.1kJ/mol, It is also very close to the results of high-precision calculations reported in the literature.
6)使用公式(1-8)计算得到晶体总能量。根据以上晶格能量,可以得到Aspirin晶体在当前方法的晶体总能量为:-1700088.5kJ/mol。6) Use the formula (1-8) to calculate the total energy of the crystal. According to the above lattice energy, the total crystal energy of the Aspirin crystal in the current method can be obtained: -1700088.5kJ/mol.
在一实施方式中,可以先对中心分子的分子能量进行能量校正,得到校正后的分子能量;再利用校正后的分子能量和晶格能量,计算得到目标晶体结构的晶体总能量。In one embodiment, energy correction can be performed on the molecular energy of the central molecule first to obtain the corrected molecular energy; then, the total crystal energy of the target crystal structure can be calculated by using the corrected molecular energy and lattice energy.
例如,分子能量和晶格能量均为采用DFTB方法计算得到的,之后可以使用更高精度的方法(如MP2/aug-cc-pVQZ方法)对中心分子的分子能量进行重新计算,以替换掉前面采用低精度方法(DFTB)计算得到的分子能量,从而获得更佳可信的分子能量,继而得到置信度更高的晶体总能量,以进一步提升计算精度。For example, the molecular energy and lattice energy are both calculated by the DFTB method, and then the molecular energy of the central molecule can be recalculated using a higher-precision method (such as the MP2/aug-cc-pVQZ method) to replace the previous The molecular energy calculated by the low-precision method (DFTB) is used to obtain better and more reliable molecular energy, and then the total energy of the crystal with higher confidence is obtained to further improve the calculation accuracy.
可以理解的是,也可以采用其他校正方式,例如对分子能量的至少一个分项能量进行校正,以得到更佳可信的分子能量。It can be understood that other correction methods may also be used, such as correcting at least one partial energy of the molecular energy, so as to obtain more reliable molecular energy.
本申请实施例提供的方法,通过计算中心分子(核)和团簇(壳)的能量,建立“核-壳”计算方案,能够回避现有技术中大量的二体、三体等多体团簇的计算,能够获得比原先直接采用低精度计算方法更高的能量精度,并且计算效率也得到较大提高。The method provided in the embodiment of the present application establishes a "core-shell" calculation scheme by calculating the energy of the central molecule (core) and cluster (shell), which can avoid a large number of multi-body groups such as two-body and three-body groups in the prior art The cluster calculation can obtain higher energy accuracy than the original low-precision calculation method directly, and the calculation efficiency is also greatly improved.
本申请使用中心分子-外围团簇进行晶体能量评估的技术,兼容主流的量子化学计算方法,能够较好的平衡计算精度和成本,可用于晶体能量的快速计算。This application uses the technology of central molecule-peripheral clusters to evaluate crystal energy, which is compatible with mainstream quantum chemical calculation methods, can better balance calculation accuracy and cost, and can be used for fast calculation of crystal energy.
本申请可以直接使用一个大团簇进行计算,减少了计算次数,回避现有方法中二体等小团簇的划分、筛选和计算的步骤。This application can directly use a large cluster for calculation, which reduces the number of calculations and avoids the steps of dividing, screening and calculating small clusters such as two bodies in the existing method.
本申请的全部计算可在相同的计算精度下进行,通过根据不同物理起源的能量项引入多个经验参数,能够获得相对较高精度的晶体总能量。All calculations in this application can be performed with the same calculation accuracy, and a relatively high-precision total energy of the crystal can be obtained by introducing multiple empirical parameters according to energy items of different physical origins.
本申请可以针对中心分子和壳结构选择不同精度的方法进行组合,分别对分子能量和晶格能进行不同高精度的处理,以获得更可靠的晶体总能量。In this application, methods with different precision can be selected for the central molecular and shell structures, and the molecular energy and lattice energy can be processed with different high precision to obtain a more reliable total energy of the crystal.
本申请原则上使用两个壳的计算结果进行外推,实际使用中可以直接用低精度方法对团簇进行拟合,直接得到晶格能,进一步提高总体的计算效率。In principle, this application uses the calculation results of the two shells for extrapolation. In actual use, the cluster can be fitted directly with a low-precision method, and the lattice energy can be directly obtained to further improve the overall calculation efficiency.
本申请实施例还提供了一种分子晶体能量比较方法,包括以下步骤:The embodiment of the present application also provides a molecular crystal energy comparison method, including the following steps:
S210、获取待比较的至少两个晶体结构。S210. Acquire at least two crystal structures to be compared.
S220、利用前述实施例中提供的分子晶体能量计算方法对每一晶体结构进行晶体能量计算,得到每一晶体结构的晶体总能量。S220. Calculate the crystal energy of each crystal structure by using the molecular crystal energy calculation method provided in the foregoing embodiments, and obtain the total crystal energy of each crystal structure.
S230、根据每一晶体结构的晶体总能量,确定上述至少两个晶体结构的晶体能量大小关系。S230. According to the total crystal energy of each crystal structure, determine the relationship between the crystal energies of the at least two crystal structures.
采用上述方法,可以对多个晶体结构进行快速而准确的晶体能量计算,并对这些晶体结构进行能量排序,以确定各晶体结构的晶体能量大小关系,方便在后续应用中能够快速地从中选出较稳定的晶体结构。Using the above method, it is possible to quickly and accurately calculate the crystal energy of multiple crystal structures, and sort the energy of these crystal structures to determine the relationship between the crystal energy of each crystal structure, so that it can be quickly selected in subsequent applications. more stable crystal structure.
本申请实施例还提供了一种分子晶体能量计算装置,该装置可以用于执行前述实施例提供的分子晶体能量计算方法。如图6所示,该装置可以包括:The embodiment of the present application also provides a molecular crystal energy calculation device, which can be used to implement the molecular crystal energy calculation method provided in the foregoing embodiments. As shown in Figure 6, the device may include:
获取模块610,用于获取目标晶体结构,并从目标晶体结构中确定中心分子、M个团簇和M个壳结构,M为大于或等于1的整数;An acquisition module 610, configured to acquire the target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
第一计算模块620,用于采用量子化学方法分别计算中心分子的分子能量、每一团簇的团簇能量和每一壳结构的壳能量;The first calculation module 620 is used to separately calculate the molecular energy of the central molecule, the cluster energy of each cluster and the shell energy of each shell structure by using a quantum chemical method;
第二计算模块630,用于根据分子能量、团簇能量和壳能量,计算得到目标晶体结构的晶格能量;The second calculation module 630 is used to calculate the lattice energy of the target crystal structure according to the molecular energy, cluster energy and shell energy;
第三计算模块640,用于根据分子能量和晶格能量,计算得到目标晶体结构的晶体总能量。The third calculation module 640 is used to calculate the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy.
可选的,获取模块610从目标晶体结构中确定中心分子、M个团簇和M个壳结构的实施方式可以包括:从目标晶体结构中选取一个分子作为中心分子;以中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对目标晶体结构进行原子截取,选取原子位于截断半径内的分子构建团簇,得到M个团簇;将中心分子从每一团簇中进行删除,得到对应的M个壳结构。Optionally, the implementation of determining the central molecule, M clusters and M shell structures from the target crystal structure by the acquisition module 610 may include: selecting a molecule from the target crystal structure as the central molecule; taking the geometric center of the central molecule as The center of the sphere, and use M different preset radii as cut-off radii to intercept atoms of the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M clusters; divide the central molecule from each cluster Delete the corresponding M shell structures.
可选地,获取模块610可以进一步包括:Optionally, the obtaining module 610 may further include:
获取单元,用于获取目标晶体结构;an acquisition unit, configured to acquire the target crystal structure;
选取单元,用于从目标晶体结构中选取一个分子作为中心分子;Selection unit, used to select a molecule from the target crystal structure as the central molecule;
截取单元,用于以中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对目标晶体结构进行原子截取,选取原子位于截断半径内的分子构建团簇,得到M个团簇;The interception unit is used to take the geometric center of the central molecule as the center of the sphere, and use M different preset radii as cut-off radii to carry out atomic interception on the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M a cluster;
删除单元,用于将中心分子从每一团簇中进行删除,得到对应的M个壳结构。The deletion unit is used to delete the central molecule from each cluster to obtain the corresponding M shell structures.
可选的,获取模块610选取原子位于截断半径内的分子构建团簇的实施方式可以包括:选取所有原子均位于截断半径内的分子构建团簇;或者,若有分子仅部分原子位于截断半径内,对该分子进行补全处理,并利用补全后的分子以及所有原子均位于截断半径内的分子构建团簇。Optionally, the implementation of the acquisition module 610 selecting molecules with atoms within the cutoff radius to construct clusters may include: selecting molecules with all atoms within the cutoff radius to construct clusters; or, if there are molecules with only some atoms within the cutoff radius , complete the molecule and build clusters using the completed molecule and molecules with all atoms within the cutoff radius.
可选的,第一计算模块620可以进一步包括:Optionally, the first calculation module 620 may further include:
第一计算单元,用于以中心分子的分子结构作为输入,采用量子化学方法计算得到中心分子的分子能量以及构成分子能量的各分项能量;The first calculation unit is used to use the molecular structure of the central molecule as an input, and calculate the molecular energy of the central molecule and the sub-energy of the molecular energy by using quantum chemical methods;
第二计算单元,用于分别以每一团簇的结构作为输入,采用量子化学方法计算得到每一团簇的团簇能量以及构成团簇能量的各分项能量;The second calculation unit is used to use the structure of each cluster as an input to calculate the cluster energy of each cluster and the energy of each subitem of the cluster energy by using a quantum chemical method;
第三计算单元,用于分别以每一壳结构作为输入,采用量子化学方法计算得到每一壳结构的壳能量以及构成壳能量的各分项能量。The third calculation unit is used to use each shell structure as an input to calculate the shell energy of each shell structure and the component energies constituting the shell energy by quantum chemical method.
可选的,量子化学方法可以包括基于密度泛函理论的紧束缚DFTB方法,其能量计算公式可以为:E 能量=E 0近似+E scc+E rep+E nuc+E disp_corrOptionally, the quantum chemical method may include a tight-binding DFTB method based on density functional theory, and its energy calculation formula may be: E energy = E 0 approximation + E scc + E rep + E nuc + E disp_corr ;
其中,各分项能量E 0近似、E scc、E rep、E nuc、E disp_corr分别为:零阶近似下的轨道能,二/三阶静电能,价键的近程排斥能,核排斥能,长程的色散校正能。 Among them, the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
可选的,量子化学方法可以包括密度泛函理论DFT方法,其能量计算公式可以为:E 能量=E 0+E j+E x+E c+E nuc+E disp_corrOptionally, the quantum chemical method may include a density functional theory DFT method, and its energy calculation formula may be: E energy = E 0 +E j +E x +E c +E nuc +E disp_corr ;
其中,各分项能量E 0、E j、E x、E c、E nuc、E disp_corr分别为:轨道能,电子静电能,交换能,相关能,核排斥能,长程的色散校正能。 Among them, the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
可选的,第二计算模块630可以进一步包括:Optionally, the second computing module 630 may further include:
第四计算单元,用于根据分子能量的各分项能量、每一团簇能量的各分项能量以及每一壳能量的各分项能量,利用第一预设公式计算得到中心分子与每一壳结构之间的相互作用能的各分项能量;The fourth calculation unit is used to calculate and obtain the central molecule and each sub-energy according to the sub-item energy of the molecular energy, the sub-item energy of each cluster energy, and the sub-item energy of each shell energy by using the first preset formula. The sub-items of the interaction energy between shell structures;
第五计算单元,用于根据中心分子与每一壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到目标晶体结构的晶格能量的各分项能量;The fifth calculation unit is used to calculate the sub-items of the lattice energy of the target crystal structure by using the second preset formula according to the sub-items of the interaction energy between the central molecule and each shell structure;
第六计算单元,用于根据晶格能量的各分项能量以及各分项能量的贡献系数,利用第三预设公式计算得到目标晶体结构的晶格能量。The sixth calculation unit is used to calculate the lattice energy of the target crystal structure by using the third preset formula according to the component energies of the lattice energy and the contribution coefficients of the component energies.
可选的,第一预设公式可以为:E 壳n相互作用能,i=E 团簇n,i–E 分子,i–E 壳n,iOptionally, the first preset formula can be: E -shell n interaction energy, i =E cluster n,i -E molecule, i -E shell n,i ;
其中,n为团簇编号,n的取值为1~M,i为各分项能量的编号,E 团簇n,i为第n个团簇的 团簇能量的第i个分项能量,E 分子,i为中心分子的分子能量的第i个分项能量,E 壳n,i为第n个壳结构的壳能量的第i个分项能量,E 壳n相互作用能,i为中心分子与第n个壳结构之间的相互作用能的第i个分项能量。 Among them, n is the cluster number, the value of n is 1~M, i is the number of each sub-item energy, E cluster n, i is the i-th sub-item energy of the cluster energy of the nth cluster, E molecule, i is the i-th partial energy of the molecular energy of the central molecule, E -shell n, i is the i-th partial energy of the shell energy of the n-th shell structure, E -shell n interaction energy, i is the center The energy of the ith component of the interaction energy between the molecule and the nth shell structure.
可选的,当M大于或等于3时,第二预设公式可以为:Optionally, when M is greater than or equal to 3, the second preset formula may be:
E 壳n相互作用能.i=E 晶格,i+A*(R n) -BE shell n interaction energy. i = E lattice, i +A*(R n ) -B ;
其中,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,R n为构建第n个团簇时采用的截取半径,A和B为两个不同的衰减系数; Among them, E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, R n is the intercept radius used when constructing the n-th cluster, and A and B are two different attenuation coefficients;
此时,第五计算单元具体可以用于对中心分子与每一壳结构之间的相互作用能的各分项能量利用第二预设公式进行计算,得到多组E 晶格,i、A和B;对多组E 晶格,i、A和B进行拟合,得到目标晶体结构的晶格能量的各分项能量。 At this time, the fifth calculation unit can specifically be used to calculate the sub-item energies of the interaction energy between the central molecule and each shell structure using the second preset formula to obtain multiple sets of E lattices, i , A and B: Fit multiple groups of E lattice, i , A and B to obtain the sub-item energy of the lattice energy of the target crystal structure.
可选的,当M为2时,第二预设公式可以为:Optionally, when M is 2, the second preset formula can be:
E 晶格,i=[E 壳1相互作用能,i(R 1) 3-E 壳2相互作用能,i(R 2) 3]/[(R 1) 3-(R 2) 3]; E- lattice, i = [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
其中,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,E 壳1相互作用能,i为中心分子与第1个壳结构之间的相互作用能的第i个分项能量,E 壳2相互作用能,i为中心分子与第2个壳结构之间的相互作用能的第i个分项能量,R 1为构建第1个团簇时采用的截取半径,R 2为构建第2个团簇时采用的截取半径。 Among them, E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, E shell 1 interaction energy, i is the ith part of the interaction energy between the central molecule and the first shell structure Subitem energy, E shell 2 interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the second shell structure, R 1 is the intercept radius used when constructing the first cluster, R 2 is the intercept radius used when constructing the second cluster.
可选的,当M为1时,n为1,第二预设公式可以为:E 晶格,i=E 壳1相互作用能,iOptionally, when M is 1, n is 1, the second preset formula can be: E lattice, i =E shell 1 interaction energy, i ;
其中,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,E 壳1相互作用能,i为中心分子与壳结构之间的相互作用能的第i个分项能量。 Among them, E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, E shell 1 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the shell structure .
可选的,第三预设公式可以为:E 晶格=sum(k iE 晶格,i); Optionally, the third preset formula can be: E -lattice =sum(k i E -lattice,i );
其中,E 晶格为目标晶体结构的晶格能量,E 晶格,i为目标晶体结构的晶格能量的第i个分项能量,k i为晶格能量的第i个分项能量的贡献系数。 Among them, E lattice is the lattice energy of the target crystal structure, E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, k i is the contribution of the i-th sub-item energy of the lattice energy coefficient.
可选的,第六计算单元计算晶格能量的各分项能量的贡献系数的方式可以包括:获取多个参考晶体结构以及每一参考晶体结构的参考晶格能量;分别计算每一参考晶体结构的晶格能量的各分项能量;设定晶格能量的各分项能量的贡献系数;根据每一参考晶体结构的晶格能量的各分项能量以及设定的贡献系数,得到每一参考晶体结构的预测晶格能量的各分项能量;利用每一参考晶体结构的参考晶格能量的各分项能量和预测晶格能量的各分项能量,对设定的贡献系数进行拟合,得到拟合后的各分项能量的贡献系数。Optionally, the way for the sixth calculation unit to calculate the contribution coefficients of each sub-item energy of the lattice energy may include: obtaining multiple reference crystal structures and the reference lattice energy of each reference crystal structure; Each sub-item energy of the lattice energy; set the contribution coefficient of each sub-item energy of the lattice energy; according to each sub-item energy of the lattice energy of each reference crystal structure and the set contribution coefficient, get each reference Each sub-entry energy of the predicted lattice energy of the crystal structure; use each sub-item energy of the reference lattice energy of each reference crystal structure and each sub-item energy of the predicted lattice energy to fit the set contribution coefficient, The contribution coefficient of each sub-item energy after fitting is obtained.
可选的,第三计算模块640可以进一步包括:Optionally, the third calculation module 640 may further include:
校正单元,用于对分子能量进行能量校正,得到校正后的分子能量;A correction unit is used to perform energy correction on molecular energy to obtain corrected molecular energy;
第七计算单元,用于利用校正后的分子能量和晶格能量,计算得到目标晶体结构的晶体总能量。The seventh calculation unit is used to calculate the total crystal energy of the target crystal structure by using the corrected molecular energy and lattice energy.
本申请实施例中的装置,通过计算中心分子(核)和团簇(壳)的能量,建立“核-壳”计算方案,能够回避现有技术中大量的二体、三体等多体团簇的计算,能够获得比原先直接采用低精度计算方法更高的能量精度,并且计算效率也得到较大提高。The device in the embodiment of this application establishes a "core-shell" calculation scheme by calculating the energy of the central molecule (core) and cluster (shell), which can avoid a large number of multi-body groups such as two-body and three-body groups in the prior art The cluster calculation can obtain higher energy accuracy than the original low-precision calculation method directly, and the calculation efficiency is also greatly improved.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不再做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
本申请实施例还提供了一种分子晶体能量比较装置,可以用于执行前述实施例提供的分子晶体能量比较方法。具体的,该装置可以包括:The embodiment of the present application also provides a molecular crystal energy comparison device, which can be used to implement the molecular crystal energy comparison method provided in the foregoing embodiments. Specifically, the device may include:
获取模块,用于获取待比较的至少两个晶体结构;an acquisition module, configured to acquire at least two crystal structures to be compared;
计算模块,用于利用前述实施例提供的分子晶体能量计算装置对每一晶体结构进行晶体能量计算,得到每一晶体结构的晶体总能量;Calculation module, for calculating the crystal energy of each crystal structure by using the molecular crystal energy calculation device provided in the foregoing embodiments, to obtain the total crystal energy of each crystal structure;
确定模块,用于根据每一晶体结构的晶体总能量,确定上述至少两个晶体结构的晶体能量大小关系。The determination module is configured to determine the relationship between the crystal energies of the above-mentioned at least two crystal structures according to the total crystal energy of each crystal structure.
本申请实施例还提供了一种电子设备,可以用于执行前述实施例提供的分子晶体能量计算方法和/或分子晶体能量比较方法。如图7所示,电子设备700包括存储器710和处理器720。The embodiment of the present application also provides an electronic device, which can be used to implement the molecular crystal energy calculation method and/or the molecular crystal energy comparison method provided in the foregoing embodiments. As shown in FIG. 7 , an electronic device 700 includes a memory 710 and a processor 720 .
处理器720可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 720 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
存储器710可以包括各种类型的存储单元,例如系统内存、只读存储器(ROM)和永久存储装置。其中,ROM可以存储处理器720或者计算机的其他模块需要的静态数据或者指令。永久存储装置可以是可读写的存储装置。永久存储装置可以是即使计算机断电后也不会失去存储的指令和数据的非易失性存储设备。在一些实施方式中,永久性存储装置采用大容量存储装置(例如磁或光盘、闪存)作为永久存储装置。另外一些实施方式中,永久性存储装置可以是可移除的存储设备(例如软盘、光驱)。系统内存可以是可读写存储设备或者易失性可读写存储设备,例如动态随机访问内存。 系统内存可以存储一些或者所有处理器在运行时需要的指令和数据。此外,存储器710可以包括任意计算机可读存储媒介的组合,包括各种类型的半导体存储芯片(例如DRAM,SRAM,SDRAM,闪存,可编程只读存储器),磁盘和/或光盘也可以采用。在一些实施方式中,存储器710可以包括可读和/或写的可移除的存储设备,例如激光唱片(CD)、只读数字多功能光盘(例如DVD-ROM,双层DVD-ROM)、只读蓝光光盘、超密度光盘、闪存卡(例如SD卡、min SD卡、Micro-SD卡等)、磁性软盘等。计算机可读存储媒介不包含载波和通过无线或有线传输的瞬间电子信号。The memory 710 may include various types of storage units such as system memory, read only memory (ROM), and persistent storage. Wherein, the ROM may store static data or instructions required by the processor 720 or other modules of the computer. The persistent storage device may be a readable and writable storage device. Persistent storage may be a non-volatile storage device that does not lose stored instructions and data even if the computer is powered off. In some embodiments, the permanent storage device adopts a mass storage device (such as a magnetic or optical disk, flash memory) as the permanent storage device. In some other implementations, the permanent storage device may be a removable storage device (such as a floppy disk, an optical drive). The system memory can be a readable and writable storage device or a volatile readable and writable storage device, such as dynamic random access memory. System memory can store some or all of the instructions and data that the processor needs at runtime. In addition, the memory 710 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and magnetic disks and/or optical disks may also be used. In some embodiments, memory 710 may include a readable and/or writable removable storage device, such as a compact disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual-layer DVD-ROM), Read-only Blu-ray Disc, Super Density Disc, Flash memory card (such as SD card, min SD card, Micro-SD card, etc.), magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves and transient electronic signals transmitted by wireless or wire.
存储器710上存储有可执行代码,当可执行代码被处理器720处理时,可以使处理器720执行上文述及的方法中的部分或全部。Executable codes are stored in the memory 710 , and when the executable codes are processed by the processor 720 , the processor 720 can be made to execute part or all of the methods mentioned above.
此外,根据本申请的方法还可以实现为一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括用于执行本申请的上述方法中部分或全部步骤的计算机程序代码指令。In addition, the method according to the present application can also be implemented as a computer program or computer program product, the computer program or computer program product including computer program code instructions for executing some or all of the steps in the above method of the present application.
或者,本申请还可以实施为一种计算机可读存储介质(或非暂时性机器可读存储介质或机器可读存储介质),其上存储有可执行代码(或计算机程序或计算机指令代码),当可执行代码(或计算机程序或计算机指令代码)被电子设备(或服务器等)的处理器执行时,使处理器执行根据本申请的上述方法的各个步骤的部分或全部。Alternatively, the present application may also be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium), on which executable code (or computer program or computer instruction code) is stored, When the executable code (or computer program or computer instruction code) is executed by the processor of the electronic device (or server, etc.), the processor is made to perform part or all of the steps of the above-mentioned method according to the present application.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present application above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (32)

  1. 一种分子晶体能量计算方法,其特征在于,包括:A molecular crystal energy calculation method, characterized in that it comprises:
    获取目标晶体结构,并从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,所述M为大于或等于1的整数;Obtaining a target crystal structure, and determining a central molecule, M clusters, and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
    采用量子化学方法分别计算所述中心分子的分子能量、每一所述团簇的团簇能量和每一所述壳结构的壳能量;Calculating the molecular energy of the central molecule, the cluster energy of each of the clusters, and the shell energy of each of the shell structures using quantum chemical methods;
    根据所述分子能量、所述团簇能量和所述壳能量,计算得到所述目标晶体结构的晶格能量;calculating the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy;
    根据所述分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。According to the molecular energy and the lattice energy, the total crystal energy of the target crystal structure is calculated.
  2. 如权利要求1所述的方法,其特征在于,所述从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,包括:The method according to claim 1, wherein said determining central molecule, M clusters and M shell structures from said target crystal structure comprises:
    从所述目标晶体结构中选取一个分子作为中心分子;selecting a molecule from the target crystal structure as the central molecule;
    以所述中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对所述目标晶体结构进行原子截取,选取原子位于所述截断半径内的分子构建团簇,得到M个所述团簇;Take the geometric center of the central molecule as the center of the sphere, and use M different preset radii as cut-off radii to carry out atomic interception on the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M said clusters;
    将所述中心分子从每一所述团簇中进行删除,得到对应的M个壳结构。The central molecule is deleted from each of the clusters to obtain the corresponding M shell structures.
  3. 如权利要求2所述的方法,其特征在于,所述选取原子位于所述截断半径内的分子构建团簇,包括:The method according to claim 2, wherein said selection of molecules whose atoms are located within said cutoff radius to construct clusters comprises:
    选取所有原子均位于所述截断半径内的分子构建团簇;或者,selecting molecules with all atoms within the cut-off radius to construct clusters; or,
    若有分子仅部分原子位于所述截断半径内,对所述分子进行补全处理,并利用补全后的分子以及所有原子均位于所述截断半径内的分子构建团簇。If only some atoms of a molecule are located within the cutoff radius, the molecules are completed, and the completed molecules and molecules with all atoms located within the cutoff radius are used to construct clusters.
  4. 如权利要求1所述的方法,其特征在于,所述采用量子化学方法分别计算所述中心分子的分子能量、每一所述团簇的团簇能量和每一所述壳结构的壳能量,包括:The method according to claim 1, characterized in that, the molecular energy of the central molecule, the cluster energy of each of the clusters and the shell energy of each of the shell structures are calculated respectively by using a quantum chemical method, include:
    以所述中心分子的分子结构作为输入,采用量子化学方法计算得到所述中心分子的分子能量以及构成所述分子能量的各分项能量;Using the molecular structure of the central molecule as an input, calculating the molecular energy of the central molecule and the sub-energies that constitute the molecular energy by using quantum chemical methods;
    分别以每一所述团簇的结构作为输入,采用所述量子化学方法计算得到每一所述团簇的团簇能量以及构成所述团簇能量的各分项能量;Using the structure of each of the clusters as an input, the quantum chemical method is used to calculate the cluster energy of each of the clusters and the component energies that constitute the cluster energy;
    分别以每一所述壳结构作为输入,采用所述量子化学方法计算得到每一所述壳结构的壳能量以及构成所述壳能量的各分项能量。Each of the shell structures is used as an input, and the quantum chemical method is used to calculate the shell energy of each shell structure and the component energies constituting the shell energy.
  5. 如权利要求4所述的方法,其特征在于,所述量子化学方法包括基于密度泛函 理论的紧束缚DFTB方法,能量计算公式为:The method according to claim 4, wherein said quantum chemical method comprises a tight-binding DFTB method based on density functional theory, and the energy calculation formula is:
    E 能量=E 0近似+E scc+E rep+E nuc+E disp_corrE energy = E 0 approx + E scc + E rep + E nuc + E disp_corr ;
    其中,各分项能量E 0近似、E scc、E rep、E nuc、E disp_corr分别为:零阶近似下的轨道能,二/三阶静电能,价键的近程排斥能,核排斥能,长程的色散校正能。 Among them, the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
  6. 如权利要求4所述的方法,其特征在于,所述量子化学方法包括密度泛函理论DFT方法,能量计算公式为:The method according to claim 4, wherein the quantum chemical method comprises a density functional theory DFT method, and the energy calculation formula is:
    E 能量=E 0+E j+E x+E c+E nuc+E disp_corrE energy = E 0 +E j +E x +E c +E nuc +E disp_corr ;
    其中,各分项能量E 0、E j、E x、E c、E nuc、E disp_corr分别为:轨道能,电子静电能,交换能,相关能,核排斥能,长程的色散校正能。 Among them, the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
  7. 如权利要求4所述的方法,其特征在于,所述根据所述分子能量、所述团簇能量和所述壳能量,计算得到所述目标晶体结构的晶格能量,包括:The method according to claim 4, wherein the calculating the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy comprises:
    根据所述分子能量的各分项能量、每一所述团簇能量的各分项能量以及每一所述壳能量的各分项能量,利用第一预设公式计算得到所述中心分子与每一所述壳结构之间的相互作用能的各分项能量;According to the partial energies of the molecular energy, the partial energies of each of the cluster energies, and the partial energies of each of the shell energies, the relationship between the central molecule and each - Partial energies of the interaction energy between said shell structures;
    根据所述中心分子与每一所述壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到所述目标晶体结构的晶格能量的各分项能量;According to the sub-items of the interaction energy between the central molecule and each of the shell structures, the sub-items of the lattice energy of the target crystal structure are calculated using a second preset formula;
    根据所述晶格能量的各分项能量以及各分项能量的贡献系数,利用第三预设公式计算得到所述目标晶体结构的晶格能量。According to the component energies of the lattice energy and the contribution coefficients of the component energies, the lattice energy of the target crystal structure is calculated using a third preset formula.
  8. 如权利要求7所述的方法,其特征在于,所述第一预设公式为:The method according to claim 7, wherein the first preset formula is:
    E 壳n相互作用能,i=E 团簇n,i–E 分子,i–E 壳n,iE shell n interaction energy, i = E cluster n,i -E molecule, i -E shell n,i ;
    其中,所述n为团簇编号,所述n的取值为1~M,所述i为各分项能量的编号,所述E 团簇n,i为第n个团簇的团簇能量的第i个分项能量,所述E 分子,i为所述中心分子的分子能量的第i个分项能量,所述E 壳n,i为第n个壳结构的壳能量的第i个分项能量,所述E 壳n相互作用能,i为所述中心分子与所述第n个壳结构之间的相互作用能的第i个分项能量。 Wherein, the n is the cluster number, the value of n is 1-M, the i is the number of each sub-item energy, and the E cluster n,i is the cluster energy of the nth cluster The i-th partial energy of the E molecule, i is the i-th partial energy of the molecular energy of the central molecule, and the E shell n,i is the i-th shell energy of the n-th shell structure Subitem energy, the E shell n interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the nth shell structure.
  9. 如权利要求8所述的方法,其特征在于,当所述M大于或等于3时,所述第二预设公式为:The method according to claim 8, wherein when the M is greater than or equal to 3, the second preset formula is:
    E 壳n相互作用能.i=E 晶格,i+A*(R n) -BE shell n interaction energy. i = E lattice, i +A*(R n ) -B ;
    其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述R n为构建所述第n个团簇时采用的截取半径,所述A和所述B为两个不同的衰减系数; Wherein, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, the R n is the intercept radius adopted when constructing the n-th cluster, and the A and The B is two different attenuation coefficients;
    所述根据所述中心分子与每一所述壳结构之间的相互作用能的各分项能量,利用第二 预设公式计算得到所述目标晶体结构的晶格能量的各分项能量,包括:The sub-items of the interaction energy between the central molecule and each of the shell structures are calculated using a second preset formula to obtain the sub-items of the lattice energy of the target crystal structure, including :
    对所述中心分子与每一所述壳结构之间的相互作用能的各分项能量利用所述第二预设公式进行计算,得到多组所述E 晶格,i、A和B; calculating the partial energies of the interaction energy between the central molecule and each of the shell structures using the second preset formula to obtain multiple sets of the E lattice,i , A and B;
    对多组所述E 晶格,i、A和B进行拟合,得到所述目标晶体结构的晶格能量的各分项能量。 Fitting multiple sets of lattice E,i , A, and B to obtain subitem energies of lattice energies of the target crystal structure.
  10. 如权利要求8所述的方法,其特征在于,当所述M为2时,所述第二预设公式为:The method according to claim 8, wherein when the M is 2, the second preset formula is:
    E 晶格,i=[E 壳1相互作用能,i(R 1) 3-E 壳2相互作用能,i(R 2) 3]/[(R 1) 3-(R 2) 3]; E- lattice, i = [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
    其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述E 壳1相互作用能,i为所述中心分子与第1个壳结构之间的相互作用能的第i个分项能量,所述E 壳2相互作用能,i为所述中心分子与第2个壳结构之间的相互作用能的第i个分项能量,所述R 1为构建第1个团簇时采用的截取半径,所述R 2为构建第2个团簇时采用的截取半径。 Wherein, the E lattice, i is the ith partial energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the distance between the central molecule and the first shell structure The i-th partial energy of the interaction energy, the E -shell 2 interaction energy, i is the i-th partial energy of the interaction energy between the central molecule and the second shell structure, the R 1 is the cut-off radius used when constructing the first cluster, and R 2 is the cut-off radius used when constructing the second cluster.
  11. 如权利要求8所述的方法,其特征在于,当所述M为1时,所述n为1,所述第二预设公式为:The method according to claim 8, wherein when the M is 1, the n is 1, and the second preset formula is:
    E 晶格,i=E 壳1相互作用能,iE lattice, i = E shell 1 interaction energy, i ;
    其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述E 壳1相互作用能,i为所述中心分子与壳结构之间的相互作用能的第i个分项能量。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the interaction between the central molecule and the shell structure energy of the i-th component of energy.
  12. 如权利要求7所述的方法,其特征在于,所述第三预设公式为:The method according to claim 7, wherein the third preset formula is:
    E 晶格=sum(k iE 晶格,i); E lattice = sum(k i E lattice, i );
    其中,所述E 晶格为所述目标晶体结构的晶格能量,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述k i为所述晶格能量的第i个分项能量的贡献系数。 Wherein, the E lattice is the lattice energy of the target crystal structure, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, and the ki is the The contribution coefficient of the i-th component energy of the lattice energy.
  13. 如权利要求7所述的方法,其特征在于,所述晶格能量的各分项能量的贡献系数的计算方式包括:The method according to claim 7, wherein the calculation method of the contribution coefficient of each sub-item energy of the lattice energy comprises:
    获取多个参考晶体结构以及每一所述参考晶体结构的参考晶格能量;obtaining a plurality of reference crystal structures and reference lattice energies for each of said reference crystal structures;
    分别计算每一所述参考晶体结构的晶格能量的各分项能量;separately calculating the partial energies of the lattice energies of each said reference crystal structure;
    设定所述晶格能量的各分项能量的贡献系数;Setting the contribution coefficient of each component energy of the lattice energy;
    根据每一所述参考晶体结构的晶格能量的各分项能量以及设定的贡献系数,得到每一所述参考晶体结构的预测晶格能量的各分项能量;Obtaining the sub-items of the predicted lattice energy of each of the reference crystal structures according to the sub-items of the lattice energy of each of the reference crystal structures and the set contribution coefficient;
    利用每一所述参考晶体结构的参考晶格能量的各分项能量和预测晶格能量的各分项能量,对设定的贡献系数进行拟合,得到拟合后的各分项能量的贡献系数。Using the sub-items of the reference lattice energy and the sub-items of the predicted lattice energy of each of the reference crystal structures, fitting the set contribution coefficients to obtain the fitting contribution of each sub-item energy coefficient.
  14. 如权利要求1-13任一所述的方法,其特征在于,所述根据所述分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量,包括:The method according to any one of claims 1-13, wherein the calculation of the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy comprises:
    对所述分子能量进行能量校正,得到校正后的分子能量;performing energy correction on the molecular energy to obtain the corrected molecular energy;
    利用所述校正后的分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。Using the corrected molecular energy and the lattice energy, the total crystal energy of the target crystal structure is calculated.
  15. 一种分子晶体能量比较方法,其特征在于,包括:A molecular crystal energy comparison method, characterized in that, comprising:
    获取待比较的至少两个晶体结构;obtaining at least two crystal structures to be compared;
    利用如权利要求1-14任一项所述的方法对每一所述晶体结构进行晶体能量计算,得到每一所述晶体结构的晶体总能量;Carry out crystal energy calculation for each described crystal structure by using the method as described in any one of claims 1-14, to obtain the total crystal energy of each described crystal structure;
    根据每一所述晶体结构的晶体总能量,确定所述至少两个晶体结构的晶体能量大小关系。According to the total crystal energy of each of the crystal structures, the magnitude relationship of the crystal energies of the at least two crystal structures is determined.
  16. 一种分子晶体能量计算装置,其特征在于,包括:A molecular crystal energy calculation device, characterized in that it includes:
    获取模块,用于获取目标晶体结构,并从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,所述M为大于或等于1的整数;An acquisition module, configured to acquire a target crystal structure, and determine the central molecule, M clusters and M shell structures from the target crystal structure, where M is an integer greater than or equal to 1;
    第一计算模块,用于采用量子化学方法分别计算所述中心分子的分子能量、每一所述团簇的团簇能量和每一所述壳结构的壳能量;The first calculation module is used to separately calculate the molecular energy of the central molecule, the cluster energy of each of the clusters and the shell energy of each of the shell structures by using a quantum chemical method;
    第二计算模块,用于根据所述分子能量、所述团簇能量和所述壳能量,计算得到所述目标晶体结构的晶格能量;A second calculation module, configured to calculate the lattice energy of the target crystal structure according to the molecular energy, the cluster energy and the shell energy;
    第三计算模块,用于根据所述分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。The third calculation module is used to calculate the total crystal energy of the target crystal structure according to the molecular energy and the lattice energy.
  17. 根据权利要求16所述的装置,其特征在于,所述获取模块从所述目标晶体结构中确定中心分子、M个团簇和M个壳结构,包括:The device according to claim 16, wherein the acquisition module determines the central molecule, M clusters and M shell structures from the target crystal structure, including:
    从所述目标晶体结构中选取一个分子作为中心分子;selecting a molecule from the target crystal structure as the central molecule;
    以所述中心分子的几何中心为球心,且以M个不同的预设半径作为截断半径分别对所述目标晶体结构进行原子截取,选取原子位于所述截断半径内的分子构建团簇,得到M个所述团簇;Take the geometric center of the central molecule as the center of the sphere, and use M different preset radii as cut-off radii to carry out atomic interception on the target crystal structure, select molecules whose atoms are within the cut-off radius to construct clusters, and obtain M said clusters;
    将所述中心分子从每一所述团簇中进行删除,得到对应的M个壳结构。The central molecule is deleted from each of the clusters to obtain the corresponding M shell structures.
  18. 根据权利要求17所述的装置,其特征在于,所述获取模块选取原子位于所述截断半径内的分子构建团簇,包括:The device according to claim 17, wherein the acquisition module selects molecules whose atoms are located within the cut-off radius to construct clusters, including:
    选取所有原子均位于所述截断半径内的分子构建团簇;或者,selecting molecules with all atoms within the cut-off radius to construct clusters; or,
    若有分子仅部分原子位于所述截断半径内,对所述分子进行补全处理,并利用补全后的分子以及所有原子均位于所述截断半径内的分子构建团簇。If only some atoms of a molecule are located within the cutoff radius, the molecules are completed, and the completed molecules and molecules with all atoms located within the cutoff radius are used to construct clusters.
  19. 根据权利要求16所述的装置,其特征在于,所述第一计算模块包括:The device according to claim 16, wherein the first computing module comprises:
    第一计算单元,用于以中心分子的分子结构作为输入,采用量子化学方法计算得到中心分子的分子能量以及构成分子能量的各分项能量;The first calculation unit is used to use the molecular structure of the central molecule as an input, and calculate the molecular energy of the central molecule and the sub-energy of the molecular energy by using quantum chemical methods;
    第二计算单元,用于分别以每一团簇的结构作为输入,采用量子化学方法计算得到每一团簇的团簇能量以及构成团簇能量的各分项能量;The second calculation unit is used to use the structure of each cluster as an input to calculate the cluster energy of each cluster and the energy of each subitem of the cluster energy by using a quantum chemical method;
    第三计算单元,用于分别以每一壳结构作为输入,采用量子化学方法计算得到每一壳结构的壳能量以及构成壳能量的各分项能量。The third calculation unit is used to use each shell structure as an input to calculate the shell energy of each shell structure and the component energies constituting the shell energy by quantum chemical method.
  20. 根据权利要求19所述的装置,其特征在于,所述量子化学方法包括基于密度泛函理论的紧束缚DFTB方法,能量计算公式为:The device according to claim 19, wherein the quantum chemical method comprises a tight-binding DFTB method based on density functional theory, and the energy calculation formula is:
    E 能量=E 0近似+E scc+E rep+E nuc+E disp_corrE energy = E 0 approx + E scc + E rep + E nuc + E disp_corr ;
    其中,各分项能量E 0近似、E scc、E rep、E nuc、E disp_corr分别为:零阶近似下的轨道能,二/三阶静电能,价键的近程排斥能,核排斥能,长程的色散校正能。 Among them, the sub-item energies E 0 approximation , E scc , E rep , Enuc , and E disp_corr are: orbital energy under zero-order approximation, second/third-order electrostatic energy, short-range repulsion energy of valence bonds, and nuclear repulsion energy , the long-range dispersion correction energy.
  21. 根据权利要求19所述的装置,其特征在于,所述量子化学方法包括密度泛函理论DFT方法,能量计算公式为:The device according to claim 19, wherein the quantum chemical method comprises a density functional theory (DFT) method, and the energy calculation formula is:
    E 能量=E 0+E j+E x+E c+E nuc+E disp_corrE energy = E 0 +E j +E x +E c +E nuc +E disp_corr ;
    其中,各分项能量E 0、E j、E x、E c、E nuc、E disp_corr分别为:轨道能,电子静电能,交换能,相关能,核排斥能,长程的色散校正能。 Among them, the sub-items of energy E 0 , E j , Ex , E c , Enuc , and E disp_corr are: orbital energy, electron electrostatic energy, exchange energy, correlation energy, nuclear repulsion energy, and long-range dispersion correction energy.
  22. 根据权利要求19所述的装置,其特征在于,所述第二计算模块包括:The device according to claim 19, wherein the second computing module comprises:
    第四计算单元,用于根据所述分子能量的各分项能量、每一所述团簇能量的各分项能量以及每一所述壳能量的各分项能量,利用第一预设公式计算得到所述中心分子与每一所述壳结构之间的相互作用能的各分项能量;The fourth calculation unit is used to calculate using the first preset formula according to the sub-items of the molecular energy, the sub-items of each of the cluster energies, and the sub-items of each of the shell energies obtaining the partial energies of the interaction energy between the central molecule and each of the shell structures;
    第五计算单元,用于根据所述中心分子与每一所述壳结构之间的相互作用能的各分项能量,利用第二预设公式计算得到所述目标晶体结构的晶格能量的各分项能量;The fifth calculation unit is used to calculate and obtain the lattice energy of the target crystal structure according to the component energies of the interaction energy between the central molecule and each of the shell structures by using the second preset formula. Itemized energy;
    第六计算单元,用于根据所述晶格能量的各分项能量以及各分项能量的贡献系数,利用第三预设公式计算得到所述目标晶体结构的晶格能量。The sixth calculation unit is configured to calculate the lattice energy of the target crystal structure by using a third preset formula according to the component energies of the lattice energy and the contribution coefficients of the component energies.
  23. 根据权利要求22所述的装置,其特征在于,所述第一预设公式为:The device according to claim 22, wherein the first preset formula is:
    E 壳n相互作用能,i=E 团簇n,i–E 分子,i–E 壳n,iE shell n interaction energy, i = E cluster n,i -E molecule, i -E shell n,i ;
    其中,所述n为团簇编号,所述n的取值为1~M,所述i为各分项能量的编号,所述E 团簇n,i为第n个团簇的团簇能量的第i个分项能量,所述E 分子,i为所述中心分子的分子能量的第i个分项能量,所述E 壳n,i为第n个壳结构的壳能量的第i个分项能量,所述E 壳n相互作用能,i为所述中心分子与所述第n个壳结构之间的相互作用能的第i个分项能量。 Wherein, the n is the cluster number, the value of n is 1-M, the i is the number of each sub-item energy, and the E cluster n,i is the cluster energy of the nth cluster The i-th partial energy of the E molecule, i is the i-th partial energy of the molecular energy of the central molecule, and the E shell n,i is the i-th shell energy of the n-th shell structure Subitem energy, the E shell n interaction energy, i is the ith subitem energy of the interaction energy between the central molecule and the nth shell structure.
  24. 根据权利要求23所述的装置,其特征在于,当所述M大于或等于3时,所述第二预设公式为:The device according to claim 23, wherein when the M is greater than or equal to 3, the second preset formula is:
    E 壳n相互作用能.i=E 晶格,i+A*(R n) -BE shell n interaction energy. i = E lattice, i +A*(R n ) -B ;
    其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述R n为构建所述第n个团簇时采用的截取半径,所述A和所述B为两个不同的衰减系数; Wherein, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, the R n is the intercept radius adopted when constructing the n-th cluster, and the A and The B is two different attenuation coefficients;
    所述第五计算单元具体用于对所述中心分子与每一所述壳结构之间的相互作用能的各分项能量利用所述第二预设公式进行计算,得到多组所述E 晶格,i、A和B;对多组所述E 晶格,i、A和B进行拟合,得到所述目标晶体结构的晶格能量的各分项能量。 The fifth calculation unit is specifically used to calculate the component energies of the interaction energy between the central molecule and each of the shell structures using the second preset formula to obtain multiple sets of E crystals Lattice, i , A and B; multiple sets of E lattice, i , A and B are fitted to obtain the sub-item energy of the lattice energy of the target crystal structure.
  25. 根据权利要求23所述的装置,其特征在于,当所述M为2时,所述第二预设公式为:The device according to claim 23, wherein when the M is 2, the second preset formula is:
    E 晶格,i=[E 壳1相互作用能,i(R 1) 3-E 壳2相互作用能,i(R 2) 3]/[(R 1) 3-(R 2) 3]; E- lattice, i = [E shell 1 interaction energy, i (R 1 ) 3 -E shell 2 interaction energy, i (R 2 ) 3 ]/[(R 1 ) 3 -(R 2 ) 3 ];
    其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述E 壳1相互作用能,i为所述中心分子与第1个壳结构之间的相互作用能的第i个分项能量,所述E 壳2相互作用能,i为所述中心分子与第2个壳结构之间的相互作用能的第i个分项能量,所述R 1为构建第1个团簇时采用的截取半径,所述R 2为构建第2个团簇时采用的截取半径。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the distance between the central molecule and the first shell structure The i-th sub-item energy of the interaction energy, the E -shell 2 interaction energy, i is the i-th sub-item energy of the interaction energy between the central molecule and the second shell structure, the R 1 is the cut-off radius used when constructing the first cluster, and R 2 is the cut-off radius used when constructing the second cluster.
  26. 根据权利要求23所述的装置,其特征在于,当所述M为1时,所述n为1,所述第二预设公式为:The device according to claim 23, wherein when the M is 1, the n is 1, and the second preset formula is:
    E 晶格,i=E 壳1相互作用能,iE lattice, i = E shell 1 interaction energy, i ;
    其中,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述E 壳1相互作用能,i为所述中心分子与壳结构之间的相互作用能的第i个分项能量。 Wherein, the E lattice, i is the ith sub-item energy of the lattice energy of the target crystal structure, and the E shell 1 interaction energy, i is the interaction between the central molecule and the shell structure energy of the i-th component of energy.
  27. 根据权利要求22所述的装置,其特征在于,所述第三预设公式为:The device according to claim 22, wherein the third preset formula is:
    E 晶格=sum(k iE 晶格,i); E lattice = sum(k i E lattice, i );
    其中,所述E 晶格为所述目标晶体结构的晶格能量,所述E 晶格,i为所述目标晶体结构的晶格能量的第i个分项能量,所述k i为所述晶格能量的第i个分项能量的贡献系数。 Wherein, the E lattice is the lattice energy of the target crystal structure, the E lattice, i is the i-th sub-item energy of the lattice energy of the target crystal structure, and the ki is the The contribution coefficient of the i-th component energy of the lattice energy.
  28. 根据权利要求22所述的装置,其特征在于,所述第六计算单元计算晶格能量的各分项能量的贡献系数,包括:The device according to claim 22, characterized in that the sixth calculation unit calculates the contribution coefficient of each component energy of the lattice energy, including:
    获取多个参考晶体结构以及每一所述参考晶体结构的参考晶格能量;obtaining a plurality of reference crystal structures and reference lattice energies for each of said reference crystal structures;
    分别计算每一所述参考晶体结构的晶格能量的各分项能量;separately calculating the partial energies of the lattice energies of each said reference crystal structure;
    设定所述晶格能量的各分项能量的贡献系数;Setting the contribution coefficient of each component energy of the lattice energy;
    根据每一所述参考晶体结构的晶格能量的各分项能量以及设定的贡献系数,得到每一所述参考晶体结构的预测晶格能量的各分项能量;Obtaining the sub-items of the predicted lattice energy of each of the reference crystal structures according to the sub-items of the lattice energy of each of the reference crystal structures and the set contribution coefficient;
    利用每一所述参考晶体结构的参考晶格能量的各分项能量和预测晶格能量的各分项能量,对设定的贡献系数进行拟合,得到拟合后的各分项能量的贡献系数。Using the sub-items of the reference lattice energy and the sub-items of the predicted lattice energy of each of the reference crystal structures, fitting the set contribution coefficients to obtain the fitting contribution of each sub-item energy coefficient.
  29. 根据权利要求16~28任一所述的装置,其特征在于,所述第三计算模块包括:The device according to any one of claims 16-28, wherein the third calculation module includes:
    校正单元,用于对所述分子能量进行能量校正,得到校正后的分子能量;a calibration unit, configured to perform energy calibration on the molecular energy to obtain the corrected molecular energy;
    第七计算单元,用于利用所述校正后的分子能量和所述晶格能量,计算得到所述目标晶体结构的晶体总能量。A seventh calculation unit, configured to calculate the total crystal energy of the target crystal structure by using the corrected molecular energy and the lattice energy.
  30. 一种分子晶体能量比较装置,其特征在于,包括:A molecular crystal energy comparison device, characterized in that it comprises:
    获取模块,用于获取待比较的至少两个晶体结构;an acquisition module, configured to acquire at least two crystal structures to be compared;
    计算模块,用于利用如权利要求16-29任一项所述的装置对每一所述晶体结构进行晶体能量计算,得到每一所述晶体结构的晶体总能量;A calculation module, configured to calculate the crystal energy of each of the crystal structures by using the device according to any one of claims 16-29 to obtain the total crystal energy of each of the crystal structures;
    确定模块,用于根据每一所述晶体结构的晶体总能量,确定所述至少两个晶体结构的晶体能量大小关系。The determination module is configured to determine the relationship between the crystal energies of the at least two crystal structures according to the total crystal energy of each of the crystal structures.
  31. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    处理器;以及processor; and
    存储器,其上存储有可执行代码,当所述可执行代码被所述处理器执行时,使所述处理器执行如权利要求1-15中任一项所述的方法。A memory on which executable code is stored, and when the executable code is executed by the processor, causes the processor to execute the method according to any one of claims 1-15.
  32. 一种计算机可读存储介质,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述处理器执行如权利要求1-15中任一项所述的方法。A computer-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is made to execute the method described in any one of claims 1-15. method.
PCT/CN2021/143749 2021-12-24 2021-12-31 Molecular crystal energy calculation method and apparatus and storage medium WO2023115639A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111600787.1A CN114464263A (en) 2021-12-24 2021-12-24 Molecular crystal energy calculation method, device and storage medium
CN202111600787.1 2021-12-24

Publications (1)

Publication Number Publication Date
WO2023115639A1 true WO2023115639A1 (en) 2023-06-29

Family

ID=81407339

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143749 WO2023115639A1 (en) 2021-12-24 2021-12-31 Molecular crystal energy calculation method and apparatus and storage medium

Country Status (2)

Country Link
CN (1) CN114464263A (en)
WO (1) WO2023115639A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100023473A1 (en) * 2006-12-11 2010-01-28 Neumann Marcus A Tailor-made force fields for crystal structure prediction
CN108959842A (en) * 2018-05-04 2018-12-07 深圳晶泰科技有限公司 Method is ranked for high-precision energy in organic molecular crystals structure prediction
CN112086132A (en) * 2020-08-18 2020-12-15 深圳晶泰科技有限公司 Organic molecular crystal construction method and system
CN112216355A (en) * 2020-10-22 2021-01-12 哈尔滨理工大学 Multi-component crystal configuration energy prediction method based on machine learning
CN113807526A (en) * 2021-09-26 2021-12-17 深圳市腾讯计算机系统有限公司 Method, device and equipment for acquiring eigenstates of quantum system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100023473A1 (en) * 2006-12-11 2010-01-28 Neumann Marcus A Tailor-made force fields for crystal structure prediction
CN108959842A (en) * 2018-05-04 2018-12-07 深圳晶泰科技有限公司 Method is ranked for high-precision energy in organic molecular crystals structure prediction
CN112086132A (en) * 2020-08-18 2020-12-15 深圳晶泰科技有限公司 Organic molecular crystal construction method and system
CN112216355A (en) * 2020-10-22 2021-01-12 哈尔滨理工大学 Multi-component crystal configuration energy prediction method based on machine learning
CN113807526A (en) * 2021-09-26 2021-12-17 深圳市腾讯计算机系统有限公司 Method, device and equipment for acquiring eigenstates of quantum system and storage medium

Also Published As

Publication number Publication date
CN114464263A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
Hoffmann et al. Molecular structures of unbound and transcribing RNA polymerase III
US20230054868A1 (en) Method and system for estimating ground state energy of quantum system
TWI512499B (en) Efficient exhaustive path-based static timing analysis using a fast estimation technique
WO2023060737A1 (en) Expected value estimation method and apparatus in quantum system, device, and system
US9740807B2 (en) Method to measure edge-rate timing penalty of digital integrated circuits
US11651134B2 (en) Method of certifying safety levels of semiconductor memories in integrated circuits
WO2023115639A1 (en) Molecular crystal energy calculation method and apparatus and storage medium
WO2023065475A1 (en) Crystal structure prediction method and apparatus, and electronic device
Borbulevych et al. High-throughput quantum-mechanics/molecular-mechanics (ONIOM) macromolecular crystallographic refinement with PHENIX/DivCon: the impact of mixed Hamiltonian methods on ligand and protein structure
Tan et al. Locally weighted histogram analysis and stochastic solution for large-scale multi-state free energy estimation
CN116092593B (en) Electrolyte composition prediction method, device and computer equipment
WO2019091443A1 (en) Neural network-based adjustment method, apparatus and device
Hayashi et al. Calculation of the residual entropy of Ice Ih by Monte Carlo simulation with the combination of the replica-exchange Wang–Landau algorithm and multicanonical replica-exchange method
CN113835307B (en) Method and device for correcting electron beam proximity effect
CN106528905B (en) System and method for evaluating integrated circuit
WO2022133895A1 (en) Equipment supervision-based thermal power equipment quality data processing method and apparatus
JP2006277582A (en) Molecular orbital method calculation method and calculation device
WO2021004355A1 (en) Decoy library construction method and apparatus, target-decoy library construction method and apparatus, and metabolome fdr identification method and apparatus
US20120253775A1 (en) Multidimensional Monte-Carlo Simulation for Yield Prediction
JP2006343244A (en) Apparatus, program, and method for deconvolution analysis
CN117497198B (en) High-dimensional medical data feature subset screening method
Tomić et al. Drug screening with the Autodock Vina on a set of kinases without experimentally established structures
Huang et al. Efficient estimation of the maximal association between multiple predictors and a survival outcome
US11755431B2 (en) Identification of optimal bit apportionments for digital functions subject to soft errors
US20230063668A1 (en) Optimal bit apportionments for digital functions subject to soft errors

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21968763

Country of ref document: EP

Kind code of ref document: A1