Main Content

Variable Hydraulic Chamber

(To be removed) Hydraulic capacity of variable volume with compressible fluid

The Hydraulic library will be removed in a future release. Use the Isothermal Liquid library instead. (since R2020a)

For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.

Library

Hydraulic Elements

  • Variable Hydraulic Chamber block

Description

The Variable Hydraulic Chamber block models fluid compressibility in variable volume chambers. The fluid is considered to be a mixture of liquid and a small amount of entrained, nondissolved gas. Use this block together with the Translational Hydro-Mechanical Converter block.

Note

The Variable Hydraulic Chamber block takes into account only the flow rate caused by fluid compressibility. The fluid volume consumed to create piston velocity is accounted for in the Translational Hydro-Mechanical Converter block.

The chamber is simulated according to the following equations (see [1, 2]):

q=V0+VE·dpdt

E=El1+α(papa+p)1/n1+αpa1/nn·(pa+p)n+1nEl

where

qFlow rate due to fluid compressibility
V0Initial volume of fluid in the chamber
VChamber volume change, provided through port V
EFluid bulk modulus
ElPure liquid bulk modulus
pGauge pressure of fluid in the chamber
pαAtmospheric pressure
αRelative gas content at atmospheric pressure, α = VG/VL
VGGas volume at atmospheric pressure
VLVolume of liquid
nGas-specific heat ratio

The main objective of representing fluid as a mixture of liquid and gas is to introduce an approximate model of cavitation, which takes place in a chamber if pressure drops below fluid vapor saturation level. As it is seen in the graph below, the bulk modulus of a mixture decreases as the gauge pressure approaches zero, thus considerably slowing down further pressure change. At gauge pressures far above zero, a small amount of undissolved gas has practically no effect on the system behavior.

For information on how to reproduce this graph, see Constant Volume Hydraulic Chamber.

Cavitation is an inherently thermodynamic process, requiring consideration of multiple-phase fluids, heat transfers, etc., and as such cannot be accurately simulated with Simscape™ software. But the simplified version implemented in the block is good enough to signal if pressure falls below dangerous level, and to prevent computation failure that normally occurs at negative pressures.

If pressure falls below absolute vacuum (–101325 Pa), the simulation stops and an error message is displayed.

Port A is a hydraulic conserving port associated with the chamber inlet. Port V is a physical signal port that provides the chamber volume variation.

The block positive direction is from port A to the reference point. This means that the flow rate is positive if it flows into the chamber.

Variables

Use the Variables tab to set the priority and initial target values for the block variables prior to simulation. For more information, see Set Priority and Initial Target for Block Variables.

Basic Assumptions and Limitations

  • Fluid density remains constant.

  • Chamber volume cannot be less than the dead volume.

  • Fluid fills the entire chamber volume.

Parameters

Chamber dead volume

Minimal volume of fluid in the chamber. The default value is 1e-4 m^3.

Specific heat ratio

Gas-specific heat ratio. The default value is 1.4.

 Restricted Parameters

Global Parameters

Parameters determined by the type of working fluid:

  • Fluid density

  • Fluid kinematic viscosity

Use the Hydraulic Fluid (Simscape Fluids) block or the Custom Hydraulic Fluid block to specify the fluid properties.

Ports

The block has the following ports:

A

Hydraulic conserving port associated with the chamber inlet.

V

Physical signal port that provides the chamber volume variation.

References

[1] Manring, N.D., Hydraulic Control Systems, John Wiley & Sons, New York, 2005

[2] Meritt, H.E., Hydraulic Control Systems, John Wiley & Sons, New York, 1967

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2009b

collapse all

R2023a: To be removed

The Hydraulic library will be removed in a future release. Use the Isothermal Liquid library instead. Blocks in the Isothermal Liquid library provide increased accuracy, usability, and numerical performance.

For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.