CV_CHAR_LINEAR
Overview
Calculates the flow coefficient characteristic for a linear control valve.
Excel Usage
=CV_CHAR_LINEAR(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_LINEAR(0)
Expected output:
0
Example 2: Full opening
Inputs:
| opening |
|---|
| 1 |
Excel formula:
=CV_CHAR_LINEAR(1)
Expected output:
1
Example 3: Half opening
Inputs:
| opening |
|---|
| 0.5 |
Excel formula:
=CV_CHAR_LINEAR(0.5)
Expected output:
0.5
Example 4: Quarter opening
Inputs:
| opening |
|---|
| 0.25 |
Excel formula:
=CV_CHAR_LINEAR(0.25)
Expected output:
0.25
Python Code
import micropip
await micropip.install(["fluids"])
from fluids.control_valve import Cv_char_linear
def cv_char_linear(opening):
"""
Calculates the flow coefficient characteristic for a linear control valve.
See: https://fluids.readthedocs.io/fluids.control_valve.html#fluids.control_valve.Cv_char_linear
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].
"""
return Cv_char_linear(opening)