Note that it is not necessary to specify if the boundary component is a source or a sink. The enthalpy is only relevant when the component acts as a source, i.e. when the mass flow leaves the component.

However, if you look in the equation section you'll se that the default direction of the mass flow is out of the component.

Generated at 2021-04-18T01:03:03Z by OpenModelicaOpenModelica 1.18.0~dev-228-gf450566 using GenerateDoc.mos