Tank with dynamic heat exchanger balance
model Tank = StratifiedEnhancedInternalHex(redeclare package Medium = Medium, redeclare package MediumHex = Medium, hTan = 2, dIns = 0.3, VTan = 0.3, nSeg = nSeg, hHex_a = 1, hHex_b = 0.2, Q_flow_nominal = QHex_flow_nominal, TTan_nominal = 313.15, THex_nominal = 333.15, mHex_flow_nominal = m_flow_nominal, show_T = true, m_flow_nominal = m_flow_nominal, energyDynamicsHex = Modelica.Fluid.Types.Dynamics.FixedInitial);