Oil Volume $—$ Lumped volume with pressure-dependent bulk modulus

 Equations $\mathrm{\beta }={\mathrm{\beta }}_{\mathrm{oil}}\left({p}_{\mathrm{abs}},T,{v}_{\mathrm{air}}={v}_{\mathrm{gas}\left(\mathrm{oil}\right)},{p}_{\mathrm{sat}}={p}_{\mathrm{sat}}\right)$ $\mathrm{\rho }={\mathrm{\rho }}_{\mathrm{oil}}\left(p={p}_{\mathrm{abs}},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}}$ ${p}_{\mathrm{abs}}={p}_{A}+{p}_{\mathrm{atm}\left(\mathrm{oil}\right)}$ ${\partial }_{t}\left({p}_{A}\right)=\frac{\mathrm{\beta }{m}_{\mathrm{flow}\left(A\right)}}{V\mathrm{\rho }}$

Variables

 Name Value Units Description Modelica ID $\mathrm{saturation}$ [1] Saturation value in HSV color space saturation $\mathrm{\beta }$ $\mathrm{Pa}$ Bulk modulus of oil beta ${p}_{\mathrm{abs}}$ $\mathrm{Pa}$ Absolute pressure, used for all property calls p_abs $\mathrm{oilWarnings}$ oilWarnings $\mathrm{pressureSensor}$ pressureSensor $T$ $K$ Local temperature T ${p}_{A\left(\mathrm{summary}\right)}$ ${p}_{A}$ $\mathrm{Pa}$ Pressure at port A summary_pA ${T}_{\mathrm{summary}}$ $T$ $K$ Local temperature summary_T ${\mathrm{\beta }}_{\mathrm{summary}}$ $\mathrm{\beta }$ $\mathrm{Pa}$ Bulk modulus of oil summary_beta ${\mathrm{\rho }}_{\mathrm{summary}}$ $\mathrm{\rho }$ $\frac{\mathrm{kg}}{{m}^{3}}$ Density summary_rho $\mathrm{\rho }$ $\frac{\mathrm{kg}}{{m}^{3}}$ Density rho ${p}_{\mathrm{sat}}$ [2] $\mathrm{Pa}$ Gas saturation pressure p_sat

[1] $\frac{\mathrm{max}\left(0,\mathrm{min}\left({p}_{A},{p}_{\mathrm{max}\left(\mathrm{color}\right)}\right)-{p}_{\mathrm{min}\left(\mathrm{color}\right)}\right)}{{p}_{\mathrm{max}\left(\mathrm{color}\right)}-{p}_{\mathrm{min}\left(\mathrm{color}\right)}}$

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

Connections

 Name Description Modelica ID ${\mathrm{port}}_{A}$ Hydraulic port where oil enters the component port_A $\mathrm{oil}$ oil

Parameters

General Parameters

 Name Default Units Description Modelica ID steady-state init $\mathrm{false}$ Steady state initialization steadyStateInit $\mathrm{volume}$ ${10}^{-6}$ ${m}^{3}$ volume volume ${\mathrm{ΔT}}_{\mathrm{system}}$ $0$ $K$ Temperature offset from system temperature dT_system