Skip to content

LyoHUB/LyoPRONTO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LyoPRONTO is an open-source user-friendly tool to simulate and optimize freezing and primary drying in lyophilizers written using Python.

Authors

Original authors: Gayathri Shivkumar, Petr S. Kazarin and Alina A. Alexeenko. Maintained and updated by Isaac S. Wheeler.

Interactive Simulation

A web-based GUI is available for this software at http://lyopronto.geddes.rcac.purdue.edu.

How to Use This Code Directly

Download this repository, then in your preferred command line navigate to the containing directory (so that LyoPronto is a subdirectory). Execute:

python3 LyoPronto.main -m

This will execute the file main.py in an appropriate scope. Parameters can be changed in main.py. Files listing the inputs and outputs will be generated in the current directory, along with some plots of temperature, pressure, and drying progress vs. time. A video tutorial by the authors illustrating this process can be found on LyoHUB's YouTube channel.

Alternatively, construct a YAML file with all the necessary inputs (see YAML files under test_data of this repository for examples), then run a Python script like the following:

import time

import lyopronto as lp

# get time for recording simulation results
current_time = time.strftime("%y%m%d_%H%M", time.localtime())

yaml_fname = "your_dir/cycle_setup.yaml" # Fill in with your filename and appropriate location

# Read in simulation inputs
inputs = lp.read_inputs(yaml_fname)
# Execute the simulation
output = lp.execute_simulation(inputs)

# Record the simulation inputs, outputs, and figures
save_inputs(inputs, current_time)
save_csv(output, inputs, current_time)
generate_visualizations(output, inputs, current_time)

This will generate a record of both inputs and outputs each time you execute the file, so you can edit the original YAML and rerun the script without worrying about losing prior values of the inputs.

See also documentation examples online here and here

Citation

G. Shivkumar, P. S. Kazarin, A. D. Strongrich, & A. A. Alexeenko, "LyoPRONTO: An Open-Source Lyophilization PRocess OptimizatioN TOol", AAPS PharmSciTech (2019) 20: 328.

The noted paper is open access, and can be found here.

Licensing

Copyright (C) 2019, Gayathri Shivkumar, Petr S. Kazarin, Alina A. Alexeenko, and Isaac S. Wheeler.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

By request, this software may also be distributed under the terms of the GNU Lesser General Public License (LGPL); for permission, contact the authors or maintainer.

About

Open-Source Lyophilization Process Optimization Tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages