Skip to content

polykin.reactors.rtd¤

F_cstr ¤

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

Cumulative residence time distribution for a single CSTR.

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

References

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

Residence time.

TYPE: float

tavg

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

TYPE: float

RETURNS DESCRIPTION
float

Cumulative residence time distribution.

See also
  • E_cstr: related method to determine the differential distribution.
Source code in src/polykin/reactors/rtd.py
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
def F_cstr(t: float, tavg: float) -> float:
    r"""Cumulative residence time distribution for a single CSTR.

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

    **References**

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

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

    Returns
    -------
    float
        Cumulative residence time distribution.

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