base_branch_valve
Class for base valve
- class BranchValve(kv: float = 0.0, dz: float = 0.0, line: str | None = None, **kwargs)[source]
Bases:
Component
Class for base BranchValve component. It implements a valve controlled by the flow coefficient \(K_v\):
\[\Delta p = \frac{1.296 \cdot 10^9}{\rho K_v^2} \| \dot m \| \dot m\]The model assumes no temperature changes in the fluid across the valve.
- __init__(kv: float = 0.0, dz: float = 0.0, line: str | None = None, **kwargs) None [source]
Init BranchValve
- Parameters:
kv (float, optional) – Flow coefficient \(K_v\). The default is 0.0.
dz (float, optional) – Altitude difference (m) between the two ends of the component. The default is 0.0.
line (str, optional) – Network line in which the component is placed. The default is None.
**kwargs – Arbitrary keyword arguments.
- Return type:
None