modelAccumulator

Water-Gas Accumulator
Diagram of Accumulator

Extends from ThermoPower.Icons.Water.Accumulator.

Information

This model describes a water-gas accumulator (the gas is modeled as ideal bi-atomic).

Water flows in and out through the interfaces at the component bottom (flow reversal supported).

The gas is supposed to flow in at constant temperature (parameter Tgin) and with variable flow-rate (GasInfl signal port), and to flow out by a valve operating in choked condition; the valve coefficient is determined by the working point at full opening (wg_out0,Tg0, Pg0) while the valve opening (in the range 0-1) is an input signal (OutletValveOpening signal port).

Dimensional parameters

  • V: accumulator total volume;
  • Vl0: volume occupied by water at the nominal level (reference value);
  • zl0: height of water nominal level above the water connectors;
  • A: cross-sectional area at actual water level;

Parameters

TypeNameDefaultDescription
SI.VolumeVTotal volume
SI.VolumeVl0Water nominal volume (at reference level)
SI.AreaACross Sectional Area
SI.Heightzl0Height of water reference level over inlet/outlet connectors
SI.CoefficientOfHeatTransfergamma_ex50Water-Gas heat transfer coefficient
SI.TemperatureTgin300Inlet gas temperature
SI.MolarMassMM29e-3Gas molar mass
SI.MassFlowRatewg_out0Nominal gas outlet flowrate
Units.AbsoluteTemperatureTg0300Nominal gas temperature
Units.AbsolutePressurepg0Nominal gas pressure
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction
Initialisation
SI.Heightzl_startWater start level (relative to reference)
Medium.SpecificEnthalpyhl_startWater start specific enthalpy
SI.Pressurepg_startGas start pressure
Units.AbsoluteTemperatureTg_start300Gas start temperature
Choices.Init.OptionsinitOptsystem.initOptInitialisation option
BooleannoInitialPressurefalseRemove initial equation on pressure

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputGasInfl
FlangeAWaterInfl
FlangeBWaterOutfl
Modelica.Blocks.Interfaces.RealInputOutletValveOpening

Components

TypeNameDefaultDescription
Medium.ThermodynamicStateliquidStateThermodynamic state of the liquid
ThermoPower.SystemsystemSystem wide properties
Medium.MassFlowRatewl_inWater inflow mass flow rate
Medium.MassFlowRatewl_outWater outflow mass flow rate
SI.HeightzlWater level (relative to reference)
Medium.SpecificEnthalpyhl_inWater inlet specific enthalpy
Medium.SpecificEnthalpyhl_outWater outlet specific enthalpy
Medium.SpecificEnthalpyhlWater internal specific enthalpy
SI.VolumeVlVolume occupied by water
SI.MassMgMass of gas
Medium.AbsolutePressurepfWater Pressure at the inlet/outlet flanges
SI.EnergyFlowRateQpWater-Gas heat flow
SI.MassFlowRatewg_inGas inflow mass flow rate
SI.MassFlowRatewg_outGas outflow mass flow rate
Units.GasDensityrhogGas density
Medium.TemperatureTgGas temperature
SI.VolumeVgVolume occupied by gas
Medium.AbsolutePressurepgGas pressure
Units.LiquidDensityrhoDensity of the water

Contents

NameDescription
Medium

Revisions