def tau(pv: float, compr_total: float, pi: float):
    """ Time Constant

    Parameters
    ---
    pv : float
        pore volume
    compr_total : float
        total compressibility
    pi : float
        productivity index
    """
    return pv*compr_total/pi