Skip to main content

The Python implementation of IndPenSim

Project description

alt text

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pensimpy-1.2.4-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file pensimpy-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: pensimpy-1.2.4-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

Hashes for pensimpy-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a12ad8bbc9659b542bb5da95479409bf24d4213a37c4386e8072a37c244a8438
MD5 a66f72b96b0be146ecd6febdaa1b64a0
BLAKE2b-256 c84ff61eeac88acc10746def8a513c853d082e540ee72ad268e70b6d27117ca0

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