Flow Source $—$ Constant flow source with internal leakage

The Flow Source component describes a flow source with internal leakage.

Implementation

See component Id Flow Source. The delivered flow rate at the outlet port of this component may be different because of flow into the lumped volume and external leakage to component tank.

 Equations $T={T}_{0\left(\mathrm{oil}\right)}+{\mathrm{ΔT}}_{\mathrm{system}}$ ${p}_{\mathrm{abs}}={p}_{B}+{p}_{\mathrm{atm}\left(\mathrm{oil}\right)}$

Variables

 Name Value Units Description Modelica ID ${p}_{\mathrm{sat}}$ [1] $\mathrm{Pa}$ Gas saturation pressure p_sat $\mathrm{Vol}$ Vol $\mathrm{tank}$ tank ${p}_{\mathrm{abs}}$ $\mathrm{Pa}$ Absolute pressure, used for all property calls p_abs $T$ $K$ Local temperature T ${\mathrm{\rho }}_{\mathrm{summary}}$ [2] $\frac{\mathrm{kg}}{{m}^{3}}$ Density summary_rho ${p}_{B\left(\mathrm{summary}\right)}$ ${p}_{B}$ $\mathrm{Pa}$ Pressure at port B summary_pB $\mathrm{IFS}$ IFS

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

[2] $\mathrm{oil.density}\left(p={p}_{\mathrm{abs}},T=T,{v}_{\mathrm{air}}={\mathrm{oil.v}}_{\mathrm{gas}},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right)$

Connections

 Name Description Modelica ID $\mathrm{oil}$ oil ${\mathrm{port}}_{B}$ Port B, where oil leaves the component ($q<0$, ${p}_{B}<{p}_{A}$ means $0<\mathrm{Δp}$) port_B $\mathrm{commandSignal}$ Connector of input signal used as flow rate commandSignal

Parameters

General Parameters

 Name Default Units Description Modelica ID $G$ $5.·{10}^{-12}$ $\frac{{m}^{3}}{s\mathrm{Pa}}$ Conductance of pump leakage G use volume B $\mathrm{true}$ If true, a volume is present at port B useVolumeB ${\mathrm{ΔT}}_{\mathrm{system}}$ $0$ $K$ Temperature offset from system temperature dT_system ${q}_{\mathrm{bias}}$ $0.001$ $\frac{{m}^{3}}{s}$ Bias of flow rate qbias ${q}_{\mathrm{amp}}$ $0$ $\frac{{m}^{3}}{s}$ Amplitude of sinusoidal flow rate qamp ${q}_{\mathrm{freq}}$ $0$ $\mathrm{Hz}$ Frequency of sinusoidal flow rate qfreq ${q}_{\mathrm{phase}}$ $0$ $\mathrm{rad}$ Phase shift qphase

Oil Parameters

 Name Default Units Description Modelica ID ${V}_{B}$ ${10}^{-6}$ ${m}^{3}$ Geometric volume at port B volumeB

Constant Parameters

 Name Default Units Description Modelica ID use input $\mathrm{false}$ If true, input port is present useInput