| Modelica.Units.NonSI.Temperature_degC | TStart | 0 | Initial liquid temperature |
| Integer | liqType | 1 | Type of brine |
| Modelica.Units.NonSI.Temperature_degC | TFreeze | 0 | Liquid freezing point temperature |
| Modelica.Units.NonSI.Temperature_degC | TliqRef | 0 | Reference temp for calculating liquid properties |
| Modelica.Units.SI.SpecificHeatCapacity | cp_pipe | 385 | Wall specific heat |
| Modelica.Units.SI.Density | rhoLiq | IDADistricts.Functions.rholiqfun(liqType, TFreeze, TliqRef) | Fluid density at mean temperature |
| Modelica.Units.SI.KinematicViscosity | kinVisc | IDADistricts.Functions.kinvisfun(liqType, TFreeze, TliqRef) | Kinematic viscosity |
| Modelica.Units.SI.ThermalConductivity | lambda | IDADistricts.Functions.thermkfun(liqType, TFreeze, TliqRef) | Thermal conductivity |
| Modelica.Units.SI.SpecificHeatCapacity | cp_liq | IDADistricts.Functions.cpliqfun(liqType, TFreeze, TliqRef) | Water specific heat |
| Modelica.Units.SI.Density | rhoPipe | 8960 | Density of wall material at mean temperature |
| Modelica.Units.SI.ThermalConductivity | lambdawall | 54 | Thermal conductivity of pipe wall |
| Modelica.Units.SI.Length | dPipe | 0.6988 | Pipe inner diameter |
| Modelica.Units.SI.Length | aWall | 0.0892 | Pipe wall thickness |
| Modelica.Units.SI.Length | epsilon | 0.045E-3 | Absolute roughness of pipe wall |
| Modelica.Units.SI.Length | h | 0 | Height difference (rise) from inlet to outlet |
| Real[nK] | k | | Single losses |
| Modelica.Units.SI.Velocity | v0 | 1e-5 | Half deadband for switching flow direction |
| Real | NusseltMin | 3.66 | Min Nusselt number |
| Real | LossMult | 1.0 | Multiplier for heat losses |
| Modelica.Units.SI.Length | l | | Total length of the pipe |
| Modelica.Units.SI.Length[nL] | lPipeSec | | Lengths of pipe sections |
| Integer | nL | 3 | |
| Integer | nK | | Number of single losses |
| Modelica.Units.SI.Area | crossSecArea | Modelica.Constants.pi/4*dPipe^2 | Cross sectional area for flow |
| Real | Prandtl | cp_liq*kinVisc*rhoLiq/lambda | Prandtl number |
| Real | cap_len | crossSecArea*rhoLiq*cp_liq + Modelica.Constants.pi*aWall*(dPipe + aWall)*rhoPipe*cp_pipe | |
| Real | DiffCoef_liq | lambda/(rhoLiq*cp_liq) | Diffusion coefficient of liquid |
| Real | DiffCoef_pipe | lambdawall/(rhoPipe*cp_pipe) | Diffusion coefficient of pipe |
| Real | sumK | sum(k) | Sum of geometry and size dependent single losses |