The Python implementation of IndPenSim
Project description
Development Status: As of 08/2020 PenSimPy is under active maintenance (expect bug fixes and updates). Please follow, star, and fork to get the latest functions.
PenSimPy

PenSimPy is a Python version of IndPenSim, which simulates the industrial-scale Penicillium chrysogenum fermentation.
This simulator is based on c++ solving the ODE functions so as to achieve a faster performance than the MATLAB version.
PenSimPy aims for recording those key features such as pH, temperature, vessel volume, vessel weight, penicillin concentration,
dissolved oxygen concentration, sugar feed rate, soil bean feed rate, aeration rate, back pressure, water, acid,
phenylacetic acid flow-rate, Oxygen in percent in off-gas, and the Raman spectroscopy data throughout the whole process. A conventionally used
Sequential Batch Control strategy with PID control is presented with example codes and all the recipe's feed can be manually updated.
Furthermore, we incorporate Reinforcement Learning to improve the penicillin gain and present them as example codes. A web application based on PenSimPy can be found here.
Installation
PenSimPy relies on fastodeint, a python bindings for an ODE solver implemented in C++. Unfortunely, it's not available as a PyPI package at this point, so you need to follow the installation instruction here to build it yourself. Once fastodeint is installed, you can install PenSimPy by the following command
pip install pensimpy
Examples
See the examples directory
- see examples/batch_generation.py to generate batch and Raman data with self-designed recipes
- see examples/reinforcement_learning_boilerplate.py to simulate penicillin yield process with reinforcement learning
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 pensimpy-1.2.5-py3-none-any.whl.
File metadata
- Download URL: pensimpy-1.2.5-py3-none-any.whl
- Upload date:
- Size: 40.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fb361876b5392ecbd1ec8f855f1c1c4772de6667d1dc16d85bde8f8be498644
|
|
| MD5 |
8d154bd7c96cda25f7d40c5e68d4d9c2
|
|
| BLAKE2b-256 |
32263561c910e6dbe273a30d0fc18be690bb1b0c66070332637a276e5a4dfef0
|