Polymer coarseness force field parameter optimization method and device

By determining the resolution, defining particle interaction relationships and optimizing the force field in the polymer system, the problem of inefficient optimization of polymer coarse-grained force field parameters is solved, achieving more efficient calculations and more accurate force field parameter optimization. .

CN118607336APending Publication Date: 2024-09-06SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI +1
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410699138.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The optimization efficiency of existing polymer coarse-grained force field parameters is not high, and it is especially difficult to achieve effective convergence in long-term iterative calculations, especially in systems with a large number of interaction types.

Method used

By determining the resolution, the atomic level is mapped to the coarse-grained particle simulation system, the interaction relationship between particles is defined, the simulated radial distribution function is obtained, and the initial coarse-grained potential energy is used for molecular dynamics simulation until the radial distribution function is simulated Consistent with the convergence of the radial distribution function from all-atom simulations, a relative entropy minimization method was used to optimize the force field.

Benefits of technology

It improves the optimization accuracy and calculation efficiency of polymer coarse-grained force field parameters, reduces computing resource requirements, and can more accurately describe the conjugated orientation structure and thermodynamic properties of polymers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607336A
    Figure CN118607336A
Patent Text Reader

Abstract

The invention provides an optimization method and device for polymer coarseness force field parameters, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: determining a resolution ratio, and mapping an atomic level to a coarse-grained particle simulation system based on the resolution ratio; defining an interaction relationship among particles in the coarse graining simulation; acquiring a corresponding simulation radial distribution function, acquiring corresponding initial coarse graining potential energy based on the simulation radial distribution function, performing coarse graining molecular dynamics simulation by using the initial coarse graining potential energy, and calculating a corresponding radial distribution function; iteration is repeated until coarse graining simulation enables the simulation radial distribution function and the radial distribution function of full-atom simulation to be converged to be consistent, and a force field obtained through simulation is optimized through relative entropy minimization. According to the invention, the problem of low optimization efficiency of the polymer coarseness force field parameter in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for optimizing polymer coarse-grained force field parameters. Background Art

[0002] In the field of molecular dynamics simulation, the construction of coarse-grained force fields is one of the key technologies to achieve large-scale system and long time scale simulations.

[0003] The existing coarse-grained force field construction is mainly divided into two types: bottom-up (based on density functional theory DFT or all-atom molecular dynamics calculations) and top-down (based on experimental measurement data). The bottom-up construction of coarse-grained force fields requires atomic-level simulation and analysis, and is usually designed for specific systems and problems. Therefore, there may be limitations when describing other systems or problems, and appropriate corrections or improvements are required. The bottom-up construction of coarse-grained force fields is usually based on empirical rules or statistical methods. It is impossible to directly derive the interaction potential energy function from the atomic-level simulation results, so it lacks a certain physical interpretability; in the construction of existing coarse-grained force fields, parameter optimization is a key step, and the widely used parameter optimization methods usually use a fixed learning rate for calculation. This method is often difficult to achieve effective convergence after long-term iterative calculations, especially in polymer systems, where there are a large number of interaction types that need to be optimized simultaneously. This problem is particularly prominent.

[0004] From the above, it can be seen that how to improve the optimization efficiency of polymer coarse-grained force field parameters remains to be solved. Summary of the invention

[0005] The present application provides a method, device, electronic device and storage medium for optimizing polymer coarse-grained force field parameters, which can solve the problem of low efficiency of optimizing polymer coarse-grained force field parameters in the related art. The technical solution is as follows:

[0006] According to one aspect of the present application, a method for optimizing polymer coarse-grained force field parameters includes: determining the resolution, mapping the atomic level to a coarse-grained particle simulation system based on the resolution; defining the interaction relationship between particles in the coarse-grained simulation; obtaining the corresponding simulated radial distribution function, obtaining the corresponding initial coarse-grained potential energy based on the simulated radial distribution function, using the initial coarse-grained potential energy to perform coarse-grained molecular dynamics simulation, and calculating the corresponding radial distribution function; repeating iterations until the coarse-grained simulation makes the simulated radial distribution function converge with the radial distribution function of the all-atom simulation, and optimizing the simulated force field by minimizing relative entropy.

[0007] According to one aspect of the present application, a device for optimizing polymer coarse-grained force field parameters comprises:

[0008] A mapping module determines a resolution based on which the atomic level is mapped onto a coarse-grained particle simulation system;

[0009] An interaction relationship definition module, used to define the interaction relationship between particles in the coarse-grained simulation;

[0010] A radial distribution function calculation module is used to obtain a corresponding simulated radial distribution function, obtain a corresponding initial coarse-grained potential energy based on the simulated radial distribution function, and perform a coarse-grained molecular dynamics simulation using the initial coarse-grained potential energy to calculate the corresponding radial distribution function;

[0011] The optimization module repeats iterations until the coarse-grained simulation makes the simulated radial distribution function converge with the radial distribution function of the all-atom simulation, and optimizes the force field obtained by the simulation by minimizing the relative entropy.

[0012] In an exemplary embodiment, in the process of obtaining the corresponding simulated radial distribution function, the device includes but is not limited to:

[0013] Computational simulations yield radial distribution functions n is the number of iterations, and the iteration equation is: in, is the coarse-grained potential energy obtained after the nth time, is the corresponding simulated radial distribution function.

[0014] In an exemplary embodiment, the apparatus includes, but is not limited to:

[0015] The simulated radial distribution function is defined as: where ρ is the average number density of the system and dN(r) is the number of particles in the shell between distances r and r+dr.

[0016] In an exemplary embodiment, in the process of obtaining the corresponding initial coarse-grained potential energy based on the simulated radial distribution function, the device includes but is not limited to:

[0017] The initial coarse-graining potential energy is calculated from the simulated radial distribution function using the Boltzmann inversion method, where the initial potential energy is usually calculated by the following formula: g AA (r) is the radial distribution function obtained from the all-atom simulation, k B is the Boltzmann constant and T is the temperature.

[0018] In an exemplary embodiment, the process of optimizing the force field obtained by simulation by relative entropy minimization also includes: optimizing the parameters of the coarse-grained simulation using the relative entropy minimization method, specifically including: minimizing the relative entropy difference between the coarse-grained model and the all-atom model to optimize the coarse-grained potential energy, and the relative entropy is defined as: Among them, P fine (i) is the probability distribution of state i in the high-resolution model, P CG (i) is the probability distribution in the coarse-grained model.

[0019] In an exemplary embodiment, the apparatus includes, but is not limited to:

[0020] The bond length potential energy is defined as where k b is the bond strength constant, r is the actual bond length, and r 0 is the equilibrium bond length;

[0021] The bond angle potential energy is defined as: where k θ is the bond angle strength constant, θ is the actual bond angle, and θ 0 is the equilibrium bond angle;

[0022] The dihedral potential energy is defined as: Where V n is the coefficient related to torsion, n is the periodicity, φ is the dihedral angle, and γ is the phase angle;

[0023] The van der Waals potential energy is defined as: where ∈ is the depth of the potential well, σ is the interatomic distance;

[0024] The electrostatic interaction potential energy is defined as: Among them, q i and q j is the charge, ∈ 0 is the dielectric constant of vacuum and r is the distance.

[0025] In an exemplary embodiment, the apparatus includes, but is not limited to:

[0026] The coarse-grained potential energy parameters are iteratively updated using the Adam algorithm in the field of machine learning.

[0027] According to one aspect of the present application, an electronic device includes at least one processor and at least one memory, wherein the memory stores computer-readable instructions; the computer-readable instructions are executed by one or more of the processors, so that the electronic device implements the method for optimizing the polymer coarse-grained force field parameters as described above.

[0028] According to one aspect of the present application, a storage medium stores computer-readable instructions thereon, and the computer-readable instructions are executed by one or more processors to implement the method for optimizing polymer coarse-grained force field parameters as described above.

[0029] According to one aspect of the present application, a computer program product includes computer-readable instructions, which are stored in a storage medium. One or more processors of an electronic device read the computer-readable instructions from the storage medium, load and execute the computer-readable instructions, so that the electronic device implements the method for optimizing the polymer coarse-grained force field parameters as described above.

[0030] The technical solution provided by the present application brings the following beneficial effects: in the above technical solution, first, the resolution is determined, and based on the resolution, the atomic level is mapped to the coarse-grained particle simulation system; the interaction relationship between particles is defined in the coarse-grained simulation; the corresponding simulated radial distribution function is obtained, and the corresponding initial coarse-grained potential energy is obtained based on the simulated radial distribution function, and the coarse-grained molecular dynamics simulation is performed using the initial coarse-grained potential energy to calculate the corresponding radial distribution function; it is repeated iteratively until the coarse-grained simulation makes the simulated radial distribution function converge to the radial distribution function of the all-atom simulation, and the force field obtained by the simulation is optimized by minimizing the relative entropy; then, through the above process, the fastest speed down of the parameter minimization is optimized. The step size and gradient are improved by the down-optimization method to make it have better computational efficiency and convergence effect. The accuracy of the coarse-grained force field parameters is evaluated by using structural properties such as radial distribution function RDF, angular distribution function ADF, and dynamic properties such as activity. Finally, DMFF is used to correct the macroscopic properties of the system such as density and pressure from top to bottom, so that the constructed coarse-grained force field has better anisotropy and a more accurate description of the conjugated orientation structure distribution and thermodynamic properties in the polymer. At the same time, compared with the existing simulation calculation methods, the time and computing resources required are less, and the computational efficiency has been significantly improved, which can effectively solve the problem of low efficiency in optimizing the coarse-grained force field parameters of polymers in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0032] Figure 1 It is a schematic diagram of the implementation environment involved in this application;

[0033] Figure 2is a flow chart of a method for optimizing polymer coarse-grained force field parameters according to an exemplary embodiment;

[0034] Figure 3 is a structural block diagram of a device for optimizing polymer coarse-grained force field parameters according to an exemplary embodiment;

[0035] Figure 4 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0036] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.

[0037] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present disclosure refers to the presence of the features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0038] As mentioned above, the related art still has the defect of low accuracy in optimizing the polymer coarse-grained force field parameters.

[0039] To this end, the method for optimizing polymer coarse-grained force field parameters provided in the present application can effectively improve the accuracy of optimization of polymer coarse-grained force field parameters. Accordingly, the method for optimizing polymer coarse-grained force field parameters is suitable for an optimization device for polymer coarse-grained force field parameters, and the optimization device for polymer coarse-grained force field parameters can be deployed in electronic equipment.

[0040] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0041] Figure 1 The schematic diagram of the implementation environment involved in a method for optimizing polymer coarse-grained force field parameters is shown in FIG. The implementation environment includes a collection end and a service end.

[0042] See also Figure 2 The present application embodiment provides a method for optimizing polymer coarse-grained force field parameters, which is applicable to electronic devices, which may be Figure 1 The server side in the implementation environment is shown.

[0043] In the following method embodiments, for ease of description, the execution subject of each step of the method is taken as an electronic device as an example for illustration, but this does not constitute a specific limitation.

[0044] like Figure 2 As shown, the method may include the following steps:

[0045] S100, determining the resolution, and mapping the atomic level to the coarse-grained particle simulation system based on the resolution.

[0046] It should be pointed out here that in coarse-grained simulation, the first thing to do is to determine the appropriate resolution of the simulation system. Since the resolution determines how many atoms or molecular groups each coarse-grained unit represents, it will directly affect the accuracy and computational efficiency of the model. The selection of coarse-grained units is usually based on the physical and chemical properties of the coarse-grained simulation system. In other words, the resolution is the degree of fit between the coarse-grained (CG) model and the all-atom (AA) model.

[0047] For example, in protein simulation, each amino acid residue can be selected as a coarse-grained unit. In lipid bilayer simulation, the head and tail of the lipid molecule can be selected as a coarse-grained unit respectively. High resolution retains more details, but the computational effort is large; low resolution simplifies the system, but may ignore important details. It is necessary to weigh the accuracy and computational efficiency according to the research purpose.

[0048] For the mapping mentioned here, mapping refers to the process of mapping atoms in the all-atom (AA) model to beads in the CG model; mapping can map atomic-level details to coarse-grained particles, and the goal of mapping is to retain important features of the atomic-level system, such as geometry, softness, and interaction. The mapping step is to convert the atomic-level system into a coarse-grained representation, which requires precise definition of the correspondence between atoms and coarse-grained units, that is, determining which atoms belong to which coarse-grained unit.

[0049] For example, in the mapping of molecules containing benzene rings, the central carbon atom and nearby atoms of the benzene ring may be merged into a coarse-grained unit. During the mapping process, the key structural and dynamic properties of the system need to be retained to ensure that the coarse-grained model can accurately reflect the behavior of the system at the atomic level.

[0050] S110, define the interaction relationship between particles in coarse-grained simulation.

[0051] In coarse-grained simulation, the interaction relationship between particles needs to be defined, which can be achieved by introducing the effective potential energy function between coarse-grained particles. The potential energy function is used to describe the interaction between atoms in a molecular system, where the interaction relationship includes bonding and non-bonding relationships, and the bonding relationship includes bond length, bond angle and dihedral angle, and the non-bonding relationship includes van der Waals force and electrostatic force.

[0052] S120, obtaining a corresponding simulated radial distribution function, obtaining a corresponding initial coarse-grained potential energy based on the simulated radial distribution function, performing a coarse-grained molecular dynamics simulation using the initial coarse-grained potential energy, and calculating a corresponding radial distribution function;

[0053] It should be pointed out here that the simulated radial distribution function (RDF) describes the ratio of the probability density of particles appearing at a distance r around a reference particle to the probability density of an ideal gas, and the definition of the simulated radial distribution function is: where ρ is the average number density of the system and dN(r) is the number of particles in the shell between distances r and r+dr.

[0054] In addition, it has been mentioned in the previous article that the interaction relationship between particles needs to be defined. This can be achieved by introducing the initial coarse-grained potential between coarse-grained particles. The initial coarse-grained potential includes the bond length potential corresponding to the bond length, the bond angle potential corresponding to the bond angle, the dihedral angle potential corresponding to the dihedral angle, the van der Waals force potential corresponding to the van der Waals force, and the electrostatic interaction potential between the electrostatic forces. The above are the parameters of the coarse-grained simulation based on the iterative Boltzmann inversion (IBI) method.

[0055] It should be explained here that the iterative Boltzmann inversion (IBI) method is a technique for optimizing the potential parameters of the coarse-grained (CG) model, and its purpose is to enable the CG model to reproduce the structural characteristics of the all-atom (AA) model or experimental data, especially the radial distribution function (RDF); among them, the advantage of the IBI method is that it directly optimizes the structural characteristics (such as RDF), which enables the CG model to accurately reproduce the key structural features of the AA model. However, IBI focuses mainly on structural matching and may not be sufficient to guarantee the accuracy of thermodynamic and kinetic properties. Therefore, it may need to be combined with other methods (such as relative entropy minimization REM) to fully optimize the CG model, and relative entropy minimization REM will be explained later.

[0056] In addition, the bond length potential energy is defined as where k b is the bond strength constant, r is the actual bond length, and r 0 is the equilibrium bond length.

[0057] The bond angle potential energy is defined as: where k θ is the bond angle strength constant, θ is the actual bond angle, and θ 0 is the equilibrium bond angle.

[0058] The dihedral potential energy is defined as: Where V n is the coefficient related to the torsion, n is the periodicity, φ is the dihedral angle, and γ is the phase angle.

[0059] The van der Waals potential energy is defined as: where ∈ is the depth of the potential well and σ is the interatomic distance.

[0060] The electrostatic interaction potential energy is defined as: Among them, q i and q j is the charge, ∈ 0 is the dielectric constant of vacuum and r is the distance.

[0061] S130, repeating iterations until the coarse-grained simulation makes the simulated radial distribution function converge with the radial distribution function of the all-atom simulation, and optimizing the force field obtained by the simulation by minimizing the relative entropy.

[0062] Among them, in the parameter optimization process of the coarse-grained model, the radial distribution function of the all-atom simulation is used as the optimization benchmark or target for the target radial distribution function. By adjusting the potential energy parameters of the coarse-grained model, the radial distribution function calculated by the coarse-grained model can be made as close as possible to the radial distribution function of the all-atom simulation, so that the simulated radial distribution function converges with the radial distribution function of the all-atom simulation. In addition, in the iterative optimization process of the potential energy parameters of the coarse-grained model, the radial distribution function of the all-atom simulation is used to determine whether the model has converged. When the difference between the simulated radial distribution function and the radial distribution function of the all-atom simulation is reduced to a certain extent, it can be considered that the model parameters have converged.

[0063] It should be pointed out here that in the optimization process, the parameters of the coarse-grained simulation can be optimized by using the relative entropy minimization method, including

[0064] The optimization is performed by minimizing the relative entropy between the probability distributions of the coarse-grained model and the target high-resolution model, and the relative entropy is defined as: Among them, P fine (i) is the probability distribution of state i in the high-resolution model, P CG(i) is the probability distribution in the coarse-grained model; in addition, the target high-resolution model here refers to the all-atom (AA) model or a detailed model based on experimental data, which provides an accurate description of the structure and dynamics of the system. This model is usually obtained through high-precision experimental measurements or through molecular dynamics simulations at the all-atom level, and can capture the subtle interactions and complex dynamics between atoms or molecules.

[0065] In the process of minimizing relative entropy, a reference probability distribution can be determined first, usually obtained from a high-resolution AA model or experimental data; the current CG model parameters are used for simulation, and the probability distribution of the CG model is calculated, and then the definition of relative entropy is used. The relative entropy between the CG model distribution and the reference distribution is calculated, and then the force field parameters of the CG model can be adjusted to minimize the relative entropy, which usually involves the use of numerical optimization algorithms such as gradient descent, conjugate gradient method or global optimization algorithm; finally, the above process is repeated until the relative entropy reaches an acceptable minimum value, or the change in the model parameters is less than a preset threshold.

[0066] It should be pointed out here that since the process of calculating the entropy of the system by molecular dynamics consumes a lot of cost and the polymer system is huge, the present application scheme avoids directly calculating the relative entropy while effectively optimizing it by calculating the derivative of the relative entropy with respect to the force field parameters.

[0067] The derivative of relative entropy with respect to the coarse-grained potential parameter θ:

[0068]

[0069] S140, uses the Adam algorithm in the field of machine learning to iteratively update the coarse-grained potential energy parameters to minimize the relative entropy.

[0070] Among them, in the correction process, the parameters obtained by minimizing the relative entropy are first used for coarse-grained simulation, and the macroscopic properties obtained by the coarse-grained simulation are compared with the experimental data or theoretical predictions to identify the differences. Based on the differences between the simulation results and the target data, the CG model parameters that need to be adjusted are determined. By adjusting the CG model parameters, the differences between the simulation results and the target data can be reduced. The process of repeated simulation, comparison and parameter adjustment is repeated until the simulation results are consistent with the target data within an acceptable error range.

[0071] The following is an embodiment of the device of the present application, which can be used to perform the method for optimizing the polymer coarse-grained force field parameters involved in the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the method embodiment of the method for optimizing the polymer coarse-grained force field parameters involved in the present application.

[0072] See also Figure 3 In an embodiment of the present application, a device for optimizing polymer coarse-grained force field parameters is provided, comprising:

[0073] A mapping module 200 determines a resolution based on which the atomic level is mapped onto a coarse-grained particle simulation system;

[0074] An interaction relationship definition module 210, used to define the interaction relationship between particles in the coarse-grained simulation;

[0075] A radial distribution function calculation module 220 is used to obtain a corresponding simulated radial distribution function, obtain a corresponding initial coarse-grained potential energy based on the simulated radial distribution function, and perform a coarse-grained molecular dynamics simulation using the initial coarse-grained potential energy to calculate a corresponding radial distribution function;

[0076] The optimization module 230 repeats iterations until the coarse-grained simulation makes the simulated radial distribution function converge with the radial distribution function of the all-atom simulation, and optimizes the force field obtained by the simulation by minimizing the relative entropy.

[0077] In an exemplary embodiment, in the process of obtaining the corresponding simulated radial distribution function, the device includes but is not limited to:

[0078] Computational simulations yield radial distribution functions n is the number of iterations, and the iteration equation is: in, is the coarse-grained potential energy obtained after the nth time, is the corresponding simulated radial distribution function.

[0079] In an exemplary embodiment, the apparatus includes, but is not limited to:

[0080] The simulated radial distribution function is defined as: where ρ is the average number density of the system and dN(r) is the number of particles in the shell between distances r and r+dr.

[0081] In an exemplary embodiment, in the process of obtaining the corresponding initial coarse-grained potential energy based on the simulated radial distribution function, the device includes but is not limited to:

[0082] The initial coarse-graining potential energy is calculated from the simulated radial distribution function using the Boltzmann inversion method, where the initial potential energy is usually calculated by the following formula: g AA (r) is the radial distribution function obtained from the all-atom simulation, k B is the Boltzmann constant and T is the temperature.

[0083] In an exemplary embodiment, the process of optimizing the force field obtained by simulation by relative entropy minimization also includes: optimizing the parameters of the coarse-grained simulation using the relative entropy minimization method, specifically including: minimizing the relative entropy difference between the coarse-grained model and the all-atom model to optimize the coarse-grained potential energy, and the relative entropy is defined as: Among them, P fine (i) is the probability distribution of state i in the high-resolution model, P CG (i) is the probability distribution in the coarse-grained model.

[0084] In an exemplary embodiment, the apparatus includes, but is not limited to:

[0085] The bond length potential energy is defined as where k b is the bond strength constant, r is the actual bond length, and r 0 is the equilibrium bond length;

[0086] The bond angle potential energy is defined as: where k θ is the bond angle strength constant, θ is the actual bond angle, and θ 0 is the equilibrium bond angle;

[0087] The dihedral potential energy is defined as: Where V n is the coefficient related to torsion, n is the periodicity, φ is the dihedral angle, and γ is the phase angle;

[0088] The van der Waals potential energy is defined as: where ∈ is the depth of the potential well, σ is the interatomic distance;

[0089] The electrostatic interaction potential energy is defined as: Among them, q i and q j is the charge, ∈ 0 is the dielectric constant of vacuum and r is the distance.

[0090] In an exemplary embodiment, the apparatus includes, but is not limited to:

[0091] The coarse-grained potential energy parameters are iteratively updated using the Adam algorithm in the field of machine learning.

[0092] It should be noted that the device for optimizing the coarse-grained force field parameters of polymers provided in the above embodiments only uses the division of the above-mentioned functional modules as an example when optimizing the coarse-grained force field parameters of polymers. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device for optimizing the coarse-grained force field parameters of polymers will be divided into different functional modules to complete all or part of the functions described above.

[0093] In addition, the device for optimizing polymer coarse-grained force field parameters and the method for optimizing polymer coarse-grained force field parameters provided in the above embodiments belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiments and will not be repeated here.

[0094] See also Figure 4 In an embodiment of the present application, an electronic device 4000 is provided, and the electronic device 4000 may include: a desktop computer, a laptop computer, a server, etc.

[0095] exist Figure 4 In the embodiment, the electronic device 4000 includes at least one processor 4001 and at least one memory 4003.

[0096] The data interaction between the processor 4001 and the memory 4003 can be realized through at least one communication bus 4002. The communication bus 4002 may include a path for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0097] Optionally, the electronic device 4000 may further include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.

[0098] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0099] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program instructions or codes in the form of instructions or data structures and can be accessed by the electronic device 400, but is not limited to this.

[0100] Computer-readable instructions are stored in the memory 4003 , and the processor 4001 can read the computer-readable instructions stored in the memory 4003 through the communication bus 4002 .

[0101] The computer-readable instructions are executed by one or more processors 4001 to implement the method for optimizing the polymer coarse-grained force field parameters in the above-mentioned embodiments.

[0102] In addition, an embodiment of the present application provides a storage medium having computer-readable instructions stored thereon, and the computer-readable instructions are executed by one or more processors to implement the method for optimizing the polymer coarse-grained force field parameters as described above.

[0103] A computer program product is provided in an embodiment of the present application. The computer program product includes computer-readable instructions, and the computer-readable instructions are stored in a storage medium. One or more processors of an electronic device read the computer-readable instructions from the storage medium, load and execute the computer-readable instructions, so that the electronic device implements the method for optimizing the polymer coarse-grained force field parameters as described above.

[0104] Compared with related technologies, the resolution is determined, and the atomic level is mapped to the coarse-grained particle simulation system based on the resolution; the interaction relationship between particles is defined in the coarse-grained simulation; the corresponding simulated radial distribution function is obtained, and the initial coarse-grained potential energy is estimated from the initial RDF using the Boltzmann inversion method. The initial potential energy is usually calculated by the following formula:

[0105]

[0106] Among them, g AA (r) is the radial distribution function obtained from the all-atom simulation, k B is the Boltzmann constant.

[0107] Using the initial coarse-grained potential to perform a coarse-grained molecular dynamics simulation, calculate the radial distribution function generated by the simulation n is the number of iterations. By adjusting the coarse-grained potential energy, the simulated RDF gradually approaches the RDF of the all-atom simulation.

[0108] The iteration equation is:

[0109]

[0110] in, is the coarse-grained potential energy obtained after the nth time, is the corresponding radial distribution function. Repeat the iteration until the radial distribution function of the coarse-grained simulation converges with the radial distribution function of the all-atom simulation. IBI directly optimizes the coarse-grained force field through the RDF structure, which is not enough to ensure the accuracy of thermodynamic and kinetic properties. The force field obtained by IBI is further optimized by relative entropy minimization REM.

[0111] Relative Entropy Minimization (REM) is an advanced method for constructing coarse-grained force fields. It optimizes the coarse-grained potential energy by minimizing the relative entropy difference between the coarse-grained model and the all-atom model. The REM initial coarse-grained potential energy is obtained according to the above IBI process.

[0112] Relative entropy is defined as: Among them, P fine (i) is the probability distribution of state i in the high-resolution model, P CG(i) is the probability distribution in the coarse-grained model. Since the process of calculating the entropy of the system by molecular dynamics consumes a lot of cost and the polymer system is huge, it is impossible to directly calculate the value of the relative entropy and optimize it. This project calculates the derivative of the relative entropy with respect to the force field parameters to avoid directly calculating the relative entropy while effectively optimizing it.

[0113] The derivative of relative entropy with respect to the coarse-grained potential parameter θ:

[0114] The adam algorithm in the field of machine learning is used to iteratively update the coarse-grained potential energy parameters to minimize the relative entropy. So far, this project has obtained the coarse-grained force field parameters from the bottom up by combining the IBI and REM methods. In the future, it can also be combined with the top-down method, and the existing software (such as DMFF) can be used to modify the macroscopic target properties of the system to achieve a combination of bottom-up and top-down methods to construct a coarse-grained force field method.

[0115] Through the above process, the step size and gradient of the steepest descent optimization method for parameter minimization are improved to make it have better computational efficiency and convergence effect, and the accuracy of the coarse-grained force field parameters is evaluated by using structural properties such as radial distribution function RDF, angular distribution function ADF, and dynamic properties such as activity. Finally, DMFF is used to correct the macroscopic properties of the system such as density and pressure from top to bottom, so that the constructed coarse-grained force field has better anisotropy and a more accurate description of the conjugated orientation structure distribution and thermodynamic properties in the polymer. At the same time, compared with the existing simulation calculation methods, less time and computing resources are required, and the computational efficiency has been significantly improved, which can effectively solve the problem of low efficiency in the optimization of polymer coarse-grained force field parameters in related technologies.

[0116] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0117] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for optimizing polymer coarse-grained force field parameters, characterized in that: include: determining a resolution based on which the atomic level is mapped onto a coarse-grained particle simulation system; defining the interaction relationship between particles in the coarse-grained simulation; Obtaining a corresponding simulated radial distribution function, obtaining a corresponding initial coarse-grained potential energy based on the simulated radial distribution function, performing a coarse-grained molecular dynamics simulation using the initial coarse-grained potential energy, and calculating a corresponding radial distribution function; Iterations are repeated until the coarse-grained simulation makes the simulated radial distribution function converge to the radial distribution function of the all-atom simulation, and the force field obtained by the simulation is optimized by minimizing the relative entropy.

2. The method according to claim 1, characterized in that The process of obtaining the corresponding simulated radial distribution function also includes: Computational simulations yield radial distribution functions n is the number of iterations, and the iteration equation is: in, is the coarse-grained potential energy obtained after the nth time, is the corresponding simulated radial distribution function.

3. The method according to claim 2, characterized in that include: The simulated radial distribution function is defined as: where ρ is the average number density of the system and dN(r) is the number of particles in the shell between distances r and r+dr.

4. The method according to claim 3, characterized in that In the process of obtaining the corresponding initial coarse-grained potential energy based on the simulated radial distribution function, the process further includes: The initial coarse-graining potential energy is calculated from the simulated radial distribution function using the Boltzmann inversion method, where the initial potential energy is usually calculated by the following formula: g AA (r) is the radial distribution function obtained from the all-atom simulation, k B is the Boltzmann constant and T is the temperature.

5. The method according to claim 4, characterized in that In the process of optimizing the force field obtained by the simulation by relative entropy minimization, it also includes: optimizing the parameters of the coarse-grained simulation by using the relative entropy minimization method, specifically including: minimizing the relative entropy difference between the coarse-grained model and the all-atom model to optimize the coarse-grained potential energy, and the relative entropy is defined as: Among them, P fine (i) is the probability distribution of state i in the high-resolution model, P CG (i) is the probability distribution in the coarse-grained model.

6. The method according to claim 1, characterized in that The initial coarse-grained potential energy also includes: The bond length potential energy is defined as where k b is the bond strength constant, r is the actual bond length, and r0 is the equilibrium bond length; The bond angle potential energy is defined as: where k θ is the bond angle strength constant, θ is the actual bond angle, and θ0 is the equilibrium bond angle; The dihedral potential energy is defined as: Where V n is the coefficient related to torsion, n is the periodicity, φ is the dihedral angle, and γ is the phase angle; The van der Waals potential energy is defined as: where ∈ is the depth of the potential well, σ is the interatomic distance; The electrostatic interaction potential energy is defined as: Among them, q i and q j is the charge, ∈0 is the dielectric constant of vacuum, and r is the distance.

7. The method according to claim 1, characterized in that Also includes: The coarse-grained potential energy parameters are iteratively updated using the Adam algorithm in the field of machine learning.

8. An optimization device for polymer coarse-grained force field parameters, characterized in that: include: A mapping module determines a resolution based on which the atomic level is mapped onto a coarse-grained particle simulation system; An interaction relationship definition module, used to define the interaction relationship between particles in the coarse-grained simulation; A radial distribution function calculation module is used to obtain a corresponding simulated radial distribution function, obtain a corresponding initial coarse-grained potential energy based on the simulated radial distribution function, and perform a coarse-grained molecular dynamics simulation using the initial coarse-grained potential energy to calculate the corresponding radial distribution function; The optimization module repeats iterations until the coarse-grained simulation makes the simulated radial distribution function converge with the radial distribution function of the all-atom simulation, and optimizes the force field obtained by the simulation by minimizing the relative entropy.

9. An electronic device, characterized in that: include: at least one processor and at least one memory, wherein: The memory has computer-readable instructions stored thereon; The computer-readable instructions are executed by one or more of the processors to enable the electronic device to implement the method for optimizing polymer coarse-grained force field parameters as claimed in any one of claims 1 to 7.

10. A storage medium having computer-readable instructions stored thereon, characterized in that: The computer-readable instructions are executed by one or more processors to implement the method for optimizing polymer coarse-grained force field parameters according to any one of claims 1 to 7.

Citation Information

Cited By

  • Active nanoparticle generation method and device and electronic equipment

    CN119989841A

  • Impact-resistant hydrogel based on multi-scale synergistic reinforcing and toughening design and preparation method of impact-resistant hydrogel

    CN120082005A

  • An impact-resistant hydrogel based on multi-scale synergistic toughening design and a preparation method thereof

    CN120082005B

  • Coarse-grained force field model optimization construction method and system based on machine learning

    CN121191608A

  • Method and system for coarse-grained force field model optimization construction based on machine learning

    CN121191608B