Metadata-Version: 2.4
Name: operationunitaire
Version: 0.2.3
Summary: A Python package for rigorous distillation simulations.
Project-URL: Homepage, https://github.com/anastassaoui/operationunitaire
Project-URL: Issues, https://github.com/anastassaoui/operationunitaire/issues
Author-email: Tassaoui Anas <anass.tassaoui@gmail.com>
License-File: LICENSE.txt
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Chemistry
Requires-Python: >=3.7
Requires-Dist: numpy>=1.18
Requires-Dist: pandas>=1.0
Requires-Dist: scipy>=1.5
Requires-Dist: tabulate>=0.8
Description-Content-Type: text/markdown

## ***Usage***

### **Overview**

`operationunitaire` is designed to streamline the process of distillation column simulations. With just a few inputs, you can calculate the volatilities, coefficients, and liquid fractions for multi-component distillation columns.

### **Example Script**

To use the package, create a Python script (e.g., `calc.py`) and add the following code:

```python
from operationunitaire.main import run_simulation

# User Inputs
stage_temperatures = {1: 65, 2: 90, 3: 115, 4: 140, 5: 165}
feed_composition = {'C3': 0.3, 'NC4': 0.3, 'NC5': 0.4}
vapor_flow_rates = {1: 0, 2: 150, 3: 150, 4: 150, 5: 150}
feed_flow_rates = {1: 0, 2: 0, 3: 100, 4: 0, 5: 0}

# Run the simulation
run_simulation(stage_temperatures, feed_composition, vapor_flow_rates, feed_flow_rates)

```
