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=3)
print(a.mrt()) # Mean Residence Time
print(a.sigma()) # Variance
plt.plot(a.time, a.exitage)
Installation
pip install rtdpy
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.3.tar.gz
(8.4 kB
view hashes)
Built Distribution
rtdpy-0.3-py3-none-any.whl
(12.7 kB
view hashes)