Skip to main content

Python package for residence time distribution analysis

Project description

rtdpy

Residence Time Distribution modeling in Python.

https://merck.github.com/rtdpy

A simple example

Create a family of tanks in series (N-CSTRs) and analyze them

for n in [1, 2, 5, 10, 100]:
    a = rtdpy.Ncstr(tau=1, n=n, dt=.001, time_end=5)
    plt.plot(a.time, a.exitage, label="n={}".format(n))
plt.legend()
plt.xlabel('Time')
plt.ylabel('Exit Age Function')
plt.title('Impulse Responses')

N-Cstr RTDs

Installation

pip install rtdpy

Author: Matthew Flamm

Email: matthew.flamm@merck.com

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

rtdpy-0.4.tar.gz (44.3 kB view hashes)

Uploaded Source

Built Distribution

rtdpy-0.4-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page