Model for an evaporator or condenser with the use of a capacity to simulate heat losses.
Used in Buildings.Fluid.HeatPumps.ModularReversible.Modular and Buildings.Fluid.Chillers.ModularReversible.Modular, the heat flow to or from the volume is calculated in a black-box. Thus the heat is directly added to the medium.
Transient heat losses are modelled by adding a capacity and two
convection components to Buildings.Fluid.Interfaces.TwoPortHeatMassExchanger.
One of the convection component is between the capacity and the
volume (with thermal conductance GInn) and the other
between the capacity and the ambient heat port (with
GOut).
Both GInn and GOut are constants but
declared without a parameter keyword so that the
calculation can follow a temperature or flow-rate based
approach.