Vent, Air valve with filling pipe section ----------------------------------------- VENT2LEG (class) ^^^^^^^^^^^^^^^^ .. figure:: ../media/image808.png :figwidth: 0.84416in :align: center Fall type +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+ | type label | description | active | +============+==================================================================================================================================================================================================+========+ | vent2leg | Vent with automatic in/outflow. Capacity specified with discharge coefficients. The level effect is automatically taken into account based on the profile of the pipelines connected to the vent | No | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------+ .. _mathematical-model-39: Mathematical model """""""""""""""""" The vent or air valve is a component through which air can enter into or be expelled from the hydraulic system. This is usually achieved by a floating-ball valve mechanism (figures 1, 2 and 3). The purpose of the vent is to prevent cavitation or intolerable underpressures. +----------------------------------------------+-----------------------------------------------+ | |image163| | |image164| | +----------------------------------------------+-----------------------------------------------+ | Figure 1: In/outlet vent in air inlet status | Figure 2: In/outlet vent in air outlet status | +----------------------------------------------+-----------------------------------------------+ If the internal pressure head in the system drops below the elevation of the vent, the floating-ball valve opens and air can enter the system (Figure 1). The air entering the system will expand due to the internal pressure being lower than atmospheric pressure. If the air remains in the vicinity of the vent (e.g. in case the vent is located at a "high" point in the system) it will be expelled through the same vent if the internal pressure rises again above the elevation of the vent (Figure 2). Meanwhile the air will also be compressed due to the internal pressure being higher than atmospheric. The vent closes at the instant the amount of air is smaller than the residual air volume (Figure 3). .. figure:: ../media/image810.png :figwidth: 2.40694in :align: center In/outlet vent in closed status The air flow is compressible, with the consequence that due to local occurrence of supersonic velocities and shock waves, choking flow may arise. The air inlet capacity is therefore truncated to a certain level. If the internal pressure reduces below this level, the air flow does not increase anymore. The expansion and compression of the air may be isothermal, adiabatic or polytrophic. Since Wanda is not a two-phase flow computer code, it is not capable of describing the entrainment and transportation of air in the pipeline as such. The calculations are performed under the assumption that air is not transported into the pipeline. A warning is included when this assumption is no longer valid. This check is based upon the value of the flow number. For more information see Ref. [1] and Ref. [2]. The vent model is merely a boundary condition describing a pressure-discharge relation. In reality, the amount of liquid within the system decreases when air enters the system. the compressibility of the air is taken into account in the discharge supplied by the vent to the system. The vent component supplies liquid to the system and therefore an error in the momentum balance (inertia forces) will be introduced. This error is small, if the amount of air is small compared to the pipeline volume. The continuity balance is not violated. Changing water levels due to air entrainment or expansion/compression is automatically taken into account based on the profile of the connecting pipes. As the volume of air increases, the fluid level drops accordingly. For the description of the mathematical model two states are defined: - Closed air valve, - Open air valve In case of "closed-in" air (state 1) the component behaves like an air vessel: .. math:: P_{a i r} V_{a i r}^{k}=C in which: +---------------+---+-----------------------------------------------+---------------+ | P\ :sub:`air` | = | absolute air pressure on fluid level | [Pa] | +---------------+---+-----------------------------------------------+---------------+ | V\ :sub:`air` | = | air volume | [m\ :sup:`3`] | +---------------+---+-----------------------------------------------+---------------+ | k | = | Laplace coefficient (ratio of specific heats) | [-] | +---------------+---+-----------------------------------------------+---------------+ | C | = | Constant | [J] | +---------------+---+-----------------------------------------------+---------------+ The second equation is the continuity equation, which states that the change of volume in air is equal to the in- and outflow of the vent to both connecting nodes. .. math:: Q_{1}-Q_{2}+\left(\frac{P_{a t n}}{P_{\text {air }}}\right)^{\frac{1}{k}} Q_{\text {air }}=0 in which: +---------------+---+-------------------------------------------------------+------------------+ | Q\ :sub:`1` | = | Discharge at connection point 1 | [m\ :sup:`3`/s] | +---------------+---+-------------------------------------------------------+------------------+ | Q\ :sub:`2` | = | Discharge at connection point 2 | [m\ :sup:`3`/s] | +---------------+---+-------------------------------------------------------+------------------+ | P\ :sub:`atm` | = | Atmospheric pressure | [Pa] | +---------------+---+-------------------------------------------------------+------------------+ | Q\ :sub:`air` | = | Air flow rate at atmospheric pressure and temperature | [Nm\ :sup:`3`/s] | +---------------+---+-------------------------------------------------------+------------------+ During the closed state the change of volume of air is due to compression and expansion of the air. The third equation is an equation equalling the air pressure on both sides of the vent. The air pressure is given by: .. math:: P=P_{a t m}+\rho g\left(H_{i}-w_{i}\right) in which: === === ============================================ ================ P = Absolute air pressure on fluid level [Pa] *ρ* *=* Density of the fluid [kg/m\ :sup:`3`] g = Gravitational acceleration [m/s\ :sup:`2`] H = Head at i\ :sup:`th` connection point [m] w = Fluid level at i\ :sup:`th` connection point [m] === === ============================================ ================ Since the air pressure on both sides of the vent is equal, this equation becomes: .. math:: H_{1}-H_{2}=w_{1}-w_{2} In the open state (2) the change of air volume in time is dependent of two phenomena: 1. The compression/expansion of the air. 2. The amount of air leaving/entering the system. The former is handled in the same way as with state 1 (closed). The latter is determined by formula (5) to (8). Based on the air pressure the direction of the air flow is automatically determined. **Vent capacity (defined by coefficients)** The following formulae are based on Ref. [3]. 1. Subsonic air flow in .. math:: Q_{a i r}=C_{i n} A_{\text {in }} \sqrt{7 R T_{0}} \sqrt{\left(\frac{P}{P_{\text {atm }}}\right)^{1.4286}-\left(\frac{P}{P_{a t m}}\right)^{1.714}} ; P_{a t m}>P>0.53 P_{\text {atm }} in which: ============== = =========================== ============= *A*\ :sub:`in` = inlet area [m\ :sup:`2`] *C*\ :sub:`in` = inlet discharge coefficient [-] R = gas constant [J/kg⋅K] *T*\ :sub:`0` = ambient air temperature [K] ============== = =========================== ============= 2. Critical flow in .. math:: Q_{\text {air }}=C_{\text {in }} A_{\text {in }} \sqrt{7 R T_{0}} 0.259 ; P<0.53 P_{\text {atm }} 3. Subsonic air flow out .. math:: Q_{\text {air }}=-C_{\text {out }} A_{\text {out }} \sqrt{7 R T_{0}}\left(\frac{P}{P_{a t m}}\right)^{\frac{k+1}{2 k}} \sqrt{\left(\frac{P_{a t m}}{P}\right)^{1.4286}-\left(\frac{P_{a t m}}{P}\right)^{1.714}} ; \frac{P_{a t m}}{0.53}>P>P_{a t m} in which: =============== = ============================ ============= *A*\ :sub:`out` = outlet area [m\ :sup:`2`] *C*\ :sub:`out` = outlet discharge coefficient [-] =============== = ============================ ============= 4. Critical flow out .. math:: Q_{\text {air }}=-C_{\text {out }} A_{\text {out }} \sqrt{7 R T_{0}}\left(\frac{P}{P_{\text {atm }}}\right)^{\frac{k+1}{2 k}} 0.259 ; \frac{P_{\text {atm }}}{0.53}
b` | :math:`>b` | both levels are identical. | :math:`w_{1}=w_{2}` and :math:`Q_{1}-Q_{2}=A_{1}\left(w_{1}\right) \frac{d w_{1}}{d t}+A_{2}\left(w_{2}\right) \frac{d w_{2}}{d t}` | +-------------+-------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :math:`=b` | :math:` 0` | :math:`w_{1}=b` and :math:`Q_1-Q_2 = A_2(w_2)\frac{d w_2}{dt}` | +-------------+-------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+ | :math:`