Hydraulic Port Volumes

 Description Some hydraulic models have optional volumes connected to their ports that are instantiated when the corresponding Use volume X boolean parameter is set to true (checked). When a port volume is enabled, the icon changes to show an oval volume connected to the port. The following equations are added to the model. The $K$ parameter is the bulk modulus of the fluid.
 Equations ${q}_{\mathrm{VX}}=\left\{\begin{array}{cc}\frac{\mathrm{d}{V}_{{f}_{X}}}{\mathrm{d}t}& \mathrm{Use volume X}\\ 0& \mathrm{otherwise}\end{array}$ ${V}_{{f}_{X}}={V}_{X}\left(1+\frac{{p}_{X}}{K}\right)$

Variables

 Name Units Description Modelica ID ${p}_{X}$ $\mathrm{Pa}$ Pressure at port X pX ${q}_{\mathrm{VX}}$ $\frac{{m}^{3}}{s}$ Flow rate into port X's optional volume qVX ${V}_{{f}_{X}}$ ${m}^{3}$ Effective volume at port X VfX

Connections

 Name Description Modelica ID $\mathrm{portX}$ Hydraulic port portX

Volume Parameters

 Name Default Units Description Modelica ID Use volume X $\mathrm{false}$ When true a hydraulic volume chamber is added to portX useVolumeX ${V}_{X}$ $1·{10}^{-6}$ ${m}^{3}$ Volume of chamber X Va