BGMod Documentation / v3
BGMod handbook

Gas accumulator

Advanced component · equations, parameters and limits.

ACCGas accumulatorGasAccumulator · Газовый аккумулятор

H hydraulic · state x = liquid volume

Liquid inflow compresses gas according to a fixed polytropic law. The accumulator starts partially charged.

Vg = V0 − x   ·   dx/dt = QH
pabs = p0_abs (V0/Vg)ⁿ
pH = pabs − reference_pressure_abs
x0 = V0 [1 − (p0_abs/p_init_abs)1/n]
ParameterMeaning / unitDefault
V0Gas volume at precharge [m³]0.001
p0_absAbsolute precharge pressure [Pa]12 × 10⁶
nPolytropic exponent [1]1.4
Vg_minMinimum gas volume [m³]0.0001
p_init_absAbsolute initial gas pressure [Pa]13 × 10⁶
Limits
V0, p0_abs, n > 0; 0 < Vg_min < V0. Initialization requires 0 < x0 < V0 − Vg_min. Simulation stops at empty liquid volume or minimum gas volume.
Outputs
Liquid/gas volumes, gauge pressure, inflow, port power and energy potential W = ∫pgauge dx.
Scope
Ideal separator and fixed exponent. W is the port’s energy potential, not total thermodynamic energy. No continuation through an empty state with a closed port.

Classic bond graph

Classic bond graphOne hydraulic power port H connected to a C storage element.HC : p(x)p_H, Q_Hp(x) = p0_abs [V0/(V0 − x)]ⁿ − p_ref
Constitutive equivalent: a nonlinear one-port C, with liquid volume x as its state and dx/dt = Q_H. This is implemented directly, not expanded into a constant C macro. The pressure offset uses the document reference pressure; a single constant C cannot reproduce the full gas law. The limits listed above remain part of the model. Half-arrows set positive power references; dashed pink arrows carry signals only. Causal strokes are omitted because they depend on the connected model.