Bioreactor-model is a Python package for bioreactor and biomass growth calculations
Project description
Bioreactor-model
Bioreactor-model is a Python package for bioreactor and biomass growth calculations
Installation
pip install bioreactor-model
Documentation
Classes
calc.CellComposition() calculates biomass formula and biomass molecular weight
calc.BiomassEquation() solves biomass growth equation
bioreactor.time_to_titer() calculates bioreactor production time for titer to reach specified value
Getting Started
- Calculate biomass composition and molecular weight from dry weight values
from bioreactor_model import calc
expt = calc.CellComposition(values={'C':47,'H':4.15,'N':10,'O':31,'ash_fraction':7.85}, dry_weights=True)
print(expt.biomass_composition) # biomass composition
print(expt.biomass_molar_weight) # molecular weight = 25.545
- Solve biomass equation with above biomass composition and gas inlet-outlet values
from bioreactor_model import calc
expt = calc.CellComposition(values={'C':47,'H':4.15,'N':10,'O':31,'ash_fraction':7.85}, dry_weights=True)
be = calc.BiomassEquation(expt.biomass_composition)
be.set_gas_io_values(79,21,10,83,7)
be.solve_biomass_equation()
print(be.biomass_equation_solution['string']) # biomass equation string
print(be.biomass_equation_solution['molar_coeff']) # molar coefficients of biomass equation
print(be.biomass_equation_solution['biomass_composition']) # biomass composition
print(be.biomass_equation_solution['rq']) # respiratory quotient = 0.664
Tutorials
See tutorials in documentation.
See tests/test.py for usage.
Future development
Scale up parameters, fed-batch yield estimation, yield coefficient calculation, gas transfer estimation, oxygen transport and uptake rates will be added soon.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bioreactor_model-0.0.7.tar.gz.
File metadata
- Download URL: bioreactor_model-0.0.7.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
405eead2e696c29eb9457138a683f163542966cf3bbcf33e8fb2322e7372c8b3
|
|
| MD5 |
5b5e4f729833b6461f3366238a745ece
|
|
| BLAKE2b-256 |
038775f0f88f2de524bfb0968a8fad71c385468d8cea18a459ee23f4d356e2d6
|
File details
Details for the file bioreactor_model-0.0.7-py3-none-any.whl.
File metadata
- Download URL: bioreactor_model-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67e51e1ef84bd70cb5a923c2b8c2f0084aa262573f647dee3550c70ee6fbca8b
|
|
| MD5 |
c6326717627747c0d11530255f5e0b99
|
|
| BLAKE2b-256 |
756b34191b2e9cc6d59ab6d3751d0ce05fffc503caa43b74a09008a669f9b02f
|