Skip to main content

A Python package describing Stochastic Nucleation of Water in vials.

Project description

ethz_snow

SNOW (Stochastic Nucleation Of Water) is an open source modeling framework to simulate the freezing process in a large number of vials, tailored towards pharmaceutical freeze-drying processes. SNOW was developed as part of a research collaboration between ETH Zurich's Separation Processes Laboratory and Janssen (pharmaceutical companies of J&J). It is brought to you by Leif-Thore Deck and Dr. David Ochsenbein.

Description

SNOW is a model capable of simulating the entire freezing process for a batch of vials, from the liquid state to the completely frozen state. It combines balance equations, thermodynamics and a stochastic approach to ice nucleation to provide a comprehensive view of freezing and is entirely derived from first principles.

In addition to the simulation of the thermal evolution of vials during freezing, SNOW tracks a number of characteristic quantities of the freezing process for each vial. These quantities are the nucleation time, the nucleation temperature and the solidification time. Both nucleation and solidification are correlated with attributes of the frozen product such as the mean crystal size and the product activity of an API. Variability in these quantities among vials may thus be used as surrogate for batch heterogeneity. SNOW consequently may be used in process design and optimization to identify suitable cooling protocols with sufficiently small batch heterogeneity.

A more detailed description of the modeling framework will be presented in a scientific publication that is currently in preparation.

Features currently supported (as of version 1.0)

  • Simulation of the thermal evolution and ice formation for a batch with arbitrary number of vials
  • Arbitrary cooling protocols (i.e., user may choose cooling rate, integrate holding steps and controlled nucleation)
  • Tracking of nucleation times, temperatures and solidification times for all vials
  • Stochastic nucleation in the form of a Monte Carlo approach as well as controlled nucleation in the form of forced initiation of nucleation at a certain point in time
  • Cubic geometry of vial and rectangular arrangement on the shelf

Features in preparation

  • Hexagonal arrangement of vials on the shelf
  • Flexible vial geometry

Bug reports

Please report bugs as Github issues or via Email, preferably including a screenshot that illustrates the problem.

Copyright (c) 2021 Leif-Thore Deck, David Ochsenbein

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ethz_snow-1.0.3.tar.gz (5.9 MB view hashes)

Uploaded Source

Built Distribution

ethz_snow-1.0.3-py2.py3-none-any.whl (21.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page