# Gas-Charged Accumulator

Hydraulic accumulator with gas as compressible medium

**Library:**Simscape / Fluids / Hydraulics (Isothermal) / Accumulators

## Description

The Gas-Charged Accumulator block models a gas-charged accumulator that consists of a precharged gas chamber and a fluid chamber. The fluid chamber is connected to a hydraulic system. The chambers are separated by a bladder, a piston, or any kind of a diaphragm.

As the fluid pressure at the accumulator inlet becomes greater than the precharge pressure, fluid enters the accumulator and compresses the gas, storing hydraulic energy. A decrease in the fluid pressure causes the gas to decompress and discharge the stored fluid into the system.

During typical operations, the pressure in the gas chamber is equal to the pressure in the fluid chamber. However, if the pressure at the accumulator inlet drops below the precharge pressure, the gas chamber becomes isolated from the system. In this situation, the fluid chamber is empty and the pressure in the gas chamber remains constant and equal to the precharge pressure. The pressure at the accumulator inlet depends on the hydraulic system to which the accumulator is connected. If the pressure at the accumulator inlet builds up to the precharge pressure or higher, fluid enters the accumulator again.

The motion of the separator between the fluid chamber and the gas chamber is restricted by two hard stops that limit the expansion and contraction of the fluid volume. The fluid volume is limited when the fluid chamber is at capacity and when the fluid chamber is empty. The hard stops are modeled with finite stiffness and damping. This means that it is possible for the fluid volume to become negative or greater than the fluid chamber capacity, depending on the values of the hard-stop stiffness coefficient and the accumulator inlet pressure.

The diagram represents a gas-charged accumulator. The vertical separator divides the total
accumulator volume, *V*_{T}, into the fluid chamber on
the left and the gas chamber on the right. The distance between the left side and the
separator defines the fluid volume, *V*_{F}. The distance
between the right side and the separator defines the gas volume, *V*_{T} –
*V*_{F}. The fluid chamber capacity, *V*_{C},
is less than the total accumulator volume, *V*_{T}, so
that the gas volume never becomes zero.

The block models the hard stop contact pressure with a stiffness term and a damping term. The relationship of the gas pressure and gas volume between the current state and the precharge state is given by the polytropic relation, with pressure balanced at the separator

$$\left({p}_{G}+{p}_{A}\right){\left({V}_{T}-{V}_{F}\right)}^{k}=\left({p}_{pr}+{p}_{A}\right){V}_{T}^{k}$$

$${p}_{F}={p}_{G}+{p}_{HS}$$

$${V}_{C}={V}_{T}-{V}_{dead}$$

$${p}_{HS}=\{\begin{array}{ll}{K}_{S}\left({V}_{F}-{V}_{C}\right)+{K}_{d}{q}_{F}^{+}\left({V}_{F}-{V}_{C}\right)\hfill & \text{if}{V}_{F}\ge {V}_{C}\hfill \\ {K}_{S}{V}_{F}-{K}_{d}{q}_{F}^{-}{V}_{F}\hfill & \text{if}{V}_{F}\le 0\hfill \\ 0\hfill & \text{otherwise}\hfill \end{array}$$

$${q}_{F}^{+}=\{\begin{array}{ll}{q}_{F}\hfill & \text{if}{q}_{F}\ge 0\hfill \\ 0\hfill & \text{otherwise}\hfill \end{array}$$

$${q}_{F}^{-}=\{\begin{array}{ll}{q}_{F}\hfill & \text{if}{q}_{F}\le 0\hfill \\ 0\hfill & \text{otherwise}\hfill \end{array}$$

where:

V_{T} | Total volume of the accumulator, including the fluid chamber and the gas chamber |

V_{F} | Volume of fluid in the accumulator |

V_{init} | Initial volume of fluid in the accumulator |

V_{C} | Fluid chamber capacity, which is the difference between total accumulator volume and the gas chamber dead volume |

V_{dead} | Gas chamber dead volume, which is a small portion of the gas chamber that remains filled with gas when the fluid chamber is at capacity |

p_{F} | Fluid pressure (gauge) in the fluid chamber, which is equal to the pressure at the accumulator inlet |

p_{pr} | Pressure (gauge) in the gas chamber when the fluid chamber is empty |

p_{A} | Atmospheric pressure |

p_{G} | Gas pressure (gauge) in the gas chamber |

p_{HS} | Hard-stop contact pressure |

K_{s} | Hard-stop stiffness coefficient |

K_{d} | Hard-stop damping coefficient |

k | Specific heat ratio (adiabatic index) |

q_{F} | Fluid flow rate into the accumulator, which is positive if fluid flows into the accumulator |

The flow rate into the accumulator is the rate of change of the fluid volume:

$${q}_{F}=\frac{d{V}_{F}}{dt}.$$

At *t* = 0, the initial condition is *V*_{F} =
*V*_{init}, where *V*_{init} is the value you
assign to the **Initial fluid volume** parameter.

### Variables

To set the priority and initial target values for the block variables prior to simulation, use
the **Initial Targets** section in the block dialog box or
Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.

Nominal values provide a way to specify the expected magnitude of a variable in a model.
Using system scaling based on nominal values increases the simulation robustness. Nominal
values can come from different sources, one of which is the **Nominal
Values** section in the block dialog box or Property Inspector. For more
information, see Modify Nominal Values for a Block Variable.

### Assumptions and Limitations

The process in the gas chamber is assumed to be polytropic.

Loading on the separator, such as inertia or friction, is not considered.

Inlet hydraulic resistance is not considered.

Fluid compressibility is not considered.

## Ports

### Conserving

## Parameters

## Model Examples

## Extended Capabilities

## Version History

**Introduced in R2006a**