Metadata-Version: 2.4
Name: WitZuk
Version: 0.1.0
Summary: Scientific and engineering simulation functions by Witold Zukowski
Author: Witold Zukowski
Keywords: chemical-engineering,fluidized-bed,Kato-Wen,formic-acid,HCOOH
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Chemistry
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE_NOT_SELECTED.txt
Requires-Dist: numpy>=1.24
Requires-Dist: scipy>=1.10
Requires-Dist: pandas>=2.0
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=5.1; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Dynamic: license-file

# WitZuk

Biblioteka funkcji naukowych i inżynierskich autorstwa Witolda Żukowskiego.

## Moduł `hcooh_fbr`

Model płuczki z kwasem mrówkowym i reaktora fluidyzacyjnego Kato-Wena.

### Instalacja

```bash
python -m pip install WitZuk
```

### Minimalny przykład z płuczką

```python
from witzuk.hcooh_fbr import simulate_scrubber, simulate_fluidized_bed

feed = simulate_scrubber()
result = simulate_fluidized_bed(feed, return_profile=False)
print(result["conversion"]["HCOOH"])
```

### Minimalny przykład bez płuczki

```python
from witzuk.hcooh_fbr import stream_from_feed, simulate_fluidized_bed

feed = stream_from_feed(
    molar_fractions={"HCOOH": 0.02, "N2": 0.98},
    total_flow_mol_s=5.0e-4,
)
result = simulate_fluidized_bed(feed, return_profile=False)
```

### Bilans cieplny i pierwiastkowy

```python
from witzuk.hcooh_fbr import calculate_reactor_heat_effect, check_element_balance

heat = calculate_reactor_heat_effect(feed, result["outlet_stream"])
balance = check_element_balance(feed, result["outlet_stream"])
```

## Status

Wersja 0.1.0 (alpha). Przed publikacją wybierz licencję i uzupełnij metadane projektu.
