Skip to main content

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.

Metadata

Release files for bioreactor-model 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bioreactor-model 0.0.8
File Size Uploaded Provenance Actions
bioreactor_model-0.0.8.tar.gz 7.2 kB Without provenance Details for bioreactor_model-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bioreactor-model 0.0.8
File Interpreter ABI Platform Actions
bioreactor_model-0.0.8-py3-none-any.whl Python 3 none any Details for bioreactor_model-0.0.8-py3-none-any.whl

Total release size: 14.8 kB

Release files / bioreactor_model-0.0.8.tar.gz

Download URL bioreactor_model-0.0.8.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b5f6c0e073ba27808228c06ed81b1faa8f73f9aa650b5f38f0823874ed188e41
BLAKE2b-256 checksum
How to use checksums
c73c87ac5ee57569a2815fbb162b8330c784bc38cea7cb62d5c014f55998495d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / bioreactor_model-0.0.8-py3-none-any.whl

Download URL bioreactor_model-0.0.8-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6adb17aaf930f146ad2fc8fc586547a6b503fc65eb99ffeb29a94b40b16bbe30
BLAKE2b-256 checksum
How to use checksums
ca8a4e0f03b9839a89ee1e6c0e1506639f2280c29b8d1a5c7a02d10d5662884f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for bioreactor-model 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page