# Spring-Loaded Accumulator (IL)

Accumulator with a spring used for energy storage in an isothermal liquid system

*Since R2020a*

**Libraries:**

Simscape /
Fluids /
Isothermal Liquid /
Tanks & Accumulators

## Description

This block models a spring-charged accumulator in an isothermal liquid network. The accumulator consists of a preloaded spring and a liquid chamber.

As the liquid pressure at the accumulator inlet becomes greater than the preload pressure, liquid enters the accumulator and compresses the spring. A decrease in the liquid pressure causes the spring to decompress and discharge stored liquid into the system. The separator motion is restricted by a hard stop when the liquid volume is zero and when the liquid volume is at the liquid chamber capacity.

The inlet liquid resistance and spring properties, such as the spring inertia and damping, are not modeled. The spring pressure is assumed to be linear with respect to the liquid volume. The flow rate is positive if liquid flows into the accumulator.

This diagram represents a spring-loaded accumulator.

`V` | Volume of the liquid in the accumulator. |

`V` | Liquid chamber capacity |

`p` | Pressure at full capacity |

`p` | Liquid pressure in the liquid chamber, which is equal to the pressure at the accumulator inlet. |

`p` | Hard-stop contact pressure. |

`K` | Hard-stop stiffness coefficient. |

`K` | Spring gain. |

$$\dot{m}$$
| Mass flow rate of liquid coming into port A. |

`ρ` | Density of the liquid in the liquid chamber. |

### Conservation of Mass

Conservation of mass is represented by the following equation.

$$\{\begin{array}{l}{\dot{p}}_{I}\frac{{d}_{{\rho}_{I}}}{{d}_{{p}_{I}}}{V}_{L}+{\rho}_{I}{\dot{V}}_{L}={\dot{m}}_{A}\text{,}compressibility\text{}on\\ {\rho}_{I}{\dot{V}}_{L}={\dot{m}}_{A}\text{,}compressibility\text{}off\end{array}\text{}$$

where

$${\dot{V}}_{L}=\{\begin{array}{c}\frac{{\dot{p}}_{I}}{{K}_{spring}}\text{,}if\text{}0\text{}{V}_{L}{V}_{C}\\ \frac{{\dot{p}}_{I}}{{K}_{spring}+{K}_{stiff}},\text{}else\end{array}$$

### Conservation of Momentum

Conservation of momentum is represented by the following equation.

$${p}_{I}={p}_{spring}+{p}_{HS}$$

where

$${p}_{spring}={p}_{pr}+{K}_{spring}{V}_{L}$$

$${\text{p}}_{HS}=\{\begin{array}{c}({V}_{L}-{V}_{C}){K}_{stiff},\text{}if\text{}{V}_{L}\ge {V}_{C}\\ {V}_{L}{K}_{stiff,\text{}if\text{}{V}_{L}\text{}\le \text{0}}\\ 0,\text{}else\end{array}$$

### 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.

## Examples

## Ports

### Conserving

## Parameters

## Extended Capabilities

## Version History

**Introduced in R2020a**