CV_CHAR_EQ_PERC

Overview

Excel Usage

=CV_CHAR_EQ_PERC(opening)
  • opening (float, required): Fractional opening of the valve [0-1].

Returns (float): Flow coefficient characteristic fraction [0-1].

Examples

Example 1: Zero opening

Inputs:

opening
0

Excel formula:

=CV_CHAR_EQ_PERC(0)

Expected output:

0

Example 2: Full opening

Inputs:

opening
1

Excel formula:

=CV_CHAR_EQ_PERC(1)

Expected output:

1

Example 3: Half opening

Inputs:

opening
0.5

Excel formula:

=CV_CHAR_EQ_PERC(0.5)

Expected output:

0.163618

Example 4: Large opening (0.9)

Inputs:

opening
0.9

Excel formula:

=CV_CHAR_EQ_PERC(0.9)

Expected output:

0.859871

Python Code

from fluids.control_valve import Cv_char_equal_percentage

def cv_char_eq_perc(opening):
    """
    Calculates the flow coefficient characteristic for an equal percentage control valve.

    See: https://fluids.readthedocs.io/fluids.control_valve.html#fluids.control_valve.Cv_char_equal_percentage

    This example function is provided as-is without any representation of accuracy.

    Args:
        opening (float): Fractional opening of the valve [0-1].

    Returns:
        float: Flow coefficient characteristic fraction [0-1].
    """
    try:
        val = float(opening)
        return float(Cv_char_equal_percentage(val))
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator