Id Flow Source Ext Command $—$ Ideal flow source with externally commanded flow rate

This component describes an ideal flow source with externally commanded flow rate. The flow rate is given by commandSignal in ${m}^{3}$/$s$, and it can be negative. The pressure is a result of the flow rate and the following resistances.

 Equations $\mathrm{\rho }={\mathrm{\rho }}_{\mathrm{oil}}\left(p={p}_{B}+{p}_{\mathrm{atm}\left(\mathrm{oil}\right)},T=T,{v}_{\mathrm{air}}={v}_{\mathrm{gas}\left(\mathrm{oil}\right)},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right)$ $T={T}_{0\left(\mathrm{oil}\right)}+{\mathrm{ΔT}}_{\mathrm{system}}$ $-\frac{{m}_{\mathrm{flow}\left(B\right)}}{\mathrm{\rho }}=\mathrm{commandSignal}$

Variables

 Name Value Units Description Modelica ID $\mathrm{\rho }$ $\frac{\mathrm{kg}}{{m}^{3}}$ Density rho $T$ $K$ Local temperature T ${p}_{\mathrm{sat}}$ [1] $\mathrm{Pa}$ Gas saturation pressure p_sat

[1] $\mathrm{oil.gasSaturationPressure}\left(T=T,{v}_{\mathrm{gas}}={\mathrm{oil.v}}_{\mathrm{gas}}\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

 Name Default Units Description Modelica ID ${\mathrm{ΔT}}_{\mathrm{system}}$ $0$ $K$ Temperature offset from system temperature dT_system