Skip to content

Package for computing secondary nucleation constants from DSC measurements Enthalpy vs time

Notifications You must be signed in to change notification settings

SimonaBuzzi/Lauritzen_Hoffman_Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lauritzen-Hoffman Theory for Polymer Crystallization

Overview

This package computes secondary nucleation constants from DSC (Differential Scanning Calorimetry) measurements (Enthalpy vs. Time) using the Lauritzen-Hoffman theory.

📄 Theory and Background

Features

  • Analyze DSC data to calculate secondary nucleation constants.
  • Fit experimental data using the Lauritzen-Hoffman growth model.
  • Output key parameters such as the secondary nucleation constant (kg) and the logarithm of the pre-exponential factor (lgI0).

Installation

Install the package using pip:

pip install lauritzen-hoffman

Example Usage

Import the Module

from lauritzen_hoffman.linear_rate import lh_growth_model

Input Parameters

  1. file_path: Path to your DSC (Differential Scanning Calorimetry) measurement file.
  2. initial_guess: Initial guess values for optimization.
  3. Constants and Data:
    • Area: Crystalline surface area used in calculations.
    • T_range: List of temperatures at which growth is analyzed.
    • U: Activation energy for transport.
    • Tinf: Temperature below which molecular motion stops.
    • T0m: Equilibrium melting temperature.
    • R: Universal gas constant.

Example Code

from lauritzen_hoffman.linear_rate import lh_growth_model

# Define file path 
file_path = 'path_to_your_dsc_data.csv'

# Set initial guess 
initial_guess = [value1, value2, ...]

# Conditions
Area = 1.300149 * (10 ** -12)  # Example area in square meters
T_range = [T1, T2, T3, ...]   # List of temperature values in Kelvin
U = your_value                 # Activation energy for transport (e.g., kJ/mol)
Tinf = your_value              # Theoretical temperature below which no motion occurs (Kelvin)
T0m = your_value               # Equilibrium melting temperature (Kelvin)
R = 1.99                       # Universal gas constant (J/(mol*K))

# Run
kg, lgI0 = lh_growth_model(file_path, initial_guess, T_range, Area, U, R, Tinf, T0m)

# Results
print("Secondary nucleation constant, kg:", kg)
print("Logarithm of pre-exponential factor, lgI0:", lgI0)

Parameters

  • file_path: Path to the DSC measurement file.
  • initial_guess: A list of initial guesses for the parameters being optimized.
  • Area: Crystalline surface area (default example: 1.300149 * (10 ** -12) m²).
  • T_range: List of temperature values (Kelvin).
  • U: Activation energy for molecular transport.
  • Tinf: Temperature below which molecular motion stops.
  • T0m: Equilibrium melting temperature (Kelvin).
  • R: Universal gas constant (J/(mol*K)).

Outputs

The function computes:

  1. kg: The secondary nucleation constant.
  2. lgI0: Logarithm of the pre-exponential factor.

About

Package for computing secondary nucleation constants from DSC measurements Enthalpy vs time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published