Molecular Dynamics Simulations for Active Pharmaceutical Ingredient (API) Miscibility
Tutorial Created with Software Release: 2026-1
Topics: Consumer Packaged Goods , Organic Electronics , Pharmaceutical Formulations , Polymeric Materials
Methodology: All-Atom Molecular Dynamics
Products Used: Desmond , MS Maestro
|
1.8 GB |
This tutorial is written for use with a 3-button mouse with a scroll wheel.
Words found in the Glossary of Terms are shown like this: Workspacethe 3D display area in the center of the main window, where molecular structures are displayed
Abstract:
In this tutorial we will learn to predict the miscibility of an active pharmaceutical ingredient (API) using molecular dynamics simulations.
Tutorial Content
1. Introduction
Preformulation and formulation of new drugs are critical elements of pharmaceutical development. To predict some key properties of active pharmaceutical ingredients (APIs), GPU-accelerated molecular dynamics (MD) simulations can be performed. For example, a straightforward workflow can be used to predict density, cohesive energy and solubility parameters for an API and various solvents to provide valuable insight into miscibility to inform formulation.
In this tutorial, we will study a prototypical API, ibuprofen. First, we will prepare single component systems of amorphous ibuprofen as well as two crystalline polymorphs of ibuprofen. In addition, we will prepare single component systems of several prototypical solvents/carriers, including water, cyclohexane, sorbitol and polyvinylpyrrolidone (PVP). We will perform MD simulations on each of these systems to predict density, cohesive energy and solubility parameters. The latter metric can be used to predict the miscibility of ibuprofen in the various solvents. This workflow will teach us how to work with various small molecules, build a polymer with the Polymer Builder, construct amorphous cells with the Disordered System Builder, perform MD simulations with the MD Multistage Workflow panel and analyze bulk properties with the MS MD Trajectory Analysis panel.
molecules studied in miscibility screening
Next, we will prepare two, multi-component systems containing ibuprofen and water and ibuprofen and cyclohexane to demonstrate another approach for predicting miscibility, namely using MD simulations to observe phase separation. In this workflow, we will also use the Disordered System Builder and MD Multistage Workflow tools.
The various procedures demonstrated herein show several straightforward methods for predicting the properties of ibuprofen which can be applied to other APIs. Note that this tutorial demonstrates MD tools in the Materials Science Maestro suite. For calculating aqueous solubility from FEP calculations in Maestro, read more about the FEP Solubility panel in the help documentation and this scientific article. The FEP Solubility workflow is not covered in this tutorial.
2. Creating Projects and Importing Structures
At the start of the session, change the file path to your chosen Working Directorythe location where files are saved in MS Maestro to make file navigation easier. Each session in MS Maestro begins with a default Scratch Projecta temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project, which is not saved. A MS Maestro project stores all your data and has a .prj extension. A project may contain numerous entries corresponding to imported structures, as well as the output of modeling-related tasks. Once a project is saved, the project is automatically saved each time a change is made.
Structures can be built in MS Maestro or can be imported using File > Import Structures (or drag-and-dropped), and are added to the Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data. The Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion is located to the left of the Workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data can be accessed by Ctrl+T (Cmd+T) or Window > Project Table if you would like to see an expanded view of your project data.
- Double-click the Materials Science icon on your desktop
- (No icon? See Starting Maestro)
- Go to File > Change Working Directory
- Find your directory, and click Choose
- Pre-generated files are included for running jobs or examining output. Download the zip file here: schrodinger.com/sites/default/files/s3/release/current/Tutorials/zip/api_miscibility.zip
- After downloading the zip file, unzip the contents in your Working Directorythe location where files are saved for ease of access throughout the tutorial
- Go to File > Save Project As
- Change the File name to api_miscibility_tutorial, click Save
- The project is now named
api_miscibility_tutorial.prj
- The project is now named
In the next section, we will study four organic molecules. These starting structures have been provided:
- Go to File > Import Structures
- Navigate to where you downloaded the provided tutorial files, choose
input_molecules.maeand click Open- A new entry group containing four entries is added to the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
Note: The structure for PVP is not provided. We will learn to build it with the Polymer Builder in Section 3.
Optional: If you would prefer to practice preparing the components yourself, draw the molecules in the 2D Sketcher or import from the PDB or other sources. For background on using the sketcher, see the Introduction to Maestro for Materials Science tutorial.
3. Constructing Amorphous Cells
In this section, we will prepare single component amorphous cells for ibuprofen, water, cyclohexane, sorbitol and PVP. First, we will demonstrate the process for ibuprofen, using the Conformational Search and Disordered System Builder panels. Then, we will repeat this process for the other three small molecules. Finally, we will use the Polymer Builder to prepare the PVP amorphous cell. If you are already comfortable constructing disordered molecular and polymeric systems, feel free to import the disordered_system_*component*_system-out.cms (component = water cyclohexane, sorbitol) and polymer_builder_PVP_system-out.cms files from the provided tutorial files and proceed to Section 4.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue ibuprofen in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
For amorphous ibuprofen, we will study the S isomer, which is the more biologically active enantiomer. If you wish, you can confirm that the provided input is the S isomer by visually inspecting or using Style > Apply Labels > Chirality.
For our MD simulation, we will construct a cell containing many of these ibuprofen molecules. Though the molecule will relax during the equilibration, in cases with somewhat flexible molecules, it is a good practice to first perform a conformational search on the input molecule such that the conformation in the initial cell is relatively low energy.
- Go to Tasks > Browse All > MacroModel > Conformational Search
- The Conformational Search panel opens
- For Solvent, choose none from the option-menu
- Go to the CSearch tab
For more information about the options chosen here, visit the thorough help documentation or the Conformation Analysis for Small Molecules tutorial. In general, the defaults are sufficient for a basic conformational search.
- For Method, select Low-mode sampling and uncheck Multi-ligand
- Ensure Perform automatic setup during calculation is checked
- Change the Maximum number of steps to 200
- Change the Job name to mmod_csearch_ibuprofen
- Adjust the job settings (
) as needed. This job requires a CPU host and takes less than a minute. Click Run
- Close the Conformational Search panel
- Once the job is successfully completed, a new mmod_csearch_ibuprofen-out1 group is selected(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- The number of conformers output may vary depending on your software version or any of your previous settings in the Conformational Search panel.
Note: The option to uncheck Retain mirror-image conformations is available, though it is recommended to keep it checked when stereochemistry is a critical factor. For this particular example, the setting is not critical.
The output from the conformational search ranks the structures from top to bottom from lowest energy to highest energy (dictated by the force field). We can view the relative energies (in kJ/mol) directly in the entry list:
- Use the table settings icon
at the top of the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion to add the Relative Potential Energy-S-OPLS property (Show Property > Choose > Relative Potential Energy-S-OPLS)
- The relative energies of the conformers are visible directly in the entry list
For this exercise, we will simply use the lowest energy conformer to construct our cell, as well as a build method called ‘tangled chain’ to sample conformational space a bit more (described further below). In other cases, you may wish to build your cell with some distribution of conformers directly from the conformational search. For example, you could load all of the conformers into the Disordered System Builder (described in the next step) and generate a cell with a Boltzmann distribution. Indeed, there are many reasonable strategies for preparing your initial cell, and here we will only demonstrate one of them.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the first ibuprofen entry in the mmod_csearch_ibuprofen-out1 group
- Go to Tasks > Materials > Structure Builders > Disordered System
- The Disordered System Builder panel opens
We will construct a cell containing 512 ibuprofen molecules (16896 atoms).
- For Initial state, choose Amorphous
- Visit the documentation for the differences between the choices.
- For Number of molecules, input 512
- The number of ibuprofen molecules updates in real-time
- Change the Job name to disordered_system_ibuprofen
- Adjust the job settings (
) as needed
- This job requires a CPU host. The job can be completed in about 5 minutes on a CPU host
- If you would like to run the job yourself, click Run. Otherwise, import the pregenerated
disordered_system_ibuprofen_system-out.cmsfile from the provided tutorial files via File > Import Structures in theSection_03 > disordered_system_ibuprofendirectory - Close the Disordered System Builder
Note: For additional practice using the Disordered System Builder and more detail on the various parameters, see the Disordered System Building and MD Multistage Workflows tutorial.
Note: In general, always close the Disordered System Builder after use. This panel is interactive with the workspace and leaving it open can cause slowdowns
Note: The default initial density of 0.5 g/cm3 will generate a very low density cell. However, the subsequent molecular dynamics protocols will serve to compress the structure. Alternative approaches are certainly reasonable, including trying to build an initial cell closer to the experimental density.
When the job is finished or after importing, a new entry titled disordered_system_ibuprofen_all_components_amorphous is available in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion. We will return to it later.
Water and cyclohexane have fewer degrees of conformational freedom, so it is not necessary to perform conformational search. Sorbitol, however, is a very flexible molecule, and so we may want to perform a conformational search on it:
- Repeat Steps 1-12 for the provided sorbitol entry to obtain a low energy conformation. Name your job mmod_csearch_sorbitol
Figure 3-9. Three solvent systems in the workspace. The cells are tiled to allow visualization of all three, but this is not necessary to do.
Now, let’s proceed to construct cells for water, cyclohexane and sorbitol.
- Individually Repeat Steps 13-21 for the provided water and cyclohexane entries, as well as the lowest energy conformer from the sorbitol conformational search. For the quantity of molecules in each box, use the following:
- Water: 8000 molecules
- Cyclohexane: 1000 molecules
- Sorbitol: 729 moleculesName the jobs disordered_system_water, disordered_system_cyclohexane and disordered_system_sorbitol. Otherwise, maintain all of the same settings. Note that all of these structures are also available for importing from the provided tutorial files:
disordered_system_*component*_system-out.cms(component = water cyclohexane, sorbitol) in theSection_03directory
Note: The default water model in the Disordered System Builder is SPC. This can be adjusted in the Disorder Options on the Disorder tab.
We will return to all four amorphous cells shortly. Before we do so, let us now construct the PVP system.
- Go to Tasks > Materials > Structure Builders > Polymer
- The Polymer Builder panel opens
- For a detailed overview of using the polymer builder, visit the Building, Equilibrating and Analyzing Amorphous Polymers tutorial
- In the End groups section of the panel, maintain the defaults to terminate the chains with H and not include any cascader
- In the Monomers section of the panel, choose n-vinyl_pyrrolidone
- Go to the Composition tab
- Change the Number of monomers to 20
- Each chain will contain 20 PVP monomers
- Go to the Amorphous Cell tab
- Check Create amorphous cell
- Choose Boltzmann at 300.00 K for the Dihedral angle distribution
- Change the Number of polymers to 60
- The cell will contain 60, 20-mers which is 20520 atoms
- Change the Job name to polymer_builder_PVP
- Adjust the job settings (
) as needed
- This job requires a CPU host. The job can be completed in about 30 minutes on a CPU host
- If you would like to run the job yourself, click Run. Otherwise, import the pregenerated
polymer_builder_PVP_system-out.cmsfile from the provided tutorial files via File > Import Structures in theSection_03 > polymer_builder_PVPdirectory - Close the Polymer Builder
Note: If you were interested in creating a disordered system containing the polymer as one of several components, rather than using the Create amorphous cell option, you should run the job with Create amorphous cell unchecked to generate a single polymer chain and then use this output entry as a component in a new disordered system build.
When the job is finished or after importing, a new entry titled amorphous poly(N-vinyl pyrrolidone) is available in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion.
You should now have prepared five amorphous cells: ibuprofen, water, cyclohexane, sorbitol and PVP. We will prepare two crystalline cells in Section 4, and then return to these cells in Section 5 to perform MD simulations.
4. Constructing Crystalline Cells
In addition to analyzing properties of amorphous ibuprofen, it is also instructive to study crystalline ibuprofen. Here we will look at two polymorphs.
- Go to File > Import Structures
- Navigate to where you downloaded the provided tutorial files, choose
Section_04 > ibuprofen_IBPRAC_P21-c.cifand click Open- A new entry is added to the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the IBPRAC entry from the entry list
- Use the Style palette (
) to change the rendering to ball-and-stick representation (
) and Color Atoms by Element
The asymmetric unit contains one ibuprofen molecule. It is first useful to visualize the full unit cell and to recalculate the bond orders. This is important to ensure correct force-field-typing in later steps.
- Click on the
button to open the Periodic Structure Tool Window
- Go to Build Cell
- Choose Translate to First Unit Cell and choose Intact Molecules
- Choose Recalculate Bond Orders
- Click Apply
Note: If you are new to working with periodic systems in Materials Science Maestro, visit the Building and Manipulating Crystal Structures tutorial.
For the MD simulation, we want a box similar in size to those prepared in Section 3. To do so for this periodic structure:
- Click on the
button to open the Periodic Structure Tool Window
- Go to Build Cell, click Extents and for +A, +B and +C, input 4, 4 and 4
- Click Apply
- The workspace is updated to show an expanded cell, now with 500 molecules, similar in size to the amorphous cell
- Next to the Periodic Structure Tool icon, the green text indicates CELL: 5 x 5 x 5
- Click on the
button again to open the Periodic Structure Tool Window
- Choose Make P1 Cell
- A new entry is added to the bottom of the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion titled IBPRAC P1
- It is includedthe entry is represented in the Workspace, the circle in the In column is blue in the workspace by default
The steps for the second polymorph have been performed for you:
- Go to File > Import Structures
- Navigate to where you downloaded the provided tutorial files, choose
Section_04 > 2001546_P1_system.maeand click Open- A new entry is added to the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion titled 2001546 P1
You now have two prepared crystalline cells of the ibuprofen polymorphs.
In order to run an MD simulation on these periodic structures, one final step must be performed. Specifically, we must use the Prepare for MD panel to clean up bond orders, select a force field and create a simulation box that is ready for the MD simulation with Desmond, our MD engine.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries both IBPRAC P1 and 2001546 P1 entries from the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- Go to Tasks > Materials > Classical Mechanics > MD Simulations > Prepare for Molecular Dynamics
- The Prepare for MD panel opens
- Ensure that Use structures from shows Project Table (2 selected entries) and retain the other defaults
- Change the Job name to md_prep_crystals
- Adjust the job settings (
) as needed
- The job can be completed in about 1 minute on a CPU host
- Click Run
- Close the Prepare for MD panel
Note: This step is not necessary for the amorphous systems because the Disordered System Builder panel includes this setup by default.
The output will be two new entries named IBPRAC P1 and 2001546 P1 again, but now in entry groups titled MD: IBPRAC_P1_system (1) and MD: 2001546_P1_system (1), respectively. The structures will look exactly the same, but now they also contain the necessary setup data to perform an MD simulation.
5. Molecular Dynamics Simulations
Your entry list now contains seven systems ready for subsequent MD simulation: five amorphous systems and two crystalline systems. In this section we will perform MD simulations with the MD Multistage Workflow panel on all the systems.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the five amorphous cells (ibuprofen, water, cyclohexane, sorbitol and PVP) in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- Go to Tasks > Materials > Classical Mechanics > MD Simulations > MD Multistage Workflow
- The MD Multistage Workflow panel opens
Here we will use a standard simulation protocol to equilibrate the system. First, the Compressive relaxation protocol will be applied, which is a seven step workflow that is effective for compressing systems that are built to low density. This relaxation protocol includes a high pressure stage intended to compress the system. Subsequently, we will implement an MD stage at constant temperature and pressure to equilibrate the cell and gather trajectory data for analysis. Finally, we will perform bulk analysis on the system for a variety of standard properties.
- Ensure that Use structures from shows Project Table (5 selected entries)
- Otherwise, return to Step 1 above
- Check Relaxation protocol and choose Compressive
- Change the next stage (Stage 8) to Molecular Dynamics
- Set the Simulation time (ns) to 20
- Set the Trajectory Recording interval (ps) to 200
- This will generate 100 frames in the trajectory
- Click Append Stage
- A 9th stage appears in the workflow
- Change the new stage (Stage 9) to Analysis
- Change the Job name to multistage_simulation_amorphous_all
- Adjust the job settings (
) as needed
- This job requires a GPU host. Each job can be completed in about 4 hours on a GPU host
- If you would like to run the job yourself, click Run. Otherwise, import the pre-generated
multistage_simulation_amorphous_all_00n-out.cms(where n = 1-5) files from the provided tutorial files via File > Import Structures in theSection_05 > multistage_simulation_amorphous_alldirectory- MD simulations have a number of files associated with the job, for a full description of each file type see the help documentation on Desmond Files
- If running the job, wait for all five jobs to submit, then close the MD Multistage Workflow panel
Figure 5-3. Output from the MD simulations on the amorphous cells. Just the cyclohexane cell is shown.
After the job completes or after importing, five new entries are added to the entry list.
Feel free to visualize the cells and the trajectories if you are interested. In Section 6 we will study the bulk properties.
If you are unfamiliar with visualizing trajectories, visit the Building, Equilibrating and Analyzing Amorphous Polymers tutorial.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the two crystalline cells from the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- Be sure to select the two outputs from the Prepare for MD panel
- Go to Tasks > Materials > Classical Mechanics > MD Simulations > MD Multistage Workflow
- The MD Multistage Workflow panel opens
- Use the reset button (
) to reset the panel settings
For the crystal structures, the Compressive relaxation protocol will not be applied, given that we are interested in studying the properties of the crystalline material. The steps included in that protocol would likely return an amorphous structure. We will only implement an MD stage at constant temperature and pressure to equilibrate the cell and gather trajectory data for analysis. Then, we will perform the bulk analysis on the system for a variety of standard properties.
- Ensure that Use structures from shows Project Table (2 selected entries)
- Otherwise, return to Step 14 above
- Change the stage (Stage 1) to Molecular Dynamics
- Set the Simulation time (ns) to 20
- Set the Trajectory Recording interval (ps) to 200
- Click Advanced Options
- Change the Coupling Style to Flexible-angle and click OK
- This will allow for the shape of the crystal structure cell (angles and lengths) to relax. This option should not be used with liquid systems.
- Click Append Stage
- A 2nd stage appears in the workflow
- Change the new stage (Stage 2) to Analysis
- Change the Job name to multistage_simulation_crystals
- Adjust the job settings (
) as needed
- This job requires a GPU host. The job can be completed in about 3 hours
- If you would like to run the job yourself, click Run. Otherwise, import the pre-generated
multistage_simulation_cystals_00n-out.cms(n = 1, 2) files from the provided tutorial files via File > Import Structures in theSection_05 > multistage_simulation_crystalsdirectory - If running the job, wait for both jobs to submit, then close the MD Multistage Workflow panel
After the job completes or after importing, two new entries are added to the entry list.
Feel free to visualize the cells and the trajectories if you are interested. In Section 6 we will study the bulk properties.
6. Analyzing Molecular Dynamics Outputs: Density, Cohesive Energy and Solubility Parameters
In this section, we will analyze the bulk properties of the seven systems with the MS MD Trajectory Analysis panel. Specifically, we will look at density, cohesive energy and solubility parameters and make comparisons to experimental values.
Figure 6-1. Selecting the amorphous ibuprofen output and opening the MS MD Trajectory Analysis panel.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the amorphous ibuprofen cell output from the MD simulation
- Go to Tasks > Materials > Classical Mechanics > Trajectory Analysis > MS MD Trajectory Analysis
- The MS MD Trajectory Analysis panel opens
- Click Load from Workspace
- The Simulation Details tab is populated with information about the loaded trajectory
Note: The analysis will be provided for whichever stage in the MD Multistage Workflow directly preceded the analysis stage. In this case, that is the 20 ns MD.
- Go to the Bulk Properties tab
This tab provides data for the trajectory, including Specific Heat Capacity (top of the panel), Volume and Density (top graph) and Cohesive Energy, Heat of Vaporization and Solubility Parameters (bottom graph).
The data can be analyzed over the entire trajectory or for some portion. The Set Range button can be used to define a range, or the Final 20% button can be used to plot data only from the last 20% of the trajectory.
The histogram associated with each graph shows the distribution, which is useful for determining if the cell is equilibrated.
Here, we are interested in three properties: density, cohesive energy and solubility parameters.
- Use the dropdown for the top graph to change to Density
- Visual inspection of the density over time as well as of the histogram indicates that this cell is fairly well equilibrated
- The Average and Standard Deviation is printed above the graph
The bottom graph shows the Cohesive Energy.
- Click Final 20%
- We will record the density and cohesive energy from the last 20% of the trajectory
- The Average and Standard Deviation is printed above the graph
- Change the bottom graph dropdown to Solubility parameter
- To view the parameter for the entire trajectory, use the Set Range button. In this case, again we will record the parameter from the last 20%
- The Average and Standard Deviation is printed above the graph
The provided parameter is the Hildebrand solubility parameter, which is the square root of the cohesive energy density. The parameter estimates miscibility based on the qualitative concept of ‘like dissolves like.’ In particular, materials with similar Hildebrand solubility parameters are likely to be miscible.
Note that this parameter is different from the Hansen solubility parameter. The Hansen solubility parameter separates contributions from the vdW and electrostatic energies and are also available in the dropdown.
See Solubility parameters: DOI:10.1021/cr60298a003
Also note that this parameter is different from intrinsic solubility (S or logS).
The data for amorphous ibuprofen is summarized in the following table, including experimentally reported values when available. Note that if you ran the simulation yourself, your values may vary slightly:
|
|
Density (sim) |
Density (exp) |
Cohesive Energy |
Solubility Parameter (sim) |
Solubility Parameter (exp) |
|
Ibuprofen (amorphous) |
1.023 g/cm3 |
1.03 g/cm3 |
23.353 kcal/mol |
22.013 MPa1/2 |
20.9 MPa1/2 |
- Repeat the MS MD Trajectory Analysis for the six other cells
- You can keep the panel open, includethe entry is represented in the Workspace, the circle in the In column is blue a different entry in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed and use the Load from Workspace button
The data is summarized in the following table, including experimentally reported values (see References) when available. Note that if you ran the simulation yourself, your values may vary slightly:
|
|
Density (sim) g/cm3 |
Density (exp) g/cm3 |
Cohesive Energy kcal/mol |
Solubility Parameter (sim) MPa1/2 |
Solubility Parameter (exp) MPa1/2 |
|
Ibuprofen (amorphous) |
1.023 |
1.03 |
23.353 |
22.013 |
20.9 |
|
Water |
0.974 |
0.997 |
9.882 |
47.290 |
48.0 |
|
Cyclohexane |
0.754 |
0.779 |
6.748 |
15.908 |
16.8 |
|
Sorbitol |
1.347 |
1.49 |
36.963 |
33.812 |
38.2 |
|
PVP |
1.113 |
1.20 |
129.132 |
16.438 |
22.5 |
|
Ibuprofen (IBPRAC) |
1.111 |
1.085-1.11 |
26.781 |
24.563 |
- |
|
Ibuprofen (2001546) |
1.094 |
1.085-1.11 |
26.249 |
24.138 |
- |
To predict miscibility, we can compare the difference in the solubility parameter between any two components. Here we will analyze the amorphous ibuprofen in the four solvents/carriers. If the magnitude of the difference is <7 MPa1/2, typically we expect the components to be miscible. If the magnitude of the difference is >10 MPa1/2, typically we expect the components to be immiscible.
|
Mixture |
|∆ Solubility Parameter| |
Expected to be Miscible? |
|
Ibuprofen (amorphous) / Water |
25.277 |
No |
|
Ibuprofen (amorphous) / Cyclohexane |
6.105 |
Yes |
|
Ibuprofen (amorphous) / Sorbitol |
11.799 |
No |
|
Ibuprofen (amorphous) / PVP |
5.575 |
Yes |
Reviewing the data, several takeaways are apparent:
- The simulated and experimental densities and solubility parameters agree reasonably well
- The simulation indicates that amorphous ibuprofen is expected to be miscible with cyclohexane and PVP and not miscible with sorbitol and water
- Crystalline ibuprofen is, expectedly, predicted to be less soluble in the miscible solvents than amorphous ibuprofen
- The IBPRAC crystal polymorph is predicted to be slightly more stable compared to 2001546, as indicated by the greater cohesive energy. More generally, the crystal solubility parameter for both polymorphs is higher than the amorphous by about 2.5 MPa1/2, which is noticeably lower solubility.
In the next section, we will look at an alternative, complementary approach to studying miscibility with molecular dynamics.
7. Preparing, Simulating and Analyzing Multi-Component Systems
In this section, we will alter our approach, and now construct multi-component systems to gain further insights into miscibility. Specifically, we will construct amorphous cells with the Disordered System Builder and perform MD simulations with the MD Multistage Workflow panel for 20 wt% ibuprofen in water and 20 wt% ibuprofen in cyclohexane solutions.
- Returning to the top of your entry list, select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries both water and ibuprofen
- Be sure for ibuprofen to select the low energy conformer from the conformation search
- Go to Tasks > Materials > Structure Builders > Disordered System
- The Disordered System Builder panel opens
- When the panel opens, as in the Figure, water and ibuprofen should be listed in the components table. If your panel does not much the Figure, return to the previous step and check your selections
We wish to prepare a ~20 wt% ibuprofen in water solution:
- For Initial state, choose Amorphous
- Change the Number of molecules to 7500
- Change the Molecules for water in the Components table to 7340
- The number of ibuprofen molecules should update automatically to 160. The wt % will update as well
- Change the Job name to disordered_system_ibuprofen_water
- Adjust the job settings (
) as needed
- This job requires a CPU host. The job can be completed in about 20 minutes on a CPU host
- If you would like to run the job yourself, click Run. Otherwise, import the pregenerated
Section_07 > disordered_system_ibuprofen_water > disordered_system_ibuprofen_water_system-out.cmsfile from the provided tutorial files via File > Import Structures - Close the Disordered System Builder
When the job is finished or after importing, a new entry titled disordered_system_ibuprofen_water_all_components_amorphous is available in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- Repeat Steps 1-10 for ibuprofen and cyclohexane. In this case, construct a cell with 1450 total molecules (1316 cyclohexane, 134 ibuprofen). Name the job disordered_system_ibuprofen_cyclohexane
Figure 7-5. The mixed systems stylized and tiled in the workspace. Note, you do not need to tile the workspace, it is just for visualizing here.
By default, the mixed component systems will be colored by component. Feel free to stylize the cells however you like. For ease of visualization, we have colored by element and changed the representation of the ibuprofen molecules to CPK and the solvent molecules to wireframe.
As we did for the single component amorphous systems, here we will use a standard simulation protocol to equilibrate the system. First, the Compressive relaxation protocol will be applied, which is a seven step workflow that is effective for compressing systems that are built to low density. Subsequently, we will implement an MD stage at constant temperature and pressure to equilibrate the cell and gather trajectory data.
- Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries the two mixed amorphous cells (ibuprofen/water and ibuprofen/cyclohexane) in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
- Go to Tasks > Materials > Classical Mechanics > MD Simulations > MD Multistage Workflow
- The MD Multistage Workflow panel opens
- Reset the panel using reset button(
) in the bottom left corner of the panel
- Ensure that Use structures from shows Project Table (2 selected entries)
- Otherwise, return to Step 12 above
- Check Relaxation protocol and choose Compressive
- Change the next stage (Stage 8) to Molecular Dynamics
- Set the Simulation time (ns) to 20
- Set the Trajectory Recording interval (ps) to 200
- This will generate 100 frames in the trajectory
- Click Append Stage
- A 9th stage appears in the workflow
- Change the new stage (Stage 9) to Analysis
- Change the Job name to multistage_simulation_mixed_systems
- Adjust the job settings (
) as needed
- This job requires a GPU host. Each job can be completed in about 4 hours on a GPU host
- If you would like to run the job yourself, click Run. Otherwise, import the pre-generated
multistage_simulation_mixed_systems_00n-out.cms(where n = 1, 2) files from the provided tutorial files via File > Import Structures in theSection_07 > multistage_simulation_mixed_systemsdirectory - If running the job, wait for both jobs to submit, then close the MD Multistage Workflow panel
Figure 7-8. Output from the MD simulations on the mixed cells. Just the ibuprofen/water cell is shown in the figure.
After the job completes or after importing, two new entries are added to the entry list.
Again, by default, the mixed component systems will be colored by component. Feel free to stylize the cells however you like. For ease of visualization, we have colored by element and changed the representation of the ibuprofen molecules to CPK and the solvent molecules to wireframe.
In the Figure, we show the two outputs tiled. Notice that in the case of the water system, complete phase separation is observed (recall that because of periodic boundary conditions, the cluster of ibuprofen may appear across the cell, but is actually part of the larger cluster). In the case of the cyclohexane system, a more homogeneous mixture is visible.
The phase separation in the ibuprofen / water cell is most clearly visualized by including additional periodic images in the workspace. Optionally use the
button to open the Periodic Structure Tool Window and add extents to visualize additional unit cells.
Note: When adding extents in large MD systems, be patient after pressing apply. With so many atoms, it will take a few moments to update.
- For better visualization of the ibuprofen cluster, select an atom at the center of the cluster
- Right click and choose Center cell on Atom
- The simulation box will be centered around the selected atom and the cluster will appear whole.
Feel free to visualize the cells and the trajectories if you are interested.
8. Conclusion and References
In this tutorial, we learned how to predict the miscibility of an API using molecular dynamics simulations.
For further learning:
For introductory content, focused on navigating the Schrödinger Materials Science interface, an Introduction to Materials Science Maestro tutorial is available. Please visit the materials science training website for access to 100+ tutorials. For scientific inquiries or technical troubleshooting, submit a ticket to our Technical Support Scientists at help@schrodinger.com.
For self-paced, asynchronous, online courses in Materials Science modeling, including access to Schrödinger software, please visit the Schrödinger Online Learning portal on our website.
For some related practice, proceed to explore other relevant tutorials:
- Disordered System Building and Molecular Dynamics Multistage Workflows
- Building, Equilibrating and Analyzing Amorphous Polymers
- Glass Transition Temperatures for APIs
- Polymer Property Prediction
- Penetrant Loading
- Diffusion
- Evaporation
- Building Solvated Systems
- Cluster Analysis
- Thermal Conductivity
- Ibuprofen Cyclodextrin Inclusion Complexes with the Martini Coarse-Grained Force Field
- Building a Coarse-Grained Skin Model using Martini Force Field
- pKa Prediction with Macro-pKa
- Droplet Contact Analysis
- Meta Workflow
For further reading:
- Molecular Dynamics Prediction Verified by Experimental Evaluation of the Solubility of Different Drugs in Poly(decalactone) for the Fabrication of Polymeric Nanoemulsions. DOI:10.1002/anbr.202100072
- Ibuprofen solubility in pure organic solvents and aqueous mixtures of cosolvents: Interactions and thermodynamic parameters relating to the solvation process. DOI:10.1016/j.fluid.2013.06.032
- Hildebrand and Hansen Solubility Parameters from Molecular Dynamics with Applications to Electronic Nose Polymer Sensors. DOI:10.1002/jcc.20098
- Application of the solubility parameter concept to assist with oral delivery of poorly water-soluble drugs - a PEARRL review. DOI:10.1111/jphp.12948
- Solubility Parameters as Predictors of Miscibility in Solid Dispersions. DOI:10.1021/js9900856
- Determination of Solubility Parameters for Ibuprofen and Ibuprofen Lysinate. DOI:10.3390/molecules201219777
- Introduction to formulations with Schrödinger
- Help documentation: Polymer Builder, Disordered System Builder, MD Multistage Workflow MS MD Trajectory Analysis
9. Glossary of Terms
Entry List - a simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion
Included - the entry is represented in the Workspace, the circle in the In column is blue
Project Table - displays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data
Recent actions - This is a list of your recent actions, which you can use to reopen a panel, displayed below the Browse row. (Right-click to delete.)
Scratch Project - a temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project
Selected - (1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries
Working Directory - the location where files are saved
Workspace - the 3D display area in the center of the main window, where molecular structures are displayed