function HTCs
import SI = Modelica.SIunits;
import CN = Modelica.Constants;
import MA = Modelica.Math;
import SolarTherm.{Models,Media};
replaceable package Medium1 = Media.Sodium.Sodium_pT "Medium props for Sodium";
replaceable package Medium2 = Media.ChlorideSalt.ChlorideSalt_pT "Medium props for Molten Salt";
input SI.Length d_o "Outer Tube diameter";
input Integer N_p "Number of tube-passes";
input Integer N_sp "Number of shell-passes";
input Integer layout "Tube layout";
input Integer N_t "Number of tubes";
input Medium1.ThermodynamicState state_mean_Na;
input Medium2.ThermodynamicState state_mean_MS;
input Medium2.ThermodynamicState state_wall_MS;
input SI.MassFlowRate m_flow_Na "Sodium mass flow rate";
input SI.MassFlowRate m_flow_MS "Molten-Salt mass flow rate";
input SI.Length l_b "Baffle spacing";
output SI.CoefficientOfHeatTransfer U "Heat tranfer coefficient";
output SI.CoefficientOfHeatTransfer h_s "Shell-side Heat tranfer coefficient";
output SI.CoefficientOfHeatTransfer h_t "Tube-side Heat tranfer coefficient";
end HTCs;