Skip to main content

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

Documentation here

Classes

calc.CellComposition() calculates biomass formula and biomass molecular weight

calc.BiomassEquation() solves biomass growth equation

bioreactor.time_to_titer() calculates time to reach specified titer in exponential biomass growth

Getting Started

  1. 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
  1. 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

bioreactor_model-0.0.8.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

bioreactor_model-0.0.8-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file bioreactor_model-0.0.8.tar.gz.

File metadata

  • Download URL: bioreactor_model-0.0.8.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

Hashes for bioreactor_model-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b5f6c0e073ba27808228c06ed81b1faa8f73f9aa650b5f38f0823874ed188e41
MD5 0c4cc7a0bbbc857d67236a8e42975acb
BLAKE2b-256 c73c87ac5ee57569a2815fbb162b8330c784bc38cea7cb62d5c014f55998495d

See more details on using hashes here.

File details

Details for the file bioreactor_model-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for bioreactor_model-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6adb17aaf930f146ad2fc8fc586547a6b503fc65eb99ffeb29a94b40b16bbe30
MD5 73e6a7dad99d0b1c1663e450fb7a1d65
BLAKE2b-256 ca8a4e0f03b9839a89ee1e6c0e1506639f2280c29b8d1a5c7a02d10d5662884f

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