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')
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)
Built Distribution
rtdpy-0.4-py3-none-any.whl
(14.6 kB
view hashes)