MapleSim Hydraulics Library from Modelon - MapleSim Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : MapleSim Toolboxes : MapleSim Hydraulics Library from Modelon : Restrictions : Basic : ModelonHydraulics/Restrictions/Basic/TwoOrifices

MapleSim Hydraulics Library from Modelon

Two Orifices $—$ Two orifices in series, one with variable the other with fixed flow area

The Two Orifices component describes two orifices that are connected in series without a lumped volume between them. This component can help to avoid a stiff system if the lumped volume between the two orifices is very small and its time constant negligible compared with the system dynamics. The mathematical models are taken from Metering Ori and Orifice. The diameter of the variable orifice is given by the value at the signal connector as $\mathrm{commandedDiameter}$ $\left[m\right]$ and the diameter of the fixed orifice is set with the $d$ parameter (found under the Properties tab ( ) in the Parameters section). The mass and flow forces are not included.

Related Components

 Name Description Resistance with laminar flow. Resistance with laminar flow and externally commanded conductance. The component, based on the loss coefficient K, describes both flow regimes: laminar for very small Reynolds numbers and turbulent for higher Reynolds numbers (default model). The component describes both flow regimes, using an interpolation polynomial. Orifice component checking for cavitation. Simple textbook component, using a constant discharge coefficient. It is valid for turbulent flow only; severe numerical problems for laminar flow. Metering Orifice (that is, model Orifice No States with variable diameter). Same as Orifice No States, but with the equations rearranged to compute dp for given q. Differences between basic models are shown by a figure.

 Equations $\mathrm{\nu }=\mathrm{Modelica.Media.Air.MoistAir.Utilities.spliceFunction}\left(x=\mathrm{Δp},\mathrm{pos}={\mathrm{\nu }}_{\mathrm{oil}}\left(p={p}_{A\left(\mathrm{abs}\right)},T=T,{v}_{\mathrm{air}}={v}_{\mathrm{gas}\left(\mathrm{oil}\right)},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right),\mathrm{neg}={\mathrm{\nu }}_{\mathrm{oil}}\left(p={p}_{B\left(\mathrm{abs}\right)},T=T,{v}_{\mathrm{air}}={v}_{\mathrm{gas}\left(\mathrm{oil}\right)},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right),\mathrm{Δx}=100\right)$ $\mathrm{\rho }=\mathrm{Modelica.Media.Air.MoistAir.Utilities.spliceFunction}\left(x=\mathrm{Δp},\mathrm{pos}={\mathrm{\rho }}_{\mathrm{oil}}\left(p={p}_{A\left(\mathrm{abs}\right)},T=T,{v}_{\mathrm{air}}={v}_{\mathrm{gas}\left(\mathrm{oil}\right)},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right),\mathrm{neg}={\mathrm{\rho }}_{\mathrm{oil}}\left(p={p}_{B\left(\mathrm{abs}\right)},T=T,{v}_{\mathrm{air}}={v}_{\mathrm{gas}\left(\mathrm{oil}\right)},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right),\mathrm{Δx}=100\right)$ $T={T}_{0\left(\mathrm{oil}\right)}+{\mathrm{ΔT}}_{\mathrm{system}}$ $q=\frac{{m}_{\mathrm{flow}\left(A\right)}}{\mathrm{\rho }}$ $\mathrm{Δp}={p}_{A\left(\mathrm{limited}\right)}-{p}_{B\left(\mathrm{limited}\right)}$ ${p}_{A\left(\mathrm{abs}\right)}={p}_{A}+{p}_{\mathrm{atm}\left(\mathrm{oil}\right)}$ ${p}_{A\left(\mathrm{limited}\right)}=\mathrm{max}\left({p}_{A},{p}_{\mathrm{vapour}\left(\mathrm{oil}\right)}-{p}_{\mathrm{atm}\left(\mathrm{oil}\right)}\right)$ ${p}_{B\left(\mathrm{abs}\right)}={p}_{B}+{p}_{\mathrm{atm}\left(\mathrm{oil}\right)}$ ${p}_{B\left(\mathrm{limited}\right)}=\mathrm{max}\left({p}_{B},{p}_{\mathrm{vapour}\left(\mathrm{oil}\right)}-{p}_{\mathrm{atm}\left(\mathrm{oil}\right)}\right)$

Variables

 Name Value Units Description Modelica ID $\mathrm{Δp}$ $\mathrm{Pa}$ Pressure drop dp $q$ $\frac{{m}^{3}}{s}$ Flow rate flowing into port_A q ${p}_{A\left(\mathrm{limited}\right)}$ $\mathrm{Pa}$ Limited gauge pressure pA_limited ${p}_{B\left(\mathrm{limited}\right)}$ $\mathrm{Pa}$ Limited gauge pressure pB_limited $\mathrm{\rho }$ $\frac{\mathrm{kg}}{{m}^{3}}$ Upstream density rho $\mathrm{\nu }$ $\frac{{m}^{2}}{s}$ Upstream kinematic viscosity nu ${p}_{A\left(\mathrm{abs}\right)}$ $\mathrm{Pa}$ Absolute pressure pA pA_abs ${p}_{B\left(\mathrm{abs}\right)}$ $\mathrm{Pa}$ Absolute pressure pB pB_abs $T$ $K$ Local temperature T ${p}_{A\left(\mathrm{summary}\right)}$ ${p}_{A}$ $\mathrm{Pa}$ Pressure at port A summary_pA ${p}_{B\left(\mathrm{summary}\right)}$ ${p}_{B}$ $\mathrm{Pa}$ Pressure at port B summary_pB ${\mathrm{Δp}}_{\mathrm{summary}}$ $\mathrm{Δp}$ $\mathrm{Pa}$ Pressure drop summary_dp ${q}_{\mathrm{summary}}$ $q$ $\frac{{m}^{3}}{s}$ Flow rate flowing into port_A summary_q ${P}_{\mathrm{hyd}\left(\mathrm{summary}\right)}$ $-\mathrm{Δp}q$ $W$ Hydraulic Power summary_HP ${p}_{\mathrm{sat}}$ [1] $\mathrm{Pa}$ Gas saturation pressure p_sat $\mathrm{orificeNoStates}$ orificeNoStates $\mathrm{meteringOriNoStates}$ meteringOriNoStates

[1] $\mathrm{oil.gasSaturationPressure}\left(T=T,{v}_{\mathrm{gas}}={\mathrm{oil.v}}_{\mathrm{gas}}\right)$

Connections

 Name Description Modelica ID ${\mathrm{port}}_{A}$ Layout of port where oil flows into an element ($0<{m}_{\mathrm{flow}}$, ${p}_{B}<{p}_{A}$ means $0<\mathrm{Δp}$) port_A ${\mathrm{port}}_{B}$ Hydraulic port where oil leaves the component (${m}_{\mathrm{flow}}<0$, ${p}_{B}<{p}_{A}$ means $0<\mathrm{Δp}$) port_B $\mathrm{oil}$ oil $\mathrm{commandedDiameter}$ Commanded area commandedDiameter

Parameters

 Name Default Units Description Modelica ID ${\mathrm{ΔT}}_{\mathrm{system}}$ $0$ $K$ Temperature offset from system temperature dT_system $d$ $0.01$ $m$ Diameter of fixed orifice diameter ${k}_{\mathrm{f1}}$ $10$ Laminar part of fixed orifice model kf1 ${k}_{\mathrm{f2}}$ $2$ Turbulent part fixed orifice, ${k}_{2}=\frac{1}{{C}_{d}^{2}}$ kf2 ${\mathrm{kv}}_{1}$ $10$ Laminar part of variable orifice model kv1 ${\mathrm{kv}}_{2}$ $2$ Turbulent part variable orifice, ${k}_{2}=\frac{1}{{C}_{d}^{2}}$ kv2 ${p}_{\mathrm{initial}}$ ${10}^{5}$ Initial pressure between Orifices p_initial

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam