Skip to content

polykin.reactors.rtd¤

E_cstr ¤

E_cstr(t: float, tavg: float) -> float

Differential residence time distribution for a single CSTR.

\[ E(t) = \frac{1}{\bar{t}} e^{-t/\bar{t}} \]

References

  • Levenspiel, O. "Chemical reaction engineering", 3rd ed., John Wiley & Sons, 1999, p. 322.
PARAMETER DESCRIPTION
t

Residence time.

TYPE: float

tavg

Average residence time, \(\bar{t}\).

TYPE: float

RETURNS DESCRIPTION
float

Differential residence time distribution.

See also
  • F_cstr: related method to determine the cumulative distribution.
Source code in src/polykin/reactors/rtd.py
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
def E_cstr(t: float, tavg: float) -> float:
    r"""Differential residence time distribution for a single CSTR.

    $$ E(t) = \frac{1}{\bar{t}} e^{-t/\bar{t}} $$

    **References**

    * Levenspiel, O. "Chemical reaction engineering", 3rd ed., John Wiley &
      Sons, 1999, p. 322.

    Parameters
    ----------
    t : float
        Residence time.
    tavg : float
        Average residence time, $\bar{t}$.

    Returns
    -------
    float
        Differential residence time distribution.

    See also
    --------
    * [`F_cstr`](F_cstr.md): related method to determine the cumulative
      distribution.
    """
    return (1/tavg)*exp(-t/tavg)