Model of an accumulator for application in vapor-cycle systems.
It inherits the basic balance equations from the volume model.
The purpose of this model is to separate the phases and provide gaseous phase to the compressor. The gas is extracted through a pipe. The low and high end of the pipe can be set by the respective parameters. Depending on the liquid level of the accumulator, the outlet enthalpy is set:
If the liquid level is higher than the upper end of the pipe, liquid is extracted.
If the liquid level is lower then the lower end of the pipe, the actual enthalpy of the medium in the accumulator is extracted.
If the liquid level is between the lower and the upper end of the pipe, the outlet enthalpy is weighted on the liquid level in the pipe.
Known problems: full phaseSeparator is very stiff, therefore simulation might get slow then, especially at the moment when the separator fills up. Consider changing the timeconstant and check if the mass-flow dynamic is fast enough.