Skip to main content

A Python package for rigorous distillation simulations.

Project description

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:

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)

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

operationunitaire-0.1.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

operationunitaire-0.1.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file operationunitaire-0.1.0.tar.gz.

File metadata

  • Download URL: operationunitaire-0.1.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for operationunitaire-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84c1867e4ced9aee4bf1a1252eaeffc93492ce42c05453cf4b88424a9f3d65dc
MD5 7c378c40d047a5c88a59c88ea7c8ae63
BLAKE2b-256 34dc64be79078c3f1ea5e99d3dc8ff5b63e80137e782319a7875897c4a98ffc9

See more details on using hashes here.

File details

Details for the file operationunitaire-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for operationunitaire-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e366f98f2e4559806cc09d8635de7bd04cfef7128aaec33ec7f6fdd0e9f46413
MD5 bcd749b72cfc750bf5e48af47f37f4f5
BLAKE2b-256 d16941d5e2a1d61e34e81df9ac39eb8a257d54bc13dc96449d6ebdae02ddfcba

See more details on using hashes here.

Supported by

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