optframework.examples.simple_pbm module
Created on Mon Jan 13 15:13:37 2025
@author: px2030
PBMSolver Basic Usage Example
This script demonstrates the basic usage of the Population Balance Model (PBM) solver for simulating particle agglomeration and breakage processes using the method of moments.
The PBM solver uses the method of moments to solve population balance equations, which is computationally more efficient than discrete methods but provides statistical information (moments) rather than full particle size distributions.
Key Components: - PBMSolver: Main solver class that handles moment-based PBE solving - PBMCore: Core functionality for moment initialization and PBE solving
Usage Flow: 1. Initialize solver with dimension (1D or 2D) 2. Initialize moments using init_moments() 3. Solve the PBE using solve_PBM() 4. Extract and analyze results (moments, normalized moments)